Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 18 Aug 2018, 06:35
All times are UTC - 4
 Forum index » House Training » Beginners Help ( Start Here)
How to use HFS+ formatted drives in 528?
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
rmcellig

Joined: 19 Nov 2011
Posts: 968
Location: Ottawa Ontario Canada

PostPosted: Mon 20 Feb 2012, 22:04    Post subject:  How to use HFS+ formatted drives in 528?  

I am using Puppy Linux 5.2.8. Is there any way I can read/write HFS+ formatted drives?
Back to top
View user's profile Send private message Visit poster's website 
Aitch


Joined: 04 Apr 2007
Posts: 6815
Location: Chatham, Kent, UK

PostPosted: Tue 21 Feb 2012, 02:36    Post subject:  

Not from puppy, as the kernel support for HFS is not there....gparted has HFS greyed out IIRC

Hirens has minilinux which will see HFS files/has mac support, I believe, or there's UFS explorer that also has HFS support

http://www.hirensbootcd.org/download/

http://www.ufsexplorer.com/recovery_cd.php

I have a couple of G4 MACs though I only get to play with them when a MAC geek friend visits....I added FAT32 partitions to the MAC, for file sharing as it was easier

You might get lucky if you or someone could compile hfsprogs from source

https://launchpad.net/ubuntu/+source/hfsprogs/332.25-5

Aitch Smile
Back to top
View user's profile Send private message 
vovchik


Joined: 23 Oct 2006
Posts: 1463
Location: Ukraine

PostPosted: Tue 21 Feb 2012, 03:35    Post subject:  

Dear guys,

My lucid has the following module:

Code:

/lib/modules/2.6.33.2/kernel/fs/hfsplus/hfsplus.ko


and I have the kernel sources, so I could build it if it were missing. I haven't tried it, but I asume that it can be loaded and will work. Just go into /lib/modules/xxxxxx/kernel/fs and see whether you have hfsplus.

With kind regards,
vovchik
Back to top
View user's profile Send private message 
rhadon


Joined: 27 Mar 2008
Posts: 1293
Location: Germany

PostPosted: Tue 21 Feb 2012, 04:29    Post subject:  

In PPM you can find hfsutils and hfsplus.

After installation, Gparted is able to handle hfs. Hfs+ doesn't work for me. Maybe because Gparted is a old version?

But you will get no icon for this partition and Pmount doesn't seem to be able to recognise it. The real problem seems to be guess_fs_type (used by Pmount and other programs).

Some weeks ago I tried to run btrfs. With the newest Gparted (live version) I was able to format with btrfs. I could also mount and use this partition manually. But no icon on the desktop and also Pmount wasn't able to detect this partition because guess_fstype isn't able to detect this file system. I guess that this also happens with hfs.

You could install hfsutils and hfsplus. Then try to mount it manually, like
Code:
mount /dev/sdb1 /mnt/sdb1
If sdb1 doesn't exist, create it. Of course you have to use your name for drive/partition.

Sorry, that I have no better answer.
Rolf

