06-21-2017
OK, now i got it: you were trying to clone a server. This is far easier done (and much more reliably so) by using the following information:
Investigate the mksysb command. It creates a backup image of a rootvg, but enriched by boot code and other information necessary to isntall a system from this image. You need a tape drive or disk space outisde of your rootvg to do it.
Result of the mksysb is a system image, basically a file. If it is written to some special devices (DVD, tape) it is bootable and you can use it on another system (doesn't even have to be identical, just sufficiently similar) to boot this and install it to a copy of the system from which you took it.
If you use any other device as a target (including a disk file) this will not be bootable by itself so you will need a boot media to boot the system and then you are able to still use the file as a source of installation arriving at the sasme result as above.
I hope this helps.
bakunin
9 More Discussions You Might Find Interesting
1. AIX
Hi,
Other than df -k, is there any command that will tell me all physical hard drives installed on the system as well as the size of each one?
I'm using AIX 5.1
Thanks, (3 Replies)
Discussion started by: quickfirststep
3 Replies
2. Shell Programming and Scripting
Hi Engg. ! :mad:
I have a harddisk on which SCO UNIX Open Server was installed. There was some data (in .dbf format) on it. Present condition of HDD is that it is not booting. Now I want to mount this HDD through other HDD on which SCO UNIX Open Server is installed by attaching... (0 Replies)
Discussion started by: Niraj Gopal Sha
0 Replies
3. Solaris
A sparc server has a new SCSI hard disk added and labeled by the engineer, but they need to be formatted identically to an existing disk (c4t0d0). You decide to script the process and run from the command line without interaction.
I know that the following command line must be achieve this.
#... (3 Replies)
Discussion started by: kingsan
3 Replies
4. SCO
Hi.
We tried cloning a SCO Unix hard disk using Norton Ghost.
However, the new cloned hard disk encounter booting problem.
What possibly go wrong? (1 Reply)
Discussion started by: Mizan
1 Replies
5. SCO
Continuing saga of working on making a retail store more robust by creating a backup clone of the main server, a 1995 era :eek: PC running SCO OpenServer 5.0.0b and a discontinued Point of Sales (POS) software system.
I have a PC of the same make and model. The CPU runs faster and it has a... (5 Replies)
Discussion started by: jgt10
5 Replies
6. Red Hat
in red hat 4, 5 any one know any commands or any scritps to monitor HP DL 380 G5/6 server and trigger alarm when hard disk failed.
thanks for all support
---------- Post updated at 02:45 PM ---------- Previous update was at 12:00 PM ----------
does HP ProLiant Support Pack support is... (4 Replies)
Discussion started by: maxlee24
4 Replies
7. Linux
Hi all,
I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies
8. AIX
hello folks,
I have a 300GB ROOTVG volume groups with one filesystem /backup having 200GB allocated space
Now, I cannot alt disk clone or mirrorvg this hdisk with another smaller disk. The disk size has to be 300GB; I tried alt disk clone and mirrorvg , it doesn't work. you cannot copy LVs as... (9 Replies)
Discussion started by: filosophizer
9 Replies
9. AIX
Hi all,
I have encountered the issue with the hard disk, the disk is failed and need to replace by the new one.
As my understanding, this is just to take out the failed disk and insert the new ones, and that's all.
But the third party hardware vendor said, there should be another procedure... (9 Replies)
Discussion started by: Phat
9 Replies
LEARN ABOUT LINUX
grub-setup
GRUB-SETUP(8) System Administration Utilities GRUB-SETUP(8)
NAME
grub-setup - set up a device to boot using GRUB
SYNOPSIS
grub-setup [OPTION...] DEVICE
DESCRIPTION
Set up images to boot from DEVICE.
You should not normally run this program directly. Use grub-install instead.
-a, --allow-floppy
Make the drive also bootable as floppy (default for fdX devices). May break on some BIOSes.
-b, --boot-image=FILE
Use FILE as the boot image [default=boot.img]
-c, --core-image=FILE
Use FILE as the core image [default=core.img]
-d, --directory=DIR
Use GRUB files in the directory DIR [default=/boot/grub]
-f, --force
Install even if problems are detected
-m, --device-map=FILE
Use FILE as the device map [default=/boot/grub/device.map]
-r, --root-device=DEV
Use DEV as the root device [default=guessed]
-s, --skip-fs-probe
Do not probe for filesystems in DEVICE
-v, --verbose
Print verbose messages.
-?, --help
give this help list
--usage
give a short usage message
-V, --version
print program version
Mandatory or optional arguments to long options are also mandatory or optional for any corresponding short options.
DEVICE must be an OS device (e.g. /dev/sda).
REPORTING BUGS
Report bugs to <bug-grub@gnu.org>.
SEE ALSO
grub-install(8), grub-mkimage(1), grub-mkrescue(1)
The full documentation for grub-setup is maintained as a Texinfo manual. If the info and grub-setup programs are properly installed at
your site, the command
info grub-setup
should give you access to the complete manual.
grub-setup (GRUB) 1.99-12ubuntu5 October 2011 GRUB-SETUP(8)