Creating a bootable DVD using grml and grml64

Hi, I'd like to create a bootable DVD from the ISOs of grml and grml64 so I can boot whichever of the two flavors or even aggregate the rest of the ISOs to the DVD (small and medium for i585 and amd64).
I tried to use grml2usb doing this:
1) dd if=/dev/zero of=dvd.iso bs=1M count=2000 2) losetup /dev/loop1 dvd.iso 3) echo -en "n\np\n1\n\n\nt\n6\na\n1\n w\n" | fdisk /dev/loop1 4) mkfs.vfat /dev/loop1 5) grml2usb grml_2009.05.iso grml64_2009.05.iso /dev/loop1
But it didn't work. There's seems to be some problem when installing the bootloader.
What did you think?, Is it possible to do what I want?, should I use grml-live to create custom ISOs?.
Greettings and excuse for my english but it's now my native language. Ernesto
PS: if it can be done, I'd like to make a CD with for example grml-medium and grml64-medium on it too

* Ernesto Domato edomat@gmail.com [20090606 21:51]:
Hi, I'd like to create a bootable DVD from the ISOs of grml and grml64 so I can boot whichever of the two flavors or even aggregate the rest of the ISOs to the DVD (small and medium for i585 and amd64).
What a lovely idea! :)
I tried to use grml2usb doing this:
- dd if=/dev/zero of=dvd.iso bs=1M count=2000
- losetup /dev/loop1 dvd.iso
- echo -en "n\np\n1\n\n\nt\n6\na\n1\n w\n" | fdisk /dev/loop1
- mkfs.vfat /dev/loop1
- grml2usb grml_2009.05.iso grml64_2009.05.iso /dev/loop1
But it didn't work. There's seems to be some problem when installing the bootloader.
What did you think?, Is it possible to do what I want?, should I use grml-live to create custom ISOs?.
Yes, it's possible to get what you want - without having to use grml-live. :)
I just implemented support for loopback devices in grml2usb. Please grab the current version of the script and give it a try:
http://git.grml.org/?p=grml2usb.git;a=blob_plain;f=grml2usb;hb=HEAD
Note: to build a bootable ISO you've to generate the according eltorito boot image. As grml2usb can generate the configuration files for syslinux/grub already I just wrote a script which generates the eltorito boot stuff. All the steps from 0 to a multiboot ISO are implemented in the following script:
http://grml.org/tmp/grml2usb-to-iso.sh
Just adjust it according to your needs. It's a bit hackish for now, though it should do what it's supposed to do. I'm thinking about providing an official grml2usb-to-iso script as part of the official grml2usb suite.
Please let me know if it works for you, then I'd upload a new grml2usb version and work on a final solution of grml2usb-to-iso.
Greettings and excuse for my english but it's now my native language.
No problem, it's just fine - I'm not a native english speaker as well. ;)
PS: if it can be done, I'd like to make a CD with for example grml-medium and grml64-medium on it too
Sure, no problem - just works with the steps mentioned above. :)
regards, -mika-

* Michael Prokop mika@grml.org [20090607 03:17]:
- Ernesto Domato edomat@gmail.com [20090606 21:51]:
Hi, I'd like to create a bootable DVD from the ISOs of grml and grml64 so I can boot whichever of the two flavors or even aggregate the rest of the ISOs to the DVD (small and medium for i585 and amd64).
[...]
I just implemented support for loopback devices in grml2usb. Please grab the current version of the script and give it a try:
http://git.grml.org/?p=grml2usb.git;a=blob_plain;f=grml2usb;hb=HEAD
Note: to build a bootable ISO you've to generate the according eltorito boot image. As grml2usb can generate the configuration files for syslinux/grub already I just wrote a script which generates the eltorito boot stuff. All the steps from 0 to a multiboot ISO are implemented in the following script:
[...]
Please let me know if it works for you, then I'd upload a new grml2usb version and work on a final solution of grml2usb-to-iso.
Thorsten Glaser and I already worked out a generic grml2iso script which doesn't even require a loopback device anymore (but please make sure to use the most current grml2usb version from git for now):
http://git.grml.org/?p=grml2usb.git;a=blob_plain;f=grml2iso;hb=HEAD
Please report feedback.
regards, -mika-

2009/6/7 Michael Prokop mika@grml.org:
- Michael Prokop mika@grml.org [20090607 03:17]:
Thorsten Glaser and I already worked out a generic grml2iso script which doesn't even require a loopback device anymore (but please make sure to use the most current grml2usb version from git for now):
http://git.grml.org/?p=grml2usb.git;a=blob_plain;f=grml2iso;hb=HEAD
Please report feedback.
Well, I tested the grml2iso script using the last grml2usb version from git and it worked flawlessly on the 32-bits version and 64-bits version of grml creating a DVD and CD from several grml flavors.
The only thing that I saw from the script grml2iso is that you should place "libc6-i386 [amd64]" on the depends part of the control file for the grml2usb packages because grml2iso use the grub-mkimage from the i386 binary package and it will not work on amd64 without the libc6-i386 package. The grml64 already has this packages but if you want to install grml2usb on a Debian AMD64 installation, the script will fail.
Now, I can start replacing my sysrescd (that is a nice bootable rescue CD but uses gentoo as it base and I'm working with Debian so it's easier for my to customize it and use it with the Debian servers that I administer).
Greettings. Ernesto

* Ernesto Domato edomat@gmail.com [20090608 23:56]:
2009/6/7 Michael Prokop mika@grml.org:
- Michael Prokop mika@grml.org [20090607 03:17]:
Thorsten Glaser and I already worked out a generic grml2iso script which doesn't even require a loopback device anymore (but please make sure to use the most current grml2usb version from git for now):
http://git.grml.org/?p=grml2usb.git;a=blob_plain;f=grml2iso;hb=HEAD
Please report feedback.
Well, I tested the grml2iso script using the last grml2usb version from git and it worked flawlessly on the 32-bits version and 64-bits version of grml creating a DVD and CD from several grml flavors.
Great, thanks for reporting. :)
The only thing that I saw from the script grml2iso is that you should place "libc6-i386 [amd64]" on the depends part of the control file for the grml2usb packages because grml2iso use the grub-mkimage from the i386 binary package and it will not work on amd64 without the libc6-i386 package. The grml64 already has this packages but if you want to install grml2usb on a Debian AMD64 installation, the script will fail.
Ah, good catch, thanks!
This should be fixed inside the script itself now:
http://git.grml.org/?p=grml2usb.git;a=blob_plain;f=grml2iso;hb=HEAD
Now, I can start replacing my sysrescd (that is a nice bootable rescue CD but uses gentoo as it base and I'm working with Debian so it's easier for my to customize it and use it with the Debian servers that I administer).
Ah. :) Please let us know if you're missing anything at grml. :)
regards, -mika-
Teilnehmer (2)
-
Ernesto Domato
-
Michael Prokop