Re: sda2 is corrupted (HOWTO NOT HELP)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux