Cheers, prshah that helped a lot.
I added my two HDDs to the /etc/fstab file like this:
Code:
# /dev/sdb1
UUID=9c2b6552-efc8-4962-ada7-7cee19385218 /media/sdb1 ext3 defaults,relatime,auto 0 1
# /dev/sdd1
UUID=e129d955-f740-4b62-8b9e-976f0758a4ce /media/sdd1 ext3 defaults,relatime,auto 0 1
And now they get mounted automatically when I start up the computer.
There might be a few problems left though..
/dev/sdd1 is an external USB HDD that I have named sdd1 in my fstabs file however, when I run fdisk -l it tells me it's called /dev/sdc1..
And Ubuntu seems to be doing a routine check of the drive everytime I start the computer up.
But other than that it seems to be working perfect. I could just remove that drive from the fstabs file and let it be handled automatically, the main thing is that I got my internal SATA2 drive mounted automatically at startup.
But just out of curiosity, is there something different that needs to be done just because this is an external USB drive or what am I missing here..?
Here is the output of sudo fdisk -l
Code:
Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xb52cb52c
Device Boot Start End Blocks Id System
/dev/sda1 * 1 18801 151019001 83 Linux
/dev/sda2 18802 19457 5269320 5 Extended
/dev/sda5 18802 19457 5269288+ 82 Linux swap / Solaris
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00077ce0
Device Boot Start End Blocks Id System
/dev/sdb1 1 38913 312568641 83 Linux
Disk /dev/sdc: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x5c74ae42
Device Boot Start End Blocks Id System
/dev/sdc1 1 30401 244196001 83 Linux
And mount
Code:
/dev/sda1 on / type ext3 (rw,relatime,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
/proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
varrun on /var/run type tmpfs (rw,nosuid,mode=0755)
varlock on /var/lock type tmpfs (rw,noexec,nosuid,nodev,mode=1777)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
fusectl on /sys/fs/fuse/connections type fusectl (rw)
lrm on /lib/modules/2.6.27-9-generic/volatile type tmpfs (rw,mode=755)
/dev/sdb1 on /media/sdb1 type ext3 (rw,relatime)
/dev/sdc1 on /media/sdd1 type ext3 (rw,relatime)
securityfs on /sys/kernel/security type securityfs (rw)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,noexec,nosuid,nodev)
gvfs-fuse-daemon on /home/morgan/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=morgan)
Bookmarks