How do mount or edit SYSTEM  and KERNEL file from a Linux Distribution?

Yves_
Yves_ used Ask the Experts™
on
Hello,

Since our freelancer which was working for this project mainly just does not answer any of my calls or emails I thought why not try it myself. We have linux distribution which is specially compilied for us with only following files in the usb stick:

KERNEL
KERNEL.md5
SYSTEM
SYSTEM.md5
Autorun.inf
CHANGELOG
INSTALL
RELEASE
syslinux.cfg

can I somehow edit something or not?

Thanks for your help
Yves
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Duncan RoeSoftware Developer

Commented:
This is a bootable image. Can not be edited. Not usefully anyhow (you didn't want edit CHANGELOG, INSTALL or RELEASE did you?)

Actually I did try to help someone do this sort of thing once, but it ended in tears. KERNEL and SYSTEM are probably compressed tar or cpio archives - if you really knew what you were doing then maybe you could unpack, amend and re-pack SYSTEM at least. You first need to unpack and re-pack without changing anything and see if you can create an identical file to what you had before. If not, cease and desist.
Duncan RoeSoftware Developer

Commented:
Don't forget to regenerate md5 sums when finished
Commented:
I actually managed to edit SYSTEM really good. What I did is following:

unsquashfs SYSTEM

which gives me a squashfs-root and then you have all files in it. Where I can edit and move and add stuff.

and with the

mksquashfs squashfs-root SYSTEM.NEW

I can get it again into one file. It worked.

Author

Commented:
found the solution on my own

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial