use http://www.angelfire.com/al4/thegoldenlist/gruberror.html if the other site is down. Haven't seen anyone else complain about this, but Grub isn't seeing some of my kernels. Basically any I've created since the one that's running right now. I've taken some screen shots with a digital camera so you might be able to catch something I'm missing, but I think everything is right everywhere. I've reinstalled Grub (version 0.92-r1) confucius root # cp /usr/share/grub/i386-pc/* /boot/grub/ triple checked my grub.conf I'm out of ideas except for making /dev/hda1 ext2, which I see as my last resort. And I don't think it's necessary since I've ran several kernels as the fs is. Info about the system confucius boot # ls -l total 11264 drwxr-xr-x 4 root root 88 Oct 17 16:15 boot -rw-r--r-- 1 root root 1229785 Nov 6 02:07 bzImage -rw-r--r-- 1 root root 1198377 Oct 18 10:15 bzImage.lolo.20pre1 -rw-r--r-- 1 root root 1253748 Oct 31 21:18 bzImage.lolo.20pre1- evms -rw-r--r-- 1 root root 1198377 Oct 18 18:21 bzImage.lolo.20pre1- rescue -rw-r--r-- 1 root root 1198350 Oct 25 02:41 bzImage.lolo.20pre2 -rw-r--r-- 1 root root 1264684 Oct 18 10:15 bzImage.lolo_pre6 -rw-r--r-- 1 root root 1615065 Oct 18 10:15 bzImage.lolo_pre6.xfs -rw-r--r-- 1 root root 1501540 Oct 18 10:15 bzImage.nopreempt -rw-r--r-- 1 root root 1028836 Oct 18 10:15 bzImage.vanilla drwxr-xr-x 2 root root 96 Nov 9 22:04 grub drwxr-xr-x 2 root root 4096 Nov 8 07:42 grub.old drwxr-xr-x 2 root root 4096 Oct 23 13:40 grub.save confucius boot # ls -l grub total 224 -rw-r--r-- 1 root root 7776 Nov 9 22:02 e2fs_stage1_5 -rw-r--r-- 1 root root 7472 Nov 9 22:02 fat_stage1_5 -rw-r--r-- 1 root root 6816 Nov 9 22:02 ffs_stage1_5 -rw-r--r-- 1 root root 1540 Nov 9 22:04 grub.conf -rw-r--r-- 1 root root 8416 Nov 9 22:02 jfs_stage1_5 -rw-r--r-- 1 root root 7008 Nov 9 22:02 minix_stage1_5 -rw-r--r-- 1 root root 9376 Nov 9 22:02 reiserfs_stage1_5 -rw-r--r-- 1 root root 33856 Nov 9 22:04 splash.xpm.gz -rw-r--r-- 1 root root 512 Nov 9 22:02 stage1 -rw-r--r-- 1 root root 102596 Nov 9 22:02 stage2 -rw-r--r-- 1 root root 6464 Nov 9 22:02 vstafs_stage1_5 -rw-r--r-- 1 root root 9128 Nov 9 22:02 xfs_stage1_5 confucius boot # cat grub/grub.conf default 0 timeout 10 splashimage=(hd0,0)/grub/splash.xpm.gz title=Gentoo Linux v.1.4rc1 linux-2.4.20-lolo_r1_pre1 With LVM & JFS root (hd0,0) kernel /boot/bzImage.lolo.20pre1 root=/dev/hda2 title=Gentoo Linux v.1.4rc1 linux-2.4.20-mjc_r2 With LVM, EVMS & JFS root (hd0,0) kernel /boot/bzImage root=/dev/hda2 title=Gentoo Linux v.1.4rc1 linux-2.4.20-lolo_r1_pre1 With EVMS root (hd0,0) kernel /boot/bzImage.lolo.20pre1-evms root=/dev/hda2 title=Gentoo Linux v.1.4rc1 lolo-2.4.20.1_pre2 root (hd0,0) #kernel /boot/bzImage.lolo.20pre2 root=/dev/hda2 kernel /boot/bzImage.lolo.20pre2 root=/dev/hda2 title=Gentoo Linux v.1.4rc1 linux-2.4.20-lolo-r1_pre1 With LVM & JFS RESCUE root (hd0,0) kernel /boot/bzImage.lolo.20pre1-rescue root=/dev/hda2 #title=Gentoo Linux v.1.4rc1 linux-2.4.19-lolo-r10_pre6 With XFS w/o #preempt #root (hd0,0) #kernel /boot/bzImage.nopreempt root=/dev/hda2 #title=Gentoo Linux v.1.4rc1 linux-2.4.19-lolo-r10_pre6 With XFS #w/preempt #root (hd0,0) #kernel /boot/bzImage.lolo_pre6.xfs root=/dev/hda2 #title=Gentoo Linux v.1.4rc1 linux-2.4.19-lolo-r10_pre6 W/O XFS #root (hd0,0) #kernel /boot/bzImage.lolo_pre6 root=/dev/hda2 #title=Gentoo Linux v.1.4rc1 linux-2.4.19 (vanilla-sources) #root (hd0,0) #kernel /boot/bzImage.vanilla root=/dev/hda2 # Below needed only for people who dual-boot #title=Windows XP #root (hd1,0) #chainloader +1 confucius boot # df -Th Filesystem Type Size Used Avail Use% Mounted on /dev/hda2 jfs 203M 41M 163M 20% / tmpfs tmpfs 1.0M 208K 816K 21% /mnt/.init.d /dev/hda1 jfs 31M 19M 12M 61% /boot /dev/vgroup/opt jfs 498M 108M 390M 22% /opt /dev/vgroup/usr jfs 2.0G 1.6G 456M 78% /usr /dev/vgroup/portage jfs 10G 9.3G 687M 94% /usr/portage /dev/vgroup/var jfs 3.0G 2.4G 670M 79% /var /dev/vgroup/home jfs 10G 150M 9.9G 2% /home /dev/vgroup/storage jfs 10G 6.7G 3.3G 68% /storage If any other info is needed, e-mail me or add to the bug or tell SanityInFlux/Siffy on freenode.
umm, you've made an interesting bug report. i dont have any ideas off hand, sorry. why keep this to yourself? im sure the grub developers would be interested to hear of your problem, seeming as how you've created pretty screenshots and all. post to their m/l. way to go.
share this with the grub people, "SanityInFlux" hopefully somebody there will have an idea.
I had the same problem. I supposed that it is because of the geometry of my hard drive (100 GB Western Digital) but I'm not sure. I decided to use lilo instead of grub and it worked just fine. I'll check the grub home page to see if there is any limitations or workaround.
Good news ! After some investigations on the FSF site and the info page of grub i found what was wrong: We both have a missing file, /boot/grub/device.map, that needs to be created with the command 'grub-install --device-map=/boot/grub/device.map' under the gentoo chrooted environnement. After that you can do a normal install of grub without any problem. But I still don't know why the device.map file is missing...
Better good news !! I found that on a fresh install, you don't have to type "grub-install --device-map=/boot/grub/device.map" but "grub-install /dev/whatever_your_disk_is" and that's it (sorry about this mistake...). You'll see some errors but it won't affect the creation of the /boot/grub/device.map file. And then you can do a normal grub install. Regards.
alright is there anything for me to actually fix in our package here, or is this an end-user-usage type deal?
The error/fix isn't a Gentoo issuem but upstream. Also, I've reinstalled since this bug was a problem and isn't anymore since I'm not using LVM. So I'll close the bug as "can't be fixed". Mainly because the problem doesn't exist anymore, so I don't know what is or isn't a fix.
db fix