View Single Post
  #1909 (permalink)  
Old 04-02-2010, 03:08 PM
rujelus22's Avatar
rujelus22
N00b
Offline
Location: Reno
 
Join Date: Jun 2008
Posts: 43
Reputation: 80
rujelus22 is becoming a great contributor
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Linux/Android on CDMA Touch Pro (RAPH800)

I am trying to mess with squashfs just to play with it. I have unsquash and try and resquash but every time I try and boot android it stops at

mount: mounting /dev/block/loop1 on /system failed: Invalid argument
Failed
Failed to mount /system
/bin/sh: can't access tty; job control turned off
/#

I know it has something to do with my system.sqsh file because it boot fine with the default one. I have not changed anything yet in there just trying to unsquash and re squash. I am using Ubuntu if it makes a difference.

These are the commands I've been using. Got them from another site.

sudo unsquashfs system.sqsh

#make your changes......then (I am not changing anything yet)

sudo mv squashfs-root system
sudo genext2fs -d system -b 180000 system.ext2
mkdir ext2mount
Sudo mount-o loop system.ext2 ext2mount
sudo mksquashfs ext2mount system.sqsh
Reply With Quote