Aug 27th 2006, 07:32 PM
How do I mount a partion? I have a swap,ext3, and a home ext 3. I can't get to /etc/fstab to add the home partion. I've tried sudo /etc/fstab get meesage not found. Do I need to be root and how to I get there from user mode?
Aug 27th 2006, 10:35 PM
You are right you need to be root, that's what you were doing with sudo, but /etc/fstab is a file not a command. You need a editor to change that file.
Try sudo vi /etc/fstab
i insert mode
escape exit curent mode
:w sabe (exit any mode before)
:q quit (idem)
Aug 27th 2006, 11:17 PM
sudo nano -B /etc/fstab will work (the -B backs up your /etc/fstab before you start editing it.
To save (Control-X, Y, Enter).
If you prefer a graphical text editor:
sudo cp /etc/fstab /etc/fstab_backup
kdesu kwrite /etc/fstab
Aug 28th 2006, 12:41 PM
I guess I didn't go far enough with my question.
Here is a copy of my /etc/fstab
/etc/fstab: static file system information.
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
/dev/hda3 / ext3 owner,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
/dev/hda1 /media/hda1 ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,rw,n ouser 0 1
/dev/hda5 /media/hda5 ntfs defaults,nls=utf8,umask=007,uid=0,gid=46,auto,rw,n ouser 0 1
/dev/sda1 /media/sda1 vfat defaults,utf8,umask=007,uid=0,gid=46,auto,rw,nouse r 0 1
/dev/sdb1 /media/sdb1 vfat defaults,utf8,umask=007,uid=0,gid=46,auto,rw,nouse r 0 1
/dev/hda6 none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
/dev/sda <mount\040point> ext2 user,atime,auto,rw,nodev,noexec,nosuid 0 0
/dev/sdb <mount\040point> ext2 nouser,atime,noauto,rw,nodev,noexec,nosuid 0 0
/dev/hda4 <mount\040point> ext2 owner,atime,noauto,rw,nodev,noexec,nosuid 0 0
<device> <mount\040point> ext2 owner,noauto,atime,auto,rw,nodev,noexec,nosuid 0 0
What do I insert and where? I don't know the values.
This is new for me so keep it as simple as possible.
I'm using vim foran editor.
Aug 30th 2006, 06:41 PM
It depends, what you want to do on the beginning ? I don't get why you want to mount a drive and where ?
Sep 1st 2006, 05:26 AM
Maybe these will help you:
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.