mounting a second drive

Karl Larsen k5di at
Wed Feb 6 21:09:18 UTC 2008

Wade Smart wrote:
> 0206200 1342 GMT-6
> I have a second drive that I use as a backup drive. Im needing to do
> that now but Im unable to mount the drive.
> I had set this up a long time ago to do so automatically at boot but
> apparently something happened along the way and it is no longer doing
> that.
> I thought that the command was  "mount /dev/sbd1"  but I am incorrect.
> Wade
    Hi Wade I put a line in my /etc/fstab file that mounts a partition 
on my second hard drive to the first with Ubuntu on it This looks like:

karl at karl-desktop:~$ cat /etc/fstab
# /etc/fstab: static file system information.
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/hda8
UUID=a9c1cb61-ddfd-44f6-88b0-6dc976daf9ca /               ext3    
defaults,errors=remount-ro 0       1
# /dev/hda1
UUID=7915f630-518c-425b-9fea-0ef07e50d0f9 none            swap    
sw              0       0
# /dev/sda2
UUID=7d8c37ed-b2ec-4008-a137-f24c6659c5ab none            swap    
sw              0       0
/dev/hdb        /media/cdrom0   udf,iso9660 user,noauto,exec 0       0
/dev/hda7       /f7home          ext3     defaults       1    2
karl at karl-desktop:~$

The /dev/hda7 hooking to my /f7home directory is what I want. Now that 
partition on my computer is always /f7home/filename/.



	Karl F. Larsen, AKA K5DI
	Linux User
   PGP 4208 4D6E 595F 22B9 FF1C  ECB6 4A3C 2C54 FE23 53A7

More information about the ubuntu-users mailing list