LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Other *NIX
User Name
Password
Other *NIX This forum is for the discussion of any UNIX platform that does not have its own forum. Examples would include HP-UX, IRIX, Darwin, Tru64 and OS X.

Notices

Reply
 
Search this Thread
Old 09-05-2011, 10:10 PM   #1
moravveji
LQ Newbie
 
Registered: May 2010
Posts: 10

Rep: Reputation: 0
Question Reading ext3 file system on Mac and overriding file permission


Hi guys.
My laptop with Ubuntu 11.04 installed on it crashed due to a lightning striking. However, my hard disk with all my PhD work is safe now.
After this, I bought a new MacBook Pro (that now I regret). I want to mount my ext3 old hard disk on mac, but mac does not distinguish the disk. Do you have any suggestion to force it mount this drive on terminal?
Once I'm done with mounting the drive, then I want to override my old file permissions and backup my files on this hard disk.
Any help or hint is highly appreciated.
Best wishes.
Ehsan.
 
Old 09-10-2011, 03:19 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,539

Rep: Reputation: 149Reputation: 149
Moving the thread to Other UNIX. Maybe someone will be able to help you there.
 
Old 09-10-2011, 04:02 PM   #3
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,320

Rep: Reputation: 252Reputation: 252Reputation: 252
There are some projects based on FUSE like ext2fsx. Just search for “fuse mac ext2” and alike.

Another approach: install any Linux in a virtual machine, at least VirtualBox is free while there is Parallels Desktop too. Then mount the USB device only inside the virtual machine and copy it either into the virtual machine’s disk image or the native Mac disk.

If you have no other backup of your PhD work: do all on your own risk.
 
Old 09-11-2011, 12:32 AM   #4
moravveji
LQ Newbie
 
Registered: May 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Lightbulb overriding Linux file permission

Thanks Reuti,
I started to follow your suggestion on VirtualBox. Let's see what happens.
Fortunately, I have backup of all my PhD work. However, there are other crucial documents that I did not backup regularly.

The point is that, with a Linux machine, I can easily mount my hard disk, and see the folder contents. However, the problem is that I cannot override the file permission and see the file contents, or copy them to another space. The reason is that when I mount it with another machine, the file ownerships cannot be changed. This, I can say, is my major problem to tackle.

Best wishes.
Ehsan.
 
Old 09-11-2011, 07:41 AM   #5
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,320

Rep: Reputation: 252Reputation: 252Reputation: 252
Well, this looks like a severe issue then. Using a virtual machine won’t give you more options than connecting it to a real Linux machine. I thought you have no other machine and no option to access an ext2 file system at all.

Changing the ownership shouldn’t be necessary when you access it from another machine as the root user. So it might be necessary to try to repair the file system (you can check beforehand without changing anything) by fsck.

The permissions of all files are ---------- right now?
 
Old 09-12-2011, 01:11 AM   #6
moravveji
LQ Newbie
 
Registered: May 2010
Posts: 10

Original Poster
Rep: Reputation: 0
Lightbulb

Thanks Reuti.
I followed your instruction. I installed a fresh Ubuntu 10.10 with VirtualBox, and yet the drive is not being mount.
The reason, to my knowledge, is that my hard disk is connected through my Mac. The Mac is intervening and blocking reading of the files.
So, I cannot even see my drive with VB.

I had an idea:
I exactly know how I partitioned my hard disk. So, I can connect it to another Linux machine, reboot, and try to install a fresh Linux on this hard disk while it is connected by USB to another machine. i will use the same user/pass as I had on my old laptop. Then user permission would look the same.

Do you believe this may work?
Best wishes.
Ehsan.
 
Old 09-12-2011, 03:25 AM   #7
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 13.1
Posts: 1,320

Rep: Reputation: 252Reputation: 252Reputation: 252
Quote:
Originally Posted by moravveji View Post
Thanks Reuti.
I followed your instruction. I installed a fresh Ubuntu 10.10 with VirtualBox, and yet the drive is not being mount.
The reason, to my knowledge, is that my hard disk is connected through my Mac. The Mac is intervening and blocking reading of the files.
So, I cannot even see my drive with VB.
VB will only allow one OS to access the disk at a time. Do you see other USB devices properly inside the VB?

What do you mean by writing the partition table again - you don't see anything on the disk even when connected to another Linux machine?
 
  


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
How to recover a deleted file using the ext3 file system wdhpr Linux - Newbie 6 01-11-2011 11:04 PM
mount disk - corrupted file EXT3 file system RAFAL Linux - General 3 04-08-2009 04:27 PM
ext3 file system in a file Denes Linux - General 3 10-08-2005 10:59 PM
File Permissions Altering reading From Mac naesyllek Linux - General 1 08-28-2005 05:36 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 08:45 AM


All times are GMT -5. The time now is 11:48 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration