LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-04-2008, 11:42 PM   #1
james.l.hanson
LQ Newbie
 
Registered: Jun 2007
Location: California, USA
Distribution: Ubuntu 8.04, Edubuntu 7.04, Mac OS X 10.5.2
Posts: 7

Rep: Reputation: 0
new secondary hard drive disk permissions not working


I'm using Xubuntu Gutsy 7.10. I recently placed a new secondary internal hard drive in my computer (Hitachi Deskstar 750GB SATA). As soon as I booted my computer, I started gparted. I placed a partition on the Hard Drive, the entire 750 GB of it, as an ext3 partition. I chose the "Primary Partition" option as well.

After the hard drive was formatted, I ran the command:
Code:
sudo mousepad /etc/fstab
At the bottom of the entry, I entered
Code:
# /dev/sdb1	/media/extended	ext3	rw,user,noauto,exec	0	0
My fstab currently looks like this:
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
# /dev/sda1
UUID=679a23ee-907e-410b-a583-4f88cf8e2c72 /               ext3    defaults,errors=remount-ro 0       1
# /dev/sda5
UUID=330679b0-d735-481f-8e4a-6e70dbc5adcc 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/extended	ext3	rw,user,noauto,exec	0	0
I then saved, exited, and rebooted.

Upon reboot, I attempted to mount the hard drive. This resulted in the error message stating that i had to log in as root, and that root was the only authorized user.

I then searched on the internet a bit more, and came across another technique. I attempted entering:

Code:
sudo chown hanson /media/disk
The default user on my computer is "hanson." I then rebooted, and received the same error message as before. So I tried this:

Code:
sudo chown hanson /dev/sdb1
 
Old 04-05-2008, 03:02 AM   #2
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69
Did you chown /media/disk when it was mounted?
 
  


Reply

Tags
chown, disk, fstab, gparted, permissions, xubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting grub from secondary hard disk ? Fezar Linux - Newbie 15 08-30-2007 05:02 AM
Need access to secondary hard disk: EYEdROP Linux - Software 4 04-01-2007 01:00 AM
NTFS Secondary Hard disk Rayning Slackware 13 11-08-2006 10:24 AM
upgrading or booting from secondary hard disk trysten_x Linux - General 3 08-29-2005 10:12 PM
linux can't see my hard disk on secondary master csvke Linux - Hardware 6 03-19-2004 06:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration