SCO UNIX Won't Boot


 
Thread Tools Search this Thread
Operating Systems SCO SCO UNIX Won't Boot
# 43  
Old 10-22-2009
You cannot dynamically resize file systems.
The best solution is to acquire another (4th) disk and create a second mirrored system drive. These drives can be up to 33gb. Even though 72gb and greater drives are available, I can say from personal experience that timing issues arise.
After you have installed the two new drives, run the daccf configuration software to create and intialize a new system disk.
Then boot the system and run:
#mkdev hd
enter the scsi information should be adapter 0, channel 0, id 1, lun 1
in divvy use the entire disk for one file system, name it u2 for now.
Create two new directories /home and /u2 permissions same as /u1
When you have re-booted the system, start scoadmin and go to Filesystems, add the file system ( /dev/u2 to /u2), and mount now.
Copy all of /u1 to /u2
Go back into scoadmin ->filesystem ->modify and
modify /dev/u2 to mount to /u1 directory, and
modify /dev/u1 to mount to /home

Re-boot, and restore u1 from the tape.
Rebuild your lonetar emergency boot diskettes.
Later if you wish you can go into divvy and rename /dev/u1 to /dev/home, and /dev/u2 to /dev/u1

You will get a reasonably good performance gain, and some peace of mind, as well by also replacing the original 4.3gb disks with 18's or 33.
# 44  
Old 10-27-2009
Update: Am still running out of space. I put in place a 17GB HDD to do jgt's suggestions with a hitch though. It seems that I can't rebuild my kernel as since /stand is out of space.

Would booting up in single user mode enable me to delete this? Appreciate more inputs again. Thanks.

-r--r----- 1 bin mem 3489806 Oct 24 15:52 unix
-rw-rw-rw- 1 root sys 1152419 Oct 23 06:02 __A2
-r--r----- 1 root sys 3489114 Oct 16 16:05 unix.orig
-r--r----- 1 bin mem 1989021 Jun 7 1999 unix.safe
drwxrwxr-x 3 bin auth 48 Jun 7 1999 etc
-r--r----- 1 bin mem 2014460 Jun 7 1999 unix.install
-r-------- 2 bin bin 6471 Jun 7 1999 bootos
-r-------- 2 bin bin 6471 Jun 7 1999 dos
-rwx------ 1 bin bin 2458 Jun 7 1999 sfmt
-r-------- 1 bin bin 72662 Jun 7 1999 boot
-r-------- 1 bin bin 52327 Jun 7 1999 link
drwxrwxrwx 2 root root 32 Jul 27 1998 lost+found


bash-2.03# df -v
Mount Dir Filesystem blocks used free %used
/ /dev/root 3373036 3316270 56766 99%
/stand /dev/boot 30720 24674 6046 81%
/u1 /dev/u1 3373036 3316270 56766 99%



%disk - - - type=S ha=0 id=0 lun=1 bus=0 ht=mdac

%disk - - - type=S ha=0 id=1 lun=1 bus=0 ht=mdac

---------- Post updated at 09:09 AM ---------- Previous update was at 09:07 AM ----------

forgot to add this as well

bash-2.03# mkdev hd 10 0 0 1 1

Missing 'sdevice.d' file for host adapter driver '1'

Enter the prefix of the SCSI host adapter that supports this devi
or press <Return> for the default: 'alad'
Enter h for a list of host adapters or enter q to quit:
# 45  
Old 10-27-2009
You can clean out some of the old kernels in /stand.
/stand is mounted in read only mode during normal operation.

Do this by:
#cd /
#umount /stand
#mount /dev/boot /stand
#cd stand
#rm (keep unix and unix.old, delete anything older, or gzip and copy to diskette)
#cd /
umount /stand
#mount -r /dev/boot /stand
# 46  
Old 10-27-2009
We already habe successfullt removed those unwanted unix kernel files. We encountered another error in trying to do mkdev hd. Any more inputs? Thanks

%disk - - - type=S ha=0 id=1 lun=1 bus=0 ht=mdac

bash-2.03# mkdev hd 10 0 0 1 1

Missing 'sdevice.d' file for host adapter driver '1'

Enter the prefix of the SCSI host adapter that supports this device
or press <Return> for the default: 'alad'
Enter h for a list of host adapters or enter q to quit:

