A note about temporarily "editing" the kernel boot line...
This is an example of the menu entries of a Ubuntu menu item that will display when you press "e" in a Grub menu:
Code:
recordfail
set gfxpayload=$linux_gfx_mode
insmod part_msdos
insmod ext2
set root='(/dev/sdb,msdos3)'
search --no-floppy --fs-uuid --set=root 32939def-1f4a-4134-9b56-bed2319a9216
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=32939def-1f4a-4134-9b56-bed2319a9216 ro quiet splash vt.handoff=7
initrd /boot/initrd.img-2.6.38-8-generic
The Linux kernel boot line in indicated above in
red.
Note: Something that has changed with Natty and GNU Grub 1.99~rc1... Look at the kernel boot line again, below:
Code:
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=32939def-1f4a-4134-9b56-bed2319a9216 ro quiet splash vt.handoff=7
What we used to do to help display error messages was to remove the options in blue ( quiet splash ) and type in " nosplash --verbose text " at the end of the boot line to boot into a text console (and have all the messages displayed).
Note on the "text" option. Stopped working as of Kernel 3.x.x. I have a Luancpad and Upstream Linux (kernel.org) bug opened on this. My workaround for this is to substitute the option "single" and either use the "root prompt" or to use "resume" which should then resume to a tty text prompt.
Notice the new option in green above (" vt_handoff=7 "). Remove this boot option now also. This new option (from the wiki)
So if we want to see all the error messages, we now also have to remove this from the boot line temporarily while trying to find problems.
So to boot into a text console to verify that the system is booting into Linux, we edit the above kernel boot line to look like this:
Code:
linux /boot/vmlinuz-2.6.38-8-generic root=UUID=32939def-1f4a-4134-9b56-bed2319a9216 ro nosplash --verbose text
After editing, press <cntrl><x> and it will try to boot the menu entries. If and after the kernel boots in text mode, you will have more options to change things going into an Xsession.
Bookmarks