GRUB2 / Kernel-Parameters

David dgboles at gmail.com
Sat Mar 10 01:39:47 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 3/9/2012 7:53 PM, Reindl Harald wrote:
> where the hell are kernel-params in F16 configured?
> 
> [root at testserver:~]$ cat /boot/grub2/grub.cfg # # DO NOT EDIT THIS
> FILE # # It is automatically generated by grub2-mkconfig using
> templates # from /etc/grub.d and settings from /etc/default/grub
> 
> BULLSHIT: "/etc/default/grub" is ignored it is displayed by
> "grub2-mkconfig" somewhere BUT "/boot/grub2/grub.cfg" still
> contains this useless graphical boot and "quiet"
> 
> [root at testserver:~]$ cat /boot/grub2/grub.cfg | grep linux ###
> BEGIN /etc/grub.d/10_linux ### menuentry 'Fedora Linux, with Linux
> 3.2.9-2.fc16.x86_64' --class fedora --class gnu-linux --class gnu
> --class os { linux   /vmlinuz-3.2.9-2.fc16.x86_64
> root=UUID=9b4bf81a-5b1e-4922-b0d1-e6b65e9b61f9 ro quiet rhgb ###
> END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen
> ### ### END /etc/grub.d/20_linux_xen ###
> 
> __________________________
> 
> [root at testserver:~]$ cat /etc/default/grub GRUB_TIMEOUT=5 
> GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)" 
> GRUB_DEFAULT=saved GRUB_SAVEDEFAULT=true # GRUB_TERMINAL="serial
> console" # GRUB_SERIAL_COMMAND="serial --unit=0 --speed=9600" 
> GRUB_CMDLINE_LINUX="rd.plymouth=0 nomodeset selinux=0
> scsi_mod.scan=sync elevator=noop divider=10 clocksource=hpet 
> noisapnp noresume nodomains nobar norom printk.time=0 thermal.off=1
> nmi_watchdog=0 pcie_aspm=off" GRUB_DISABLE_RECOVERY="true" 
> __________________________
> 
> 
> [root at testserver:~]$ grub2-mkconfig Generating grub.cfg ... # # DO
> NOT EDIT THIS FILE # # It is automatically generated by
> grub2-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="${saved_entry}" 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 }
> 
> set timeout=5 ### END /etc/grub.d/00_header ###
> 
> ### BEGIN /etc/grub.d/10_linux ### Found linux image:
> /boot/vmlinuz-3.2.9-2.fc16.x86_64 Found initrd image:
> /boot/initramfs-3.2.9-2.fc16.x86_64.img menuentry 'Fedora Linux,
> with Linux 3.2.9-2.fc16.x86_64' --class fedora --class gnu-linux
> --class gnu --class os { savedefault load_video set
> gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set
> root='(hd5,msdos1)' search --no-floppy --fs-uuid --set=root
> 6f7807bd-a508-44c7-9e72-651f82b6ad6c echo    'Loading Linux
> 3.2.9-2.fc16.x86_64 ...' linux   /vmlinuz-3.2.9-2.fc16.x86_64
> root=UUID=9b4bf81a-5b1e-4922-b0d1-e6b65e9b61f9 ro rd.plymouth=0 
> nomodeset selinux=0 scsi_mod.scan=sync elevator=noop divider=10
> clocksource=hpet noisapnp noresume nodomains nobar norom
> printk.time=0 thermal.off=1 nmi_watchdog=0 pcie_aspm=off echo
> 'Loading initial ramdisk ...' initrd
> /initramfs-3.2.9-2.fc16.x86_64.img } ### END /etc/grub.d/10_linux
> ###
> 
> ### BEGIN /etc/grub.d/10_linux.save ### Found linux image:
> /boot/vmlinuz-3.2.9-2.fc16.x86_64 Found initrd image:
> /boot/initramfs-3.2.9-2.fc16.x86_64.img menuentry 'Fedora Linux,
> with Linux 3.2.9-2.fc16.x86_64' --class fedora --class gnu-linux
> --class gnu --class os { savedefault load_video set
> gfxpayload=keep insmod gzio insmod part_msdos insmod ext2 set
> root='(hd5,msdos1)' search --no-floppy --fs-uuid --set=root
> 6f7807bd-a508-44c7-9e72-651f82b6ad6c echo    'Loading Linux
> 3.2.9-2.fc16.x86_64 ...' linux   /vmlinuz-3.2.9-2.fc16.x86_64
> root=UUID=9b4bf81a-5b1e-4922-b0d1-e6b65e9b61f9 ro rd.plymouth=0 
> nomodeset selinux=0 scsi_mod.scan=sync elevator=noop divider=10
> clocksource=hpet noisapnp noresume nodomains nobar norom
> printk.time=0 thermal.off=1 nmi_watchdog=0 pcie_aspm=off echo
> 'Loading initial ramdisk ...' initrd
> /initramfs-3.2.9-2.fc16.x86_64.img } ### END
> /etc/grub.d/10_linux.save ###
> 
> ### BEGIN /etc/grub.d/20_linux_xen ### ### END
> /etc/grub.d/20_linux_xen ###
> 
> ### BEGIN /etc/grub.d/30_os-prober ### ### 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
> ###
> 
> ### BEGIN /etc/grub.d/90_persistent ### ### END
> /etc/grub.d/90_persistent ### done


You, sir, really,*really*, to find another OS. Other than Linux. This
one, with its changes, is kicking your old, out of the main steam, a$$


- -- 

  David
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPWrDjAAoJEObJ14kUYB6pBUcH/20vaKO+vFo+GHAFR4NDIObC
mhN8hla15HZ8q5FTFGknT7pq7j6DEsmSHq9DjIjeDaDz6mbtArXWfQ0KCbGAWy7H
5DXIZyDBRZX5edS/fucGSmvk+dJF68FvevVLY8DZVWJGt1tf+3tO+6kOzZczAN5u
N9OVMOKTZrGX/i44EgBJi4mIqNaMIyn4lYro4m0Q/v5Q+AU/hI9+cIX7aJUSbEUh
uwXHtX4gwEW5Mky6zdvtqc0F46n00YIIO9270+KIR/DluHNSy03tfGyEgJPEVpkh
yK/SQHiGqiXMJ6k/lYhZqjxL3jrzDcMpMuyRdJV7/j7nCRhY8LLmRrbWrslaURc=
=Sj4I
-----END PGP SIGNATURE-----


More information about the users mailing list