Posts: 14
victorinux
Joined: 08 Jun 2015
#1
I know I should check grub versions first (# grub-install --version), before asking how would be AntiX 15 menu entry in burg installer (the one with a fancy graphical interface -look at
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://blog.desdelinux.net/wp-content/uploads/2010/08/128929-1.png"
linktext was:"http://blog.desdelinux.net/wp-content/u ... 8929-1.png"
====================================
).

I tried to put it similar to AntiX Mepis's menu entry:

Code: Select all

menuentry"[b]antiX mepis 14[/b]" --class mepis --class os --group group_/dev/sda11 {
    insmod ext2
    set root='(hd0,11)'
    search --no-floppy --fs-uuid --set 5d6d9c5a-af42-414a-ab36-2184438e5852
    linux /boot/vmlinuz-3.12-0.bpo.1-686-pae root=UUID=5d6d9c5a-af42-414a-ab36-2184438e5852 ro quiet
    initrd /boot/initrd.img-3.12-0.bpo.1-686-pae
}
Like this:

Code: Select all

menuentry 'antiX GNU/Linux' --class antix --class gnu-linux --class gnu --class os {
    insmod ext2
    set root='(hd0,12)'
    search --no-floppy --fs-uuid --set 5949696b-1554-41d1-8ae7-71b0385d9a70
    linux    /boot/vmlinuz-4.0.0-antix.1-486-smp
    initrd    /boot/initrd.img-4.0.0-antix.1-486-smp
}
But this didn't do the work the original grub menu entry does:

Code: Select all

menuentry 'antiX GNU/Linux' --class antix --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-5949696b-1554-41d1-8ae7-71b0385d9a70' {
    load_video
    insmod gzio
    if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
    insmod part_msdos
    insmod ext2
    set root='hd0,msdos12'
    if [ x$feature_platform_search_hint = xy ]; then
      search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos12' --hint-bios=hd0,msdos12 --hint-efi=hd0,msdos12 --hint-baremetal=ahci0,msdos12  5949696b-1554-41d1-8ae7-71b0385d9a70
    else
      search --no-floppy --fs-uuid --set=root 5949696b-1554-41d1-8ae7-71b0385d9a70
    fi
    echo    'Loading Linux 4.0.0-antix.1-486-smp ...'
    linux    /boot/vmlinuz-4.0.0-antix.1-486-smp root=UUID=5949696b-1554-41d1-8ae7-71b0385d9a70 ro  quiet
    echo    'Loading initial ramdisk ...'
    initrd    /boot/initrd.img-4.0.0-antix.1-486-smp
}
Any idea?
Posts: 325
male
Joined: 04 Nov 2011
#2
the entry"antiX 15" in the GRUB menu is not from the file

Code: Select all

/boot/grub/grub.cfg
reading.

look here: viewtopic.php?f=4&t=5520
Posts: 14
victorinux
Joined: 08 Jun 2015

30 Jul 2015, 11:42 #3

Oops! My solely fault!

You can see the error copying the menu entry of Mepis 14 to AntiX 15 in the original post.

So, the elaborated menu entry of grub.cfg in AntiX 15:

Code: Select all

menuentry 'antiX GNU/Linux' --class antix --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-5949696b-1554-41d1-8ae7-71b0385d9a70' {
load_video
insmod gzio
if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi
insmod part_msdos
insmod ext2
set root='hd0,msdos12'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-ieee1275='ieee1275//disk@0,msdos12' --hint-bios=hd0,msdos12 --hint-efi=hd0,msdos12 --hint-baremetal=ahci0,msdos12 [i]UUID[/i]
else
search --no-floppy --fs-uuid --set=root [i]UUID[/i]
echo 'Loading Linux 4.0.0-antix.1-486-smp ...'
linux /boot/vmlinuz-4.0.0-antix.1-486-smp root=UUID=[i]nº[/i] ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initrd.img-4.0.0-antix.1-486-smp
}
Can be"resumed" in burg.cfg like:

Code: Select all

menuentry 'antiX GNU/Linux' --class antix --class gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,12)'
search --no-floppy --fs-uuid --set  UUID 
linux /boot/vmlinuz-4.0.0-antix.1-486-smp root=UUID= [i]nº[/i]
initrd /boot/initrd.img-4.0.0-antix.1-486-smp
}