Ubuntu comes in handy

Status
Not open for further replies.
Joined
Jan 6, 2005
Messages
10,281
A couple of days ago, I was looking for software that would enable my PC to see and use the Mac-formatted external hard drive that my wife uses on her Macbook. I found MacDrive which appears to do exactly what I want, but I can't shell out any $$$ for software right now. I couldn't find any free programs that would do what I needed.

Then it occurred to me that (as I understand it) since Mac OS X and Linux are both based on UNIX, and since I have Ubuntu installed alongside Windows on my PC, maybe the Mac-formatted drive would show up in Ubuntu. I plugged in the drive, it mounted to the desktop the same way it does on the Mac, and the files are accessible. Score one for Ubuntu!!!
 
In the interest of clarity and completeness, OSX uses a different filesystem type than Ubuntu (which uses ext4). However, the linux kernel was written to accommodate mounting a variety of OTHER fs types with ease, whereas Windows doesn't actually believe there are other fs types....

You are just beginning to see the benefits.

PS:there are linux utilities to read NTFS partitions too and I have recovered peoples Windows machines using them.
 
Last edited:
Originally Posted By: simple_gifts
In the interest of clarity and completeness, OSX uses a different filesystem type than Ubuntu (which uses ext4). However, the linux kernel was written to accommodate mounting a variety of OTHER fs types with ease, whereas Windows doesn't actually believe there are other fs types...


Thanks for the clarification. Although I can't see myself ever moving to a 100% Ubuntu desktop PC, Ubuntu is definitely proving it's worth to me. My wife OTOH, sees no point to Ubuntu. Oh well...
 
One minor thing I just noticed: Although Ubuntu can read the Mac-formatted external drive, Ubuntu will not write to it. That's not too big a deal, since I only want to be able to copy LARGE amounts of data from the Mac to the PC, and don't anticipate any need to ever move large amounts of data from the PC to the Mac.
 
Originally Posted By: wavinwayne
One minor thing I just noticed: Although Ubuntu can read the Mac-formatted external drive, Ubuntu will not write to it. That's not too big a deal, since I only want to be able to copy LARGE amounts of data from the Mac to the PC, and don't anticipate any need to ever move large amounts of data from the PC to the Mac.


Not being able to write to a HFS-formatted partition may well be due only to permission issues. I think I had installed hfs-utils, or something to that effect (using Debian, so the package ought to be available to Ubuntu users as well), that enabled me to write to HFS drives. Keep in mind that the journaling functions (if enabled) of a HFS-formatted drive may not be available when writing from Linux.

EDIT: There seem to be available "hfsplus", hfsutils" and "hfsprogs" in the Debian repositories; each of which claim to provide read and write functions for HFS. Again, though, none will mitigate against permissions issues.
 
Originally Posted By: uc50ic4more
Originally Posted By: wavinwayne
One minor thing I just noticed: Although Ubuntu can read the Mac-formatted external drive, Ubuntu will not write to it. That's not too big a deal, since I only want to be able to copy LARGE amounts of data from the Mac to the PC, and don't anticipate any need to ever move large amounts of data from the PC to the Mac.


Not being able to write to a HFS-formatted partition may well be due only to permission issues. I think I had installed hfs-utils, or something to that effect (using Debian, so the package ought to be available to Ubuntu users as well), that enabled me to write to HFS drives. Keep in mind that the journaling functions (if enabled) of a HFS-formatted drive may not be available when writing from Linux.

EDIT: There seem to be available "hfsplus", hfsutils" and "hfsprogs" in the Debian repositories; each of which claim to provide read and write functions for HFS. Again, though, none will mitigate against permissions issues.


Thanks. That is interesting info. I'm not sure what all of it means, but I will do my research and chew on it for a while. Thanks again.
 
Originally Posted By: wavinwayne
Thanks. That is interesting info. I'm not sure what all of it means, but I will do my research and chew on it for a while. Thanks again.


Sorry, wavinwayne - You never know who knows what and to what level of technicality you should go to when explaining something. I'll try to be clearer:

