OESF Portables Forum
Everything Else => Zaurus - Everything Development => Distros, Development, and Model Specific Forums => Archived Forums => X/Qt => Topic started by: ShiroiKuma on October 19, 2004, 01:27:01 pm
-
Hi:
I'd like to mount the initrd.bin from pdaxrom Kathrin RC5 on the Zaurus, to see if I can copy missing libs so that apps compiled form pdaxrom would run under XQt.
I thought the initrd.bin is just a cramfs volume.
So I copied it to a Temp directory on a CF, however when I try: mount -t cramfs /mnt/cf/Temp/initrd.bin /mnt/cf/Temp/test -o loop
I getmount: Mounting /mnt/cf/Temp/initrd.bin on /mnt/cf/Temp/test failed: Invalid argument
What am I doing wrong?
-
I'd like to mount the initrd.bin from pdaxrom Kathrin RC5 on the Zaurus, to see if I can copy missing libs so that apps compiled form pdaxrom would run under XQt.
I thought the initrd.bin is just a cramfs volume.
So I copied it to a Temp directory on a CF, however when I try:
mount -t cramfs /mnt/cf/Temp/initrd.bin /mnt/cf/Temp/test -o loop
I get
mount: Mounting /mnt/cf/Temp/initrd.bin on /mnt/cf/Temp/test failed: Invalid argument
What am I doing wrong?
Everything I did wrong
With a little help from some users in another Z forum I found the following solution:
# NOTE: This was done on Knoppix - I don't know if it works direct on the Z!!
su -
mkdir /dev/mtdblock
cd /dev/mtdblock
mknod 0 b 31 0
modprobe mtdblock
# 32768 = 32 MB
modprobe mtdram total_size=32768
modprobe jffs2
dd if=./initrd.bin of=/dev/mtdblock/0 bs=16 skip=1
mount -t jffs2 /dev/mtdblock/0 /mnt/hda1/pdaxrom
Now the filesystem from the initrd.bin is mounted on /mnt/hda1/pdaxrom
I tared the files there and copied them to my Z. There I do a chroot to the "new" root system. Some apps from the Kathrin RC5 work and some don't..
regards
Bernd
-
Well at first sight it looks like it's not gonna work on the Z.
I don't have a Linux PC...
Do you think it would be possible for you to put the tared files somewhere for me to download, to enable me to skip the extracting step?
Thank you.
Best regards.
-
You can do it on the 760 (not sure if the 700/750 has enough memeory) you will need to for the mtd tools that someone posted here a while back.
Basically you need to create extra mtd_block devices as the ones already on the Z are being used by the existing filesystem.
Probably easier to download knoppix or another linux live CD and use that as AFAIK it's impossible to mount a rom in windoze
Otherwise, if you tell someone what apps you want and ask nicely they may do it for you
Stu
-
Well at first sight it looks like it's not gonna work on the Z.
I don't have a Linux PC...
Do you think it would be possible for you to put the tared files somewhere for me to download, to enable me to skip the extracting step?
Thank you.
Best regards.
>>I don't have a Linux PC...
I've you have a PC you might download Knoppix (http://www.knoppix.net/). Knoppix is a Linux Distribution that work's if booted from the CDROM (no changes to the harddisks necessary). After booting Knoppix from the CDROM there is normally enough room in the /tmp filesystem for mounting the initrd.bin.
>>Do you think it would be possible for you to put the tared files somewhere for me to >>download, to enable me to skip the extracting step?
If it's not possible for you to use knoppix let me know and I can sent you the tar file via email (I don't have a web site where I can put the tar file)
regards
Bernd
-
I think that you may be on a 'Wild Goose Chase' here, since the change to the Kathrin kernel in RC5 (Vector Floating Point) I think you will find that the libs etc. from RC5 are incompatible with a standard Z kernel.