This is a discussion on How to view windows XP partitions(NTFS) in linux within the Linux software forums, part of the Linux Getting Started category; hello , i ahve a system which is dual boot system . windows XP -- primary partition liinux fedora core ...
|
|||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
|||
|
hello ,
i ahve a system which is dual boot system . windows XP -- primary partition liinux fedora core -- extented partition my partitions in windows are NTFS . how do i view them in fedora thanking u sincerely siddharth |
| Sponsored Links | ||
|
|
|
||||
|
In order to access NTFS file system you need install special module i.e. driver. It can be downloaded from following url
http://www.linux-ntfs.org/content/view/128/64/ Select your Fedora Core Linux version and then download appropriate driver according to your kernel version. To find out your kernel version use following command: Code:
uname -r Code:
rpm -ihv kernel-ntfs* Code:
mkdir -p /mnt/c mount -t ntfs /dev/hdXY /mnt/c Code:
mount -t ntfs -o nls=utf8 /dev/hdXY /mnt Code:
fdisk -l |
|
|||
|
Windows uses a different filesystem (NTFS) to store files. In order for Fedora to read that filesystem, you require NTFS support in your kernel. There are multiple ways now to support NTFS in Linux. The following solution uses NTFS-3G which uses "Fuse" support in more recent kernels.
NOTE: As of Fedora 7, devices previously referenced by /dev/hda and /dev/hdb will be referenced by /dev/sda and /dev/sdb (respectively). To setup NTFS access you must (1) install NTFS support, (2) check how many partitions you have, (3) create mount points, (4) mount partitions, and (5) update fstab to mount at next boot. 1. Install NTFS Support The software required for NTFS support is included in the DVD installation. If not, install using yum: [mirandam@charon ~]$ OpenDNS yum install fuse fuse-libs ntfs-3g Users without yum, either download or use your Fedora 7 DVD to install the following RPM's: fuse, fuse-lib and ntfs-3g. 2. Check Your Partitions Use fdisk to list partitions. Most ATA hard drives will be /dev/sda. Drives may also show up as /dev/sdb depending on your configuration. [mirandam@charon ~]$ sudo /sbin/fdisk -lu /dev/sda | grep NTFS Usually the first will be a drive "letter": C drive, next D, etc. Hence /dev/sda1 is my C:\ drive used by Windows. 3. Create Mount Points For every partition in step 2 that you wish to access, you will need a "mount point". A mount point is just a directory. Common directories are: /media/ and /mnt/. Use whichever, but be consistent. [mirandam@charon ~]$ cd /media/ [mirandam@charon media]$ sudo mkdir c_drive d_drive e_drive You do not have to use these names, if you prefer to create folders such as 'movies', 'documents', or 'winxp', any name will work (recommended without spaces). 4. Mount Partitions Using the NTFS-3G we can either mount the NTFS partitions read-only or read-write. For new users, read-only is recommended. [mirandam@charon ~]$ sudo mount /dev/sda1 /media/c_drive -t ntfs-3g -r -o umask=0222 [mirandam@charon ~]$ sudo mount /dev/sda2 /media/d_drive -t ntfs-3g -r -o umask=0222 [mirandam@charon ~]$ sudo mount /dev/sda3 /media/e_drive -t ntfs-3g -r -o umask=0222 Read/Write Access: The above is for read-only access. In order to mount read/write, you must use the -rw -o umask=0000. Example: [mirandam@charon ~]$ sudo mount /dev/sda1 /media/c_drive -t ntfs-3g -rw -o umask=0000 HIGHLY RECOMMENDED: Please run man mount to understand what umask= does. 5. Update /etc/fstab Every time Fedora boots, the partitions must be mounted. To automatically mount, you must edit /etc/fstab. Open /etc/fstab in an editor: (use nano instead of gedit if you do not have a GUI) [mirandam@charon ~]$ sudo gedit /etc/fstab Add these lines to the END of the file: /dev/sda1 /media/c_drive ntfs-3g ro,defaults,umask=0222 0 0 /dev/sda2 /media/d_drive ntfs-3g ro,defaults,umask=0222 0 0 /dev/sda3 /media/e_drive ntfs-3g ro,defaults,umask=0222 0 0 Read/Write Access: The above is for read-only access. In order to mount read/write, you must use the rw,defaults,umask=0000. Example: /dev/sda1 /media/c_drive ntfs-3g rw,defaults,umask=0000 0 0 Done! For more help Check out Personal Fedora 7 Installation Guide |
|
|||
|
Hi ram420chand
I am not able to install fuse fuse-libs ntfs-3g. So at very first place, i am not able to run run. following error message is encountered [root@localhost /]# yum install fuse fuse-libs ntfs-3g Loading "installonlyn" plugin Setting up Install Process Setting up repositories Could not retrieve mirrorlist http://mirrors.fedoraproject.org/mir...re-6&arch=i386 error was [Errno 4] IOError: <urlopen error (111, 'Connection refused')> Error: Cannot find a valid baseurl for repo: core Can you guide me what to de? i am using fedora. output of uname -a is [root@localhost /]# uname -a Linux localhost.localdomain 2.6.18-1.2798.fc6 #1 SMP Mon Oct 16 14:37:32 EDT 2006 i686 i686 i386 GNU/Linux Thanks Dhruv |
![]() |
| Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How To View This Cbt And What To Do | linuxqu | Linux software | 2 | 03-24-2008 07:09 PM |
| what's the Diff. in Windows 2003 and Windows 2000 server | kasimani | Windows Xp/2000/2003 server administration | 2 | 08-14-2007 11:05 AM |
| View log files under Linux | sweta | Getting started tutorials | 0 | 05-30-2007 12:31 AM |
| Can't export the windows ntfs partition using nfs | linuxnightowl84 | Networking, Firewalls and Security | 4 | 04-29-2007 04:40 PM |
| Howto: Linux recover lost partitions? | chimu | Linux software | 2 | 07-11-2006 12:49 AM |