View previous topic :: View next topic |
Author |
Message |
adam525 n00b
Joined: 26 Jun 2006 Posts: 8
|
Posted: Fri Jul 07, 2006 4:15 pm Post subject: not making tty's |
|
|
I have just restored gentoo from someone else's backup at a company I work for. I have to a point that it sees the software raid and will try to boot, however, it will not make the tty's properly so I can't get a console.
I've read that udev should be making these and there is a symlink to MAKEDEV in the /dev directory but it's still not making them. Any ideas?
thanks,
adam |
|
Back to top |
|
|
shickapooka800 Guru
Joined: 05 Dec 2004 Posts: 304 Location: no
|
Posted: Fri Jul 07, 2006 4:17 pm Post subject: |
|
|
you sure its not a problem with /etc/inittab? see here |
|
Back to top |
|
|
adam525 n00b
Joined: 26 Jun 2006 Posts: 8
|
Posted: Fri Jul 07, 2006 4:24 pm Post subject: |
|
|
I will mount the raid volumes and see but I'm almost positive that it's not b/c everything from /etc was being backed up and I get this far. So fstab and raidtab work. |
|
Back to top |
|
|
adam525 n00b
Joined: 26 Jun 2006 Posts: 8
|
Posted: Fri Jul 07, 2006 6:03 pm Post subject: |
|
|
Yes,
/etc/inittab is there. I saw something in the howto's about making devices a while back but can't remember the URL and I can't find it with a search.
Anyone have any ideas?
thanks,
Adam |
|
Back to top |
|
|
shickapooka800 Guru
Joined: 05 Dec 2004 Posts: 304 Location: no
|
Posted: Fri Jul 07, 2006 7:10 pm Post subject: |
|
|
have you run MAKEDEV yourself? it worked for this guy
I believe I have run MAKEDEV before myself, but I can't remember why. |
|
Back to top |
|
|
adam525 n00b
Joined: 26 Jun 2006 Posts: 8
|
Posted: Sun Jul 09, 2006 8:25 pm Post subject: |
|
|
Here's what I'm doing...
I mount -t proc none /mnt/root/proc
mount -o bind /dev /mnt/root/dev
I try mknod -m 660 /mnt/root/dev/console c 5 1 - get error -file exists
When you say try running MAKEDEV, I can't run it after reboot b/c I can't get a console to run it from. I have tried it before the chroot and after the chroot and the devices are there before reboot.
I'm using a Gento live CD as my rescue CD btw.
I've also made a symlink from /sbin/MAKEDEV to /dev because I've read that udev uses that to make devices. Every time I reboot, it won't show a login prompt and I can't get a console because it will not make the tty's.
This is REALLY killing me here. This is a production box leftover from someone that left this job and there is VERY important stuff on this box.
Any more ideas |
|
Back to top |
|
|
troymc Guru
Joined: 22 Mar 2006 Posts: 553
|
Posted: Mon Jul 10, 2006 12:15 am Post subject: |
|
|
Code: |
mount -t proc none /mnt/root/proc
|
You only need to do this if you are actually going to chroot into the environment. You don't need it if you are working from the CD.
Code: |
mount -o bind /dev /mnt/root/dev
|
This just mounts your LiveCDs /dev filesystem on top of your mounted one. Don't do this or you'll get this:
Code: |
I try mknod -m 660 /mnt/root/dev/console c 5 1 - get error -file exists
|
Because the CD has it's console devices setup correctly.
Try that mknod without that last mount command.
Does the system you are trying to recover use an initrd/initramfs? if so, is it getting loaded OK?
How far into the boot is it getting when it has problems?
troymc |
|
Back to top |
|
|
|