Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HDINIT.SH

Status
Not open for further replies.

SATMPOWER

Technical User
Jan 27, 2005
17
GR
FACTS:

1)If I put a HD installed with SCO and some apps from another laptop to mine it boots ok but I have no graphics due to incorrect display drivers and I don't have the root password in order to change the display driver.

2)When I make a same HD in my laptop it says "Dump not Complete" while booting and halts, while the other HD boots.

QUESTION

The only think I can think of is that the HD from the other laptop is formated with some other script that does not cause any problems to bioses that originaly do not support UNIX.
Am I right? Can I fix it?
 
I forgot to tell you that the HDD I am making eventhough it does not boot in my laptop, it boots to the other laptop.

Here is the script I use to format the HDD:


cd /
umountall

#
# Initialization of Hard Disk
#

echo
echo "Initializing Harddisk for Unix ..."
echo
echo "Be sure disk size is greater than 6GB!"
echo
echo "Press Del button to stop in 4 seconds!!!"
echo

sleep 4

echo "Deleting partitions and prepare all disk for Unix..."
fdisk -d 1
fdisk -d 2
fdisk -d 3
fdisk -d 4

fdisk -c 1 1 -
fdisk -a 1
fdisk -p

#
# Creating divvy parameter file
#
echo "Creating filesystems..."
echo "n


y
3000000
n" >/divvypar
divvy -i </divvypar >/dev/null

echo "n
3
u
q
i" >/divvypar
divvy </divvypar >/dev/null

dd if=/etc/hdboot0 of=/dev/hd0a
dd if=/etc/hdboot1 of=/dev/hd0a bs=1k seek=1

dparam -w /dev/rhd00

echo
echo "Harddisk initialized !"
exit 0
 
I don't have the root password
Ask your sysadmin
I put a HD installed with SCO and some apps from another laptop to mine
No licensing issue here ?
 
No it is a friends laptop and he does not remember his password
 
Plus I just want to know why his works and mine not! Not trying to steal anything!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top