Password Protected
Nope
Yep, that's right!
Solution:
- If you are able to login as another user run /etc/hwconfig -hc and look for the root controller hardware adapter driver of the disk for the root disk.
For example:disk – – – type=S ha=0 id=1 lun=0 bus=0 ht=ciss unit=1
Sdsk – – – cyls=8717 hds=255 secs=32 unit=1 fts=stdb
In this case the ht=ciss shows it is the ciss driver. - Download from ftp.sco.com or from the 5.0.7 installation CD in the /images/boot directory get the btld for the root controller and create a btld onto a floppy or CDRom.
For floppy:
format /dev/rfd0135ds18dd if=btld.img of=/dev/fd0 - Insert the 5.0.7 installation CD and reboot the server. (You may have to power off and on, since you cannot shutdown).
- At the boot: prompt load the btld (If needed)For example:
Boot: defbootstr link=”ciss” - Continue with the Installation until you get to the Keyboard setup.
- At the Keyboard setup of the Installation press F8.
Arrow down to the “Shell Escape” and press Enter.
You will be at an <Installation> prompt - Check to see if /dev/root exisits.l /dev/root
If it does verify is has the major & minor of 1, 42. If not then rm /dev/rootIf you deleted /dev/root or it does not exist create it:mknod /dev/root b 1 42 - Mount the root filesystem.
mount /dev/root /mnt
You might have to clean it up. If the mount is unsuccessful run
fsck –ofull /dev/root
then retry mount /dev/root /mnt - Now change the root system to the hard drive./mnt/opt/K/SCO/Unix/5.0.7Hw/etc/chroot /mnt /opt/K/SCO/Unix/5.0.7Hw/bin/shYou will then have a promt with the #
- If step 9 is successful, change the root password by entering:passwd root
- Unmount the root filesystem and reboot
umount /mnt
reboot
How did you like this article?0 0 0 0