Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
not making tty's
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
adam525
n00b
n00b


Joined: 26 Jun 2006
Posts: 8

PostPosted: Fri Jul 07, 2006 4:15 pm    Post subject: not making tty's Reply with quote

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
View user's profile Send private message
shickapooka800
Guru
Guru


Joined: 05 Dec 2004
Posts: 304
Location: no

PostPosted: Fri Jul 07, 2006 4:17 pm    Post subject: Reply with quote

you sure its not a problem with /etc/inittab? see here
Back to top
View user's profile Send private message
adam525
n00b
n00b


Joined: 26 Jun 2006
Posts: 8

PostPosted: Fri Jul 07, 2006 4:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
adam525
n00b
n00b


Joined: 26 Jun 2006
Posts: 8

PostPosted: Fri Jul 07, 2006 6:03 pm    Post subject: Reply with quote

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
View user's profile Send private message
shickapooka800
Guru
Guru


Joined: 05 Dec 2004
Posts: 304
Location: no

PostPosted: Fri Jul 07, 2006 7:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
adam525
n00b
n00b


Joined: 26 Jun 2006
Posts: 8

PostPosted: Sun Jul 09, 2006 8:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
troymc
Guru
Guru


Joined: 22 Mar 2006
Posts: 553

PostPosted: Mon Jul 10, 2006 12:15 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum