Welcome to SparkyLinux forums
Zapraszamy również na polsko-języczne Forum https://forum.linuxiarze.pl

menuentry grub2 isoboot - sparkylinux-2020.12-i686-rescue.iso

Started by sparkyfan, December 27, 2020, 04:47:41 PM

Previous topic - Next topic

sparkyfan

Hello User,

where can i find / get a working Grub2 menuentry for isoboot?

/etc/grub.d/40_custom
#!/bin/sh
exec tail -n +3 $0
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
menuentry "clonezilla-live-2.6.5-21-amd64.iso" {
  loopback loop /boot/iso/clonezilla-live-2.6.5-21-amd64.iso
  linux (loop)/live/vmlinuz findiso=/boot/iso/clonezilla-live-2.6.5-21-amd64.iso toram=filesystem.squashfs boot=live union=overlay username=user config components noswap edd=on nomodeset noprompt nosplash ocs_live_run="ocs-live-general" ocs_live_extra_param="" ocs_live_batch=no gfxpayload=1024x768x16,1024x768 ip=frommedia i915.blacklist=yes radeonhd.blacklist=yes nouveau.blacklist=yes vmwgfx.blacklist=yes
  initrd (loop)/live/initrd.img
}
menuentry "sparkylinux-2020.12-i686-rescue.iso" {
    set isofile="/boot/iso/sparkylinux-2020.12-i686-rescue.iso"
    loopback loop $isofile
    linux (loop)/live/vmlinuz iso-scan/filename=$isofile inst.stage2=hd:LABEL=CorePlus quiet
    initrd (loop)/live/initrd.img
}


This menuentry works this clonezilla, the sparkylinux-2020.12-i686-rescue.iso doesn't boot.



The follow links doesn't help me:

https://forum.sparkylinux.org/index.php/topic,5143.msg13535.html#msg13535

Quotemenuentry "SparkyBonsai Porteus Boot" {
linux /live/vmlinuz1 from=/ changes=/live
initrd /live/initrd1.xz
}

https://forum.linuxconfig.org/t/how-to-create-multiboot-usb-with-linux-linuxconfig-org/2484/9

Quotemenuentry "Sparky Linux" {
    set isofile="/boot/iso/sparkylinux-4.9.2-x86_64-minimalgui.iso"
    loopback loop $isofile
    linux (loop)/live/vmlinuz iso-scan/filename=$isofile inst.stage2=hd:LABEL=CorePlus quiet
    initrd (loop)/live/initrd.img
}

Thank you

Can you help me to find a working menuentry?

sparkyfan





sparkyfan

sparkylinux-2020.12-i686-rescue.iso

template usb flash install


if loadfont /boot/grub/font.pf2 ; then
  set gfxmode=800x600
  terminal_output gfxterm
fi

if background_image /boot/grub/grub.png; then
  set color_normal=light-gray/black
  set color_highlight=white/black
else
  set menu_color_normal=cyan/blue
  set menu_color_highlight=white/blue
fi

menuentry "SparkyLinux US English" {
    set gfxpayload=keep
    linux   /live/vmlinuz boot=live live-config live-media-path=/live -- quiet splash
    initrd  /live/initrd.img
}

menuentry "SparkyLinux US English nosplash" {
    set gfxpayload=keep
    linux   /live/vmlinuz boot=live live-config live-media-path=/live -- quiet
    initrd  /live/initrd.img
}

menuentry "SparkyLinux (failsafe mode)" {
    linux   /live/vmlinuz boot=live live-config live-media-path=/live ramdisk_size=1048576 root=/dev/ram rw noapic noapm nodma nomce nolapic pci=nomsi nomodeset radeon.modeset=0 nouveau.modeset=0 nosmp vga=normal noapci noirqpoll --
    initrd  /live/initrd.img
}

menuentry "SparkyLinux (toram)" {
    set gfxpayload=keep
    linux   /live/vmlinuz boot=live live-config live-media-path=/live -- toram quiet splash
    initrd  /live/initrd.img
}

menuentry "SparkyLinux (text mode)" {
    set gfxpayload=keep
    linux   /live/vmlinuz boot=live live-config live-media-path=/live systemd.unit=multi-user.target
    initrd  /live/initrd.img
}

submenu --hotkey=m 'More Languages...' {
    set color_normal=light-gray/black
    set color_highlight=white/black

    menuentry 'SparkyLinux Arabic' {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=ar_AE.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry 'SparkyLinux Bengali' {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=bn_BD.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Bulgarian" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=bg_BG.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Chinese CN" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=zh_CN.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry 'SparkyLinux Croatian' {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=hr_HR.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Czech" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=cs_CZ.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Danish" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=da_DK.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Dutch" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=nl_NL.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Finnish" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=fi_FI.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux French" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=fr_FR.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux German" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=de_DE.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Greek" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=el_GR.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Hebrew" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=he_IL.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Hindi" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=hi_IN.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Hungarian" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=hu_HU.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Indonesian" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=id_ID.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Italian" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=it_IT.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Japanase" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=ja_JP.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Korean" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=ko_KR.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Norwegian" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=no_NO.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Polish" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=pl_PL.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Portuguese BR" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=pt_BR.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Portuguese PT" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=pt_PT.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Romanian" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=ro_RO.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Russian" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=ru_RU.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Slovak" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=sk_SK.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Slovenian" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=sl_SI.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Spanish" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=es_ES.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Swedish" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=sv_SE.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Thai" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=th_TH.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Turkish" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=tr_TR.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux UK English" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=en_GB.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Ukrainian" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=uk_UA.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }

    menuentry "SparkyLinux Urdu" {
        set gfxpayload=keep
        linux   /live/vmlinuz boot=live live-config live-media-path=/live locales=ur_PK.UTF-8 -- quiet splash
        initrd  /live/initrd.img
    }
}


View the most recent posts on the forum