Copy file from 2nd HD to Boot HD


 
Thread Tools Search this Thread
Operating Systems HP-UX Copy file from 2nd HD to Boot HD
# 1  
Old 02-09-2010
Copy file from 2nd HD to Boot HD

Hi,

Here is some of the setup information on system:
Tru64 UNIX OS and Two Hard Drives installed. One drive is boot drive and other is spare (Spare drive currently has some back up information on it). here is just a couple of the device/partition/mount points on boot drive.

/dev/rz0a on / type ufs(rw)
/dev/rz0g on /testarea type ufs(rw)

2nd drive has same format.

Can you mount either slice (i.e. /dev/rz1a or /dev/rz1g) from the 2nd hard drive (non boot up drive) onto your boot drive to grab a file ? Not sure if can be done with rz1a on 2nd HD since it has / (Root Dirctory) mount point.

Thnks,

Bobw
# 2  
Old 02-09-2010
Quote:
Can you mount a slice (i.e. /dev/rz0a or /dev/rz0g) from the 2nd hard drive onto (non boot up drive) onto your boot drive to grab a file. Not sure if can be done with rz0a since it has / mount point.
Humm, surely the second drive should be /dev/rz1a, etc.
# 3  
Old 02-10-2010
MySQL Good catch

Yes, I have edited original question.
# 4  
Old 02-10-2010
Yes, you can mount slices from the second disk onto the first disk.
# 5  
Old 02-16-2010
I tried to mount the two slices and could not do one. Here are the commands.

>mount /dev/rz1g /mnt/mydisk1
This mounts okay on my boot disk rz0.

>mount /dev/rz1a /mnt/mydisk1
I get message that rz1a is “dirty file system”. I don’t know if this is because I am not allowed to give 2 mount points of / to system. Do you know why I might be getting this message ?


Thanks
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Use 'dd' to copy boot disk to larger target disk

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

2. Ubuntu

Copy existing Ubuntu to boot from USB

Hello all, I am looking for a way to copy the existing Ubuntu server 12.04 to a USB (with all the packages and such) and make it boot from the USB. I have seen other threads about copying the CD image to the USB, which is not exactly I am looking for. Before I start diving into anything I... (4 Replies)
Discussion started by: br1an
4 Replies

3. Red Hat

Booting 2nd mirrored boot disk

Hi guys, thanks for helping out. If you have two boot disk mirrored and your primary boot disk fails, how will you boot the system from the second disk? Thank you very much for your assistance on this matter. Arrey (5 Replies)
Discussion started by: cjashu
5 Replies

4. UNIX for Advanced & Expert Users

Grub - how to boot a copy of Linux (full system backup)

Hi All, I have successfully backup & restore (using tar) one of my Debian Lenny Servers. On the restore server (standby machine), everytime i have to erase the disk & extract the tar backup. I want to extract the tar on the running restore server on a directory for e.g /systembackup-01,... (11 Replies)
Discussion started by: coolatt
11 Replies

5. Solaris

Hard Drive Copy results in differences on boot

I have an old Pentium 4 PC running Solaris 9. The system has two 40gig IDE hard drives. I removed the drives and, using a hard disk duplicating device, "cloned" both drives. I installed the new drives in the PC. The system boots but I get a message that X-Term will not run on the console. If I... (4 Replies)
Discussion started by: ddogarmyman
4 Replies

6. Shell Programming and Scripting

remove values of a file one by one from 2nd file and then print the remaining values of 2nd file

Hi all, I have 2 files. One contains only 1 column and other one contains 2 columns, let say 1_col.txt and 2_col.txt respectively. Here, I will try to explain with an example. Input files : 1_col.txt 2_col.txt a a b x a c p ... (5 Replies)
Discussion started by: AshwaniSharma09
5 Replies

7. Filesystems, Disks and Memory

Tru64 Unix (HP) - copy file from 2nd HD to Boot HD

Hi, Here is some of the setup information on system: Tru64 UNIX OS and Two Hard Drives installed. One drive is boot drive and other is spare (Spare drive currently has some back up information on it). here is just a couple of the device/partition/mount points on boot drive. /dev/rz0a on... (4 Replies)
Discussion started by: willirb1
4 Replies

8. Shell Programming and Scripting

sed to copy 2nd line behind the 1st

Hi all, I need some help please. I got a file with two lines like this 111111111111111111 222222222222222222 and I want this 111111111111111111222222222222222 How can I do this with sed? (4 Replies)
Discussion started by: stinkefisch
4 Replies

9. UNIX for Advanced & Expert Users

Cannot boot - Boot : Panic : File size out of range (EWS-UX/V unix)

Hey ! I am running EWS-UX/V (Rel 4.2) on NEC EWS/4800/330 station and I am having problems rebooting my station : I am getting the following message on display : BOOT : PANIC : File size out of range. According to user guide, this error is occuring when a file exceeding the limit and/or... (2 Replies)
Discussion started by: fredo
2 Replies

10. UNIX for Dummies Questions & Answers

dual boot solaris off of 2nd HDD

I did a search on the board, but I could not find anything specific to dual booting windows and solaris, with solaris being placed on a second hard drive. I have solaris 8 intel, and I am trying to dual boot, but the Solaris installation process is quite intimidating. I am afraid I am going to do... (3 Replies)
Discussion started by: dangral
3 Replies
Login or Register to Ask a Question