GRUB2 Setup

Booting Linux & XEN

set default=0
set timeout=5

menuentry "Linux" {
    insmod ext2
    #insmod xfs
    set root=(hd0,msdos1)
    #set root=(hd0,gpt1)
    linux /boot/vmlinuz root=/dev/sda1 ro ipv6.disable=1 vt.default_utf8=0 mitigations=off
}

menuentry "XEN" {
    insmod ext2
    #insmod xfs
    set root=(hd0,msdos1)
    #set root=(hd0,gpt1)
    multiboot /boot/xen.gz loglvl=info pv-linear-pt=true
    module /boot/vmlinuz root=/dev/sda1 ro ipv6.disable=1 vt.default_utf8=0 mitigations=off
    #console=tty0
    #noibrs noibpb nopti nospectre_v2 nospectre_v1 l1tf=off nospec_store_bypass_disable no_stf_barrier mds=off mitigations=off
}

Booting NetBSD

dos/ext2

menuentry "netbsd -v" {
        insmod ext2
        set root=(hd0,msdos1)
        knetbsd /netbsd -v --root=wd0e
}

gpt/ffs

menuentry "netbsd -v" {
        insmod ufs2
        set root=(hd0,gpt2)
        knetbsd /netbsd -v            
}

Nethence | Pub | Lab | Pbraun | SNE Russia | xhtml