Page 1 of 1

Mkdist

Posted: Sat 31 May 2014, 03:36
by shinobar
multifunction file converter useful in making/tuning puplets up.
mkdist-1.3.tar.gz
http://shino.pos.to/party/bridge.cgi?puppy/opt/

USAGE:
Open the archive in a working directory in a partition with Linux filesystem.
Drop the source file/directory on the script mkdist.

Image

Difference with the remastering tools:
Mkdist cannot handle additional packages, PET/SFS.
Add the packages, and use the remastering tools in such a case.

See RemasterX:
http://www.murga-linux.com/puppy/viewtopic.php?t=94033

Mkdist can be used small tuning of the remastered ones.
Mkdist can be done on any Puppy, whereas the remastering tool must be run on the Puppy which you are want to modify.

Adding a Graphical Boot Menu to the Puppy Live CD

Posted: Sat 31 May 2014, 03:49
by shinobar
HOW TO USE Mkdist (1):
Adding a Graphical Boot Menu to the Puppy Live CD

1. Drag and drop the source .iso file on mkdist.
The content files are expanded in the directory inside_iso.

2. Get the files for the graphical menu:
http://www.murga-linux.com/puppy/viewtopic.php?t=61132
You need not dir2iso because mkdist can do it.

3. Arrange (replace and edit) the files in inside_iso.

4. Drag and drop the directory inside_iso on mkdist.
Customized .iso file is created.

Replacing init script in initrd.gz

Posted: Sat 31 May 2014, 04:03
by shinobar
HOW TO USE Mkdist (2):
Replacing init script in initrd.gz

1. Drag and drop the source .iso file on mkdist.
The content files are expanded in the directory inside_iso.

2. Drag and drop inside_iso/initrd.gz on mkdist.
initrd.gz is expanded in a directory initrd-tree.

3. Replace the script initrd-tree/init.

4. Drag and drop initrd-tree on mkdist.
inside_iso/initrd.gz is updated.

5. Edit the files(menu.lst, README.HTM and etc.) in inside_iso, if needed.

6. Drag and drop inside_iso on mkdist.
Customized .iso is created.

See an example:
http://www.murga-linux.com/puppy/viewto ... 277#780277

Kernel panic - not syncing: No init found

Posted: Wed 11 Jun 2014, 18:27
by nassausky
Mkdist looks like a great utility. Having a problem though.

Steps I followed:

1) Dragged the ISO file into source component field and clicked OK
2) It created 2 folders from the ISO. 'inside_iso' & 'Puppy_Precise_5.7.1'.
3) I made changes to some files inside the new 'Puppy_Precise_5.7.1' folder it created and wanted to make the new ISO.
4) I dragged the now modified 'Puppy_Precise_5.7.1' into the source component field and clicked ok. (Maybe i'm doing it wrong)
5) New mkdist window opens up and it's pre-filled in. I just click OK and it made new ISO. (Was I supposed to make changes to the 'inside_iso' folder also?)

Then I try to boot this new version and I see the 'Kernel panic - not syncing: No init found' and it fails to boot up.

I thought it was simple but I think I'm missing a step. Any ideas?

Thanks

Posted: Wed 11 Jun 2014, 20:55
by nassausky
For anyone else who got the same problem, it was simple. It can't be a FAT partition you use for making the image. It even says it in the instructions but I made the partition a long time ago and assumed it was ext2.

Great application thanks!

Mosifying PuppySFS

Posted: Thu 26 Jun 2014, 19:11
by shinobar
HOW TO USE Mkdist (3):
Modifying PuppySFS

nassausky already showed the step:
1) Dragged the ISO file into source component field and clicked OK
2) It created 2 folders from the ISO. 'inside_iso' & 'Puppy_Precise_5.7.1'.
3) I made changes to some files inside the new 'Puppy_Precise_5.7.1' folder it created and wanted to make the new ISO.
4) I dragged the now modified 'Puppy_Precise_5.7.1' into the source component field and clicked ok. (Maybe i'm doing it wrong)
5) New mkdist window opens up and it's pre-filled in. I just click OK and it made new ISO.

You can add suffix to show the iso is modified. Anyway, new components are automatically add new ID string to identify distinct one with the original.

Test avec Pupjibaro (Puppy-es Precise 5.7.1)

Posted: Mon 30 Jun 2014, 07:28
by Pelo
Test avec Pupjibaro (Puppy-es Precise 5.7.1)
Si working fine, je traduirai en français et espagnol
IF OK, how-to translated UK US >>>> FR ES

Posted: Mon 30 Jun 2014, 20:53
by gcmartin
Hello @Shinobar, et all. Initial test worked

Wondering
  • Can this tool be useful in adding/changing a kernel to an existing ISO?
  • Will it generate an ISO with boot entries for the old and new kernels?
  • Is there any instructions to do so?
Thanks in advance for any answer

it's really not clear for me (cause of english)

Posted: Tue 29 Jul 2014, 07:05
by Pelo
it's really not clear for me (cause of english); the only way to modify the iso is to modify the Puppy.sfs (with edit sfs among others).
and then to close the iso again

mkdist-1.3

Posted: Sat 12 Nov 2016, 13:52
by shinobar
Updated: mkdist-1.3.tar.gz
http://shino.pos.to/party/bridge.cgi?puppy/opt/

#2016-11-11 v1.3: no '-b 1024k' compression, improbed GUI, read from live CD, NLS

Posted: Sat 17 Dec 2016, 07:33
by mavrothal
http://shinobar.server-on.net/puppy/opt/ indicates a 57KB download for mkdist-1.3.tar.gz, but the download is 975 KB.
It would appear that there are 3 xpm files in ./misc ~310KB each.
Is this how it should be?