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

Arch based Porteus community project

Moderator: M. Eerie

User avatar
francois
Contributor
Contributor
Posts: 6434
Joined: 28 Dec 2010, 14:25
Distribution: xfce plank porteus nemesis
Location: Le printemps, le printemps, le printemps... ... l'hiver s'essoufle.

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
}
Prendre son temps, profiter de celui qui passe.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 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