1

Topic: Issue during building multiboot

Im currently building a Multi-Tool DVD and I want gparted to be a part of it.
I almost achieved that goal, but there one Problem.

I have to leave the "filesystem.squashfs" in /live/ folder. I'd like to change this.

I ungZipped the initrd1.img, then beeing able to watch into it in 7zip.

I found /scripts/live, which seems to mount the fs. but heres the point I stuck:

1st which Tool can I use to edit the ungezipped image?
2nd where is the {LIVE_MEDIA_PATH} variable set? To change this variable seems to be what I'm looking for?!

thank you

2

Re: Issue during building multiboot

Hi wkldlgdd,

wkldlgdd wrote:

Im currently building a Multi-Tool DVD and I want gparted to be a part of it.
I almost achieved that goal, but there one Problem.

Maybe there is more than one problem : what filesystem does your DVD use ? ISO 9660 or UDF? AFAIK, UDF is not supported by the way "GParted" looks for "filesystem.squashfs" within script "live".

I have to leave the "filesystem.squashfs" in /live/ folder. I'd like to change this.
I ungZipped the initrd1.img, then beeing able to watch into it in 7zip.
I found /scripts/live, which seems to mount the fs.

Correct, RAMDisk image "initrd1.img" is a gzipped cpio file.

but heres the point I stuck:
1st which Tool can I use to edit the ungezipped image?

You may even unpack ("gz" / "cpio") and edit it in commandline modus of a running "GParted Live CD" with the help of internal editor of "Midnight Commander" ( enable it with "Configuration - Use internal editor" ;F4 key ), pack image again with "cpio" (format newc) and zip it with "gz", finally rename it.

2nd where is the {LIVE_MEDIA_PATH} variable set? To change this variable seems to be what I'm looking for?!

Variable {LIVE_MEDIA_PATH} is settable by kernel "cheatcode" (argument) live-media-path=any/where within the menu scriptfile of your (Linux) bootmanager ( e.g. isolinux.cfg or menu.lst).

Regards
cmdr

3

Re: Issue during building multiboot

To extra the initrd1.img, you can:
mkdir /tmp/rd
cd /tmp/rd
zcat /live/initrd1.img | cpio -idmv

To compress it:
cd /tmp/rd
find . | cpio --quiet -o -H newc | gzip -9 > /tmp/new-initrd.img

Hope this helps.

Steven.

4

Re: Issue during building multiboot

I already found the point where the variable  is set - just a unfamiliar syntax issue - setting the Var without the "{}".....

the cd/dvd itself works fine, using a "live" folder containing only the fs works properly.

Ill try un/repacking later, but there one thing I'd like to chang: can I set another default keyboard layout?

regards

5

Re: Issue during building multiboot

Hi,

wkldlgdd wrote:

can I set another default keyboard layout?

Yes, look here :
http://gparted-forum.surf4.info/viewtop … 634#p12634
http://gparted-forum.surf4.info/viewtop … 639#p19639

Best Regards
cmdr