I have two SATA drives with five Linux partitions and I want F7 to auto-mount them at boot. One drive has four partitions while the other has only one:
Code:
[basel@localhost ~]$ ls -l /dev/sda
sda sda1 sda2 sda3 sda4
[basel@localhost ~]$ ls -l /dev/sdb
sdb sdb1
Here is fstab and blkid.tab
Code:
[basel@localhost ~]$ cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/media/linux /media/linux reiserfs defaults 1 2
LABEL=/mnt/data /media/data reiserfs defaults 1 2
LABEL=/media/backup /media/backup reiserfs defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda4 swap swap defaults 0 0
basel@localhost ~]$ cat /etc/blkid/blkid.tab
<device DEVNO="0x0811" TIME="1180793996" UUID="" LABEL="/media/backup" TYPE="reiserfs">/dev/sdb1</device>
<device DEVNO="0x0804" TIME="1180793982" TYPE="swap" LABEL="SWAP-sda4">/dev/sda4</device>
<device DEVNO="0x0803" TIME="1180793996" UUID="" LABEL="/media/linux" TYPE="reiserfs">/dev/sda3</device>
<device DEVNO="0x0802" TIME="1180793981" LABEL="/" UUID="" SEC_TYPE="ext2" TYPE="ext3">/dev/sda2</device>
<device DEVNO="0x0801" TIME="1180794786" UUID="" LABEL="/mnt/data" TYPE="reiserfs">/dev/sda1</device>
as of now I have to run 'mount -a' as root each time I reboot F7.