Differences

This shows you the differences between two versions of the page.

Link to this comparison view

delo_notes [2014/08/30 15:51] (current)
Jan Stancek created
Line 1: Line 1:
 +<​code>​
 +# cat /​boot/​grub/​grub.cfg ​
 +#
 +# DO NOT EDIT THIS FILE
 +#
 +# It is automatically generated by grub-mkconfig using templates
 +# from /etc/grub.d and settings from /​etc/​default/​grub
 +#
 +
 +### BEGIN /​etc/​grub.d/​00_header ###
 +if [ -s $prefix/​grubenv ]; then
 +  load_env
 +fi
 +set default="​2"​
 +if [ "​${prev_saved_entry}"​ ]; then
 +  set saved_entry="​${prev_saved_entry}"​
 +  save_env saved_entry
 +  set prev_saved_entry=
 +  save_env prev_saved_entry
 +  set boot_once=true
 +fi
 +
 +function savedefault {
 +  if [ -z "​${boot_once}"​ ]; then
 +    saved_entry="​${chosen}"​
 +    save_env saved_entry
 +  fi
 +}
 +
 +function load_video {
 +  insmod vbe
 +  insmod vga
 +  insmod video_bochs
 +  insmod video_cirrus
 +}
 +
 +terminal_input console
 +terminal_output console
 +set timeout=10
 +### END /​etc/​grub.d/​00_header ###
 +
 +### BEGIN /​etc/​grub.d/​05_debian_theme ###
 +set menu_color_normal=cyan/​blue
 +set menu_color_highlight=white/​blue
 +### END /​etc/​grub.d/​05_debian_theme ###
 +
 +### BEGIN /​etc/​grub.d/​10_linux ###
 +menuentry '​Debian GNU/Linux, with Linux 3.2.0-4-amd64'​ --class debian --class gnu-linux --class gnu --class os {
 + load_video
 + insmod gzio
 + insmod part_msdos
 + insmod ext2
 + set root='​(hd0,​msdos3)'​
 + search --no-floppy --fs-uuid --set=root 468fa096-1ffa-4f1d-9fd7-0f7d950096b4
 + echo '​Loading Linux 3.2.0-4-amd64 ...'
 + linux /​boot/​vmlinuz-3.2.0-4-amd64 root=UUID=468fa096-1ffa-4f1d-9fd7-0f7d950096b4 ro  ​
 + echo '​Loading initial ramdisk ...'
 + initrd /​boot/​initrd.img-3.2.0-4-amd64
 +}
 +menuentry '​Debian GNU/Linux, with Linux 3.2.0-4-amd64 (recovery mode)' --class debian --class gnu-linux --class gnu --class os {
 + load_video
 + insmod gzio
 + insmod part_msdos
 + insmod ext2
 + set root='​(hd0,​msdos3)'​
 + search --no-floppy --fs-uuid --set=root 468fa096-1ffa-4f1d-9fd7-0f7d950096b4
 + echo '​Loading Linux 3.2.0-4-amd64 ...'
 + linux /​boot/​vmlinuz-3.2.0-4-amd64 root=UUID=468fa096-1ffa-4f1d-9fd7-0f7d950096b4 ro single ​
 + echo '​Loading initial ramdisk ...'
 + initrd /​boot/​initrd.img-3.2.0-4-amd64
 +}
 +### END /​etc/​grub.d/​10_linux ###
 +
 +### BEGIN /​etc/​grub.d/​20_linux_xen ###
 +### END /​etc/​grub.d/​20_linux_xen ###
 +
 +### BEGIN /​etc/​grub.d/​30_os-prober ###
 +menuentry "​Windows 7 (loader) (on /​dev/​sda1)"​ --class windows --class os {
 + insmod part_msdos
 + insmod ntfs
 + set root='​(hd0,​msdos1)'​
 + search --no-floppy --fs-uuid --set=root 4CA2A407A2A3F39C
 + chainloader +1
 +}
 +### END /​etc/​grub.d/​30_os-prober ###
 +
 +### BEGIN /​etc/​grub.d/​40_custom ###
 +# This file provides an easy way to add custom menu entries. ​ Simply type the
 +# menu entries you want to add after this comment. ​ Be careful not to change
 +# the 'exec tail' line above.
 +### END /​etc/​grub.d/​40_custom ###
 +
 +### BEGIN /​etc/​grub.d/​41_custom ###
 +if [ -f  $prefix/​custom.cfg ]; then
 +  source $prefix/​custom.cfg;​
 +fi
 +### END /​etc/​grub.d/​41_custom ###
 +</​code>​
 +
 +<​code>​
 +# lspci -vk
 +00:00.0 Host bridge: Intel Corporation Haswell DRAM Controller (rev 06)
 + Subsystem: ASUSTeK Computer Inc. Device 8534
 + Flags: bus master, fast devsel, latency 0
 + Capabilities:​ [e0] Vendor Specific Information:​ Len=0c <?>
 +
 +00:01.0 PCI bridge: Intel Corporation Haswell PCI Express x16 Controller (rev 06) (prog-if 00 [Normal decode])
 + Flags: bus master, fast devsel, latency 0
 + Bus: primary=00, secondary=01,​ subordinate=01,​ sec-latency=0
 + I/O behind bridge: 0000e000-0000efff
 + Memory behind bridge: f6000000-f70fffff
 + Prefetchable memory behind bridge: 00000000e8000000-00000000f1ffffff
 + Capabilities:​ [88] Subsystem: ASUSTeK Computer Inc. Device 8534
 + Capabilities:​ [80] Power Management version 3
 + Capabilities:​ [90] MSI: Enable+ Count=1/1 Maskable- 64bit-
 + Capabilities:​ [a0] Express Root Port (Slot+), MSI 00
 + Capabilities:​ [100] Virtual Channel
 + Capabilities:​ [140] Root Complex Link
 + Capabilities:​ [d94] #19
 + Kernel driver in use: pcieport
 +
 +00:14.0 USB controller: Intel Corporation Device 8cb1 (prog-if 30 [XHCI])
 + Subsystem: ASUSTeK Computer Inc. Device 8534
 + Flags: bus master, medium devsel, latency 0, IRQ 42
 + Memory at f7120000 (64-bit, non-prefetchable) [size=64K]
 + Capabilities:​ [70] Power Management version 2
 + Capabilities:​ [80] MSI: Enable+ Count=1/8 Maskable- 64bit+
 + Kernel driver in use: xhci_hcd
 +
 +00:16.0 Communication controller: Intel Corporation Device 8cba
 + Subsystem: ASUSTeK Computer Inc. Device 8534
 + Flags: bus master, fast devsel, latency 0, IRQ 11
 + Memory at f713a000 (64-bit, non-prefetchable) [size=16]
 + Capabilities:​ [50] Power Management version 3
 + Capabilities:​ [8c] MSI: Enable- Count=1/1 Maskable- 64bit+
 +
 +00:19.0 Ethernet controller: Intel Corporation Device 15a1
 + Subsystem: ASUSTeK Computer Inc. Device 85c4
 + Flags: bus master, fast devsel, latency 0, IRQ 44
 + Memory at f7100000 (32-bit, non-prefetchable) [size=128K]
 + Memory at f7138000 (32-bit, non-prefetchable) [size=4K]
 + I/O ports at f040 [size=32]
 + Capabilities:​ [c8] Power Management version 2
 + Capabilities:​ [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+
 + Capabilities:​ [e0] PCI Advanced Features
 + Kernel driver in use: e1000e
 +
 +00:1a.0 USB controller: Intel Corporation Device 8cad (prog-if 20 [EHCI])
 + Subsystem: ASUSTeK Computer Inc. Device 8534
 + Flags: bus master, medium devsel, latency 0, IRQ 16
 + Memory at f7137000 (32-bit, non-prefetchable) [size=1K]
 + Capabilities:​ [50] Power Management version 2
 + Capabilities:​ [58] Debug port: BAR=1 offset=00a0
 + Capabilities:​ [98] PCI Advanced Features
 + Kernel driver in use: ehci_hcd
 +
 +00:1b.0 Audio device: Intel Corporation Device 8ca0
 + Subsystem: ASUSTeK Computer Inc. Device 8653
 + Flags: bus master, fast devsel, latency 0, IRQ 45
 + Memory at f7130000 (64-bit, non-prefetchable) [size=16K]
 + Capabilities:​ [50] Power Management version 2
 + Capabilities:​ [60] MSI: Enable+ Count=1/1 Maskable- 64bit+
 + Capabilities:​ [70] Express Root Complex Integrated Endpoint, MSI 00
 + Capabilities:​ [100] Virtual Channel
 + Kernel driver in use: snd_hda_intel
 +
 +00:1c.0 PCI bridge: Intel Corporation Device 8c90 (rev d0) (prog-if 00 [Normal decode])
 + Flags: bus master, fast devsel, latency 0
 + Bus: primary=00, secondary=02,​ subordinate=02,​ sec-latency=0
 + Capabilities:​ [40] Express Root Port (Slot-), MSI 00
 + Capabilities:​ [80] MSI: Enable- Count=1/1 Maskable- 64bit-
 + Capabilities:​ [90] Subsystem: ASUSTeK Computer Inc. Device 8534
 + Capabilities:​ [a0] Power Management version 3
 + Kernel driver in use: pcieport
 +
 +00:1c.3 PCI bridge: Intel Corporation 82801 PCI Bridge (rev d0) (prog-if 01 [Subtractive decode])
 + Flags: bus master, fast devsel, latency 0
 + Bus: primary=00, secondary=03,​ subordinate=04,​ sec-latency=0
 + Capabilities:​ [40] Express Root Port (Slot+), MSI 00
 + Capabilities:​ [80] MSI: Enable- Count=1/1 Maskable- 64bit-
 + Capabilities:​ [90] Subsystem: ASUSTeK Computer Inc. Device 8534
 + Capabilities:​ [a0] Power Management version 3
 +
 +00:1d.0 USB controller: Intel Corporation Device 8ca6 (prog-if 20 [EHCI])
 + Subsystem: ASUSTeK Computer Inc. Device 8534
 + Flags: bus master, medium devsel, latency 0, IRQ 23
 + Memory at f7136000 (32-bit, non-prefetchable) [size=1K]
 + Capabilities:​ [50] Power Management version 2
 + Capabilities:​ [58] Debug port: BAR=1 offset=00a0
 + Capabilities:​ [98] PCI Advanced Features
 + Kernel driver in use: ehci_hcd
 +
 +00:1f.0 ISA bridge: Intel Corporation Device 8cc6
 + Subsystem: ASUSTeK Computer Inc. Device 8534
 + Flags: bus master, medium devsel, latency 0
 + Capabilities:​ [e0] Vendor Specific Information:​ Len=0c <?>
 +
 +00:1f.2 SATA controller: Intel Corporation Device 8c82 (prog-if 01 [AHCI 1.0])
 + Subsystem: ASUSTeK Computer Inc. Device 8534
 + Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 43
 + I/O ports at f090 [size=8]
 + I/O ports at f080 [size=4]
 + I/O ports at f070 [size=8]
 + I/O ports at f060 [size=4]
 + I/O ports at f020 [size=32]
 + Memory at f7135000 (32-bit, non-prefetchable) [size=2K]
 + Capabilities:​ [80] MSI: Enable+ Count=1/1 Maskable- 64bit-
 + Capabilities:​ [70] Power Management version 3
 + Capabilities:​ [a8] SATA HBA v1.0
 + Kernel driver in use: ahci
 +
 +00:1f.3 SMBus: Intel Corporation Device 8ca2
 + Subsystem: ASUSTeK Computer Inc. Device 8534
 + Flags: medium devsel, IRQ 7
 + Memory at f7134000 (64-bit, non-prefetchable) [size=256]
 + I/O ports at f000 [size=32]
 +
 +01:00.0 VGA compatible controller: NVIDIA Corporation Device 1187 (rev a1) (prog-if 00 [VGA controller])
 + Subsystem: Giga-byte Technology Device 360b
 + Flags: bus master, fast devsel, latency 0, IRQ 16
 + Memory at f6000000 (32-bit, non-prefetchable) [size=16M]
 + Memory at e8000000 (64-bit, prefetchable) [size=128M]
 + Memory at f0000000 (64-bit, prefetchable) [size=32M]
 + I/O ports at e000 [size=128]
 + Expansion ROM at f7000000 [disabled] [size=512K]
 + Capabilities:​ [60] Power Management version 3
 + Capabilities:​ [68] MSI: Enable- Count=1/1 Maskable- 64bit+
 + Capabilities:​ [78] Express Endpoint, MSI 00
 + Capabilities:​ [b4] Vendor Specific Information:​ Len=14 <?>
 + Capabilities:​ [100] Virtual Channel
 + Capabilities:​ [128] Power Budgeting <?>
 + Capabilities:​ [600] Vendor Specific Information:​ ID=0001 Rev=1 Len=024 <?>
 + Capabilities:​ [900] #19
 + Kernel driver in use: nouveau
 +
 +01:00.1 Audio device: NVIDIA Corporation GK104 HDMI Audio Controller (rev a1)
 + Subsystem: Giga-byte Technology Device 360b
 + Flags: bus master, fast devsel, latency 0, IRQ 17
 + Memory at f7080000 (32-bit, non-prefetchable) [size=16K]
 + Capabilities:​ [60] Power Management version 3
 + Capabilities:​ [68] MSI: Enable- Count=1/1 Maskable- 64bit+
 + Capabilities:​ [78] Express Endpoint, MSI 00
 + Kernel driver in use: snd_hda_intel
 +
 +03:00.0 PCI bridge: ASMedia Technology Inc. ASM1083/​1085 PCIe to PCI Bridge (rev 04) (prog-if 01 [Subtractive decode])
 + Flags: bus master, fast devsel, latency 0
 + Bus: primary=03, secondary=04,​ subordinate=04,​ sec-latency=32
 + Capabilities:​ [c0] Subsystem: ASUSTeK Computer Inc. Device 8489
 +</​code>​
  
Back to top
delo_notes.txt · Last modified: 2014/08/30 15:51 by Jan Stancek
Sitemap Search: