Mailinglist Archive: opensuse-factory (331 mails)

< Previous Next >
Re: [opensuse-factory] Factory Rescue mkinitrd
  • From: Felix Miata <mrmazda@xxxxxx>
  • Date: Wed, 23 Jan 2008 21:20:53 -0500
  • Message-id: <4797F605.8090902@xxxxxx>
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.
--
"In the beginning was the Word, and the Word was
with God, and the Word was God." John 1:1 NIV

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://mrmazda.no-ip.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-factory+help@xxxxxxxxxxxx

< Previous Next >
This Thread
Follow Ups