PDA

View Full Version : [ubuntu] 8.10 fail after sucess update



bverly
November 5th, 2008, 11:47 AM
after i updated my ubuntu from 8.04 to 8.10 and restarted it, in my grub list, it did not show 8.10, it show old kernels.

is there possibility that my error come from editing grub list?
last time i remembered i edit my grub list so they dont show old kernel. if yes how to get it b?

Kevbert
November 5th, 2008, 12:07 PM
Welcome to Ubuntu.
To update your grub you can simply replace 2.6.24-21 with 2.6.27-7 in each place it occurs. The title line is what's shown on the screen when you boot up. Other wise you can copy each set of five lines so you have access to the old kernel for 8.0.4.1. For example:

title Ubuntu 8.04.1, kernel 2.6.24-21-generic
root (hd1,6)
kernel /boot/vmlinuz-2.6.24-21-generic root=UUID=ac4f091c-d379-475c-8f76-b6e9ca0b5865 ro quiet splash
initrd /boot/initrd.img-2.6.24-21-generic
quiet
becomes

title Ubuntu 8.10, kernel 2.6.27-7-generic
root (hd1,6)
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=ac4f091c-d379-475c-8f76-b6e9ca0b5865 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet

bverly
November 6th, 2008, 09:57 AM
thanks for replying http://ubuntuforums.org/showthread.php?t=971611
there is another question how to change it??? because i cant access my Ubuntu, after a loading my screen become black with some message
checking battery .....................[Ok]
etc
i tried use Cd live, and GKsudo gedit/boot/grub/menu.lst it wont work too .
thx for the concern.

ramaswamyps
November 6th, 2008, 11:03 AM
boot with live cd ubuntu-8.10
sudo mkdir /mnt/ubuntu
sudo mount /dev/sdx /mnt/ubuntu
sudo chroot /mnt/ubuntu /bin/bash

here your commands should work.
edit menu.lst
or reinstall grub

replace the partition number with correct number for x

bverly
November 6th, 2008, 07:14 PM
can i use old cd live?? 7.04 or 8.04???

Tanker Bob
November 6th, 2008, 07:44 PM
can i use old cd live?? 7.04 or 8.04???
Yes, the version doesn't matter. You just need to get the system booted so that you can edit menu.lst.

bverly
November 7th, 2008, 11:06 AM
i cant do the last step edit menu.lst
error "Edit" ..
then i try to find boot in my system , i find menu.lst then try to copy paste command from Kevbert.
i restarted it then error 15(file not found), i didnt have backup my oldkernel.

so what should I do???should i reinstall grub or do fresh install?

caljohnsmith
November 7th, 2008, 03:23 PM
Try this from the Live CD:

sudo mount /dev/sdaX /mnt
gksudo gedit /mnt/boot/grub/menu.lst
And replace sdaX above with your Ubuntu partition. That should bring up your menu.lst, and you can add the entry that Kevbert suggested. Let us know how it goes.

bverly
November 8th, 2008, 04:33 PM
it didnt work,
error 15 file not found.

how to reinstall grub?coz i havent tried that method??