This topic contains 1 reply, has 0 voices, and was last updated by  Hyde911 8 years ago.

  • Author
    Posts
  • #7094

    Hyde911
    Participant

    I want my ntfs partition mounted after system boot without any password request. I’ve read many solution but none of them work. I have all partitions on one raid0 matrix. I’m completely ignorant about Linux and apparently I do something wrong. Can somebody tell me what should I add to fstab file?? Or maybe there is another way.

    Fdisk report:

    marek@marek:~$ sudo fdisk -l
    Warning: invalid flag 0x0000 of partition table 5 will be corrected by w(rite)

    Disk /dev/sda: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0xee6a4eca

    Device Boot Start End Blocks Id System
    /dev/sda1 * 1 12749 102400000 7 HPFS/NTFS
    /dev/sda2 12749 34421 174078972 7 HPFS/NTFS
    /dev/sda3 34422 44618 81907402+ 5 Extended
    /dev/sda4 44619 77826 266735616 7 HPFS/NTFS

    Disk /dev/sdb: 320.1 GB, 320072933376 bytes
    255 heads, 63 sectors/track, 38913 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes
    Disk identifier: 0x00000000

    Disk /dev/sdb doesn't contain a valid partition table

    Current fstab file:

    proc /proc proc defaults 0 0
    /dev/mapper/isw_bheabjdehb_RAID05 / ext4 errors=remount-ro 0 1
    /dev/mapper/isw_bheabjdehb_RAID06 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    #58605

    Laptops Daddy
    Participant

    @hyde911 wrote:

    Can somebody tell me what should I add to fstab file?? Or maybe there is another way.

    Hi Hyde,

    I cant advise on Ubuntu specifics. I’m a long way from an Ubuntu fan and encourage people to avoid it as much as possible.

    Ive done what youre attempting many times in various other dists, though.

    Heres an excerpt from one of my fstabs:

    /dev/mapper/pdc_cjcaiheceb2	/windowsxp	ntfs-3g	users,uid=1000	0	0

    Make sure you have a directory ready to mount the file system at (/windowsxp in the above example) and make sure youre using the excellent NTFS-3G (should be available in any major rep if it’s not installed by default).

    Post again if you run into any more probs. I may be able to help.


    ls /dev/mapper

    would be more useful than fdisk -l if you find youre struggling.

    #58606

    Hyde911
    Participant

    Hi Lap
    @laptops Daddy wrote:


    ls /dev/mapper

    would be more useful than fdisk -l if you find youre struggling.

    This is just what I needed.
    I added following lines into fstab:

    /dev/mapper/isw_bheabjdehb_RAID01 /media/RAID0 ntfs users,auto 0 0
    /dev/mapper/isw_bheabjdehb_RAID02 /media/RAID01 ntfs users,auto 0 0
    /dev/mapper/isw_bheabjdehb_RAID04 /media/RAID02 ntfs users,auto 0 0

    And now everything works how i wanted.
    Many thanks Lap.
    You da man!

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.