| Summary: | grub fails to boot after upgrade without reinstall | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Gilles Espinasse <g.esp> |
| Component: | [OLD] Core system | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | minor | CC: | rlippmann |
| Priority: | High | ||
| Version: | 2006.1 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Gilles Espinasse
2006-11-26 00:31:55 UTC
grub won't reinstall itself, it's your responsibility to do it... Fail to see the bug here. Should'nt there be a very big warning that your machine will be unusable after the emerge unless you are one of the king of the grub> prompt? I didn't uninstall the working grub-0.96-r2. I just emerge and find my machine unusable after. Is this not a bug that you are not warned before and so you could prepare to fix the issue before to be send in grub prompt restrictive world? my guess is you dont have a grub.conf just a menu.lst post the output of `ls -l /boot/grub/` ls /boot/grub device.map barton ~ # ls -l /boot/grub total 4 -rw-r--r-- 1 root root 30 Oct 24 2005 device.map barton ~ # mount /dev/hda1 /boot barton ~ # ls -l /boot/grub total 1011 -rw-r--r-- 1 root root 197 Oct 24 2005 default -rw-r--r-- 1 root root 30 Oct 15 2005 device.map -rw-r--r-- 1 root root 7456 Nov 26 00:35 e2fs_stage1_5 -rw-r--r-- 1 root root 7296 Nov 26 00:35 fat_stage1_5 -rw-r--r-- 1 root root 6592 Nov 26 00:35 ffs_stage1_5 -rw-r--r-- 1 root root 1065 Jul 22 09:45 grub.conf -rw-r--r-- 1 root root 1624 Nov 26 00:35 grub.conf.sample -rw-r--r-- 1 root root 941 Oct 24 2005 grub.liste -rw-r--r-- 1 root root 6592 Nov 26 00:35 iso9660_stage1_5 -rw-r--r-- 1 root root 8064 Nov 26 00:35 jfs_stage1_5 lrwxrwxrwx 1 root root 9 Oct 15 2005 menu.lst -> grub.conf -rw-r--r-- 1 root root 6720 Nov 26 00:35 minix_stage1_5 -rwxr-xr-x 1 root root 196836 Oct 15 2005 nbgrub -rwxr-xr-x 1 root root 197860 Oct 15 2005 pxegrub -rw-r--r-- 1 root root 9056 Nov 26 00:35 reiserfs_stage1_5 -rw-r--r-- 1 root root 33856 Nov 26 00:35 splash.xpm.gz -rw-r--r-- 1 root root 512 Nov 26 00:35 stage1 -rw-r--r-- 1 root root 102236 Nov 26 00:35 stage2 -rwxr-xr-x 1 root root 196900 Oct 15 2005 stage2.netboot -rw-r--r-- 1 root root 108328 Oct 24 2005 stage2.old -rw-r--r-- 1 root root 102236 Nov 26 00:35 stage2_eltorito -rw-r--r-- 1 root root 6944 Nov 26 00:35 ufs2_stage1_5 -rw-r--r-- 1 root root 6144 Nov 26 00:35 vstafs_stage1_5 -rw-r--r-- 1 root root 8776 Nov 26 00:35 xfs_stage1_5 what you're describing shouldnt happen then ... try downgrading to 0.96-r2 and upgrading to 0.97-r2 and see if you hit this problem again if this was a common issue there'd be a ton more reports ... yours is the only one so far so something else is probably going on i'm seeing this too (went from 0.97-r2 to 0.97-r3. i have the same entries in /boot/grub. if i do configfile /boot/grub/grub.conf at the grub prompt, i boot normally. sorry, the grub command used is configfile /grub/grub.conf. tried removing the symlink of menu.lst to grub.conf and just copying grub.conf to menu.lst, no luck. mounted /boot (separate partition) and re-ran grub-install, and everything is fine now. guess there was a change in the ebuild because i remember updating grub without mounting /boot before and having an unbootable system (it must have run grub-install and without /boot mounted, it just put it on the root partition) (In reply to comment #5) > if this was a common issue there'd be a ton more reports ... yours is the only > one so far so something else is probably going on I ran into the same problem My Gentoo had not been updated since maybe 9 months. During the update, grub got updated from 0.96-r2 to 0.97-r3 After rebooting, I only got the grub> prompt, nothing more. /boot is on a separate partition and not mounted by default |