Welcome Guest ( Log In | Click here to Register a free account now! )
Welcome to Bleeping Computer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.
Jun 22 2009, 01:28 AM
Post
#1
|
|
![]() Analyst HEN ![]() ![]() ![]() ![]() ![]() Group: HJT Team Posts: 609 Joined: 15-September 06 From: USA Member No.: 85,522 |
How could one save files from a non-bootable Windows, and mount the Windows partition (source), as well as mount a USB pen drive (destination). Using Dr.Web LiveCD, Terminal accepted a command to detect the Windows disks: fdisk -l It shows the Windows partition as /dev/hdc1, and the USB pen drive as /dev/sdb1. The USB pen drive is FAT32. Then, issued the following commands (not all together!!): mkdir /mnt/usbsc /mnt/winhd mount /dev/hdc1 /mnt/winhd mount /dev/sdc1 /mnt/usbsc However, this is as far as I’ve gone, and would like to know how to use Midnight Commander (MC) to copy and save the files. MC has not recognized hdc1 or sdc1. What am I doing wrong? Also, using MC, how would one see the contents of the Windows partition to save some of the files in it?? What is the right command for this, if one wanted to view what is in Documents and Settings? Thanks again for your help. -------------------- To do is to be - Socrates
|
|
|
|
![]() |
Jun 22 2009, 01:55 AM
Post
#2
|
|
![]() Bleepin' Night Watchman ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 4,256 Joined: 5-December 05 From: The City of Saint Francis, by the western sea Member No.: 43,307 |
try
CODE mount -t ntfs -r /dev/hdc1 /mnt/winhd to mount the NTFS volume in read-only mode (to prevent further damage) I've not used MC so I can't offer much help there. I've also never used Dr. Web Live CD, so I'm not sure which filesystems it supports, or if it has the latest NTFS3g driver. If I were in your shoes (and I HAVE been before), I'd probably be using the Ubuntu Live CD sice I know it can mount USB and NTFS drives easily. -------------------- |
|
|
|
Jun 22 2009, 02:57 PM
Post
#3
|
|
![]() Analyst HEN ![]() ![]() ![]() ![]() ![]() Group: HJT Team Posts: 609 Joined: 15-September 06 From: USA Member No.: 85,522 |
Thanks, Amazing Arnold!!
Have seen something like this used: mount -t ntfs-3g /dev/hdc1 /mnt/winhd …there is no -r, and I understand your rationale for using it …there is ntfs-3g instead of ntfs From what I found, ntfs-3g is, a driver (so to speak) that supports all operations for writing files. Files of any size can be created, modified, renamed, moved, or deleted on NTFS partitions. It provides safe and fast handling of the Windows XP, and other file systems. Is there an advantage to using ntfs-3g instead of ntfs in the command: mount -t ntfs -r /dev/hdc1 /mnt/winhd This post has been edited by Aaflac: Jun 22 2009, 02:59 PM -------------------- To do is to be - Socrates
|
|
|
|
Jun 22 2009, 03:27 PM
Post
#4
|
|
![]() Bleepin' Night Watchman ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 4,256 Joined: 5-December 05 From: The City of Saint Francis, by the western sea Member No.: 43,307 |
Actually, I think I made a type there. use 3g!
-------------------- |
|
|
|
Jun 22 2009, 09:55 PM
Post
#5
|
|
![]() Analyst HEN ![]() ![]() ![]() ![]() ![]() Group: HJT Team Posts: 609 Joined: 15-September 06 From: USA Member No.: 85,522 |
It worked:
mount -t ntfs-3g /dev/hdc1 /mnt/winhd Could I have used: mount -t ntfs-3g -r /dev/hdc1 /mnt/winhd Or, does the 3g negate the need for the -r? Thank you very much for your help. -------------------- To do is to be - Socrates
|
|
|
|
Jun 22 2009, 10:21 PM
Post
#6
|
|
![]() Bleepin' Night Watchman ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 4,256 Joined: 5-December 05 From: The City of Saint Francis, by the western sea Member No.: 43,307 |
The -r option mounts the filesystem as read only. I suggest you use it in this case, and all data recovery cases.
-------------------- |
|
|
|
Jun 22 2009, 11:01 PM
Post
#7
|
|
![]() Analyst HEN ![]() ![]() ![]() ![]() ![]() Group: HJT Team Posts: 609 Joined: 15-September 06 From: USA Member No.: 85,522 |
So this would be correct:
mount -t ntfs-3g -r /dev/hdc1 /mnt/winhd -------------------- To do is to be - Socrates
|
|
|
|
Jun 22 2009, 11:40 PM
Post
#8
|
|
![]() Bleepin' Night Watchman ![]() ![]() ![]() ![]() ![]() ![]() Group: Moderator Posts: 4,256 Joined: 5-December 05 From: The City of Saint Francis, by the western sea Member No.: 43,307 |
Yep.
-------------------- |
|
|
|
Jun 23 2009, 12:10 AM
Post
#9
|
|
![]() Analyst HEN ![]() ![]() ![]() ![]() ![]() Group: HJT Team Posts: 609 Joined: 15-September 06 From: USA Member No.: 85,522 |
-------------------- To do is to be - Socrates
|
|
|
|
![]() ![]() |
| Lo-Fi Version | Time is now: 21st November 2009 - 11:03 PM |