Personal tools
You are here: Home Wiki NtfsAtStartup
Views

I want to have the ntfs partition on my system mounted at startup. This is the way I did it: sda1 is the Windows XP install on an ntfs partition:
root@roosevelt:~# fdisk -l

Disk /dev/sda: 80.0 GB, 80026361856 bytes
240 heads, 63 sectors/track, 10337 cylinders
Units = cylinders of 15120 * 512 = 7741440 bytes
Disk identifier: 0xcccdcccd

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        4522    34186288+   7  HPFS/NTFS
/dev/sda2            9703       10337     4800600   12  Compaq diagnostics
/dev/sda3            4523        4781     1958040   82  Linux swap / Solaris
/dev/sda4            4782        9702    37202760   83  Linux

Partition table entries are not in disk order
I added the last line in /etc/fstab:
root@roosevelt:~# cat /etc/fstab
# /etc/fstab: static file system information.
#
#                
proc            /proc           proc    defaults        0       0
/dev/sda4       /               ext3    defaults,errors=remount-ro 0       1
/dev/sda3       none            swap    sw              0       0
/dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto,exec 0       0
/dev/sda1       /media/sda1     ntfs    rw,user,nosuid,nodev,noatime,allow_other,blksize=4096 0 0
This would require a fairly recent kernel compiled with ntfs file system support. My kernel is the stock one from linuxmint:
ggeller@roosevelt:~$ uname -a
Linux roosevelt 2.6.22-14-generic #1 SMP Tue Feb 12 07:42:25 UTC 2008 i686 GNU/Linux
Thanks to mmarionqc.
« September 2010 »
Su Mo Tu We Th Fr Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30
 

Powered by Plone CMS, the Open Source Content Management System

This site conforms to the following standards: