Public bug reported:

OS: Ubuntu 8.04.1 Server

I updated the server with via ssh using sudo aptitude update && sudo
aptitude safe-upgrade

Aptitude updated the server kernel from "2.6.24 -19 server" too
"2.6.24-21 server". After the update/upgrade the server could not boot,
and the error message "Grub error 17" was given.

Please notice that I have _not_ deleted any partitions, I have not
changed menu.lst myself before this happend, there is no other OS on the
PC, and I have not changed the sata connections at all.

To fix the problem I used a livecd and wrote this in a terminal:
sudo grub
find /boot/grub/stage1                    The answer I got was: (hd3,1)
root (hd3,1)
setup (hd3)                                     The answer I got was: 
/boot/grub/menu.lst Succeeded
quit 

After rebooting the PC I got an new error: Error 22 No Such partition
Every kernels I tried from the menu.lst ended up with the same error. 

Here is some information about the system(from running a livecd):
ubu...@ubuntu:~$ sudo fdisk -l

Disk /dev/sda: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00018dcc

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1       48641   390708801   83  Linux

Disk /dev/sdb: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0330391b

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1       48641   390708801   83  Linux

Disk /dev/sdc: 400.0 GB, 400088457216 bytes
255 heads, 63 sectors/track, 48641 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x4bfbc829

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1               1       48641   390708801   83  Linux

Disk /dev/sdd: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000e4f3e

   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1               1         243     1951866   82  Linux swap / Solaris
/dev/sdd2   *         244        1216     7815622+  83  Linux
/dev/sdd3            1217       10966    78316875   83  Linux
/dev/sdd4           10967      121601   888675637+  83  Linux

----------------------------- END
/ is stored on /dev/sdd2
/home i stored on /dev/sdd3

/dev/sdd4 is one LVM
The hard drives called /dev/sda1, /dev/sdb1 and /dev/sdc1 is one LVM. 

Using the livecd I mounted / and opend /boot/grub/menu.lst, here you can see it:
title        Ubuntu 8.04.1, kernel 2.6.24-21-server
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.24-21-server 
root=UUID=569a949a-ff24-4e22-a095-bac416fadf60 ro quiet splash
initrd        /boot/initrd.img-2.6.24-21-server
quiet

title        Ubuntu 8.04.1, kernel 2.6.24-21-server (recovery mode)
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.24-21-server 
root=UUID=569a949a-ff24-4e22-a095-bac416fadf60 ro single
initrd        /boot/initrd.img-2.6.24-21-server

title        Ubuntu 8.04.1, kernel 2.6.24-19-server
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.24-19-server 
root=UUID=569a949a-ff24-4e22-a095-bac416fadf60 ro quiet splash
initrd        /boot/initrd.img-2.6.24-19-server
quiet

title        Ubuntu 8.04.1, kernel 2.6.24-19-server (recovery mode)
root        (hd0,1)
kernel        /boot/vmlinuz-2.6.24-19-server 
root=UUID=569a949a-ff24-4e22-a095-bac416fadf60 ro single
initrd        /boot/initrd.img-2.6.24-19-server

title        Ubuntu 8.04.1, memtest86+
root        (hd0,1)
kernel        /boot/memtest86+.bin
quiet

To fix the problem I changed manually every (hd0,1) too (hd3,1) in
/boot/grub/menu.lst, and now the system works again.

Please ask if you want more information, and thank you for your time.

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: boot cant kernel update upgrade

-- 
Unable to boot Ubuntu server after update/upgrade
https://bugs.launchpad.net/bugs/321603
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to