grub boot issue

Post here if you are a new Porteus member and you're looking for some help.
stuff79
White ninja
White ninja
Posts: 7
Joined: 18 May 2023, 08:59
Distribution: 5.0

grub boot issue

Post#1 by stuff79 » 07 Jun 2023, 06:45

I re-partitioned my Win 11 laptop, and put the Porteus 5.0 stuff in a newly created partition. Then, install grub bootloader to my harddisk using a another Porteus running using a USB thumb.

When booting, I got these:
error: no suitable video mode found
boot in blind mode


Nevertheless, booting goes on ( in blind) and I got the Xfce came up properly.

My question is what modification to my grub.cfg is needed to fix the above error.
Here is my grub.cfg looks like.

set timeout=5
insmod part_gpt

menuentry "Porteus-Xfcecv5.0" {
insmod ext2
search --no-floppy --fs-uuid --set=root a4454f81-2083-4959-b428-48f06d79bc1f

linux /porteus-5.0_xfce/porteus/vmlinuz from=UUID:a4454f81-2083-4959-b428-48f06d79bc1f/porteus-5.0_xfce changes=EXIT:/porteus-5.0_xfce/porteus/porteus5b_save1_ext3.dat nomagic norootcopy
initrd /porteus-5.0_xfce/porteus/initrd.xz
}


Help appreciated.

By the way, when I ran "grub-mkconfig -o /tmp/grub.cfg" in my porteus5.0 , I got error:
/usr/sbin/grub-probe: error: failed to get canonical path of `aufs'.

User avatar
Ed_P
Contributor
Contributor
Posts: 8341
Joined: 06 Feb 2013, 22:12
Distribution: Cinnamon 5.01 ISO
Location: Western NY, USA

grub boot issue

Post#2 by Ed_P » 07 Jun 2023, 08:00

Based on my Grub2Win system's grub.cfg file I think you should add: insmod all_video to your grub2 parms.

Your folder layout doesn't match what I normally use, I just copy all the ISO files directly to the drive. This is my grub2 menu for booting Porteus installed to a FAT32 USB drive.

Code: Select all

menuentry " Porteus 5.0 USB '" --class slackware   --class icon-porteus  {

     set porteus_parms="volume=33 reboot=cold extramod=/porteus/modules changes=EXIT:/porteus/changes/porteussave.dat"

     set bootdrv=$root
     search -f /boot/syslinux/vmlinuz --set=root
     if [ $root != $bootdrv ]; then
        linux  /boot/syslinux/vmlinuz $porteus_parms
        initrd /boot/syslinux/initrd.xz
     else
        echo "----------------------------------------"
        echo USB drive NOT found.
        echo
        sleep -v -i 10
     fi
     set root=$bootdrv
     }
Ed

stuff79
White ninja
White ninja
Posts: 7
Joined: 18 May 2023, 08:59
Distribution: 5.0

grub boot issue

Post#3 by stuff79 » 07 Jun 2023, 08:42

Ed_P wrote:
07 Jun 2023, 08:00
Based on my Grub2Win system's grub.cfg file I think you should add: insmod all_video to your grub2 parms.
It works. :happy62:
Thanks a lot.

Post Reply