[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some of the parameters used in my genisoimage command don't produce a bootable ISO image



Hi,

Mario Marietto wrote:
> In the end I found the solution.

Congrats.

-------------------------------------------------------------------------
Some remarks on the way to success:

> isolinux/menu.cfg
> LABEL English (en)
>   SAY "Booting English (en)..."
>   linux /live/vmlinuz boot=casper APPEND file=/cdrom/preseed/preseed.cfg

I think "APPEND" should be in an extra line. At least it is so in the
examples which i saw up to now.


> boot/grub/grub.cfg
> menuentry "English (en)" {
>   linux /live/vmlinuz boot=casper APPEND file=/cdrom/preseed/preseed.cfg

"APPEND" is SYSLINUX/ISOLINUX speech, not GRUB.
I assume that this "APPEND" is handed over to the Linux kernel as
argument, like the others.


> the grub.cfg file
> uses two command lines. The second one is "initrd /live/initrd.gz".

  https://www.gnu.org/software/grub/manual/grub/grub.html#initrd
  https://www.gnu.org/software/grub/manual/grub/grub.html#linux


> What is "${loopback}" in the context below ?
> set loopback="findiso=${iso_path}"
> export loopback
> ...
>   linux /live/vmlinuz ... "${loopback}"

Interesting question, again.


> In the end I found the solution.
> menuentry "Debian GNU/Linux Custom (kernel 5.10.0-18-amd64)" {
>  linux /d-i/gtk/vmlinuz APPEND file=/cdrom/preseed/preseed.cfg

I really wonder what the kernel thinks when seeing this "APPEND", of which
i still think is not appropriate.
I'd try in any case whether it can be omitted. If this remains as
successful end of this thread, then i fear that future readers might get
confused by it.


Have a nice day :)

Thomas


Reply to: