Bug#549337: upgrade-from-grub-legacy, had to fsck in order to boot
f111110101011 at gmail.com
Fri Oct 2 15:38:09 UTC 2009
I'm bugreporting but I'm not sure it will be helpful nor if it's really a grub2 bug.
I updated from Lenny (fresh install) to Squeeze.
It installed grub2, chainloaded after grub1.
It worked fine and I was able to boot from grub2 menu.
I had to reinstall gnome, because I let some "autoclean"
uninstalling most of my packages, and so I had to reinstall new squeeze
packages of gnome.
I ran the 'upgrade-from-grub-legacy' command.
When prompted, I ticked my hard-drive so that it installs grub on it.
Grub2 starts, it starts kernel 2.6.30, then it loads a bit, then kaboom! It asked me to fsck my /dev/sda6 partition.
I entered my admin password, then fscked it.
I reboot, then same problem for other partitions.
did something which I feared could have caused troubles: I started
fdisk, it detected a problem with some flag set to 000x0 (or something
like that on /dev/sda5 IIRC), it just asked to rewrite the partition table,
which I did.
Then I fscked other partitions (/dev/sda6 and /dev/sda8), then I rebooted, and it fortunately went fine !
=== Some infos about the partition table:
/dev/sda6 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda5 on /boot type ext3 (rw)
/dev/sda8 on /home type ext3 (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
=== Some other infos:
debian1525:/home/fab# fdisk /dev/sda
The number of cylinders for this disk is set to 14593.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa0000000
Device Boot Start End Blocks Id System
/dev/sda1 1 12 96358+ de Dell Utility
/dev/sda2 13 14593 117121882+ 5 Extended
/dev/sda5 13 24 96358+ 83 Linux
/dev/sda6 25 2091 16603146 83 Linux
/dev/sda7 2092 2213 979933+ 82 Linux swap / Solaris
/dev/sda8 2214 14593 99442318+ 83 Linux
Hope this helps, if you need to know something I'll try to help.
More information about the Pkg-grub-devel