LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-20-2006, 03:24 AM   #1
tijo.thomas
Member
 
Registered: Feb 2006
Location: bangalore
Posts: 34

Rep: Reputation: 15
mounting your windows partition


Hi,

Here, I have a problem in booting into my Windows machine. And so I need to do a cold copy of some of the systems files from it. Can I do this using a knoppix CD? Can somebody help me in finding out the steps?

How do I mount an NTFS filesystem from knoppix or any rescue CD?

--Tijo
 
Old 02-20-2006, 03:35 AM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Yes. Knoppix autodetects the filesystems at boot and puts the appropriate entries in /etc/fstab. You either have to double-click on the appropriate drive icon that shows up on the desktop, or do "mount /dev/hda1" (or whatever partition it is) on the command line.
 
Old 02-20-2006, 03:37 AM   #3
tijo.thomas
Member
 
Registered: Feb 2006
Location: bangalore
Posts: 34

Original Poster
Rep: Reputation: 15
I tried the following:
mount -t ntfs /dev/hda1 /back

It gave me the following error message as "wrong fstype". Any idea???

Last edited by tijo.thomas; 02-20-2006 at 04:41 AM.
 
Old 02-20-2006, 05:32 AM   #4
elliott678
Member
 
Registered: Mar 2005
Location: North Carolina
Distribution: Arch
Posts: 977

Rep: Reputation: 74
If it is a premade system that came with Windows installed it may have a hidden recovery partition at hda1.

Also are you sure it is NTFS? My new laptop had XP installed on Fat32.

Try "fdisk -l /dev/hda" it will tell you if there is a hidden partition.

Last edited by elliott678; 02-20-2006 at 05:40 AM.
 
Old 02-21-2006, 12:36 AM   #5
tijo.thomas
Member
 
Registered: Feb 2006
Location: bangalore
Posts: 34

Original Poster
Rep: Reputation: 15
Its an NTFS filesystem. I need to make a copy of my system32 folder in cold mode. i.e the windows os should not be running...can i do this with knoppix?? Can I know the detailed steps for mounting this partition..

Bacause it failed to mount NTFS filesystem partition..Can somebody tell me the exact cmd to execute the mount..???

Really Appreciate your help
 
Old 02-21-2006, 12:42 AM   #6
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
Quote:
Originally Posted by tijo.thomas
Its an NTFS filesystem. I need to make a copy of my system32 folder in cold mode. i.e the windows os should not be running...can i do this with knoppix??
Yes

When you're in Knoppix, can you tell us what it says in /etc/fstab?
 
Old 02-21-2006, 03:20 AM   #7
nguyennh
Member
 
Registered: Feb 2006
Location: Vietnam
Distribution: FC , RH , SuSE
Posts: 106

Rep: Reputation: 15
I wonder what is your Linux distribution and your kernel version ? Does it support NTFS ? If I am not mistake , RedHat9 and FC1 backward NOT support NTFS unless you re-compile kernel (although after that , it only gives you read permission on NTFS partition) .
The best way to overcome this is recompile your kernel and select NTFS support .

Hope it helps you .
 
Old 02-21-2006, 11:58 PM   #8
tijo.thomas
Member
 
Registered: Feb 2006
Location: bangalore
Posts: 34

Original Poster
Rep: Reputation: 15
I dont have RH installed on it. Its only a Windows machine. And the source which I am trying to boot is knoppix which has a linux kernel. It does have the NTFS support..do u know the exact command to mount a Windows partition (NTFS)??
 
Old 02-22-2006, 12:02 AM   #9
tijo.thomas
Member
 
Registered: Feb 2006
Location: bangalore
Posts: 34

Original Poster
Rep: Reputation: 15
Following are the steps I did..

Booted the Windows system with knoppix.
In the shell prompt,
"mkdir /win"
"mount -t ntfs /dev/hda1 /win"

Am I right??? Please let me know..
 
Old 02-22-2006, 12:26 AM   #10
nguyennh
Member
 
Registered: Feb 2006
Location: Vietnam
Distribution: FC , RH , SuSE
Posts: 106

Rep: Reputation: 15
You should check is /dev/hda1 a NTFS partition ?
 
Old 02-22-2006, 08:49 AM   #11
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Knoppix should create an column of icons down the left side of your desktop, one for each partition it finds. Is it not doing this? If there's an icon you can just double click on it to open it for reading (but not for writing - it's mounted readonly by default).

If you don't have those icons, I'd start out my debugging by:

(1) Opening a terminal window in Knoppix
(2) Run "su"
(3) Run "fdisk -l" (that's an "ell", not a "one")
(4) Run "cat /etc/fstab"

Report back here with the output generated by fdisk and cat. Most important would be the data from fdisk. It sounds like /dev/hda1 is NOT an ntfs partition, despite your assurances otherwise, or possibly a corrupted one. fdisk output would help. Several people trying to help you have asked for this data.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting Windows partition ZeroIdea Linux - General 6 10-25-2005 01:38 AM
Mounting my windows partition NNP Linux - General 5 08-03-2005 06:59 AM
Mounting Windows Partition pibby Fedora 3 11-19-2003 04:46 PM
Mounting Windows Partition johnny_575 Linux - Newbie 4 08-30-2003 05:36 PM
mounting windows partition. FLuff_Suit Linux - General 2 05-09-2002 11:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:45 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration