Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[root@jonas jonas]# mount -t hfs -o loop file.dmg /mnt
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg shows :
Code:
hfs: can't find a HFS filesystem on dev loop0.
/var/log/messages says :
Code:
May 2 20:05:00 jonas kernel: hfs: can't find a HFS filesystem on dev loop0.
I'm not 100% sure but I think hfs and hfsplus are two different filesystems. What happens when you try -t hfsplus instead of -t hfs? Ot better yet, omit the -t argument and let the kernel figure out the filesystem type (if it's one it recognizes, it will do so automatically).
Thank you for your reply. I really want to sort this out...
Code:
[root@jonas Desktop]# ls -l /mnt/
total 4
drwxr-xr-x. 2 root root 4096 2010-05-03 09:09 zumba
[root@jonas Desktop]# modprobe -l | grep hfs
kernel/fs/squashfs/squashfs.ko
kernel/fs/hfsplus/hfsplus.ko
kernel/fs/hfs/hfs.ko
kernel/net/sched/sch_hfsc.ko
[root@jonas Desktop]# mount -o loop -t hfsplus file.dmg /mnt/zumba/
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@jonas Desktop]# dmesg | tail
...
hfs: unable to find HFS+ superblock
[root@jonas Desktop]# mount -o loop -t hfs file.dmg /mnt/zumba/
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@jonas Desktop]# dmesg | tail
...
hfs: unable to find HFS+ superblock
hfs: can't find a HFS filesystem on dev loop0.
And a mount without filetype :
Code:
[root@jonas Desktop]# mount file.dmg /mnt/zumba/
mount: you must specify the filesystem type
Any ideas ?
Last edited by jonaskellens; 05-03-2010 at 02:18 AM.
[root@jonas Desktop]# mount -o loop -t hfsplus file.dmg /mnt/zumba/
the "file.dmg" is ON the ROOT's desktop ?
so you DID use the fedora hack to start Gnome GUI as ROOT
-- that is very ill advised - things will NOT WORK IN THE ROOT GUI !!!!
DO NOT TRY to mount a file from the root account desktop folder ( or even your normal user's .desktop folder )
i think everyone here( including me) thought you had the file.dmg in /
the "file.dmg" is ON the ROOT's desktop ?
so you DID use the fedora hack to start Gnome GUI as ROOT
-- that is very ill advised - things will NOT WORK IN THE ROOT GUI !!!!
DO NOT TRY to mount a file from the root account desktop folder ( or even your normal user's .desktop folder )
i think everyone here( including me) thought you had the file.dmg in /
This file is not on root's desktop, but on my normal user's desktop :
Code:
[root@jonas Desktop]# pwd
/home/jonas/Desktop
I just placed the file their for easy access...
It makes no difference :
Code:
[root@jonas Documents]# pwd
/home/jonas/Documents
[root@jonas Documents]# mount -o loop -t hfs file.dmg /mnt/zumba/
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
[root@jonas Documents]# mount -o loop -t hfsplus file.dmg /mnt/zumba/
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
Code:
[root@jonas Documents]# dmesg | tail
hfs: can't find a HFS filesystem on dev loop0.
hfs: unable to find HFS+ superblock
I don't think the place of the file.dmg is the problem, I think the problems lies with the HFS-filesystem.
Is this HFS-filesystem working for any Linux-user ??
Last edited by jonaskellens; 05-07-2010 at 02:02 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.