problems mounting a harddisk

Joel Goguen jtgoguen at gmail.com
Sun Jul 22 19:14:26 UTC 2007


I don't think his issue is with unmounting his root disk...

To mount a drive, typically you do need to be root.  I haven't come
across a situation where I could mount a disk as my regular user, but
that doesn't mean there isn't one...

What you can do is to add an entry in your fstab to auto mount on
boot.  The first time this comes up, you'll probably need to change
the ownership of the mount point.  For example, I have a drive mounted
at /home/jgoguen/torrents/ and so I have an entry in my fstab for
this.  The first time I rebooted after adding that, I needed to run
this command:

sudo chown -R jgoguen:jgoguen /home/jgoguen/torrents/

and after that it automatically mounts at boot with my user/group ownership.

On 7/22/07, Thomas McKay <tom.mckay1 at gmail.com> wrote:
> be sure to remember you cannot unmount the partition your system is
> currently running from. reboot, and using a livecd try again, and i'm
> certain you won't have any issues.
>
> On Sun, 2007-22-07 at 10:55 -0300, Dennis d'Entremont wrote:
> > Hi All,
> >
> > I'm running Ubuntu 7.04 (64Bit) and have installed a 40GB hard drive
> > as a slave (cd rom is master) on my IDE channel. My main disk is a
> > 250GB SATA drive.
> >
> > When I run GPARTED it get an error telling me I do not have permission
> > to mount the drive. I ran gparted (sudo) and was able to get the drive
> > formatted but it still wouldn't mount. I was finally able to get it to
> > mount from the command line (with sudo) but for some reason I can't
> > get it to mount when I'm running it as a regular user.
> >
> > Do I need to add an entry to the fstab file for this to work properly?
> > Any ideas?
> >
> > Thanks
> > Dennis
> >
> > --
> > Dennis d'Entremont
> > IT Professional
> > http://www.Nerfd.net - Nerfd Technologies
> > http://www.eComStation.ca - You Canadian Source for eCS and OS/2
> > Software!
> > http://www.SaveLoad.org - OS News and Info
> --
> Thomas McKay <tom.mckay1 at gmail.com>
>
>
> --
> ubuntu-ca mailing list
> ubuntu-ca at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-ca
>


-- 
Joel Goguen
http://jgoguen.net/




More information about the ubuntu-ca mailing list