Kod: Markera allt
eyerouge@eyerouge2:~$ sudo update-grub
[sudo] password for eyerouge:
Searching for GRUB installation directory ... found: /boot/grub
Searching for default file ... found: /boot/grub/default
Testing for an existing GRUB menu.lst file ... found: /boot/grub/menu.lst
Searching for splash image ... found: (hd0,6)/boot/grub/splashimages/cold.xpm.gz
Found kernel: /boot/vmlinuz-2.6.27-7-generic
Updating /boot/grub/menu.lst ... Updating the default booting kernel
done
eyerouge@eyerouge2:~$ sudo gedit /boot/grub/menu.lst
Kod: Markera allt
title Ubuntu 8.04.1, kernel 2.6.24-19-generic
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=463376c7-bd45-4e29-8bb1-1d9a60883842 ro quiet splash
initrd /boot/initrd.img-2.6.24-19-generic
quiet
title Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
lock
root (hd0,6)
kernel /boot/vmlinuz-2.6.24-19-generic root=UUID=463376c7-bd45-4e29-8bb1-1d9a60883842 ro single
initrd /boot/initrd.img-2.6.24-19-generic
### END DEBIAN AUTOMAGIC KERNELS LIST
# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda1
title Windows Vista
root (hd0,0)
savedefault
makeactive
chainloader +1
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sda2
#title Windows Vista/Longhorn (res)
#root (hd0,1)
#savedefault
#makeactive
#chainloader +1
Edit: Det verkade som det fungerade bra med att bara ändra versionssiffrorna. Efter att jag gjorde det fungerade även de senaste nvidia driversen som krånglade med hardykernelen. Misstänker även att något av nedanstående förklarar varför update-grub inte gjorde något:
Försökte hitta info om inställningarna men grubhandboken nämner inte dem.## should update-grub create alternative automagic boot options
## e.g. alternative=true
## alternative=false
# alternative=true
## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
## lockalternative=false
# lockalternative=true
## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash
## should update-grub lock old automagic boot options
## e.g. lockold=false
## lockold=true
# lockold=true