Link to home
Start Free TrialLog in
Avatar of cpicknell
cpicknell

asked on

Unable To Open An Initial Console

Redhat 5.1, running as a name server.
All has been running for 6months ok.  Today root console
locked tty1, i was unable to login on another tty.
Had to hard reboot Linux.  Upon restart we get the Unable to open an initial console.

I have tried to use my rescue disk; at LILO prompt entering
"rescue", but still get unable to open initial console.

What else can we try to get to a login prompt.  I need to get some file /etc/named.boot off the box asap.

regards
Avatar of woutersmit
woutersmit

simply stuff the harddisk in another linux box and mount the damn disk.. that should do the trick..
Avatar of cpicknell

ASKER

Thanks for the reply could you add some more detail.

I asume plug in the "duff" linux disk as slave then boot the good linux box as normal.

What commands would i enter to mount the partitions on the "duff" linux disk. ?
[I had a / /usr and /var partitions.]

How do i then connect to the new mount on "duff" drive ?

Where should i look to fix the original problem ?

Many thanks
boot off of a boot/root disk (any such disk should do... install disks from slackware, or a rescue floppy)

mkdir /floppy
mkdir /mnt
mount /dev/hda1 (or wherever you have /etc mounted to) /mnt
Insert a floppy disk that is formatted into the floppy drive
mount /dev/fd0 /floppy
cp /mnt/etc/named.boot /floppy
umount /floppy
umount /mnt
shutdown -h now

you should now have the file on a floppy for you to transfer to another machine till you fix your issue on the machine
Connect the drive on another box.
say as primary slave (hdb)
create a mnt pt, say /slave.
mount -t ext2 /dev/hdb1 /slave.
Similarly for the other partitions.
BTW didn't su work earlier?
ASKER CERTIFIED SOLUTION
Avatar of EatEmAndSmile
EatEmAndSmile

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial