Linux newbie help!
Nov. 18th, 2005 02:40 am![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Here's the problem: I need to re-lilo my system, which currently doesn't boot. I've booted up a gentoo livecd because it a) supports my sata_via device and b) has raidtools.
I've started all of my raids and mounted all of the raids for my system in /mnt/system.
What I would like to do next is a chroot /mnt/system /sbin/lilo -q
It won't work though, because I don't have a mounted dev in /mnt/system.
I can't mount a devfs (which is what my distro uses) because there isn't one on the Gentoo livecd.
I can't for the life of me figure out how to tell udev (which is what Gentoo uses) that I would like another instance of /dev mounted at /mnt/system/dev.
I can't chroot into /mnt/system and then do a startudev because at that point I can only see my old system, and it doesn HAVE udev...
Any suggestions at this point would be most welcome!
---
EDIT: Never mind, I had forgotten about the --bind option to mount. A quick mount --bind /dev /mnt/system/dev and it all worked... (Well, not ALL worked, I have the exact same LILO error on boot now than I had before.)
I've started all of my raids and mounted all of the raids for my system in /mnt/system.
What I would like to do next is a chroot /mnt/system /sbin/lilo -q
It won't work though, because I don't have a mounted dev in /mnt/system.
I can't mount a devfs (which is what my distro uses) because there isn't one on the Gentoo livecd.
I can't for the life of me figure out how to tell udev (which is what Gentoo uses) that I would like another instance of /dev mounted at /mnt/system/dev.
I can't chroot into /mnt/system and then do a startudev because at that point I can only see my old system, and it doesn HAVE udev...
Any suggestions at this point would be most welcome!
---
EDIT: Never mind, I had forgotten about the --bind option to mount. A quick mount --bind /dev /mnt/system/dev and it all worked... (Well, not ALL worked, I have the exact same LILO error on boot now than I had before.)
no subject
Date: 2005-11-18 11:07 am (UTC)http://slax.linux-live.org/
ttyl
no subject
Date: 2005-11-18 06:26 pm (UTC)Re: edit: uh-oh.
no subject
Date: 2005-11-18 07:21 pm (UTC)no subject
Date: 2005-11-19 04:32 pm (UTC)But then, I still had not got my head around this Gentoo/Mandrake cross-whatsitting you were trying to do.
no subject
Date: 2005-11-19 05:40 pm (UTC)