SUSE / openSUSE This Forum is for the discussion of Suse Linux. |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
06-24-2005, 07:15 AM
|
#1
|
Senior Member
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839
|
JFFS2 mount on SuSE 9.3 fails
Hi there,
I would like to extract some files from a JFFS2 image taken from an embedded device on SuSE 9.3. Unfortunately I am unable to mount the image.
I tried:
# mount -t jffs2 myimage.jffs2 /mnt -o loop
Result was an error message:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
I checked with
# make oldconfig
if the SuSE stock kernel 2.6.11 has support for JFFS2 and it seemingly does have modules for it. So I made sure that the moduls jffs2 was loaded:
# lsmod
Module Size Used by
jffs 39792 0
jffs2 89648 0
mtdcore 7112 2 jffs,jffs2
[...]
Unfortunately I had no success, so far.
Output of dmesg | tail:
JFFS: Trying to mount a non-mtd device.
Attempt to mount non-MTD device "/dev/loop0" as JFFS2
Attempt to mount non-MTD device "/dev/loop0" as JFFS2
Does anyone have a clue what I am doing wrong?
Any hint is much appreciated, thanks in advance!
gargamel
|
|
|
07-03-2005, 06:13 PM
|
#2
|
Senior Member
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839
Original Poster
|
Has really nobody else tried it?
Or is it utterly unclear, what I am asking?
gargamel
|
|
|
07-15-2005, 06:12 PM
|
#3
|
Senior Member
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839
Original Poster
|
No embedded Linux users in the SuSE community...? Can't believe that!!!
Where are you?
gargamel
|
|
|
08-14-2005, 03:15 PM
|
#4
|
LQ Newbie
Registered: Aug 2005
Location: Winston-Salem, NC
Distribution: Slackware 11.0
Posts: 8
Rep:
|
Um, I'm not really experienced to give anyone advice, but I read in the release notes that JFS is no longer supported. Maybe it's something completely different, and I hope so, but there's my 2 cents. Try reading the release notes to check me on that before you believe it. Good luck!
|
|
|
08-14-2005, 03:31 PM
|
#5
|
Member
Registered: Jul 2005
Location: Belgium
Distribution: Zenwalk 2.8
Posts: 35
Rep:
|
JFS is only supported up to 9.2, yes.
|
|
|
08-14-2005, 03:57 PM
|
#6
|
Senior Member
Registered: May 2003
Distribution: Slackware, OpenSuSE
Posts: 1,839
Original Poster
|
Ahhh, thanks for your replies, but my question was about JFFS2, not about JFS.
JFFS2 is a file system for flash memory storage. It's used in embedded devices like PDAs, and in Linux distributions like Familiar and ELinOS.
JFS on the other hand is a 'normal' file system for ordinary hard disc drives. It competes with ReiserFS, XFS and all the others. It's from IBM and has a good reputation as a general purpose file system with good overall read and write performance on large and small files alike.
So thanks, but that wasn't it, yet.
gargamel
|
|
|
09-08-2005, 03:09 PM
|
#7
|
LQ Newbie
Registered: Sep 2005
Distribution: Slackware
Posts: 5
Rep:
|
JFFS2 images need to be mounted through the MTD block device for it to work properly.
This site contains an easy step-by-step to get it done.
http://www.yargybot.com/Familiar/BackupHowto.html
I'll include the super brief summary for posterity.
# modprobe loop
# modprobe mtdblock
# losetup /dev/loop0 /path/to/imagefile.jffs2
# insmod blkmtd erasesz=256 device=/dev/loop0
# mount -t jffs2 /dev/mtdblock0 /mnt
|
|
|
All times are GMT -5. The time now is 08:31 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.
|
Latest Threads
LQ News
|
|