void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Having trouble installing Void? Not sure how to partition your drive or which filesystem to use? Here's the place to come for help.
Post Reply
sucahyo
Posts: 15
https://dekodeco.com.pl/producent-mebli-na-wymiar-w-warszawie-nowoczesne-kuchnie/
Joined: Thu May 09, 2024 10:11 pm

void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by sucahyo »

Installing void have become stressfull work. the story is I have this partition:
Image

after 1,5 hour waiting. it failed:
Image

Then I try dos type. but somehow ot give an error, need edi partitiion:
Image

to be continued...
Attachments
voidfail 3.jpg
voidfail 2.jpg
voidfail 1.jpg
Last edited by sucahyo on Fri May 10, 2024 4:19 am, edited 1 time in total.
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation nightmare, nothing worked [solved]

Post by sucahyo »

So I choose this kinf of partition:
Image

after another 1,5 hours, it failed again:
Image

One thing that puzzle me, why all of them said efi? and furthermore x86_64?

I use 32 bit live:
Image

to be continued
Attachments
voidfail 6.jpg
voidfail 5.jpg
voidfail 4.jpg
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation nightmare, nothing worked [solved]

Post by sucahyo »

After a couple of 1,5 hour trying various combination, i began to try something, I mods the void-installation script, void-installer. I copy from /usr/bin to home directory.

The original:

Code: Select all

# Detect if this is an EFI system.
if [ -e /sys/firmware/efi/systab ]; then
    EFI_SYSTEM=1
    EFI_FW_BITS=$(cat /sys/firmware/efi/fw_platform_size)
    if [ $EFI_FW_BITS -eq 32 ]; then
        EFI_TARGET=i386-efi
    else
        EFI_TARGET=x86_64-efi
    fi
fi
I modifiy it to become:

Code: Select all

# Detect if this is an EFI system.
if [ -e /sys/firmware/efi/systab ]; then
    EFI_SYSTEM=1
    EFI_FW_BITS=$(cat /sys/firmware/efi/fw_platform_size)
    if [ $EFI_FW_BITS -eq 32 ]; then
        EFI_TARGET=i386-pc
    else
        EFI_TARGET=i386-pc
    fi
fi
yes, I change all efi target to become i386-pc. then I run the modified version. I change some text to make sure I really run the modified version.
sudo ./void-installer

then I use this kind of partition:
Image

success:
Image

Finally run void i386. no EFI, but it work.
Image

yes, this is another computer. faster.

I hope this can help other people stuck at partitioning step.
Attachments
voidfail 10.jpg
voidfail 9.jpg
voidfail 8.jpg
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by sucahyo »

In case you are using 64 bit version. do something to this part. or delete all together (assuming you already do partition / mounting correctly)

Code: Select all

    if [ -z "$rootfound" ]; then
        DIALOG --msgbox "${BOLD}${RED}ERROR:${RESET} \
the mount point for the root filesystem (/) has not yet been configured." ${MSGBOXSIZE}
        return 1
    elif [ -n "$usrfound" ]; then
        DIALOG --msgbox "${BOLD}${RED}ERROR:${RESET} \
/usr mount point has been configured but is not supported, please remove it to continue." ${MSGBOXSIZE}
        return 1
    elif [ -n "$EFI_SYSTEM" -a "$bootdev" != "none" -a -z "$efi_system_partition" ]; then
        DIALOG --msgbox "${BOLD}${RED}ERROR:${RESET} \
The EFI System Partition has not yet been configured, please create it\n
as FAT32, mountpoint /boot/efi and at least with 100MB of size." ${MSGBOXSIZE}
        return 1
    fi
pid1
Site Admin
Posts: 98
Joined: Sun Nov 21, 2021 2:50 am
Location: USA

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by pid1 »

EFI vs BIOS is a confusing issue sometimes. If you use EFI, you must use a GPT partition format and FAT32 partition for the EFI files.

In your case, it looked like the system was not booted up using EFI, but with Compatibility mode (mimics classic BIOS). If the system was booted with EFI, you would not get the errors from efibootmanager that you were seeing.

This has burned me more than a few times on multiple systems and multiple distros. Void is a little less friendly in ths regard, true, but it is a learning experience no less.
Linux/BSD since 2001. Void Linux+KDE/Plasma since 2015. Windows? Not even in a virtual machine :D
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by sucahyo »

pid1 wrote: Sat May 11, 2024 2:38 pm EFI vs BIOS is a confusing issue sometimes. If you use EFI, you must use a GPT partition format and FAT32 partition for the EFI files.

In your case, it looked like the system was not booted up using EFI, but with Compatibility mode (mimics classic BIOS). If the system was booted with EFI, you would not get the errors from efibootmanager that you were seeing.

This has burned me more than a few times on multiple systems and multiple distros. Void is a little less friendly in ths regard, true, but it is a learning experience no less.
ok. I will try again to make sure.

