[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



In the end I found the solution. I've added these lines on top of the file : /home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/grub/grub.cfg,with this content :

menuentry "Debian GNU/Linux Custom (kernel 5.10.0-18-amd64)" {
  linux /d-i/gtk/vmlinuz APPEND file=/cdrom/preseed/preseed.cfg auto=true initrd=/live/initrd.gz boot=live components locales=en_US.UTF-8 quiet splash "${loopback}"
  initrd /d-i/gtk/initrd.gz
}

and the preseed.cfg file has been taken into consideration. Imagination is more powerful than knowledge.

Il giorno mer 12 ott 2022 alle ore 00:26 Mario Marietto <marietto2008@gmail.com> ha scritto:
It is on the file /home/ziomario/Scrivania/PassT-Cubic/Debian-new/custom-disk/boot/grub/grub.cfg,with this content :

https://pastebin.ubuntu.com/p/gHwWXPvXB2/

The preseed file is still ignored.

Il giorno mer 12 ott 2022 alle ore 00:06 Greg Wooledge <greg@wooledge.org> ha scritto:
On Tue, Oct 11, 2022 at 11:55:56PM +0200, Mario Marietto wrote:
> What is "${loopback}" in the context below ?
  [...]
> insmod play
> play 960 440 1 0 4 440 1
> if [ ${iso_path} ] ; then
> set loopback="findiso=${iso_path}"
> export loopback
> fi

If this is supposed to be a shell script, that "set" is wrong.  Remove it.
(There are also issues with missing quotes, if this is shell.)

If this is supposed to be internal GRUB language... then carry on.



--
Mario.


--
Mario.

Reply to: