LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 06-09-2004, 12:12 PM   #1
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Rep: Reputation: 15
Why can't I mount my Windows hard drive from Linux?


I have a lot of media files on my Windows hard drive and would like to retrieve this data for either storage or play back on my Linux hard drive. However, I don't know how to mount this drive and make it work? The device assignment is hdb1 can anyone help? Also, running GRUB boot loader, I cannot boot to my Windows drive. It starts the boot and then stops in the middle of it, Windows is fully installed and had no problem booting it from GRUB the first time I tried it.... Any suggestions?
 
Old 06-09-2004, 01:49 PM   #2
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 10.04/12.04, Scientific Linux 6.3, Android-x86, Maemo
Posts: 1,658

Rep: Reputation: 138Reputation: 138
bring up a console terminal and type:

mount /dev/hdb1 /mnt/windows

at the prompt.

You might need some additional parameters in there, but since I'm not at one of my Linux boxes right now, I can't manpage or get help regarding those...
 
Old 06-09-2004, 02:05 PM   #3
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Original Poster
Rep: Reputation: 15
mount: fs type ntfs not supported by kernel

That is the response I get from trying to mount the drive. What do I do now?
 
Old 06-09-2004, 02:31 PM   #4
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
You could go back to your Windoz and create a FAT32 partition for your files and then copy them from there to Linux, or simply leave them there and access the files from that drive through the corresponding mount point
 
Old 06-09-2004, 02:41 PM   #5
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 35
You dont have the driver for the NTFS file system compiled in your kernel. There is a chance to have it as a module.
Try:
# modprobe ntfs
If this doesnt return errors you should be able to mount your NTFS partition in Linux. If it return something like <<Cant locate module ntfs>> you will have to recompile your kernel with built-in NTFS support or with NTFS as a module.
 
Old 06-09-2004, 02:48 PM   #6
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Original Poster
Rep: Reputation: 15
I can't go back to my Windows drive because it won't let me boot it from GRUB. Also it is XP Pro and defaults to NTFS, I have seen no way to change the partition to FAT 32 without formating and reinstalling the OS... thus deleting all of my media, no?

Also, tried # modprobe ntfs
got this:
FATAL: Module ntfs not found.

How do I modify the kernel?
 
Old 06-09-2004, 03:02 PM   #7
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
If you manage to get into XP you can use Partition MAgic or similar to resize a partition, then create a new FAT32 partition. When that's done you can copy cour files in XP
 
Old 06-09-2004, 03:04 PM   #8
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Original Poster
Rep: Reputation: 15
Partition Magic, I didn't think of that, can anyone help with the boot problem?
 
Old 06-09-2004, 03:19 PM   #9
iZvi
Member
 
Registered: Mar 2004
Location: Valhalla
Distribution: Slackware-current, kernel 2.6.31
Posts: 284

Rep: Reputation: 35
Why dont you recompile your kernel with support for NTFS? It isnt so hard and you will be running an optimised kernel with only this what you need. And also you will learn more about Linux. There are many threads here describing how to do this. They are sticky so easy to find.
 
Old 06-09-2004, 03:21 PM   #10
andrewdodsworth
Member
 
Registered: Oct 2003
Location: United Kingdom
Distribution: SuSE 10.0 - 11.4
Posts: 347

Rep: Reputation: 30
If you have a Windows rescue disk that you can boot from you can then do fdisk /mbr from it which will restore the hard disks master boot record. That will then allow you to boot XP. Once you've done that and sorted out the windows side of it then you'll have to boot a linux install or recovery disk to either reinstall linux or sort out the dual boot issue.
 
Old 06-09-2004, 03:34 PM   #11
dukeinlondon
Member
 
Registered: May 2003
Location: London
Distribution: kubuntu 8.10
Posts: 593
Blog Entries: 1

Rep: Reputation: 30
Do you use fedora core2 ? I would not have imagined that ntfs would not be supported in the default kernel....
 
Old 06-09-2004, 03:59 PM   #12
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 351Reputation: 351Reputation: 351Reputation: 351
That does seem odd that NTFS support was not included. I was under the impression that all distros had NTFS support by default.

At any rate, it would be much better to compile in NTFS support than mess around with the partitions and make a FAT32 partition just to share files from.
 
Old 06-10-2004, 02:11 PM   #13
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Stumbled across this tutorial on how to make a FAT32 partitin under Linux. Thought you might like to know
 
Old 06-10-2004, 02:20 PM   #14
michaelk
Moderator
 
Registered: Aug 2002
Posts: 12,045

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
FYI RH does not include NTFS support in their stock kernel. However, you do not need to recompile the kernel.
http://linux-ntfs.sourceforge.net/rpm/redhat9.html

or see this:
http://www.jankratochvil.net/project/captive/
 
Old 06-10-2004, 02:34 PM   #15
axess_denied
Member
 
Registered: Jun 2004
Location: DC Metro Area
Distribution: Ubuntu 8.10
Posts: 35

Original Poster
Rep: Reputation: 15
I am running FC2, I like it a lot too. I have already gone into the kernel config and edited the
# CONFIG_NTFS_* is not set
to
CONFIG_NTFS_*=m

I need to make modules now, but when I type in

make modules_install

I get this in return:
[me@me /]# make modules_install
make: *** No rule to make target `modules_install'. Stop.

Still stuck I have no idea what to do?

 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to mount aonther linux hard drive ciberrust Linux - Hardware 12 04-11-2005 02:10 PM
mount windows hard drive without partitioning ultrashawn Linux - Hardware 1 04-09-2005 08:19 AM
Mount Windows Hard drive in Linux burtongeek Linux - Newbie 26 03-28-2005 09:28 AM
Running Windows Games In Linux From Windows Hard Drive Darkstar274 Linux - Games 2 12-26-2003 12:19 AM
how do i mount my windows partitions and secondary hard drive in RH9 kasperl Linux - Newbie 5 10-22-2003 06:26 AM


All times are GMT -5. The time now is 10:14 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration