Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help and Spyware Removal Computer Help Forums Windows Startup Programs Database Virus, Spyware, and Malware Removal Guides Computer Tutorials Uninstall Database File Database Computer Glossary Computer Resources
 

Welcome Guest ( Log In | Click here to Register a free account now! )



Register a free account to unlock additional features at BleepingComputer.com
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.
Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

> Trying to save some files...Midnight Commander
Aaflac
post 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



Would appreciate some help. I’m a newbie to Linux!!

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
Go to the top of the page
 
+Quote Post
 
Start new topic
Replies (1 - 8)
Amazing Andrew
post 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.


--------------------
Go to the top of the page
 
+Quote Post
Aaflac
post 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
Go to the top of the page
 
+Quote Post
Amazing Andrew
post 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!


--------------------
Go to the top of the page
 
+Quote Post
Aaflac
post 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

thumbup2.gif

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
Go to the top of the page
 
+Quote Post
Amazing Andrew
post 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.


--------------------
Go to the top of the page
 
+Quote Post
Aaflac
post 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
Go to the top of the page
 
+Quote Post
Amazing Andrew
post 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.


--------------------
Go to the top of the page
 
+Quote Post
Aaflac
post 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



thumbup.gif


--------------------
To do is to be - Socrates
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



Lo-Fi Version Time is now: 21st November 2009 - 11:03 PM


Advertise   |   About Us   |   Terms of Use   |   Privacy Policy   |   Contact Us   |   Site Map   |   Chat   |   Tutorials   |   Uninstall List
Discussion Forums   |   The Computer Glossary   |   Resources   |   RSS Feeds   |   Startups   |   The File Database   |   Virus Removal Guides

© 2003-2009 All Rights Reserved Bleeping Computer LLC.