Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
cancel
Showing results for 
Search instead for 
Did you mean: 

mount partition ntfs ????????

dude_2
Occasional Visitor

mount partition ntfs ????????

how can i see files of windows ?
when im on linux... i heard about mount partition or something like dat but i wanna know how.
because i need to format the windows partition and i wanna move some files to linux cuz i dont wanna lose em.
thanks a lot hope u help me

redhat 9
3 REPLIES
Jerome Henry
Honored Contributor

Re: mount partition ntfs ????????

Hi,

From your linux partition, you need to locate your windows partition. This can be done from hat menu / system tools / hardware browser. You'll see on your Hard disk section reference to your windows parition being like 'hda1' or something like that, depending on your install.
To see it from linux, close hardware browser (you just opened it to see the partition number , hda1 or hdb6 and so on). Open a shell, being root, and type :
mkdir /mnt/win
mount /dev/hda1 /mnt/win (where hda1 is your windows partition).
cd /mnt/win
You are in.

Notice :
- if you are with ntfs filesystem, it's somehow harder, as you need to recompile your kernel to read ntfs type partition.
- When you'll format your windows partition, you'll loose access to your linux partition, as windows will erase the MBR and grub. To get it back, boot from your redhat cd1, and type 'linux rescue' at prompt. Then ok to all up to the time you get a shell. Then :
chroot /mnt/sysimage
/sbin grub--install /dev/hda
You get the boot loader back...

J
You can lean only on what resists you...
Martin P.J. Zinser
Honored Contributor

Re: mount partition ntfs ????????

To automagically mount the Windows partition put a line similar to the following into your
fstab

/dev/hda1 /windows/C ntfs ro,user,umask=022 0 2

(if the ro = readonly is required depends on your version of the NTFS support in the kernel)
dude_2
Occasional Visitor

Re: mount partition ntfs ????????

well it wasn't supported by the kernel
NEVERMIND..... i installed all again.
thanks