yes, it is very stressfull when you already follow the instruction but still fail you.
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by sucahyo »

pid1 wrote: Sat May 11, 2024 2:38 pmIn your case, it looked like the system was not booted up using EFI, but with Compatibility mode (mimics classic BIOS). If the system was booted with EFI, you would not get the errors from efibootmanager that you were seeing.
update:
I still fail to install void-live-i686-20240314-xfce with EFI. I tried just now. boot using EFI:
Image

Image

Here is the report of efi size:
Image


...
Attachments
use efi3.jpg
use efi1.jpg
use efi2.jpg
Last edited by sucahyo on Tue May 14, 2024 2:16 am, edited 1 time in total.
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by sucahyo »

Partition with EFI system:
Image

Image

Still produce this error:
Image
Attachments
use efi4.jpg
use efi5.jpg
use efi6.jpg
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by sucahyo »

the detail of the error:
Image

I see this during boot:
Image
Attachments
use efix.jpg
use efi7.jpg
pid1
Site Admin
Posts: 98
Joined: Sun Nov 21, 2021 2:50 am
Location: USA

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by pid1 »

Try a third partition. I think it's an issue of not liking to install Grub on Btrfs for some reason.

/boot - ext4 - 500M
/boot/efi - fat32 - 100M
/ - btrfs - remaining
Linux/BSD since 2001. Void Linux+KDE/Plasma since 2015. Windows? Not even in a virtual machine :D
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by sucahyo »

pid1 wrote: Tue May 14, 2024 1:13 pm Try a third partition. I think it's an issue of not liking to install Grub on Btrfs for some reason.

/boot - ext4 - 500M
/boot/efi - fat32 - 100M
/ - btrfs - remaining
Still fail. I think the problem is no efi runtime.
Attachments
nobrt1.jpg
nobrt2.jpg
nobrt3.jpg
pid1
Site Admin
Posts: 98
Joined: Sun Nov 21, 2021 2:50 am
Location: USA

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by pid1 »

Yes it is definitely EFI not being supported or atleast enabled on this system. Does this system infact support EFI? Is EFI enabled in the BIOS/UEFI screen? Disable any compatibility modes if offered the option in the BIOS/UEFI options. The LiveUSB needs to boot under UEFI to be able to install the system as UEFI.
Linux/BSD since 2001. Void Linux+KDE/Plasma since 2015. Windows? Not even in a virtual machine :D
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by sucahyo »

pid1 wrote: Wed May 15, 2024 11:59 am Yes it is definitely EFI not being supported or atleast enabled on this system. Does this system infact support EFI? Is EFI enabled in the BIOS/UEFI screen? Disable any compatibility modes if offered the option in the BIOS/UEFI options. The LiveUSB needs to boot under UEFI to be able to install the system as UEFI.
UEFI will work in 64 bit ISO.
pid1
Site Admin
Posts: 98
Joined: Sun Nov 21, 2021 2:50 am
Location: USA

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by pid1 »

Okay. Why are you trying to use the 32-bit image on a 64-bit capable, UEFI machine? Perhaps in this case you need to disable UEFI boot in your UEFI settings to force Grub to use the MBR installation method?
Linux/BSD since 2001. Void Linux+KDE/Plasma since 2015. Windows? Not even in a virtual machine :D
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by sucahyo »

pid1 wrote: Sat May 18, 2024 1:31 pm Okay. Why are you trying to use the 32-bit image on a 64-bit capable, UEFI machine? Perhaps in this case you need to disable UEFI boot in your UEFI settings to force Grub to use the MBR installation method?
the memory is only 2 Gb. I try to be as small as possible. I can make it work as long as I hack void-installer file.
pid1
Site Admin
Posts: 98
Joined: Sun Nov 21, 2021 2:50 am
Location: USA

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by pid1 »

32-bit vs 64-bit size is rather negligible. You're going to find significantly better support for 64-bit programs these days over 32-bit. There's a reason other distros are abandoning 32-bit support. It should really only be used if the CPU does not support it regardless of if your memory is under the 32-bit limit (4GB).
Linux/BSD since 2001. Void Linux+KDE/Plasma since 2015. Windows? Not even in a virtual machine :D
sucahyo
Posts: 15
Joined: Thu May 09, 2024 10:11 pm

Re: void-live-i686-20240314-xfce installation partition nightmare, nothing worked [solved]

Post by sucahyo »

pid1 wrote: Tue May 21, 2024 12:35 pm 32-bit vs 64-bit size is rather negligible. You're going to find significantly better support for 64-bit programs these days over 32-bit. There's a reason other distros are abandoning 32-bit support. It should really only be used if the CPU does not support it regardless of if your memory is under the 32-bit limit (4GB).
Yes, I fail to install flatpak app with 32 bit. so I try to use 64 bit now.

But somehow my laptop fail to boot with Void EFI. So I still use legacy boot with 64 bit.
Post Reply