maxim wexler wrote:
Had the same problem. Have you forgotten to mount /proc before chroot:ing?Hello everybody,
I have a typical dual-boot system: /dev/hda contains
WinXP, /dev/hdb, gentoo. I had to swap out my linux
drive with another (NTFS) drive. Since nothing would
boot(grub error 17) I used a Win98 CD to get to a
prompt and entered fdisk /mbr, thinking to reboot
linux later from the livecd, mount the partitions,
swapon, chroot etc as per the Gentoo-FAQ and enter
grub-install --root-directory=/boot /dev/hda.
But I got:
Could not find device for /boot/boot: Not found or not a block device
Why is it looking for /boot/boot? Attempts to use tomsrtbt and bare.i led to a kernel panic whatever partition I tried to boot. Nothing seems amiss in /boot that I can see. Any ideas?
-mw
(That peice is "hidden" a little earlier in the handbook). I noticed thant the script
used to install grub is using some information in proc... so my fix was to copy /proc
to your chroot environment. Not a beutiful solution, but it worked for me.
-- gentoo-user@gentoo.org mailing list