SCO UNIX Won't Boot


 
Thread Tools Search this Thread
Operating Systems SCO SCO UNIX Won't Boot
# 50  
Old 10-27-2009
POST says two drives installed. When taking a look at the last entry at /var/adm/messages though, it tells me a different thing?

Interface Systems, Inc. Cleo SNA PU 2.1 Installed
%cd-rom - - - type=IDE ctlr=sec cfg=mst dvr=Srom->w
%tape - - - type=S ha=0 id=2 lun=0 bus=0 ht=alad
%disk - - - type=S ha=0 id=0 lun=1 bus=0 ht=mdac
%Sdsk - - - cyls=1024 hds=128 secs=32 fts=sdb
mem: total = 786032k, kernel = 21740k, user = 764292k
swapdev = 1/41, swplo = 0, nswap = 782336, swapmem = 391168k
rootdev = 1/42, pipedev = 1/42, dumpdev = 1/41
kernel: Hz = 100, i/o bufs = 6652k

%cpu - 255 - unit=2 family=6 type=Pentium II (D)
%cpuid - - - unit=2 vend=GenuineIntel tfms=0:6:5:2
%fpu - - - unit=2 type=80387-compatible
Tue Oct 27 11:30:06 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
# 51  
Old 10-27-2009
Looks like the second drive is installed twice???
Post the contents of /etc/conf/cf.d/mscsi

This is the boot disk (

%disk - - - type=S ha=0 id=0 lun=1 bus=0 ht=mdac
%Sdsk - - - cyls=1024 hds=128 secs=32 fts=sdb

This is the secondary disk
%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

I don't think that it should print twice, but I no longer have a machine with the same config to look at.



When you add a disk, you must run mkdev hd twice.
The first time the drive is added to the kernel, the second, fdisk and divvy is run, you have to reboot between invocations.
# 52  
Old 10-27-2009
* the licensees of The Santa Cruz Operation, Inc. Such users have the
* right to use, modify, and incorporate this code into other products
* for purposes authorized by the license agreement provided they include
* this notice and the associated copyright notice with any such product.
* The information in this file is provided "AS IS" without warranty.
*
* Scsi configuration master table
*
* ha = device name of SCSI host adapter driver e.g. ad
* attach= device name of attached SCSI device driver e.g. Sdsk
* number= host adapter number
* ID = controller number
* lun = logical unit number
* bus = host adapter bus number
*
*ha attach number ID lun bus
*
wd Srom 1 0 0 0
mdac Sdsk 0 0 1 0
mdac Sdsk 0 1 0 0
alad Stp 0 2 0 0
alad Sdsk 0 10 0 1
mdac Sdsk 0 10 0 1
mdac Sdsk 0 1 1 0

---------- Post updated at 04:10 PM ---------- Previous update was at 04:08 PM ----------

how can i delete/remove this?
# 53  
Old 10-27-2009
*
wd Srom 1 0 0 0 # CD drive
mdac Sdsk 0 0 1 0 # Boot Disk
mdac Sdsk 0 1 0 0 # delete this one
alad Stp 0 2 0 0 # tape drive
alad Sdsk 0 10 0 1 # delete this one, unless you added a disk to the
Adaptec controller with SCSI id 10
mdac Sdsk 0 10 0 1 #delete this one
mdac Sdsk 0 1 1 0 #this is the secondary drive

Edit this file with a text editor, and relink the kernel, and reboot.

Run mkdev hd and enter the same data for mdac 0 1 1 0
This should start fdisk and divvy.
# 54  
Old 10-28-2009
I think I did it wrong, again. Here were the results:

What is the LUN of this device?
Press <Return> to use the default: 0
Select 0-7, or h for help, or q to quit: 0

You are about to add the following SCSI device:

Host
Adapter Adapter
Type Device Number ID LUN BUS
----------------------------------------------
mdac Sdsk 0 1 0 1

Update SCSI configuration? (y/n) y

The SCSI configuration file has been updated.
\nA new kernel must be built and rebooted before disk configuration can continue
. Would you like to relink at this time? (y/n) \c
y

The UNIX Operating System will now be rebuilt.
This will take a few minutes. Please wait.

Root for this system build is /
idmkreg: can not locate or open 'Sdsk/device.dat'

*
wd Srom 1 0 0 0
mdac Sdsk 0 0 1 0

alad Stp 0 2 0 0


mdac Sdsk 0 1 1 0

mdac Sdsk 0 1 0 1
bash-2.03#

---------- Post updated at 09:03 AM ---------- Previous update was at 08:45 AM ----------

deleted the one in red & rebuilt the kernel.....tried this.....but this is pointing to a specific disk (in red)??

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

Which 'mdac' SCSI host adapter supports this device?
Select 0-4, or enter q to quit: 0

The Host Adapter parameters will be automatically configured

What SCSI Bus is this device attached to?
Press <Return> to use the default:0
Select 0-n, or h for help, or q to quit: 0

What is the Target ID for this device?
Select 0-15, or h for help, or q to quit: 1

What is the LUN of this device?
Press <Return> to use the default: 0
Select 0-7, or h for help, or q to quit: 1
\nDisk already configured as disk number 1 (/dev/dsk/1s0)
\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

---------- Post updated at 09:15 AM ---------- Previous update was at 09:03 AM ----------

I don't know if this is the right one? Would this be my new 17GB hard drive that I need?? Appreciate more. Thanks.

bash-2.03# divvy /dev/hd3a
+-------------------+------------+--------+---+-------------+------------+
| Name | Type | New FS | # | First Block | Last Block |
+-------------------+------------+--------+---+-------------+------------+
| | HTFS | no | 0 | 0| 15997967|
| | NOT USED | no | 1 | -| -|
| | NOT USED | no | 2 | -| -|
| | NOT USED | no | 3 | -| -|
| | NOT USED | no | 4 | -| -|
| | NOT USED | no | 5 | -| -|
| | NOT USED | no | 6 | -| -|
| hd3a | WHOLE DISK | no | 7 | 0| 15999999|
+-------------------+------------+--------+---+-------------+------------+
15997968 1K blocks for divisions, 2032 1K blocks reserved for the system

n[ame] Name or rename a division.
c[reate] Create a new file system on this division.
t[ype] Select or change filesystem type on new filesystems.
p[revent] Prevent a new file system from being created on this division.
s[tart] Start a division on a different block.
e[nd] End a division on a different block.
r[estore] Restore the original division table.

Enter your choice or q to quit:
# 55  
Old 10-28-2009
That's it, create one new HTFS partition, then follow the instructions in scoadmin->filesystems to mount.

Code:
15997968 1K blocks for divisions, 2032 1K blocks reserved for the system

Multiplies out to about 17gb
# 56  
Old 10-28-2009
Thanks. I now want to remove the previous mount point /u1 from the system. How do I do it? I tried to define the new drive as /u1, got a message instead of /u1 in use. I have already removed the u1 directory. Am I missing something? Appreciate more. Thanks.
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