Edit: Partview is able to recognise the hfs partition and in source code of guess_fstype I can find
Code:
struct hfs_super_block {...
So at least, hfs seems to be supported. But no icon and no Pmount.
_________________
Ich verwende "frugal", und das ist gut so. Wink
Raspberry Pi without Puppy? No, thanks.
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 968
Location: Ottawa Ontario Canada

PostPosted: Tue 21 Feb 2012, 06:37    Post subject:  

I can read HFS+ drives using my Ubuntu 10.04 distro. I will see if I get lucky with Puppy Linux. Will post back. Is it better to format my drive as NTFS so that it is compatible with Puppy? I find it such a pain finding a format that allows me to read/write to that I can use on my Mac, windows pc as well as Linux.

Seems like FAT32 is the only option? I keep hearing it is so unreliable, plus file sizes larger than 4GB is not supported.
Back to top
View user's profile Send private message Visit poster's website 
tempestuous

Joined: 10 Jun 2005
Posts: 5470
Location: Australia

PostPosted: Tue 21 Feb 2012, 08:21    Post subject:  

HFS+ should work OK with Puppy 5.2.8 (without installing anything extra)
but don't use Gparted, it's more reliable to do things manually. First load the hfs and hfsplus drivers -
Code:
modprobe hfs
modprobe hfsplus

Puppy should display an icon on the desktop representing your HFS+ drive. Let's assume it's "sdb1". First create a suitably named mountpoint -
Code:
mkdir /mnt/sdb1

Now it's feasible that you could mount the drive with this command -
Code:
mount /dev/sdb1 /mnt/sdb1

but there's a fair chance that the HFS+ filesystem cannot be automatically recognised, so it's best to specify the filesystem, like this -
Code:
mount /dev/sdb1 -t hfsplus /mnt/sdb1

If you still get error messages, it might be necessary to mount the drive read-only, as such -
Code:
mount /dev/sdb1 -t hfsplus -o ro /mnt/sdb1
Back to top
View user's profile Send private message 
Makoto


Joined: 03 Sep 2009
Posts: 2130
Location: Out wandering... maybe.

PostPosted: Tue 21 Feb 2012, 14:20    Post subject:  

rmcellig wrote:
I can read HFS+ drives using my Ubuntu 10.04 distro. I will see if I get lucky with Puppy Linux. Will post back. Is it better to format my drive as NTFS so that it is compatible with Puppy? I find it such a pain finding a format that allows me to read/write to that I can use on my Mac, windows pc as well as Linux.

Seems like FAT32 is the only option? I keep hearing it is so unreliable, plus file sizes larger than 4GB is not supported.


Are you planning on storing a lot of 4GB+ files? Smile

FAT32 is basically the 'lowest common denominator,' supported across all three OSes. Even standalone DVD players may only support FAT32, rather than NTFS (though I've heard that curiously, Microsoft's X-Box 360 does support HFS+ and not NTFS... Shocked ).

I think I've read that Puppy itself works better/is more reliable on a FAT32 drive, as opposed to an NTFS drive, but I don't know that for sure.

One of these days, I'm going to have to find some spare flash drives I don't mind ruining, reformat them in HFS+ and ext formats, and see how well all my systems handle them. Very Happy

_________________
[ Puppy 4.3.1 JP, Frugal install | 1GB RAM | 1.3GB swap ] * [ Puppy Precise 5.7.1 JP, Frugal install ]
In memory of our beloved American Eskimo puppy (1995-2010) and black Lab puppy (1997-2011).
Back to top
View user's profile Send private message 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 12939
Location: Arizona USA

PostPosted: Tue 21 Feb 2012, 16:05    Post subject:  

Makoto wrote:
...I think I've read that Puppy itself works better/is more reliable on a FAT32 drive, as opposed to an NTFS drive, but I don't know that for sure....

I've never had any trouble reading or writing to either NTFS or FAT32 with Puppy. All kinds and sizes of files, up to DVD size. Directories over 100 GB which included thousands of mp3 files in many subdirectories.
Back to top
View user's profile Send private message 
amigo

Joined: 02 Apr 2007
Posts: 2641

PostPosted: Tue 21 Feb 2012, 16:11    Post subject:  

In addition to the HFS+ kernel module, you need to also enable support for Apple-type partitions in the kernel, IIRC.
Back to top
View user's profile Send private message 
tempestuous

Joined: 10 Jun 2005
Posts: 5470
Location: Australia

PostPosted: Tue 21 Feb 2012, 19:56    Post subject:  

Aitch wrote:
the kernel support for HFS is not there

Not true, at least in Puppy Lucid.

amigo wrote:
In addition to the HFS+ kernel module, you need to also enable support for Apple-type partitions in the kernel

True ... and most versions of Puppy, certainly Lucid, already have this support enabled. Puppy Lucid's kernel configuration includes this:
Code:
CONFIG_MAC_PARTITION=y


And on the subject of Linux write-support for HFS+ filesystems; it appears the answer is here -
http://en.wikipedia.org/wiki/HFS_Plus
Quote:
The Linux HFS+ kernel driver has support to read and write to HFS+ non-journaled drives/partitions but only has read support of journaled HFS+.
Back to top
View user's profile Send private message 
rmcellig

Joined: 19 Nov 2011
Posts: 968
Location: Ottawa Ontario Canada

PostPosted: Tue 21 Feb 2012, 20:07    Post subject:  

I don't think I have any files larger than 4GB.
Back to top
View user's profile Send private message Visit poster's website 
Aitch


Joined: 04 Apr 2007
Posts: 6815
Location: Chatham, Kent, UK

PostPosted: Tue 21 Feb 2012, 20:50    Post subject:  

Thanks, tempestuous, I stand corrected

Aitch Smile
Back to top
View user's profile Send private message 
Burn_IT


Joined: 12 Aug 2006
Posts: 3160
Location: Tamworth UK

PostPosted: Thu 23 Feb 2012, 15:43    Post subject:  

The biggest problem with FAT32 is that once you get over about 80Gb partition size, the cluster size is 32k, which means there could be a LOT of wasted space.
This is because one cluster is the minimum write on fat32 so even a file that is just one byte will still occupy 32k

_________________
"Just think of it as leaving early to avoid the rush" - T Pratchett
Back to top
View user's profile Send private message 
Krishnamurti Naskar


Joined: 20 Apr 2012
Posts: 85
Location: Calcutta

PostPosted: Fri 15 Nov 2013, 21:08    Post subject:  

If u need hfs+ format support in gparted to multiboot bad-ass macOS10 & have little time,then
d/load it!



Code:

ftp://ftp.univie.ac.at/systems/linux/dag/redhat/el6/en/i386/dag/RPMS/hfsprogs-332.14-1.el6.rf.i686.rpm


enjoy youself!

NB-don't ever trust mac's Disk Utility during installation!got it?

_________________
--------------------
| Crying or Very sad || Embarassed |
--------------------
Kill Bill..(Gates,of course and his Windows)

Code:
So I dual-booted Puppy+PCBSD.

Back to top
View user's profile Send private message 
Ted Dog


Joined: 13 Sep 2005
Posts: 4013
Location: Heart of Texas

PostPosted: Fri 15 Nov 2013, 23:55    Post subject:  

big warning the only partion you should see is the boot efi
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Beginners Help ( Start Here)
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1107s ][ Queries: 11 (0.0041s) ][ GZIP on ]