OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Jun 03, 2024 12:08 am

All times are UTC - 6 hours




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: how to have a access to windows partition
PostPosted: Wed Sep 15, 2004 3:24 am 
hi all,


how to have access to windows partition through linux..
as like in mandrake 9 .

thanks in advance


Top
  
 
 Post subject: Re:how to have a access to windows partition
PostPosted: Wed Sep 15, 2004 12:17 pm 
like with any partition, you have to mount it.

if it's a FAT partition, it should work by default.
if it's NTFS, you need to have the ntfs kernel module, which may or may not be the case.

try mounting and see if it works.

p.s.
mounting is done like so:
Code:
mount /dev/hdXY /mnt/win

where /dev/hdXY is the partition in question (XY will vary), and /mnt/win is a directory where you want it mounted (can be any directory, must be created first).

you can find out exactly which XY in /dev/hdXY you need to use by using fdisk.
assuming the partition is on the first hard drive, run
Code:
fdisk /dev/hda

then type p to print the list of partitions, note which one is the windows one, then type q to quit. it will be something like hda1 or some other number.

if it's not on the first hard drive, then try /dev/hdb, /dev/hdc, /dev/hdd with fdisk.


Top
  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group