1) By "permissions issues" I meant that the partition on the HFS hard drive may (hypothetically) have the following permissions:

ADMINISTRATOR (or ROOT): read + write
USER: read-only
GROUP: read-only

If you are trying to write to the drive as a USER and not ROOT, then the partition is only read-only for you. Additionally, even is the USER had write permissions, if the USER is a user that is NOT you (ie. the USER that has write permissions is "johndoe" and you're "wavinwayne"), you're still snookered. Permissions on a UNIX-style OS are per file and per folder in addition to the partition itself.

Using the Ubuntu Live CD will enable you to stick your grubby little hands into a HFS or NTFS partition and begin messing around with permissions; but be mindful that doing so *will* impact the partition (usually disastrously) when it once again becomes accessed by it's native OS!

2) Journaling is when a filesystem that... it... Well, I'll let Wikipedia explain it:

Quote:
A journaling file system is a file system that keeps track of the changes it intends to make in a journal (usually a circular log in a dedicated area of the file system) before committing them to the main file system. In the event of a system crash or power failure, such file systems are quicker to bring back online and less likely to become corrupted.


... And sometimes when you're accessing a filesystem that is not native to your own OS (accessing Linux's ext3 or 4 from Windows/ NTFS or Mac/ HFS or any other combination of those three) you do NOT get the journaling capabilities built into the filesystem you're trying to access. *This may not even be the case anymore, though*, as the last time I researched this at all was when I was having some trouble similar to yours a few years ago: For all I know, the newest implementations of filesystems in the varying kernels of the varying OS's we're talking about may well make use of journaling on non-native filesystems. I dunno.

3) When a package is available for a Debian system, it is usually available; either unmodified or slightly tweaked by Ubuntu developers, in Ubuntu. Debian is a massive, world-wide project where developers compile source code for over 30,000 pieces of software and work very hard and for very long periods of time crafting it together to form and unbelievably stable operating system. Then, they license that system so that you can bugger with it a bit and call it your own, which is exactly what Ubuntu is. So it is often a safe assumption to say that if it works on Debian, it'll work on Ubuntu, even though it cannot always be said to work the other way. The Ubuntu developers have taken to adding bits and pieces of stuff on top of the Debian core system that are not backward compatible with Debian and other Debian-based OS's.
 
Wow, now that IS thorough! I think I'm going to leave well enough alone. From the info you posted, it sounds like I have just enough power to mess things up nicely. So for the time being, I'm going to be content with the read/write permissions as they are.

I sincerely appreciate you taking the time to try and make these complex things understandable to me.
 
Just discovered that I can play my entire non-DRM-protected iTunes music library in Ubuntu's Rhythmbox music player. Sweeeeeeet!
 
Try mplayer also. It is a command line music/video player. A rudimentary knowledge of the command line and a simple script will let you create custom play lists that can be edited easily or concatenated together.
 
Originally Posted By: simple_gifts
In the interest of clarity and completeness, OSX uses a different filesystem type than Ubuntu (which uses ext4). However, the linux kernel was written to accommodate mounting a variety of OTHER fs types with ease, whereas Windows doesn't actually believe there are other fs types....

You are just beginning to see the benefits.

PS:there are linux utilities to read NTFS partitions too and I have recovered peoples Windows machines using them.


yeah what he said. you CAN access odd filesystems from windoze, but you need a proper driver and usually over a usb port.

I run ubuntu 10.4 btw - I recommmend getting rid of windoze unless you are a gamer, in which case I recommend an xbox 360
 
Originally Posted By: QuadDriver
...I run ubuntu 10.4 btw - I recommmend getting rid of windoze unless you are a gamer, in which case I recommend an xbox 360


I removed Windows XP from my netbook when I installed Ubuntu netbook on it. I don't plan to remove Windows Vista from my desktop. I have CAD software on the desktop that will not run on Ubuntu.

As far as your recommendation for an xbox 360 for gaming, I would buy one today along with Kinect if I had the spare cash.
 
Status
Not open for further replies.
Back
Top Bottom