The Host Adapter parameters will be automatically configured
\nDuring installation you may choose to overwrite all
or part of the present contents of your hard disk.
\nDo you wish to continue? (y/n) \c
y
idmkreg: can not locate or open 'Sdsk/device.dat'
\nThe hard disk installation program will now invoke /etc/fdisk.\nEntering 'q' a
t the following menu will exit /etc/fdisk,\nand the hard disk installation will
continue. \n\nIf you wish to exit the entire installation at this menu,\npress t
he <DEL> key.\n
/etc/fdisk: cannot open /dev/rdsk/2s0 for reading: No such device or address (er
ror 6)
/usr/lib/mkdev/hd: [: : integer expression expected
/etc/fdisk failed.
bash-2.03#
# 47  
Old 10-27-2009
The default device that mkdev prompts for, is the last device used (so likely the tape was added last.)
Change the host adapter to mdac.
The scsi details are adapter 0 bus 0 scsid 1 lun 1
# 48  
Old 10-27-2009
did what you suggested jgt....can't makedev the device. went to /dev. found these devices.

Appreciate more inputs, again. Thanks.

bash-2.03# ls -lt *hd1*
brw------- 1 sysinfo sysinfo 1, 64 Jun 8 1999 hd10
brw------- 1 sysinfo sysinfo 1, 79 Jun 8 1999 hd11
brw------- 1 sysinfo sysinfo 1, 87 Jun 8 1999 hd12
brw------- 1 sysinfo sysinfo 1, 95 Jun 8 1999 hd13
brw------- 1 sysinfo sysinfo 1,103 Jun 8 1999 hd14
brw------- 1 sysinfo sysinfo 1,111 Jun 8 1999 hd1a
brw-r----- 1 dos sysinfo 1,112 Jun 8 1999 hd1d
crw------- 1 sysinfo sysinfo 1, 64 Jun 8 1999 rhd10
crw------- 1 sysinfo sysinfo 1, 79 Jun 8 1999 rhd11
crw------- 1 sysinfo sysinfo 1, 87 Jun 8 1999 rhd12
crw------- 1 sysinfo sysinfo 1, 95 Jun 8 1999 rhd13
crw------- 1 sysinfo sysinfo 1,103 Jun 8 1999 rhd14
crw------- 1 sysinfo sysinfo 1,111 Jun 8 1999 rhd1a
crw-r----- 1 dos sysinfo 1,112 Jun 8 1999 rhd1d
bash-2.03# ls -lt *hd2*
brw------- 1 sysinfo sysinfo 139, 0 Oct 27 07:22 hd20
brw------- 1 sysinfo sysinfo 139, 15 Oct 27 07:22 hd21
brw------- 1 sysinfo sysinfo 139, 23 Oct 27 07:22 hd22
brw------- 1 sysinfo sysinfo 139, 31 Oct 27 07:22 hd23
brw------- 1 sysinfo sysinfo 139, 39 Oct 27 07:22 hd24
brw------- 1 sysinfo sysinfo 139, 47 Oct 27 07:22 hd2a
brw-r----- 1 dos sysinfo 139, 48 Oct 27 07:22 hd2d
crw------- 1 sysinfo sysinfo 139, 0 Oct 27 07:22 rhd20
crw------- 1 sysinfo sysinfo 139, 15 Oct 27 07:22 rhd21
crw------- 1 sysinfo sysinfo 139, 23 Oct 27 07:22 rhd22
crw------- 1 sysinfo sysinfo 139, 31 Oct 27 07:22 rhd23
crw------- 1 sysinfo sysinfo 139, 39 Oct 27 07:22 rhd24
crw------- 1 sysinfo sysinfo 139, 47 Oct 27 07:22 rhd2a
crw-r----- 1 dos sysinfo 139, 48 Oct 27 07:22 rhd2d

bash-2.03# divvy /dev/hd10
divvy: could not open temporary node: No such device or address
bash-2.03# divvy /dev/hd20
divvy: could not open temporary node: No such device or address

---------- Post updated at 12:24 PM ---------- Previous update was at 11:55 AM ----------

additional info:

Tue Oct 27 09:18:07 2009
%disk - - - type=S ha=0 id=1 lun=1 bus=0 ht=mdac
%Sdsk - - - cyls=8750 hds=128 secs=32 fts=sdb
%disk - - - type=S ha=0 id=1 lun=1 bus=0 ht=mdac
%Sdsk - - - cyls=8750 hds=128 secs=32 fts=sdb
# 49  
Old 10-27-2009
the command is
#mkdev hd

Also post contents of /etc/conf/cf.d/mscsi (don't need commented lines)

During POST, do you see a comment about 2 system drives found, or just 1
If you are only adding one drive, you still have to set it up as RAID 0.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SCO

Sco UNIX 5.0.6 not boot

hi i have image SCo Unix 5.0.6 and I want transfer on my HP ML350 G5 after Transfer show this message : boot not found cannot open stage 1 boot failure: error loading hd (40)/boot this hp server used smart array E200i and P400 and sco not recognized HDD tanks (7 Replies)
Discussion started by: moein.mojtaba
7 Replies

2. UNIX for Advanced & Expert Users

UNIX SCO release 5.05 system does not boot

UNIX sco release 5.05 system does not boot: cannot open device hd(40)/boot stage 1 boot failure: error loading hd(40)/boot what to do? (5 Replies)
Discussion started by: Joaoalpande
5 Replies

3. SCO

UNIX SCO release 5.05 system does not boot

UNIX sco release 5.05 system does not boot: cannot open device hd(40)/boot stage 1 boot failure: error loading hd(40)/boot what to do? (1 Reply)
Discussion started by: Joaoalpande
1 Replies

4. UNIX for Dummies Questions & Answers

Error UNIX: UNIX SCO release 5.05 system does not boot

UNIX sco release 5.05 system does not boot:cannot open device hd(40)/boot stage 1 boot failure: error loading hd(40)/bootWhat to do? (2 Replies)
Discussion started by: Joaoalpande
2 Replies

5. Hardware

AT&T UNIX PC won't boot

Hello, I am new to the UNIX community, however I have a beginner's level understanding of a majority of the basic commands in UNIX. Today, my teacher gave me her old AT&T UNIX PC. I brought it home, turned it on, and got a completely green screen. I turned it off, and back on and it booted... (12 Replies)
Discussion started by: _dhoepp
12 Replies

6. AIX

won't mount /usr...won't boot fully

Hello: NOOB here. I attempted to use smit mkcd. Failed on first attempt, not enough space. 2nd attempt tried to place iso on /usr, not enough space there. Cleanup ran for about 5 minutes after aborting. Now AIX won't boot. LCD display on 7029-6E3 says: 0517 MOUNT /USR. Attempted to boot from CD... (11 Replies)
Discussion started by: bbird
11 Replies

7. SCO

sco unix v/386 boot disk

anyone know where I can download or get a boot disk for sco unix v/386? I have an old PC running sco unix v/386 3.2. I dont have an install or boot disk. I need to reset the root password. I have looked all over the internet and cannot find it anywhere. any help would be greatly appreciated.... (5 Replies)
Discussion started by: format
5 Replies

8. Solaris

cannot find boot device and won't boot off cdrom

I'm running solaris 2.5.1. My main development server is DEAD, i can't even boot off the cdrom, it powers up, acts like it is starting the boot process but then says cannot find boot device. I've done the search here on this site and saw the other posts, but at the ok prompt it won't even let me... (3 Replies)
Discussion started by: kymberm
3 Replies

9. SCO

sco unix and xp boot loader needed?

hi, i m a newbie and installed sco unix on my machine. Also i installed win-xp. i tried to modify the boot.ini file but it does not give me a choice in the begining. please guide me on this. do we get a boot loader for unix like LILO or GRUB? :confused: (3 Replies)
Discussion started by: 187final
3 Replies

10. UNIX for Advanced & Expert Users

Error during Sco Unix boot

Hi friends, i am getting the following error while booting my system which has SCo UNIX . ========================= H iinit PANIC: srmountfun-Error 22 mounting of rootdev hd(1/42) cannot dump 40863 pages to dempdev hd(1/41) : Space for only 0 pages. Dump not completed. safe to power off... (3 Replies)
Discussion started by: sveera
3 Replies
Login or Register to Ask a Question