Skip to content

Instantly share code, notes, and snippets.

@shamun
Created August 17, 2012 17:29
Show Gist options
  • Save shamun/3380828 to your computer and use it in GitHub Desktop.
Save shamun/3380828 to your computer and use it in GitHub Desktop.
---------------------- now
[root@example sun]# vim /etc/default/grub
[root@example sun]# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.5.1-1.fc17.x86_64
Found initrd image: /boot/initramfs-3.5.1-1.fc17.x86_64.img
Found linux image: /boot/vmlinuz-3.3.4-5.fc17.x86_64
Found initrd image: /boot/initramfs-3.3.4-5.fc17.x86_64.img
done
[root@example sun]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Fedora"
GRUB_DEFAULT=saved
GRUB_CMDLINE_LINUX="nomodeset rd.md=0 rd.dm=0 SYSFONT=True KEYTABLE=us rd.lvm.lv=vg_example/lv_root rd.lvm.lv=vg_example/lv_swap LANG=en_US.UTF-8 rd.luks=0 rhgb quiet acpi_osi=Linux acpi_backlight=vendor"
#GRUB_THEME="/boot/grub2/themes/system/theme.txt"
----------------- old
# cat /proc/cmdline
BOOT_IMAGE=/vmlinuz-3.5.1-1.fc17.x86_64 root=/dev/mapper/vg_example-lv_root ro nomodeset rd.md=0 rd.dm=0 SYSFONT=True KEYTABLE=us rd.lvm.lv=vg_example/lv_root rd.lvm.lv=vg_example/lv_swap LANG=en_US.UTF-8 rd.luks=0 rhgb quiet
[root@example sun]# cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="Fedora"
GRUB_DEFAULT=saved
GRUB_CMDLINE_LINUX="nomodeset rd.md=0 rd.dm=0 SYSFONT=True KEYTABLE=us rd.lvm.lv=vg_example/lv_root rd.lvm.lv=vg_example/lv_swap LANG=en_US.UTF-8 rd.luks=0 rhgb quiet"
#GRUB_THEME="/boot/grub2/themes/system/theme.txt"
[root@example sun]#
[root@example sun]# uname -a
Linux example 3.5.1-1.fc17.x86_64 #1 SMP Thu Aug 9 17:50:43 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@example sun]# lspci
00:00.0 Host bridge: Intel Corporation Ivy Bridge DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Ivy Bridge PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Device 0166 (rev 09)
00:14.0 USB Controller: Intel Corporation Panther Point USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation Panther Point MEI Controller #1 (rev 04)
00:1a.0 USB Controller: Intel Corporation Panther Point USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation Panther Point High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 1 (rev c4)
00:1c.2 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 3 (rev c4)
00:1c.3 PCI bridge: Intel Corporation Panther Point PCI Express Root Port 4 (rev c4)
00:1d.0 USB Controller: Intel Corporation Panther Point USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation Panther Point LPC Controller (rev 04)
00:1f.2 RAID bus controller: Intel Corporation Mobile 82801 SATA RAID Controller (rev 04)
00:1f.3 SMBus: Intel Corporation Panther Point SMBus Controller (rev 04)
01:00.0 VGA compatible controller: nVidia Corporation Device 0fd1 (rev a1)
01:00.1 Audio device: nVidia Corporation Device 0e1b (rev a1)
07:00.0 Ethernet controller: Atheros Communications AR8151 v2.0 Gigabit Ethernet (rev c0)
08:00.0 Network controller: Intel Corporation Device 0887 (rev c4)
09:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5209 (rev 01)
09:00.1 SD Host controller: Realtek Semiconductor Co., Ltd. Device 5209 (rev 01)
[root@example sun]#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment