OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: Grimmy on June 04, 2005, 12:14:28 pm

Title: Root On Sd
Post by: Grimmy on June 04, 2005, 12:14:28 pm
I've been messing around with the various different ROM images and decided I liked OZ the best, so I'm now running OZ3.5.3 and Opie on my Zaurus SL-5500.

I want to move the root to the SD card, so I tried to make an image file as described here: http://openzaurus.org/wordpress/howto/root-on-sd/ (http://openzaurus.org/wordpress/howto/root-on-sd/)

I can successfully create the image, however when I try to mount it with

Code: [Select]
losetup /dev/loop0 /media/card/opie.img
mount -t ext2 /dev/loop0 /media/image

I get the following error:

Code: [Select]
mount: Mounting /dev/loop0 on /media/image failed: No such file or directory
Anyone have any idea what could be going wrong?
Title: Root On Sd
Post by: Grimmy on June 05, 2005, 02:09:57 pm
Ok.. After reading the man pages for mount, I created a directory called /media/image and was able to mount the image:

Code: [Select]
mkdir /media/image
I had to edit the modify_base.sh script to remove the mkdir command so it would run.

It all seems to work ok now, but i'm not sure if this was the correct way to do it.