/* */

Chris  -  grub + live image aus iso

 
Riki und Rudi Chris Michi Doris 

doris-nb:/etc/grub.d # cat 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.
# [chris]

menuentry "tumbleweed live" –class suse –class os {  
insmod ext2  
#gfxpayload=$linux_gfx_mode  
set root=(hd0,msdos7)  
set isofile=/chris/openSUSE-Tumbleweed-KDE-Live-i686-Snapshot20220520-Media.iso
set rootdevice=/dev/sda7
set isolabel=openSUSE_Tumbleweed_KDE_Live
loopback loop $isofile
#linux (loop)/boot/ix86/loader/linux isofrom=$rootdevice:$isofile edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 vmalloc=256MiB keymap=de-l
atin1 de_DE
#linux (loop)/boot/ix86/loader/linux isofrom=$rootdevice:$isofile isofrom_device=$rootdevice isofrom_system=$isofile keymap=de-latin1 de_DE
linux (loop)/boot/ix86/loader/linux boot=isolinux iso-scan/filename=$isofile root=live:CDLABEL=$isolabel ro rd.live.image rhgb
#linux (loop)/boot/ix86/loader/linux boot=isolinux iso-scan/filename=$isofile root=$rootdevice ro rd.live.image rhgb
initrd (loop)/boot/ix86/loader/initrd