[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

SATA and mounting a NTFS partition in fstab



Hi,

I'm new to linux and i'm almost finished setting up my debian workstation.

Background information: from kernel 2.4 --> 2.6 the s-ata device changes from hde to sda. Which is in my grub menu.lst:

title           Debian GNU/Linux, kernel 2.6.9
root            (hd0,2)
kernel          /boot/vmlinuz-2.6.9 root=/dev/sda3 ro
savedefault
boot

But when I look at my fstab file it says this :
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hde3       /               ext3    defaults,errors=remount-ro 0       1
/dev/hde6       none            swap    sw              0       0
# /dev/hde5 /mnt/windows ntfs defaults 0 0 << here I would like to mount my ntfs partition
/dev/hdc        /media/cdrom0   iso9660 ro,user,noauto  0       0
/dev/hdd        /media/cdrom1   iso9660 ro,user,noauto  0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

So my grubloader is using /dev/sda3 to boot linux. But when i'm logged in it's being converted or something?
When I change the hde to sda in the fstab file my system hangs at boot.

When I use the commandline to mount the filesystem I have to mount /dev/sda5, this works..

The problem is that I CAN mount a ntfs filesystem from the commandline as root but
when I insert the same devices in fstab.. My system tells me at booting:
--------------------------
NTFS volume version 3.1
Dectecting hardware..
--------------------------
and then it hangs.

The big question: How can I mount my ntfs partition in fstab?

Here is my fdisk -l output:
Disk /dev/sda: 122.9 GB, 122942324736 bytes
255 heads, 63 sectors/track, 14946 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

  Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1912    15358108+   7  HPFS/NTFS
/dev/sda2            1913       13836    95779530    5  Extended
/dev/sda3           13837       14946     8916075   83  Linux
/dev/sda5            1913       13784    95361808+   7  HPFS/NTFS
/dev/sda6           13785       13836      417658+  82  Linux swap

Thanks in advance,

Robin



Reply to: