LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 04-16-2012, 08:54 PM   #1
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Rep: Reputation: 24
Permissions on sdb2


On my ThinkPad T60 I have an external HDD plugged into the USB.

fdisk -l reads;
Disk /dev/sda: 60.0 GB, 60011642880 bytes
255 heads, 63 sectors/track, 7296 cylinders, total 117210240 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5ac22b0f

Device Boot Start End Blocks Id System
/dev/sda1 2048 23777279 11887616 83 Linux
/dev/sda2 23779326 117209087 46714881 5 Extended
/dev/sda5 23779328 113293311 44756992 83 Linux
/dev/sda6 113295360 117209087 1956864 82 Linux swap / Solaris

Disk /dev/sdb: 750.1 GB, 750127153152 bytes
255 heads, 63 sectors/track, 91197 cylinders, total 1465092096 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009c952

Device Boot Start End Blocks Id System
/dev/sdb1 2048 246136831 123067392 7 HPFS/NTFS/exFAT
/dev/sdb2 246136832 1465092095 609477632 83 Linux

I try to cp or to drag and drop a file from sda1 to sdb2 and I do not have permission. I need to chown or to find another way to use the partition freely. The partition is ext4 and my OS is v. 11.10 Ubuntu. Everything I've found searching Google has failed. Any assist will be apporeciated.
 
Old 04-16-2012, 09:30 PM   #2
towheedm
Member
 
Registered: Sep 2011
Location: Trinidad & Tobago
Distribution: Debian Stretch
Posts: 612

Rep: Reputation: 125Reputation: 125
How are you mounting /dev/sdb2, from Nautilus or from the CLI?

Last edited by towheedm; 04-16-2012 at 09:48 PM.
 
Old 04-16-2012, 10:00 PM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Is your Ubuntu system on sda?
If so, is sdb2 a data partitions?
Did you create a mount point for sdb2 in Ubuntu?
And as asked above, how are you trying to mount it?
Do you have an entry for sdb1 in your /etc/fstab file?
 
Old 04-16-2012, 10:25 PM   #4
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by towheedm View Post
How are you mounting /dev/sdb2, from Nautilus or from the CLI?
I plug it in and it's there.
 
Old 04-16-2012, 10:27 PM   #5
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by yancek View Post
Is your Ubuntu system on sda?
If so, is sdb2 a data partitions?
Did you create a mount point for sdb2 in Ubuntu?
And as asked above, how are you trying to mount it?
Do you have an entry for sdb1 in your /etc/fstab file?
Yes, sda is my Ubuntu drive and I did gksudo gedit /etc/fstab and no, there is no entry.
 
Old 04-17-2012, 09:37 AM   #6
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,444

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
Got to the Ubuntu page below and scroll down to "Create a Mount Point" and follow the instructions making modifications to suit your needs.

https://help.ubuntu.com/community/In...gANewHardDrive

It might be useful to go to the site below first to get a detailed explanation of what the fstab line entries mean.

http://www.tuxfiles.org/linuxhelp/fstab.html
 
Old 04-17-2012, 07:16 PM   #7
th1bill
Member
 
Registered: Dec 2007
Location: SE Texaas
Distribution: Ubuntu, Mint, Fedora
Posts: 168

Original Poster
Rep: Reputation: 24
Quote:
Originally Posted by yancek View Post
Got to the Ubuntu page below and scroll down to "Create a Mount Point" and follow the instructions making modifications to suit your needs.

https://help.ubuntu.com/community/In...gANewHardDrive

It might be useful to go to the site below first to get a detailed explanation of what the fstab line entries mean.

http://www.tuxfiles.org/linuxhelp/fstab.html
Thank you, withy this and a chown everything is great!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Disk utility shows the first partition labeled as sdb2 EDDY1 Linux - Newbie 2 07-08-2011 07:20 PM
Rhythmbox storage on sdb2? guns90 Linux - Software 2 02-12-2011 09:28 AM
/dev/sdb2 already mounted or /mnt/other busy klmaustin Linux - Hardware 5 12-12-2009 09:25 AM
sdb2 instead of sda2 is set in grub after every system-update on Debian skipidar Linux - Software 2 10-02-2009 08:41 AM
Software RAID1 problems, won't take /dev/sdb2 ? michaelsanford Linux - General 4 01-08-2006 07:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 04:20 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