Well heading of this post is my question.
Any answers ?
can I look inside image.gz and usr_c ram.fs
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Yep!
image.gz
copy it to where you want it
extract it
mount it
(you can use any directory, not just /mnt/linux2)
Go to the directory where it is mounted
usr_cram.fs
(you can use any directory, not just /mnt/linux3)
Go to the directory where it is mounted
Hope that helps! Keep in mind that you cannot edit usr_cram.fs in this way, you would have to re-compress it. You can edit image.gz, but you can't increase it's size.
image.gz
copy it to where you want it
extract it
Code: Select all
gunzip image.gz
Code: Select all
mount image.gz /mnt/linux2 -o loop
Go to the directory where it is mounted
usr_cram.fs
Code: Select all
mount usr_cram.fs /mnt/linux3 -t squashfs -o loop
Go to the directory where it is mounted
Hope that helps! Keep in mind that you cannot edit usr_cram.fs in this way, you would have to re-compress it. You can edit image.gz, but you can't increase it's size.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
Other tools I use
to view an ISO.
single click an ISO copy this into the set run action besure to include open and closing `
also here is a cut in to a shell: taken from a remaster script but mine only uses ramdrive.
single click an ISO copy this into the set run action besure to include open and closing `
Code: Select all
`rox -D /mnt/cdrom ;umount /mnt/cdrom ; mount -o loop -t iso9660 -r "$1" /mnt/cdrom ; rox /mnt/cdrom`
#!/bin/bash
rm -f /tmp/image
gunzip -c /mnt/home/image.gz | dd of=/tmp/image
rm -rf /mnt/image
mkdir /mnt/image
losetup-FULL /dev/loop2 /tmp/image
mount -t ext2 /dev/loop2 /mnt/image
sync
rox "/mnt/image"
echo -n -e "Press Enter to reconstruct image.gz"
read nn4
rox -D "/mnt/image"
sync
dd if=/tmp/image | gzip -9 > /tmp/image.gz
umount /mnt/image
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Try searching for a free windows program that can read and edit ext2 filesystem images. There should be one out there somewhere.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
- Pizzasgood
- Posts: 6183
- Joined: Wed 04 May 2005, 20:28
- Location: Knoxville, TN, USA
Try searching for a free windows program that can read and edit ext2 filesystem images. There should be one out there somewhere.
[size=75]Between depriving a man of one hour from his life and depriving him of his life there exists only a difference of degree. --Muad'Dib[/size]
[img]http://www.browserloadofcoolness.com/sig.png[/img]
[img]http://www.browserloadofcoolness.com/sig.png[/img]