Emergency boot


 
Thread Tools Search this Thread
Operating Systems SCO Emergency boot
# 1  
Old 04-08-2005
Emergency boot

I need to boot an OpenServer 5.0.5 server but I don't have emergency boot disks for it. There are some boot disks of other servers.

Can I use these disks, changing defbootstr ?. How ?.

The fact is that administrator can't login as root and it seems to be a corrupted auth system issue. Other user can login.

We need to mount root partition to check shadow and other auth files, before reinstall.

Thanks.
# 2  
Old 04-14-2005
Well you can't use another server emergency boot diskette becos the kernel is different from the server you intend to rescue. However, since you can enter with other users you can then try using the authck command to repair the file corrupted. After you have done that use the fixmog and the integrity command and reboot your system. Try this and let see the outcome.
# 3  
Old 04-14-2005
solved

Thanks for the answer. Finally I travel to server's location (500 miles away !) and see what was happening. Root account was disabled and tty01 too. (override terminal). Because of that, root can't log in, even in maintenance mode.

I started the system from installation CDROM and when prompted for Licences, I press F8 to exit to a shell. Then I create /dev/hd0root (mknod /dev/hd0root b 1 42) and mounted the server's root filesystem.

With this filesystem mounted, I used chroot to use vi on some files. I don't know why these accounts and terminal was disabled, but I remove root password from /tcb/files/auth/r/root and /etc/shadow, delete some code that seems to be locks, unmounted filesystem and reboot. I changed OVEERRIDE in /etc/default/login to /dev/tty03.

Note: when using chroot , there are some issues with commands and files that are expected to be on /etc, for instance. A lot are links to something like /var/opt/K/SCO/Unix/5.0.5Eb/etc or something like this. I you want to edit /etc/shadow of a root filesystem mounted as said before, command line should look like :

chroot /mnt /var/opt/K/SCO/Unix/5.0.5Eb/usr/bin/vi /var/K/SCO/Unix/5.0.5Eb/etc/shadow

(pathnames may vary, I am writing from my memory).

After reboot, I could login as root on tty03. Once logged in, I unlock all the accounts and terminals and check all filesystems.

There was no need to reinstall.

Thanks again.
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. SCO

Need emergency boot CD UNIXware 7.1.1 (or 7.1..4)

In my previous thread post (which is also the most recent on this SCO forum), I mentioned that we have an HP DL380G5 server running SCO Unixware 7.11 which has unable to boot with error “FATAL BOOT ERROR: Can't load stage 3”. .. Unfortunately no media is available for the machine and I think the... (1 Reply)
Discussion started by: BernP
1 Replies

2. SCO

Emergency boot floppy - second hard disk not seen

OS = Openserver 5.0.5 Ran 'mkdev fd' and made emergency boot floppy (boot and root). Choose custom kernel, not generic. However kernel on the 1.44 floppy did not see both hard disks, it only saw the first one (SCSI id 0), and not SCSI id 1 (second disk) Q. Is this a limitation of emergency... (5 Replies)
Discussion started by: grips03
5 Replies

3. SCO

Need emergency boot floopy or 5.0.5 .iso file

We have old SCO Openserver 5.0.5. and its was running out of disk space on root disk - error 142 /2. I tried to move some files to another partition with space, but I ran into issue as I moved /opt/K and /opt/P. Now when the servers boots it fails and goes into debug mode. I don't have a... (4 Replies)
Discussion started by: grips03
4 Replies

4. Shell Programming and Scripting

UNIX emergency

can anyone please tell me that how can i boot unix from a cd? full procedure. it's an emergency. reply asap (1 Reply)
Discussion started by: niket agarwal
1 Replies

5. Solaris

Emergency !!!Help Please--- NFS

Hi Guru's, I am unable to mount NFS share on unix system (DG/UX) which is nfs client. Error: mount: /nfsshare: Invalid argument mount: giving up on: /mountpoint i tried following commands mount -t nfs remotehost:/nfsshare /mountpoint Error: mount: /nfsshare: Invalid... (1 Reply)
Discussion started by: Justin John
1 Replies

6. Ubuntu

Emergency help with ubuntu

Hi guys i have some question about ubuntu(10.10) 1.what time scheduling & page replacement algorithm have been used in ubuntu 2.how to create a process 3.how to kill a process 4.how to send information to a process 5.how to see a process 6.how to increase priority of a process 7.how to... (1 Reply)
Discussion started by: mortez28
1 Replies

7. Shell Programming and Scripting

Need Emergency help with script!

I'm trying to write a script to push out to all our servers some Veritas add-ons. I want the script to push to all servers and if there server hardware matches the uname -i statement, it will install a additional add-on.. The script keeps giving me a error on line 29. Here is the script.... (3 Replies)
Discussion started by: soupbone38
3 Replies

8. SCO

steps to boot SCO server off emergency tape

I know how to create the bootable tape image by using emergency_rec, but I could not find any document to instruct me on how to boot off the tape, and detail steps I should go through, for instance, at what point the booting sequency would prompt me to enter bootable path, and what the path is...... (0 Replies)
Discussion started by: vkky2k
0 Replies
Login or Register to Ask a Question