Know more about arch and nemesis: useful grub2 menu entries for manjaro

Arch based Porteus community project
Post Reply
User avatar
francois
Contributor
Contributor
Posts: 5078
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Know more about arch and nemesis: useful grub2 menu entries for manjaro

Post#1 by francois » 03 Nov 2017, 01:12

In this thread, I will put some useful information related to nemesis and arch linux derivatives grub2 entries. Nemesis is arch linux-artix derived, and some experimentation with arch linux derivatives is sometimes usefull to understand what is gong on. If you have some grub2 menu entries useful just paste them in. :)

This is a set isofile entry to be able to boot a manjaro.iso:

Code: Select all

    menuentry "manjaro-deepin-17.0.2-stable-x86_64" --class dvd {
    set isofile="/1_isos/manjaro-deepin-17.0.2-stable-x86_64.iso"
    set dri="free"
    search --no-floppy -f --set=root $isofile
    probe -u $root --set=abc
    set pqr="/dev/disk/by-uuid/$abc"
    loopback loop $isofile
    linux  (loop)/boot/vmlinuz-x86_64  img_dev=$pqr img_loop=$isofile driver=$dri
    initrd  (loop)/boot/intel_ucode.img (loop)/boot/initramfs-x86_64.img
}
Voltaire: Le mieux est l'ennemi du bien.

User avatar
Ed_P
Contributor
Contributor
Posts: 3320
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 3.2.2 64-bit ISO
Location: Western NY, USA

Know more about arch and nemesis: useful grub2 menu entries for manjaro

Post#2 by Ed_P » 03 Nov 2017, 06:41

It would be interesting to know what this shows when you boot.

Code: Select all

    menuentry "manjaro-deepin-17.0.2-stable-x86_64" --class dvd {
    set isofile="/1_isos/manjaro-deepin-17.0.2-stable-x86_64.iso"
    set dri="free"
    search --no-floppy -f --set=root $isofile
    probe -u $root --set=abc
    set pqr="/dev/disk/by-uuid/$abc"
    
    echo isofile: $isofile
    echo dri: $dri
    echo root: $root
    echo abc: $abc
    echo pqr: $pqr
    echo Press the ESC key to continue
    sleep -v -i 30 ; echo  
    
    loopback loop $isofile
    linux   (loop)/boot/vmlinuz-x86_64  img_dev=$pqr img_loop=$isofile driver=$dri
    initrd  (loop)/boot/intel_ucode.img (loop)/boot/initramfs-x86_64.img
}
Ed

Post Reply