Mounting Windows HD's into Linux

MadMikeHoare

Old Alpha
Joined
Nov 24, 2005
Posts
986
Location
Stuttgart, Germany
Society
Freelancing since 2007
Avatar Name
Mike MadMike Hoare
A few here might think switching into the world of Linux maybe and one of the main reason they don't is the fact they have Windows hard drives with tons of files, mp3's and movies etc. they can not port/put onto a Linux system.

Here I explain how this can be done very simple.

First we seperate the hard drives. There are

ATA:

ATA HardDrive 1 = hda1
ATA HardDrive 2 = hdb1
ATA HardDrive 3 = hdc1
...

when you have more partitions on a ATA HD it usually looks like this

ATA HardDrive 1 Partition 1 = hda1
ATA HardDrive 1 Partition 2 = hda2
ATA HardDrive 1 Partition 3 = hda3
...

SATA:

In SATA it is exactly the same except the value at the end.

SATA HardDrive 1 = sda1
SATA HardDrive 2 = sdb1
SATA HardDrive 3 = sdc1

and the partitions look like

SATA HardDrive 1 Partition 1 = sda1
SATA HardDrive 1 Partition 2 = sda2
SATA HardDrive 1 Partition 3 = sda3

Now you know this we can start. Since we are usually connected as user we have different access on each HardDrive(s).

Code:
id

Gives us something like

Code:
mike@gonzo:~$ id
uid=1000(mike) gid=1000(mike) Gruppen=20(dialout),24(cdrom),25(floppy),29(audio),44(video),46(plugdev),1000(mike)

To us, only the first two entries are of interest, in this case uid=1000(mike) and gid=1000(mike)

Now we switch to root and add our HardDrives. In my case these are 3 SATA which are not yet partitioned. You must modify the following to your situation and HardDrives!!!

Code:
su
vi /etc/fstab

 /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/sda1       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda5       none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdb        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/hdc        /media/cdrom2   udf,iso9660 user,noauto     0       0
[COLOR="Red"]/dev/sdb1 /media/sdb1 ntfs ro,uid=1000,gid=1000 0 0
/dev/sdc1 /media/sdc1 ntfs ro,uid=1000,gid=1000 0 0
/dev/sdd1 /media/sdd1 ntfs ro,uid=1000,gid=1000 0 0[/COLOR]

Now we save this and go to the mount process

Code:
mount -a

Now you can access by console sdc1

Code:
cd /media/sdc1
ls

or you simply open Konquerer and choose the path /media/sdc1

You now can access all your windows HardDrives easy in your Linux environment. This should make it more easy for folks to maybe think of switching from XP/Vista or any other Microsoft controlled system to Linux.

Please note, you do all this at your own risk, but whatever I write here has been tested and works on a Debian Etch (and also work on Sarge).

Good luck.
 
Also to add to this, if you want to stay with XP and try a duel boot system you can access your FAT 32 Drives and NTFS drives from within Linux as well now.
 
EU using WINE???

So has anyone tried to execute EU under WINE??
 
Yes they have... Here
 
Back
Top