Announcement

Collapse
No announcement yet.

mounting patitions?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    mounting patitions?

    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?
    Thanks Scott

    #2
    Re: mounting patitions?

    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

    some keys
    i insert mode
    escape exit curent mode

    :w sabe (exit any mode before)
    :q quit (idem)

    Comment


      #3
      Re: mounting patitions?

      Code:
      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:
      Code:
      sudo cp /etc/fstab /etc/fstab_backup
      kdesu kwrite /etc/fstab
      Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

      Comment


        #4
        Re: mounting patitions?

        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.
        Thanks Scott

        Comment


          #5
          Re: mounting patitions?

          Hi,

          It depends, what you want to do on the beginning ? I don't get why you want to mount a drive and where ?

          Cheers

          Comment


            #6
            Re: mounting patitions?

            it's been mounted.

            Comment


              #7
              Re: mounting patitions?

              Maybe these will help you:
              http://www.psychocats.net/ubuntu/mountwindows
              http://www.psychocats.net/ubuntu/mountlinux.html
              Linux is ready for the desktop--but whose desktop?<br />How to install software in Kubuntu

              Comment

              Working...
              X