Creating a bootable disk in 9.10


 
Thread Tools Search this Thread
Operating Systems HP-UX Creating a bootable disk in 9.10
# 1  
Old 06-30-2008
Creating a bootable disk in 9.10

I am trying to copy a HP-UX disk. Both the OS and H/W are quite old
HP-UX hpeval3 B.09.10 A 9000/382 080009789a46

I have a 1.5Gb disk and a new 2Gb disk. I have been using the following method to create the copy, which must be a bootable disk.

#mediainit /dev/rdsk/cEd1s0

(2Gb disk) cEd0s0 is the 1.5gb existing boot disk.

#newfs -s 1800000 /dev/rdsk/cEd1s0 SEAGATE_35151N

Remainder for swap (think this is maybe where I am going wrong) I have
Tried without the size option as disktab suggests it will be worked out.
I have defined the disktype in the disktab file which came from the disk supplier see below.

#mount /dev/dsk/cEd1s0 /mnt
#fbackup -o -i / -e /mnt -f - | (cd /mnt; frecover -Xrf -)

I then edit the checklist file on the newly copied disk and change the root disk from cEd0s0 to cEd1s0.

Power cycle, reset & pick the new disk from the list.

It boots up a valid HP OS but fails with no swap space configured.
I am considering doing a dd though this will loose me the extra space, but wondered if I am missing something first?

Entry in disktab:-
SEAGATE_ST32151N:\
:2147.5 MB:ns#30:nt#25:nc#2659:\
:s0#1994752:b0#8192:f0#1024:\
:se#512:rm#5400:
# 2  
Old 06-30-2008
Greetings,
I have no idea what kind of box you are dealing with since I know only serie 700 and 800, and nerver heard of 9.10 (I started with 8.00) so 2 way of seing things a serie 800 before 10.XX didnt have tools to make bootable backup, you need to boot from the CD...
a serie 700 with 9.05 and on had commands to create bootable tapes...
In your case, Im not sure what your goal is : have a spare disk to boot from? or replace existing?
Have you tried a copy of disk using dd (this works well!) only trouble in this case you will loose 500 MB...
# 3  
Old 06-30-2008
Ah but thinking of it...
You used mediainit to initialize the media but did you use lifinit after? to create a lif volume


About dd:
dd if=/dev/dsk/cEd0s0 of=/dev/dsk/cEd1s0 bs=1024k
# 4  
Old 06-30-2008
vbe thanks,
I have considered dd as that is my normal method when copying like for like disks on UNIX systems (more Solaris than anything else), just was hoping to use the slightly larger capacity.

I have not used or heard of a lif volume or lifinit. Will look into this. My objective is to have an alternative boot disk, so dd really is looking like the way to go.

I have moved office since I received the media on CD, they seem to have disappeared since.
# 5  
Old 06-30-2008
With a bit of luck, you should have a script in /etc called mkrs ( for make a recovery system)
# 6  
Old 06-30-2008
Quote:
Originally Posted by vbe
With a bit of luck, you should have a script in /etc called mkrs ( for make a recovery system)
That script does exist Smilie

Last edited by malcqv; 07-01-2008 at 04:35 AM.. Reason: Can't spell exist
# 7  
Old 06-30-2008
its more than 12 years since the last time I used mkrs...
I used it for dds tape for 712 and 715 boxes..
I remember it was said able to use any device (cartridge, magneto-optico, DDS DAT, and other hard disks)
So why not give it a try?
something like mkrs -v -f/dev/dsk/cEd1s0 -r/dev/dsk/cEd0s0 [-mseries] the last option was for the case it failed and I had to give -m700 (for serie 700) so it would be 300 for you...
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Trouble creating RHEL 6.5 bootable image with custom kickstart file

Hi everyone, I have a custom kickstart file from a software vendor and I'm trying to package that with a RHEL 6.5 and then attach it to a VM and install RHEL with the settings in the kickstarter file. I'm doing this from a windows PC using an app called InfraRecorder. I've extracted the... (0 Replies)
Discussion started by: 911Eric
0 Replies

2. Linux

Creating a bootable dvd/cd disk

Hi all, thanks for so many helps in many problems! Can anyone guide, how to create a bootable cd/dvd from downloaded iso images of CentOS 5? I have collected all the iso in a dvd but it is not booting the system. Any response will be appreciable... (2 Replies)
Discussion started by: naw_deepak
2 Replies

3. Red Hat

Looking for help with creating bootable USB key

I am currently trying to create a bootable USB key that I can use to boot a couple different X86 single slot processors. Creating a basic key is as easy as can be but I am looking to customize this boot image to meet two important criteria: 1. The system must boot in text only mode as my only... (4 Replies)
Discussion started by: kingfish1760
4 Replies

4. Filesystems, Disks and Memory

Make non-bootable scsi drive, bootable

In our HP/Unix system, our master scsi drive was bootable and our mirrored drive was non-bootable. Are any of these alternatives possible: 1) Make the non-bootable scsi drive bootable? How? 2) Create a bootable scsi drive, then copy the mirrored data to the newly created scsi drive? I seek... (1 Reply)
Discussion started by: bfisk
1 Replies

5. Solaris

How to make a bootable disk?

The second disk that I'm trying to make bootable is to hold another version of Solaris (9). I've created the partitions with format and labeled the disk - created the filesystems with newfs - created and mounted the directories. ...but I think I've missed something out like using fdisk to... (16 Replies)
Discussion started by: pondlife
16 Replies

6. BSD

Creating a bootable CD

Hi to all, Iam using FreeBSD 5.4. I want to write a kernel file with an option "CD9660_ROOT" in it. When i start to compile this kernel, it gives a message "unknown option CD9660_ROOT". Could anyone hellp with this as soon as possible. Bye, tadakamalla (3 Replies)
Discussion started by: tadakamalla
3 Replies

7. HP-UX

Size of LVM header in non bootable disk

hi, i have a query regarding the size of the LVM header. Since the LVM header of a bootable disk is always 2912KB. The header size of a non bootable disk is not fixed. In Bootable disk after the LVM header (2912 KB=5824 sectors)the user data starts or we can say LV extents starts. If i extend any... (0 Replies)
Discussion started by: gorayen
0 Replies

8. UNIX for Dummies Questions & Answers

recover DIsk and make bootable

Hello all, I'm trying to recover from backup file to a new system with a new disk. I'm able to partition my new hard drive the same way as my old drive, but I'm unable to boot off of it. I have set the fdisk to toogle as a boot flag. But it does not seem to be working. Does anyone know how to... (4 Replies)
Discussion started by: larryase
4 Replies

9. UNIX for Advanced & Expert Users

Bootable disk

I have a SCO Openserver 5.0.6 running Raid 5. and want to make a bootable disk but the boot image is 5MB ie unix file on root is around 5M and the size is obviously too large for a floppy diskette. Please help on how I can make any bootable device. The aim is to change the filesystem size. ... (6 Replies)
Discussion started by: sshokunbi
6 Replies
Login or Register to Ask a Question