- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Clone Alternative System disk - will not boot
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 02:54 AM
08-29-2000 02:54 AM
Clone Alternative System disk - will not boot
I have tryed the following but it hangs during boot after the memory information but before ioinit
(new disk scsi id 6 dec rz26 1gb)
(existing system scsi 5 MO rw 512Mb)
! create fs and reserve 256 MB space
newfs -F hfs -R 256 /dev/rdsk/c0t6d0
mkdir noddy
mount /dev/dsk/c0t6d0 /noddy
cd /
!copy contents of system disk to new disk
find . -xdev -print | cpio /noddy
!create boot record
mkboot /dev/rdsk/c0t6d0
! edit fstab to point to new disk
cp -p /etc/fstab /noddy/etc/fstab2
sed 's/6/5/' /noddy/etc/fstab2 > /noddy/etc/fstab2
shutdown and boot from my alternalte boot path
I have tried the reverse on a production system (HDD to RWMO) and that fails too
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 03:11 AM
08-29-2000 03:11 AM
Re: Clone Alternative System disk - will not boot
The preferred method to clone a system disk is to use HP's ignite software product - although Ignite is really for disaster recovery purposes. If you dont want to use ignite then you can use dd instead. Bring up your system in single user mode, then do a raw dd from your primary boot disk to a new disk;
dd if=/dev/rdsk/cxxxxx of=/dev/rdsk/c0t6d0 bs=1024k
Then you should be able to boot from the new disk aok. I use it here sometimes, works great, but I prefer to use Ignite.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 03:11 AM
08-29-2000 03:11 AM
Re: Clone Alternative System disk - will not boot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 03:23 AM
08-29-2000 03:23 AM
Re: Clone Alternative System disk - will not boot
You need to install Ignite UX to clone your system and have a bootable tape.
Follow this link to download the software: http://www.software.hp.com/products/IUX/docs.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 06:50 AM
08-29-2000 06:50 AM
Re: Clone Alternative System disk - will not boot
pvcreate -B /dev/rdsk/c0t6d0
mkboot /dev/dsk/c0t6d0
place the disk in a VG, either vg00 or its own
create one or more LVs to hold filesystems.
create and mount filesystems under /newroot (or whatever you wish)
use CPIO to transfer data. (ex: cd /var; find . -xdev -depth| cpio -pdumx /newroot/var)
setboot -a (alternate path)
boot off of new disk to test.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2000 09:28 AM
08-29-2000 09:28 AM
Re: Clone Alternative System disk - will not boot
I think we were all wrong?
You are not using LVM is that so?
So what kind of box is this (9000/7XX or8XX)?
We need more information in order to give you a good solution
Best regards
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 12:59 AM
08-30-2000 12:59 AM
Re: Clone Alternative System disk - will not boot
Using the method I posted originaly to create a clone disk and then repairing the disk from recovery program on the Installation CD fixes the problem but this is hardly a neat solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 01:03 AM
08-30-2000 01:03 AM
Re: Clone Alternative System disk - will not boot
Try the dd solution as I mentioned in my earlier reply. It works fine and its only a single command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 01:06 AM
08-30-2000 01:06 AM
Re: Clone Alternative System disk - will not boot
Do you need to specify -H or -W (or maybe some others) to mkboot?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 01:11 AM
08-30-2000 01:11 AM
Re: Clone Alternative System disk - will not boot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 02:27 AM
08-30-2000 02:27 AM
Re: Clone Alternative System disk - will not boot
Looks like you cannot create a proper boot area.
If I remember right (more than 3 years have past since...) on non LVM HP 9000 workstations, the copy of the boot area on the root disk is /usr/lib/uxbootlf
I remembered making boot tapes with dd
dd if=/usr/lib/uxbootlf of=/dev/rmt/0mn bs=2k
then
dd if=/dev/rdsk/c201d6s0 of=/dev/rmt/0m bs=64k
So would it be for Craigh
mkboot -b /usr/lib/uxbootlf /dev/dsk/c0t6d0
mkboot -a "hpux (56/52.6.0;0)/stand/vmunix" /dev/rdsk/c0t6d0
You will have to adapt HW path...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 02:36 AM
08-30-2000 02:36 AM
Re: Clone Alternative System disk - will not boot
Victors previous reply is on the money. You need to write the uxbootlf.700 or uxbootlf.800 file to the destination disk using bs=2k to make it bootable.
So, to use dd to copy the entire disk use a bs=2k for the whole disk (if=/dev/rdsk of=/dev/rdsk bs=2k) and although it may take a long time to dd, your end result will be a bootable image disk, mach simpler and faster than any other method.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 03:05 AM
08-30-2000 03:05 AM
Re: Clone Alternative System disk - will not boot
Try mirroring the root files to the new disk then
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2000 04:58 AM
08-30-2000 04:58 AM
Re: Clone Alternative System disk - will not boot
I think the problem is with the command:
# newfs -F hfs -R 256 /dev/rdsk/c0t6d0
This does not have the -B option to reserve the boot area.
Try:
# newfs -F hfs -BLv -R 256 /dev/rdsk/c0t6d0
-B = reserve boot area
-L = long filenames (optional)
-v = verbose
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-31-2000 06:42 AM
08-31-2000 06:42 AM
Re: Clone Alternative System disk - will not boot
If you have two totally different disks i would suggest using make_recovery or better make_sys_image. Both commands/programms come with Ignite/UX.