Felix Miata wrote:
On 2007/04/09 14:18 (GMT+0200) Carlos E. R. apparently typed:

2007-04-08 at 20:47 -0400, Felix Miata wrote:

I then tried to mount and chroot to it
in order to run grub-install. Grub-install failed due to the non-existent
target device.

It could be because the /mnt/dev tree is not populated.

Copying the hda19 device file from the 10.1 / and trying
again didn't help.

Ah, so you saw that. The trick is this, before chrooting:

mount -o bind /proc /mnt/proc
mount -o bind /sys /mnt/sys
mount -o bind /dev /proc/dev

and then, chroot (as posted here by Anders Johansson about a month ago).

The man page for mkinitrd is now rather different:

1-mount root device on /mnt
2-mount --bind /dev /mnt/dev
3-chroot /mnt
4-mount /proc
5-mount /sys
6-mkinitrd

When I try it this way, I get a lot of Constant & Prototype error messages
from line 66 of Exporter.pm.

I have seen these on 2 x86_64 boxes, but the initrd gets built and the kernel boots fine. Still needs fixing though.
Regards
Sid.
--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to