04-02-2008
assuming c0t0d0 is yur boot disk and c0t1d0 is the new disk or spare disk from another system.
on c0t0d0s0 (assuming root partition) do a command
# touch marbles (it will create an empty file called marbles)
#sync;sync;sync;init 0 (shutdown system to ok prom level)
insert os cdrom
#boot cdrom -s
do a format command to find out where is your OS disk.(controller number may or may not change)
if controller number changed, look for your marbles ') mount s0 of all the disks find out where are your marbles.
assuming c1t0d0s0 is the location of your marbles file so c1t1d0 is the new disk
umount all the disk
partition the new disk geometry to be exactly the same as your OS disk.
then do a command
dd in=/dev/rdsk/c1t0d0s2 of=/dev/rdsk/c1t1d0s2 bs=2048k
then just leave it, once it completes it will say something like
xxxxx records in
xxxxx records out
then you're almost done.
(WARNING!!!! DO NOT COCKUP THE LOCATION OF THE if AND of)
if you accidently put if=empty disk and of=original os disk
YOU WILL END UP WITH ZERO OS DISK.
Next go to your server and find out where physically is your OS disk located, physically take note of the location of the disk slot number.
Whenever you want to use the 'ghosted' disk, remove the OS disk from the slot and replace it with the ghosted disk back into the exact original OS disk slot.
then your're done.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I do not have a Unix machine, i do have a Linux machine.. i have a Unix boot disk that is essencial to my unit. Is there any way in Windows98 or Linux to make copies of this disk. So far i can't get either to read the disk. (1 Reply)
Discussion started by: deathsfriend
1 Replies
2. UNIX for Dummies Questions & Answers
Hello all..
Iam New to Unix Environment. I need to copy .cpio file from CD to a Folder on Sun 5.8 Box.
Can anyone give me the commands to execute this ?..
Thanks in advance
Ron (4 Replies)
Discussion started by: vr76413
4 Replies
3. Linux
I'm running FC3 and I'd like to copy the entire /dev/hda to /dev/hdc, including all the boot info, so that I can boot off of it in case of failure. This will be a one time thing. I'm doing an app upgrade and I'm very afraid the install will go wrong, so I want to be able to quickly be back up in... (11 Replies)
Discussion started by: dangral
11 Replies
4. UNIX for Dummies Questions & Answers
i am novice in unix. in me office my boss hav given me a system with Unix OS. i know about windows and Dos. in dos we access cd or floppy through writing following commands a: or d: copy filename.ext to a:
i dont even now how to access CD Rom or floppy drive in unix. please tell... (1 Reply)
Discussion started by: fassi
1 Replies
5. UNIX for Dummies Questions & Answers
I have found a question from the exercises of my study mat. The question is
"Why are there a in-core copy and a disk-copy of i-node block and super block?"
If any one know the proper answer then please send me..... (1 Reply)
Discussion started by: dearanik
1 Replies
6. UNIX for Dummies Questions & Answers
Hi Guys,
I have a failing 4gb (c0t5d0) drive that contains lvol4 -8 on hp-ux. It's not the boot disk but is part of VG00 volume group. Within that group, I have a disk (c0t4d0) of the same size that has 1 lvol on it for swap(4gb) I also have a seperate 1.5 gb swap volume on another physical disk... (1 Reply)
Discussion started by: rees_a
1 Replies
7. Solaris
Hello,
we are running Irix 6.5 on our octane/sgi computers - these computers come with an external Sony MOD drive attached via a scsi cable. We have backed info to 2.3 gig MOD disks over the years and woule like to duplicate the MOD's. I believe there are 3 ways to do this:
add a second... (1 Reply)
Discussion started by: drew_holm
1 Replies
8. Solaris
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /
... (0 Replies)
Discussion started by: fretagi
0 Replies
9. Solaris
I have a solaris 10 system configured using NetApp as its storage, and the file systems are already configured as you can see from the example below:
root@moneta # df -h
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 9.8G 513M 9.3G 6% /... (4 Replies)
Discussion started by: fretagi
4 Replies
10. Solaris
Hi,
I'm looking to copy a boot disk on an old Solaris 8 system using dd. I'll bring the system down to single user mode and begin from there. I'm copying my source disk to a larger target disk. Do I need to do anything other than the 'dd' command below because the target disk is bigger? ... (2 Replies)
Discussion started by: sparcman
2 Replies
LEARN ABOUT XFREE86
installboot
installboot(1M) installboot(1M)
NAME
installboot - install bootblocks in a disk partition
SYNOPSIS
installboot bootblk raw-disk-device
The boot(1M) program, ufsboot, is loaded from disk by the bootblock program which resides in the boot area of a disk partition.
The ufs boot objects are platform-dependent, and reside in the /usr/platform/platform-name/lib/fs/ufs directory. The platform name can be
found using the -i option of uname(1).
The installboot utility is a SPARC only program. It is not supported on the architecture. users should use installgrub(1M) instead.
bootblk The name of the bootblock code.
raw-disk-device The name of the disk device onto which the bootblock code is to be installed; it must be a character device which is read-
able and writable. Naming conventions for a SCSI or IPI drive are c?t?d?s? and c?d?s? for an IDE drive.
Example 1: Installing UFS Boot Block
To install a ufs boot block on slice 0 of target 0 on controller 1 of the platform where the command is being run, use:
example# installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk
/dev/rdsk/c1t0d0s0
/usr/platform/platform-name/lib/fs/ufs
directory where ufs boot objects reside.
/platform/platform-name/ufsboot
second level program to boot from a disk or CD
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWcsu |
+-----------------------------+-----------------------------+
od(1), uname(1), boot(1M), init(1M), kadb(1M), kernel(1M), monitor(1M), reboot(1M), rpc.bootparamd(1M), init.d(4), attributes(5)
WARNINGS
The installboot utility fails if the bootblk or openfirmware files do not exist or if the raw disk device is not a character device.
11 Apr 2005 installboot(1M)