You are not logged in.

#1 2008-11-03 19:52:44

HermanChess
Member
Registered: 2008-10-29
Posts: 9

Automount + pcmanfm + openbox

I have hal, fam, portmaps and all of that installed, and in my daemons list. I want my internal partitions (which is another ext3 partition and a ntfs partition) to mount and appear in /media at startup. In gnome it would be done automatically, in thunar it would not work at all, in pcmanfm they appear in the sidepane but they mount once I click and access them, which is annoying, I want them to be mounted from the beggining. I'm not sure if I have to modify my fstab, and even so I'm not sure how to add the UUID lines.

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 /media/cdrom   auto    ro,user,noauto,unhide   0      0
/dev/cdrom1 /media/cdrom1   auto    ro,user,noauto,unhide   0      0
/dev/dvd /media/dvd   auto    ro,user,noauto,unhide   0      0
UUID=8527a34b-95a1-4a27-b767-9e61f86fa4b5 / ext3 defaults 0 1
UUID=85b7a09f-df05-4267-9e24-9d6ca7ae2177 swap swap defaults 0 0

blkid:

/dev/sda1: UUID="D0C8CE7CC8CE6078" LABEL="Windows" TYPE="ntfs" 
/dev/sda3: UUID="8527a34b-95a1-4a27-b767-9e61f86fa4b5" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sda4: UUID="85b7a09f-df05-4267-9e24-9d6ca7ae2177" TYPE="swap" 
/dev/sda5: LABEL="Bodega" UUID="00a28634-f866-47aa-bd55-c7431cbfc535" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sda6: LABEL="Linux_1" UUID="433e8b18-7c4c-408b-8fcd-a9d07f9dbb1f" SEC_TYPE="ext2" TYPE="ext3" 
/dev/sdb1: UUID="48FE-6DB8" TYPE="vfat"

My / partition is /dev/sda3  , and the ones I want to mount are /dev/sda5 (ext3) and /dev/sda1 (ntfs). 

Can anybody help me?

Offline

#2 2008-11-05 20:20:14

alex_anthony
Member
From: UK
Registered: 2007-09-25
Posts: 344

Re: Automount + pcmanfm + openbox

Instead of the UUIDs, you can just put the /dev/sda1 in and then give the right mount options
Slightly less reliable but will probably work. Just get the mountpoints and types right and it isn't too hard

Offline

#3 2008-11-05 21:15:43

chilebiker
Member
From: Zurich, Switzerland
Registered: 2006-07-18
Posts: 161

Re: Automount + pcmanfm + openbox

Make two new directories (/media/sda1 and /media/sda5) and add the following to your fstab:

# 
UUID=00a28634-f866-47aa-bd55-c7431cbfc535 /media/sda5 ext3 defaults 0 0
/dev/sda1 /media/sda1 ntfs rw,user 0 0

Don't panic!

Offline

Board footer

Powered by FluxBB