TheMemphisExperience
May 23rd, 2008, 12:27 AM
I was having some trouble mounting an internal HDD yesterday. When that was resolved, I noticed I could not mount from the GUI as it belonged to root.
I decided to handle it the next day. That day is today.
I went in and looked up how to use the chown tag in terminal. Well, it didn't do me too much good.
sudo chown -R omegapie:omegapie /media/win/*
I tried that code to attempt to gain ownership. Even as root, it said the permission was denied. Before that I navigated to the directory and said
sudo chown omegapie:omegapie *
but the permission was denied.
I think the answer might be in fstab.
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# Entry for /dev/sda1 :
UUID=5e2c39c2-7436-409d-b209-83951d63ed74 / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sda5 :
UUID=f8b6fa2d-d41c-49f6-b871-047fcadac0da 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/win vfat defaults 0 0
In order to get the HDD to mount,
/dev/sdb1 /media/win vfat defaults 0 0
was added to the end.
# Entry for /dev/sda5 :
UUID=f8b6fa2d-d41c-49f6-b871-047fcadac0da none swap sw 0 0
Refers to the second internal HDD, but something must have gone wrong as it would not mount with that line. If that one could be fixed, then perhpas this could have some kind of useful resolution as I cannot write to the HDD unless root.
I don't really know how to do that(though I should), nor am I inclined to do so whenever I need to modify the drive.
Thanks for any help.
I decided to handle it the next day. That day is today.
I went in and looked up how to use the chown tag in terminal. Well, it didn't do me too much good.
sudo chown -R omegapie:omegapie /media/win/*
I tried that code to attempt to gain ownership. Even as root, it said the permission was denied. Before that I navigated to the directory and said
sudo chown omegapie:omegapie *
but the permission was denied.
I think the answer might be in fstab.
# /etc/fstab: static file system information.
#
# -- This file has been automaticly generated by ntfs-config --
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# Entry for /dev/sda1 :
UUID=5e2c39c2-7436-409d-b209-83951d63ed74 / ext3 defaults,errors=remount-ro 0 1
# Entry for /dev/sda5 :
UUID=f8b6fa2d-d41c-49f6-b871-047fcadac0da 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/win vfat defaults 0 0
In order to get the HDD to mount,
/dev/sdb1 /media/win vfat defaults 0 0
was added to the end.
# Entry for /dev/sda5 :
UUID=f8b6fa2d-d41c-49f6-b871-047fcadac0da none swap sw 0 0
Refers to the second internal HDD, but something must have gone wrong as it would not mount with that line. If that one could be fixed, then perhpas this could have some kind of useful resolution as I cannot write to the HDD unless root.
I don't really know how to do that(though I should), nor am I inclined to do so whenever I need to modify the drive.
Thanks for any help.