When I was upgrading from Gutsy to Hardy, it asked me what I wanted to do with menu.lst and I choose, keep the current one. How do I update the menu.lst with the correct one for Hardy?
When I was upgrading from Gutsy to Hardy, it asked me what I wanted to do with menu.lst and I choose, keep the current one. How do I update the menu.lst with the correct one for Hardy?
This is my question too. How do I upgrade menu.lst to hardy version/kernel? I also (stupidly!) chose to keep most of the other files I was asked about...I'm not sure which ones they were either...they all sounded like configuration files, which I idiotically imagined would replace my desktop and etc. The thing that I'm also wondering about is whether, since menu.lst still works (sort of) with old kernel works, if old kernel (2.6.22-14) and any other old (gutsy) files are still taking up space on my machine...should old kernel and etc still be there? should I delete them?
Please help. My computer is pootched and I need it. Thanks!
Last edited by Knacker; May 3rd, 2008 at 01:27 AM.
$ sudo gedit /boot/grub/menu.lst
Find the entry that looks like this:
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=f3394eec-ad89-4d43-9683-ec4fdbc79867 ro quiet splash
initrd /boot/initrd.img-2.6.22-14-generic
quiet
Make a copy of the whole section, paste it above the current entry (to make it default) and change it to match your new kernel:
title Ubuntu 8.04, kernel 2.6.24-16-generic
root (hd0,2)
kernel /boot/vmlinuz-2.6.24-16-generic root=UUID=f3394eec-ad89-4d43-9683-ec4fdbc79867 ro quiet splash
initrd /boot/initrd.img-2.6.24-16-generic
quiet
To double check your kernel version, you can do this:
$ ls -ltr /boot/initrd* | tail -1
-rw-r--r-- 1 root root 8111562 2008-04-27 20:46 /boot/initrd.img-2.6.24-16-generic
Make sure that the kernel and initrd match.
When you reboot it should then default to the new one.
Good luck
Bookmarks