View Single Post
Posts: 255 | Thanked: 61 times | Joined on Feb 2010
#452
Originally Posted by wakkamis View Post
Yup.. pretty sure i got the idea that .ext2 was a disk image. Similar to an iso.
And that .bz2 are like a .zip or .rar file.

What I dont know how to do is extract files from the bz2 and create a ext2 image out of them. Only amount of linux i have used is the tiniest amount of ubuntu and the n900. heh.

did a quick search on how i might be able to do this and I was sent to this site: http://www.fs-driver.org/
That driver is so buggy, I would just use a live usb key or something and do it in linux.

theres a post in the forums explaining how, but its something along the lines of making a 2 gigabyte image

Code:
 dd if=/dev/zero of=/path/to/file/file2G.img bs=1M count=2048
then format.

Code:
mkfs.ext2 file2G.img
then mount somewhere and change to directory
Code:
mount /path/file2G.img /media/image
cd /media/image
nows the part youve had real trouble with
extract.
Code:
tar xjvf nameoffile.bz2
This all can be done on the n900 its self, But I warn you disk IO is slooowww, but possible. Personally i would do it all on a linux desktop.
__________________
Desktop: 2.8ghz Athlon x2 Kuma 4gb DDR2 OCZ Platinum XFX Geforce 260GTX BE
 

The Following User Says Thank You to ear0wax For This Useful Post: