You are not logged in.

#1 2007-06-10 19:22:15

calef13
Member
Registered: 2007-06-10
Posts: 142

mounting ntfs partitions at boot up read only and starting X at boot

Hi,

I want to mount my windos partition at boot so I can build a library in amarok without having to copy all of my music to my linux partition. However I only want to mount read only, as I don't want to risk messing the partition up. I followed the instructions on the wiki here:

http://wiki.archlinux.org/index.php/NTFS_Write_Support

And added a line in /etc/fstab "/dev/sda1 /mnt/sda1 ntfs-3g uid=1000,gid=100,fmask=0333,dmask=0333,locale=en_PH.utf8 0 0" without quotations, but the partition was not mounted so I removed the line and now am back to my original /etc/fstab

# 
# /etc/fstab: static file system information
#
# <file system>        <dir>         <type>    <options>          <dump> <pass>
none                   /dev/pts      devpts    defaults            0      0
none                   /dev/shm      tmpfs     defaults            0      0

/dev/cdrom             /mnt/cd   iso9660   ro,user,noauto,unhide   0      0
/dev/dvd               /mnt/dvd  udf       ro,user,noauto,unhide   0      0
/dev/fd0               /mnt/fl   vfat      user,noauto             0      0

/dev/sda2 swap swap defaults 0 0
/dev/sda3 / ext3 defaults 0 1

I thought that I should change the numbers to 0 3 or something but I don't have a clue what they are for, could anyone offer any advice on how I should proceed?

Also X refuses to load at boot, I have to log in as root and run /etc/rc.d/kdm start. I have put kdm in /etc/rc.d and I changed my /etc/inittab default runlevel from 3 to 5. I tried also changing the login manager from xdm to kdm in the same file but nothing ahs made a difference. Anyone have any ideas?

Thanks in advance,

Calef13

Offline

#2 2007-06-10 19:41:18

mixtr
Member
From: Ottawa
Registered: 2007-02-27
Posts: 47

Re: mounting ntfs partitions at boot up read only and starting X at boot

Just add ",auto,ro" at the end of the options column with "uid=1000,gid=100,fmask=0333,dmask=0333,locale=en_PH.utf8".
In fact I don't think that you really need that whole line.. Just user,ro,auto should be enough.


-- mixtr

Offline

#3 2007-06-10 19:43:11

mixtr
Member
From: Ottawa
Registered: 2007-02-27
Posts: 47

Re: mounting ntfs partitions at boot up read only and starting X at boot

Oh and for booting into X just add kdm, gdm or xdm to your DEAMONS line in /etc/rc.conf.


-- mixtr

Offline

#4 2007-06-10 20:54:29

calef13
Member
Registered: 2007-06-10
Posts: 142

Re: mounting ntfs partitions at boot up read only and starting X at boot

Thanks a lot for the speedy replies, this is a great community here btw, very helpful. You were right mixtr, I got away with just

"/dev/sda1/ /mnt/sda1 ntfs-3g user,ro,auto 0 0"

And adding kdm to the deamons line solved my problem. I was trying to add it to the rc.d file rather than the rc.conf tongue

I had my doubts at first but I really like the fact that arch doesn't hold your hand and leaves everything up to you, I have already learned loads about the config files for linux among many other things and have come ot appreciate the lack of abstraction in arch. I really prefer this to previous OSes, but wish I had installed kdemod as the 'vanilla' kde from the repositories installs pretty much everything imaginable, but my system still runs very quickly.

Calef13

Offline

Board footer

Powered by FluxBB