I'm using Xubuntu Gutsy 7.10. I recently placed a new secondary internal hard drive in my computer (Hitachi Deskstar 750GB SATA). As soon as I booted my computer, I started gparted. I placed a partition on the Hard Drive, the entire 750 GB of it, as an ext3 partition. I chose the "Primary Partition" option as well.
After the hard drive was formatted, I ran the command:
Code:
sudo mousepad /etc/fstab
At the bottom of the entry, I entered
Code:
# /dev/sdb1 /media/extended ext3 rw,user,noauto,exec 0 0
My fstab currently looks like this:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=679a23ee-907e-410b-a583-4f88cf8e2c72 / ext3 defaults,errors=remount-ro 0 1
# /dev/sda5
UUID=330679b0-d735-481f-8e4a-6e70dbc5adcc none swap sw 0 0
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto,exec 0 0
/dev/sdb1 /media/extended ext3 rw,user,noauto,exec 0 0
I then saved, exited, and rebooted.
Upon reboot, I attempted to mount the hard drive. This resulted in the error message stating that i had to log in as root, and that root was the only authorized user.
I then searched on the internet a bit more, and came across another technique. I attempted entering:
Code:
sudo chown hanson /media/disk
The default user on my computer is "hanson." I then rebooted, and received the same error message as before. So I tried this:
Code:
sudo chown hanson /dev/sdb1