LinuxQuestions.org
Help answer threads with 0 replies.
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 08-29-2012, 06:03 AM   #1
shubbar
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Rep: Reputation: Disabled
HDD Format and Ownership for a Humax


Hi,
I am trying to connect an external HDD (1TB) to Humax IR2000HD PVR box so I can record the videos, but it needs to format it first to ext2 or ext3 (based on what I've searched). And I am having a problem with the filesystem ownership.

First attempts the box was taking too long in format, so I forced stopped it and did the format with my PC (running Ubuntu) using Disk Utility (created a partition then formatted the partition); file system Ext3 and unchecked Take Ownership. But I could not write to the disk; so I tried fixing that by running the command
Code:
sudo chmod 777 /media/myHDD
But when I connected the HDD, the box wanted to format it again. So I let it.
After the box formatted it, I connected it to my PC and could see the files but cannot make any changes to them.
Now, how can I fix ownership of the HDD file system and keep it working with the Humax box?
Or is the problem with the way I formatted it and not wit the ownership?
And is formatting from Disk Utility any different from running
Code:
sudo mkfs.ext3 /dev/sdb
? [assuming my HDD is sdb]
 
Old 08-29-2012, 09:02 AM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
The ownership and permissions are not associated with the filesystem, but rather the mountpoint. You should be able to move any partition freely across systems without change. Only the attached host will dictate who can read/write the device. Files created on the filesystem will have specific ownership and permission attributes, and those will remain associated with the files. When the box formatted the drive, it apparently created some files that it uses for its own purposes, and these will have have been created with ownership and permission attributes that are meaningful to it. You may be able to create a user & group that matches whatever the box used to create the files, and using that UID/GID, or as root, access the files. The files created by the box will not have been created by your Linux host, which probably accounts for the box's insistence to reformat the device.
--- rod.
 
Old 09-06-2012, 08:02 AM   #3
shubbar
LQ Newbie
 
Registered: Aug 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
Thanks.
The folders on the drive were created/owned by root. So I "sudo mkdir" another one and changed it's ownership to myself to add my files conveniently. May be the box didn't like my format to ext3 because it needed its specific folders to exist.

Anyway, here is the partition information for this external drive formatted by this Humax box:
Code:
sudo fdisk -l /dev/sdb

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 62 sectors/track, 123562 cylinders, total 1953525168 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: 0x6bc3ddcb

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               8  1953520063   976760028   83  Linux
 
  


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
[SOLVED] Format a Buffalo drive to EXT3 to work with Humax PVR Stan G Linux - Newbie 6 04-14-2011 08:49 PM
format hdd jorasmi Slackware 4 03-09-2005 05:25 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 02:50 PM
cannot format hdd quickk Linux - Hardware 6 07-20-2003 04:33 PM
Format HDD bytebrowser Linux - Hardware 1 07-02-2003 07:33 AM


All times are GMT -5. The time now is 02:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration