[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



You are right. It works without using the APPEND option,like this : (inside the file grub.cfg)

menuentry "Custom Graphical Debian Installer" {
  linux  /d-i/gtk/vmlinuz file=/cdrom/preseed/preseed.cfg auto=true video=vesa:ywrap,mtrr vga=788 "${loopback}"
  initrd /d-i/gtk/initrd.gz
}

anyway,I don't know if it's correct to use something like this in the ISOLINUX/menu.cfg file :

LABEL Custom Graphical Debian Installer
  SAY "Booting Custom Graphical Debian Installer..."
  linux /d-i/gtk/vmlinuz
  APPEND boot=casper file=/cdrom/preseed/preseed.cfg auto=true initrd=/d-i/gtk/initrd.gz append video=vesa:ywrap,mtrr vga=788

the APPEND parameter that you see was there by default. Is that correct ? Otherwise,is something like this ok ?

linux /d-i/gtk/vmlinuz boot=casper file=/cdrom/preseed/preseed.cfg auto=true initrd=/d-i/gtk/initrd.gz append video=vesa:ywrap,mtrr vga=788


Il giorno gio 13 ott 2022 alle ore 18:00 Thomas Schmitt <scdbackup@gmx.net> ha scritto:
Hi,

Mario Marietto wrote:
> ... > menuentry "Debian Custom Graphical Debian Installer" {
> ... >   linux  /d-i/gtk/vmlinuz APPEND file=/cdrom/preseed/preseed.cfg
auto=true video=vesa:ywrap,mtrr vga=788 "${loopback}"
> ... >  initrd /d-i/gtk/initrd.gz

> If I remove the argument APPEND,the only other chance that I have to pass
> the preseed file is to add it inside the initrd file.

To my understanding this passing is achieved by argument
   file=/cdrom/preseed/preseed.cfg
with no need for a preceeding argument "APPEND".


> If you will read on the preseed tab on cubic

For that i'd need to know where this tab is.


> they suggest to prefix the preseed
> file with the word "cdrom" in the boot configuration.

If it works for you then it's a good hint for others.


> And I don't understand why you are talking about ISOLINUX,

Because "APPEND" in a separate line is a SYSLINUX/ISOLINUX configuration
directive and because you wrote on Tue, 11 Oct 2022 23:17:39 +0200:

> ... > I'm trying to modify them as follows :
> ... > isolinux/menu.cfg
> ... > LABEL English (en)
> ... >   SAY "Booting English (en)..."
> ... >   linux /live/vmlinuz boot=casper APPEND file=/cdrom/preseed/preseed.cfg

This is the configuration file for ISOLINUX which boots on legacy BIOS.

(I think it is wrong by not giving APPEND an own line, so that ISOLINUX
 would recognize it as configuration directive. See
   https://wiki.syslinux.org/wiki/index.php?title=Config
)


On Tue, 11 Oct 2022 12:02:47 +0200 you wrote:
> ... > I would like to be helped by Thomas,because I trust
> ... > in his high level of skills.

Now i want to improve my skills by learning what exactly did the
trick for you. So i ask for the favor that you test whether "APPEND" is
needed for success.
(And further i ask for the favor to give me a link to that Cubic preseed
 documentation.)


Have a nice day :)

Thomas



--
Mario.

Reply to: