![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Add hard drive to SCO 6.0.0 | uxlunatick | SCO | 13 | 04-18-2008 10:17 AM |
| The best partitioning schem for a 250GB Sata hard drive & a 75GB SCSI hard drive | sirbijan | Filesystems, Disks and Memory | 0 | 04-05-2006 03:19 PM |
| How do copy certain files and directories from one hard drive to another? | shorty | UNIX for Dummies Questions & Answers | 4 | 02-11-2006 08:26 PM |
| Processor and Hard Drive | etaup02 | SCO | 1 | 04-06-2005 11:24 AM |
| Partition Hard drive | amir | UNIX for Dummies Questions & Answers | 1 | 02-03-2005 06:01 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Trying to copy old hard drive to new hard drive.
........I have a new hard drive and I need to copy ALL info from the old to the new. I would like to use the dd command. I know the command is as follows......dd if=/dev/rdsk/c1t1d0s0 of=/dev/rdsk/???????? Where I have the question marks is the problem. How do I find out what the id is? Thanks in advance. |
|
||||
|
shorty,
This looks like a solaris box. If its is, its is most likly c1t2d0s0. It will depend on how to formatted the disk. If you are on a sun box. Use format command to look at how it is name. Using format will not change anything IF you just use it to look at the disks. Please do man on format command before using it. I think if you use df -k it should also give you disk naming. larryase |
|
||||
|
Ok......I did a format and the new drive showed being c1t2d0.
So I did a dd if=/dev/rdsk/c1t1d0s0 of =/dev/rdsk/c1t2d0s0 and the following error showed up........ dd: /dev/rdsk/c1t2d0s0 open: Invalid argument I did some research and the consensus is that slice 2 would span the entire disk, so I tried dd if=/dev/rdsk/c1t1d0s2 of=/dev/rdsk/c1t2d0s2 and the same error came up. Any suggestions ![]() |
|
||||
|
Progress...........I had to label the drive......i typed format and it asked me if i wanted it labelled.......then i did dd dd if=/dev/rdsk/c1t1d0s2 of =/dev/rdsk/c1t2d0s2 and it's been running for about an hour and a half. Maybe I should have specified the blocksize?!?!
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|