udev MAKEDEV

How can I recreate all devices in /dev ?

I have copyed /dev from one disk to one another with rsync.
I boot from Debian rescue and run:
shell> lilo
part_nowrite check:: No such file or directory

I think that it was happend because partitions from /dev of first disk
don't equal /dev of second disk.

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

udev MAKEDEV

Now I create by hand md0, sda, sdb, sda1, sdb1 - all partitions which I
want.

And when I run lilo I get:
Fatal: Sorry, don't know how to handle device 0xfd00

What is it?

--

udev MAKEDEV

On Wed, Oct 31, 2007 at 01:01:22PM +0300, Vadim Vatlin wrote:
> Now I create by hand md0, sda, sdb, sda1, sdb1 - all partitions which I
> want.

udev will create these partitions on its own during boot.
>
> And when I run lilo I get:
> Fatal: Sorry, don't know how to handle device 0xfd00

Is this when trying to install lilo? From where are you trying to
install it?

you should be chroot'ing into the new system to install lilo...

A

udev MAKEDEV

hey,
/dev is, as mentioned, created at boot time, if you're trying to run
lilo from a rescue disk you'll need to use something like
'sudo mount -o bind /dev/ /path/to/mounted/disk/dev'
Then chroot into /path/to/mounted/disk/ and then run lilo.

hope this helps,
cheers,
Owen.

On Wed, 2007-10-31 at 09:01 -0700, Andrew Sackville-West wrote:
> On Wed, Oct 31, 2007 at 01:01:22PM +0300, Vadim Vatlin wrote:
> > Now I create by hand md0, sda, sdb, sda1, sdb1 - all partitions which I
> > want.
>
> udev will create these partitions on its own during boot.
> >
> > And when I run lilo I get:
> > Fatal: Sorry, don't know how to handle device 0xfd00
>
> Is this when trying to install lilo? From where are you trying to
> install it?
>
> you should be chroot'ing into the new system to install lilo...
>
> A

--

Syndicate content