Computing.Net > Forums > Linux > Reading windows partition

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Reading windows partition

Reply to Message Icon

Original Message
Name: Chris
Date: September 1, 2000 at 08:35:38 Pacific
Subject: Reading windows partition
Comment:

How do I mount my windows partition so I can access it in Linux?


Report Offensive Message For Removal


Response Number 1
Name: Mike Williams
Date: September 1, 2000 at 11:31:46 Pacific
Reply: (edit)

Try this command:

mount /dev/hda1 -t vfat /mnt/dos

Two things:

Firstly, check that you have created the file /mnt/dos. You can do this as such:

mkdir /mnt/dos

Secondly, the part of the command mount (/dev/hda1) relates to the harddisk/partition Windows is on. In case you don't know this, harddisks under Linux are identified in this way:

hd : all harddisk drivers in /dev begin with hd

a : This is variable. The first IDE harddisk will have the letter a, the second b and so fourth

1 : The partition on that drive. Windows is usally on 1 or it complains and won't work.

Hope that helps
Profugus


Report Offensive Follow Up For Removal

Response Number 2
Name: wsimmons
Date: September 1, 2000 at 19:59:30 Pacific
Reply: (edit)

You can also have linux automatically mount the windows partition on boot up.

First: create a directory

mkdir /mnt/ms_dosC

Then determine which device is the one you wish to mount (i.e. hda12; note this name is just for the sake of this example)

Then edit the /etc/fstab file with emacs
place this line at the end of the other lines:

/dev/hda12 /mnt/ms_dosC msdos defaults,user 00

This drive or partition would then be mounted at boot up and you can access the contents of the drive through your file manager.
HINT; make a copy of your fstab first



Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Linux Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History




Data Recovery Software