Am 06.07.2012 18:35, schrieb Jim: > On 07/06/2012 12:20 PM, Rick Stevens wrote: >>> that is exactly what I did but nothing shows up on /dev/sdb1 external >>> drive after dd has completed . >> >> Jim, what the others are trying to say (and several of them not too gracefully) is that the command you ran >> simply did a block-for-block >> copy of /dev/sda2 over the top of /dev/sdb1. /dev/sdb1 is now an exact >> copy of /dev/sda2 and whatever was on /dev/sdb1 has now been destroyed. >> >> You need to re-create a filesystem on that /dev/sdb1 partition. Plug the >> drive in and (as root) recreate the filesystem: >> >> mke2fs -t ext4 /dev/sdb1 >> >> When that's done, mount /dev/sdb1 somewhere (usually there's a "/mnt" >> directory you can use). Example: >> >> mount /dev/sdb1 /mnt >> >> Finally, you can do the copy by entering this command: >> >> dd if=/dev/sda2 of=/mnt/driveimage.img >> >> This would create a file, "driveimage.img" in the "/mnt" directory (and thus on /dev/sdb1). Once that's complete, >> you can unmount /dev/sdb1: >> >> umount /mnt >> >> and unplug the drive to keep it safe. When that's all done, you can >> attempt to run the fsck on /dev/sda2. >> ---------------------------------------------------------------------- >> - Rick Stevens, Systems Engineer, AllDigital ricks@xxxxxxxxxxxxxx - >> - AIM/Skype: therps2 ICQ: 22643734 Yahoo: origrps2 - >> - - >> - Consciousness: that annoying time between naps. - >> ---------------------------------------------------------------------- >> > Thanks Rick > I have done all that you have said but now I'm running into read-only file systems, what command would I use to > change the ro to rw on external hard drive sdb1 ? YOU ARE STLL CONTINUE TO IGNORE WHAT PEOPLE ARE TELLING YOU what exactly did you not understand in the reply which you are quoting now? >> Jim, what the others are trying to say (and several of them not too gracefully) >> is that the command you ran simply did a block-for-block >> copy of /dev/sda2 over the top of /dev/sdb1. /dev/sdb1 is now an exact >> copy of /dev/sda2 and whatever was on /dev/sdb1 has now been destroyed >> You need to re-create a filesystem on that /dev/sdb1 partition. Plug the >> drive in and (as root) recreate the filesystem: >> >> mke2fs -t ext4 /dev/sdb1 you have KILLED the FS of /dev/sdb1 with your first dd-command there is NOTHING to restore, it is OVERWRITTEN COMPLETLY
Attachment:
signature.asc
Description: OpenPGP digital signature
-- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org