I have only been modifying existing sqx files. If you create new ones, do they get mounted automatically, or do you have to tell the system about them somewhere? Thx.
Announcement
Collapse
No announcement yet.
Hacking Express gate (Asus Splashtop)
Collapse
X
-
They are automatically used. It is much more easy that way. Basically you only need to add the dirs and a vactl file that mounts em. I extracted debian packages and used those. Also I use now xterm because rxvt did not display mc correctly. Funnyly xterm started from rxvt showed mc in color, now only blackwhite directly. With the symlink to gnome-terminal you can really easy start a terminal with ALT-F1. You don't have to modify any of the existing sqx files. Also you can use a vactl file to insmod the modules you like to use, maybe 8139cp.ko or e1000.ko.
Comment
-
Originally posted by Kano View Postfile will tell you what it is. They did not invent something new, just gzip -9 compressed IMG with DFI instead of IMG.gz ending.
Comment
-
-
The header is really trivial:
get header (consists of 48 bytes, 16 bytes are md5sum)
Code:mv FILE.DFI FILE.IMG.gz gunzip FILE.IMG.gz dd if=FILE.IMG of=header bs=1 count=32
Code:openssl dgst -md5 -binary MODIFIED_FILE.IMG >new-md5sum cat header new-md5sum MODIFIED_FILE.IMG > NEW_FILE.IMG gzip -9 NEW_FILE.IMG mv NEW_FILE.IMG.gz NEW_FILE.DFI
Comment
-
Originally posted by Kano View PostThe header is really trivial:
get header (consists of 48 bytes, 16 bytes are md5sum)
Code:mv FILE.DFI FILE.IMG.gz gunzip FILE.IMG.gz dd if=FILE.IMG of=header bs=1 count=32
Code:openssl dgst -md5 -binary MODIFIED_FILE.IMG >new-md5sum cat header new-md5sum MODIFIED_FILE.IMG > NEW_FILE.IMG gzip -9 NEW_FILE.IMG mv NEW_FILE.IMG.gz NEW_FILE.DFI
Comment
Comment