Operating System - Linux
1830499 Members
2379 Online
110006 Solutions
New Discussion

Windows drives in Linux in a dual boot system

 
PVR
Valued Contributor

Windows drives in Linux in a dual boot system

I have a Dellbox with linux and windows loaded.Normally I work in Linux. I want to access windows drives and files from unix.

Is it possible...? If yes..how?

Assume that I have both Fat32 and NTFS partitions...

Thanks champs in advance....
Don't give up. Try till success...
5 REPLIES 5
Mark Grant
Honored Contributor

Re: Windows drives in Linux in a dual boot system

You simply need to have NTFS and FAT support compiled into your kernel and then mount the partition. Assuming you have your windows drive on the first partition of the first disk you would probably mount it like this

mount -t vfat /dev/hda1 /mnt

Assuming you want it on /mnt. You can then access the files as a normal unix system.

Beware NTFS though. Unless you are running the very latest 2.6 kernel you may find that writing to the filesystem causes problems that need to be repaired before you unmount it again.
Never preceed any demonstration with anything more predictive than "watch this"
Jerome Henry
Honored Contributor

Re: Windows drives in Linux in a dual boot system

Hi,

If it's a fat32, then it's quite easy :
http://www.europe.redhat.com/documentation/rhl9/rhl-gsg-en-9/s1-q-and-a-windows.php3
If it's an NTFS, then basically process is the same, apart from the fact that it's considered as risky to write on it as windows will complain on reboot.
to support NTFS file system, you need to patch your kernel, from here :
http://linux-ntfs.sourceforge.net/downloads.html
hth

J
You can lean only on what resists you...
Alexander Chuzhoy
Honored Contributor

Re: Windows drives in Linux in a dual boot system

you didn't specify the version of linux you have.
With Redhat (and Fedora) fat32 support comes by default
you don't even have to specify the mount type when mounting.
For NTFS you have to add the module to the kernel.This can be done or by downloading the appropriate rpm -for your kenel version or by compiling the kernel by your self.
There's no write support though for ntfs yet.
So you can only mount ntfs as read only.However there's limited read/write support for NTFS 4 (windows NT),but it's not recommened to use it cause it corrupts the file system.
Jan Sladky
Trusted Contributor

Re: Windows drives in Linux in a dual boot system

hi,
on the begining,
fat32(vfat) is accessible for rw, but
NTFS is secure for read only (few moths ago still was), write support is problematic - see on the net for following info

As was mentioned, support in kernel is needed
Check this by:
# cat /boot/config-2.xxx| grep -i ntfs

CONFIG_NTFS_FS=m

(with default installation vfat and ntfs support comes like module)

after that make mount point where fs will be connected:
mkdir /win

and mount the fs:

mount -t vfat /dev/hdax /win

add new entry into fstab for automatic mount in boot process:

/dev/hda1 /win vfat users,gid=users,umask=0002,iocharset=xxx,code=437 0 0

hope this will help you

br Jan
GSM, Intelligent Networks, UNIX
tony j. podrasky
Valued Contributor

Re: Windows drives in Linux in a dual boot system

On a side note...

You can backup VFAT files with .

You can backup just a file, several files,
a directory, or the entire disk.

I backup an entire windoze 98 disk to tape.

You can then nuke the disk, and (with a little
bit of work) restore from tape.

Works GREAT - and beats the heck out of
the make-believe backup software that is
available for windoze.

regards,
tonyp
REMEMBER: Once you eliminate your #1 problem, #2 gets a promotion.