Skip to content

Instantly share code, notes, and snippets.

@tokuhirom
Forked from hasegawayosuke/jslinux-disk.txt
Created May 18, 2011 08:33
Show Gist options
  • Save tokuhirom/978211 to your computer and use it in GitHub Desktop.
Save tokuhirom/978211 to your computer and use it in GitHub Desktop.
# wget --header='Accept-Encoding: gzip' -O root.bin.gz http://bellard.org/jslinux/root.bin
# gunzip root.bin.gz
# mkdir mnt
# mkdir files
# sudo mount -t ext2 -o loop root.bin mnt
# dd if=/dev/zero of=files/root.bin bs=1k count=4096
# sudo mke2fs -m 0 -i 2000 files/root.bin
# mkdir mnt2
# sudo mount -t ext2 -o loop files/root.bin mnt2
# sudo cp -dpR mnt/* mnt2/
# sudo umount mnt2/
and use CocProxy or Fiddler's AutoResponder for http://bellard.org/jslinux/root.bin
@tokuhirom
Copy link
Author

wget http://svn.coderepos.org/share/lang/ruby/cocproxy/proxy.rb
ruby proxy.rb -n -p 5462 --disable-double-screen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment