I am trying to install EndeavourOS wiping my existing windows installation. My hard disk is an MBR partitioned drive and I want to install it in BIOS-GPT mode. Hope that makes sense.
So here is the issue:
firstly, my NVIDIA graphics card is not supported with the drivers packaged with the iso. Mine is NVIDIA GT 610 that would require 390xx series drivers as stated during boot. So I am booting with the first default option, from live Pend Drive.
So I continued with the installation, manually partitioned my drive. I had two drives in windows. C: and D:, And I didn’t want to loose the data on D: drive. so I chose this option. I partitioned the drives like so:
- 8 MB Unformatted partition with BIOS_GRUB flag
- 32 GB linuxswap partition with SWAP flag
- Rest around 268 GB ext4 partition with mount point / and ROOT flag
So after all is done, and I started the installation, the installation failed while trying to create the root partition. I tried this many times, by manually creating the partitions in gparted, before starting the installation. Choosing replace existing partition during installation, and anything else I could think of. But every time the installation fails at exactly the same point. I have tried the installation in both online and offline mode, both the time got the same result.
I am not sure about the mode. All I am trying to achieve is install endeavour on the partition where windows was previously. And keeping the second home partition safe, so as to not loose all my data. Is this possible?
You have got a disk with msdos partition table and have booted the live usb in bios mode.
Fine so far
I would launch Gparted in the live session and delete both the current swap and EXT4 partitions:
You don’t need that 8MB Bios_grub partition either. So delete that one too.
Next, I would create only one EXT4 partition on that chunk of unallocated space.
Now, launch the installer and and choose the option replace partition and point it to the EXT4 partition you just created.
If you are given the option to choose a swap, you could do this from a dropdown menu. If not a swap device can be created post-install if needed. Don’t worry about it at this stage.
At the bottom of the installer screen there is an option for the location of the bootloader. Choose the default: disk /dev/sda (not a partition /dev/sdax)
On the screen for bootloader options, choose Grub and proceed.
I think this should do it.
If the installation fails, before you shutdown or reboot, launch the log tool on the live usb and check as many boxes as possible and let it produce a URL (you need internet connection for this). Post the URL on the forum.
I just did a test install on vm. I created a GPT partition. Then i created an unformatted 8 mb partition and flagged it bios-grub. Then i created the root partition and a home partition and swap with proper flags.
Installed Xfce and this is what you get.
I’m sure you can install it the way you have described also in the case where the OP is using his existing GPT partition already. They would just use manual partitioning and not touch the /home. I’m just not sure whether Calamares touches the /home on the install but i don’t think so?
Edit: But I’m not sure!
Not sure what the difference in doing this 8 M partition unformatted does? It seems to install grub to it.
I guess the answer is this.
The BIOS boot partition is only needed by GRUB on a BIOS/GPT setup. On a BIOS/MBR setup, GRUB uses the post-MBR gap for the embedding the `core.img`. On GPT, however, there is no guaranteed unused space before the first partition.
Edit2: I would suggest the OP backup his data just to be sure.
This is exactly the case description of when you have a disk with Guid Partition Table and want to install in Legacy/Bios mode. In this case you would need that 8MB unformatted bios_grub partition for grub to write its core.img into as can bee seen from your picture.
Also, one should keep in mind that not all the Bios’ firmware support this setup.
In the case at hand, OP doesn’t have a disk with GPT.
The disk has a msdos partition table. Therefore no need for bios_grub partition. Grub will write its image to the MBR of the /dev/sda:
Perhaps that is what happens. If it works that way then fine.
But the “recommended” way of installing in Bios mode with GPT disk is to have that bios_grub partition:
Some newer systems use the GUID Partition Table (GPT) format. This was specified as part of the Extensible Firmware Interface (EFI), but it can also be used on BIOS platforms if system software supports it; for example, GRUB and GNU/Linux can be used in this configuration. With this format, it is possible to reserve a whole partition for GRUB, called the BIOS Boot Partition. GRUB can then be embedded into that partition without the risk of being overwritten by other software and without being contained in a filesystem which might move its blocks around.
When creating a BIOS Boot Partition on a GPT system, you should make sure that it is at least 31 KiB in size. (GPT-formatted disks are not usually particularly small, so we recommend that you make it larger than the bare minimum, such as 1 MiB, to allow plenty of room for growth.) You must also make sure that it has the proper partition type. Using GNU Parted, you can set this using a command such as the following:
parted /dev/disk set partition-number bios_grub on