Can someone tell me how to edit /boot/grub/menu.lst so that it’ll automatically boot with the nomodeset option? And just for kicks lets walk me through it like I’m a complete Linux noob and don’t know anything about what I’m doing. That’ll be fun… pretending.
Add it at the end of the line starting with “kernel” in the boot entry.
You mean just type it in on the options in the boot menu? That’s what I’ve been doing I wanted to know how to set it up so it’ll automatically have it in the boot. I don’t have to type “nomodeset” every time.
Use an editor with root privileges to edit /boot/grub/menu.lst
For example, from a console
sudo nano /boot/grub/menu.lst
For KDE, you could do
kdesu kwrite /boot/grub/menu.lst
Be careful with your editing of system files
Find the entry you want to add nomodeset to…
###Don't change this comment - YaST2 identifier: Original name: linux###
title Desktop -- openSUSE 11.3 - 2.6.34.7-0.7
root (hd0,5)
kernel /boot/vmlinuz-2.6.34.7-0.7-desktop root=/dev/disk/by-id/ata-Hitachi_HTS542525K9SA00_080402BB3F00WDD6EV6C-part6 resume=/dev/disk/by-id/ata-Hitachi_HTS542525K9SA00_080402BB3F00WDD6EV6C-part5 splash=silent quiet showopts vga=0x31a nomodeset
initrd /boot/initrd-2.6.34.7-0.7-desktop
I just ran yast, selected “system” then “Boot Loader”. That gives me a GUI screen for editing grub entries.
On 2011-04-20 04:36, WhatsWithGravity wrote:
>
> You mean just type it in on the options in the boot menu? That’s what
> I’ve been doing I wanted to know how to set it up so it’ll automatically
> have it in the boot. I don’t have to type “nomodeset” every time.
I think you can do it with YaST, boot manager. I can’t tell you the details
as I have never done it that way.
I would:
open a terminal. Type:
su -
mcedit /boot/grub/menu.lst
edit the kernel line (it starts by “kernel”. Write it at the end. Don’t
make mistakes.
F10 to exit, save changes.
Now, you also need to edit “/etc/sysconfig/bootloader”, and add the option
in the three *_KERNEL_APPEND variables.
–
Cheers / Saludos,
Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)
No, I meant in the file /boot/grub/menu.lst, as deano_ferrari explained in detail. Looks like the others suggested an easier way though.
Thanks everyone! It boots great. Ended up using kwrite