Visit Our UNIX and Linux User Community


SCO UNIX Won't Boot


 
Thread Tools Search this Thread
Operating Systems SCO SCO UNIX Won't Boot
# 15  
Old 10-15-2009
Jedi, what timezone are you in?
# 16  
Old 10-15-2009
Pacific
# 17  
Old 10-16-2009
df -kv as an alternative

divvy /dev/root will show the hard drive divisions starting and ending blocks. Might be well to know whether they are corrupted.

---------- Post updated at 03:48 PM ---------- Previous update was at 04:22 AM ----------

My only acessable installation, network on a SCSI using adaptec 2940 vanilla install, shows the following for divvy /dev/root

boot eafs 0 0 14999
swap nonfs 1 15000 62999
root htfs 2 63000 1032181
not used3
not used4
not used5
recover nonfs 6 1032182 1032191
whole disk 7 0 1032191

Yours probably would show the /u in division 3 with modifications to starting and ending blocks to fit it in and much larger divisions to fill your larger disk.

This fyi in case you haven't seen one.
# 18  
Old 10-20-2009
After so many days trying to recover, I was left with no other choice but to rebuild a new kernel. I took steps to copy the existing kernel as well prior to rebuild.

After the rebuild, I was able to get a multi/gui screen logins. Checked the filesystem & noticed that I was missing one which was /u1. This contains the applications & data.

Checked the following entries on /etc/mnttab

# more mnttab
/dev/root/@A/dev/boot/standAA/dev/u1/u1A\306\334j

Added another entry for /dev/u1 to the end(dunno the used partition for /u1)...

/dev/u1/u1AA\306\334j

Edited entry as well for /etc/default/filesys as well:

bdev=/dev/boot cdev=/dev/rboot \
mountdir=/stand mount=no fstyp=EAFS \
fsck=no fsckflags= rcmount=yes \
rcfsck=no mountflags=

bdev=/dev/root cdev=/dev/rroot \
mountdir=/ mount=no fstyp=HTFS \
fsck=no fsckflags= rcmount=no \
rcfsck=no mountflags=

bdev=/dev/u1 cdev=/dev/ru1 \
mountdir=/u1 mount=yes fstyp=HTFS \
fsck=no fsckflags= rcmount=yes \
rcfsck=no mountflags=
rcmount=yes rcfsck=dirty

# mountall
fsstat: /dev/boot mounted
Mounted /stand filesystem
fsstat: cannot stat filesystem /dev/u1
mount: /dev/u1: No such device or address (error 6)
Failed to mount /u1 filesystem
mnt: no block device for entry number 4 in /etc/default/filesys

Is there anyway to recover the unmounted partition if ever recoverable? appreciate any inputs. Thanks.
# 19  
Old 10-20-2009
What shows in divvy for the drive ?
Every potential division should have starting and ending blocks and a filesystem type.
If the division name is blank or a default name then you change the name to u1 and write it out. That creates the name in /dev. Or you can use the default name if it exists.

Once you have the name in /dev you can run "mkdev fs" and link the hardware device in /dev to the mount directory on /.

Since you did some manual modifications you may get errors when you try to attach. I would undo the manual modifications and let mkdev handle it all.
# 20  
Old 10-20-2009
bash-2.03# divvy
+-------------------+------------+--------+---+-------------+------------+
| Name | Type | New FS | # | First Block | Last Block |
+-------------------+------------+--------+---+-------------+------------+
| boot | EAFS | no | 0 | 0| 15359|
| swap | NON FS | no | 1 | 15360| 406527|
| root | HTFS | no | 2 | 406528| 2093045|
| | NOT USED | no | 3 | -| -|
| | NOT USED | no | 4 | -| -|
| | NOT USED | no | 5 | -| -|
| recover | NON FS | no | 6 | 2093046| 2093055|
| hd0a | WHOLE DISK | no | 7 | 0| 2095087|
+-------------------+------------+--------+---+-------------+------------+
2093056 1K blocks for divisions, 2032 1K blocks reserved for the system


Hope this helps.
# 21  
Old 10-20-2009
There is no unused space on the disk.
Notice that root and stand and swap account for all the blocks on the drive.
Run fdisk and see if the drive is split into two partitions. If it is then u1 is probably the second partition.
If this is so, run mkdev hd and add the second partition/drive, do not create a "new" file system, or do any destructive bad track testing.
If there is no second partition then the data that u1 contained is gone.
If the drive is only 2.1gb in total then there are no other partitions.

Previous Thread | Next Thread
Test Your Knowledge in Computers #445
Difficulty: Easy
Scientific Linux has been loaded onto systems at the International Space Station.
True or False?

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

Featured Tech Videos