Artix Linux => Installation / Migration / Configuration => Topic started by: Durhammer on 03 August 2025, 17:31:12
Title: Install in existing partition on legacy MBR disk with other distros [SOLVED]
Post by: Durhammer on 03 August 2025, 17:31:12
Hi all, I'm new to Artix. So far, only have been able to install in VirtualBox so I can learn the system.
Meanwhile, I burned the install ISO to a USB stick and TRIED to go ahead and install it to replace an existing partition. That failed, seemingly because my BIOS has UEFI *enabled* but the SSD has no UEFI/EFI partition (old Samsung laptop that came with Windows 7 -- Windows is no more on this box, however), so the squidly installer refused.
I went back into BIOS and disabled UEFI, and the installer said okay when I pointed it to an existing partition (which HAD Bodhi Linux installed on it), and promptly DELETED the partition, but then threw an error that it could NOT create a new partition. So now, there is just unallocated space, no sda2 partition.
How to proceed?
(I uploaded an image file of my SSD's partitions but not sure yet how to insert it inline.) (EDIT -- DUH! there it is!)
Title: Re: Install in existing partition on legacy MBR disk with other distros
Post by: mrbrklyn on 03 August 2025, 21:14:24
these end up as very hard to understand questions.
First, the SSD - you are talking about a thumb drive? Those have had UEFI for a decade or longer. They can boot with or without UEFI, FWIW.
Not sure what you are trying to do with the partitioning but boot into a live CD and run cfdisk. It should allow you to make the alterations you want.
FWIW - older Hardware can have hardware issues, especially drives which depend on magnetic ink and moving parts. I've seen the firmware on drives get hopelessly confused.
Title: Re: Install in existing partition on legacy MBR disk with other distros
Post by: mrbrklyn on 03 August 2025, 21:21:19
That failed, seemingly because my BIOS has UEFI *enabled* but the SSD has no UEFI/EFI partition
that is likely a misunderstanding. The install image that you burned is an DISK IMAGE and without looking at it, it almost certainly has a UEFI partition and there are separate rules and leanencies for compatibilities for thumb drives within the uefi specification.
Regardless, I doubt putting the system into legacy mode negatively affects your install. If you are going to try to put all of artix into a single partition without a boot partition, you might need to be in legacy mode unless you have an existing boot loader that will boot artix.
Your current boot partition is. FWIW, ext4 and not UEFI compilent. I fail to see how it booted in UEFI mode to start with.
Title: Re: Install in existing partition on legacy MBR disk with other distros
Post by: Durhammer on 03 August 2025, 21:31:41
I'm referring to the SSD inside the laptop. It was (cloned?) from the original HDD that came with the laptop, circa 2011 (at least the BIOS). See below.
As I said, it's a legacy MBR partitioned drive, which can only have up to 4 primary partitions. This one has (or had) two primary and four inside an 'extended' partition.
To make this thing use EFI/UEFI, I'd pretty much have to wipe the whole SSD and create a new GPT, yadda yadda yadda. Don' wanna do it!
You can't tell from the Gparted screen shot, I had BunsenLabs installed in "sda2" which is now "unallocated" after the Artix installer deleted it. In the extended partition, I have four distro installations. I had NO problems installing any of these. This is kinda disappointing, but I have hope!
That failed, seemingly because my BIOS has UEFI *enabled* but the SSD has no UEFI/EFI partition
that is likely a misunderstanding. The install image that you burned is an DISK IMAGE and without looking at it, it almost certainly has a UEFI partition and there are separate rules and leanencies for compatibilities for thumb drives within the uefi specification.
Regardless, I doubt putting the system into legacy mode negatively affects your install. If you are going to try to put all of artix into a single partition without a boot partition, you might need to be in legacy mode unless you have an existing boot loader that will boot artix.
Sorry, just replied to your previous post. Like ships passing in the night!
The image I "burned" into a usable USB stick was done using the MX Linux "Live USB" creator, which only does a live/persistent thing for MX or antiX ISOs. Others just get done via dd.
I DID try disabling UEFI in my BIOS and DID boot into legacy mode. That's the only way I could convince the Artix installer to not try the EFI stuff. It DID let me choose an existing partition to replace, and it DID delete it, but that's as far as it went, and there was nothing in the dialog box to explain what happened.
All the other distros on this [again, internal] SSD boot up via the MBR and grub just fine. Well, not BunsenLabs now....
Title: Re: Install in existing partition on legacy MBR disk with other distros
Post by: mrbrklyn on 03 August 2025, 21:39:22
I'm referring to the SSD inside the laptop. It was (cloned?) from the original HDD that came with the laptop, circa 2011 (at least the BIOS). See below.
As I said, it's a legacy MBR partitioned drive, which can only have up to 4 primary partitions. This one has (or had) two primary and four inside an 'extended' partition.
To make this thing use EFI/UEFI, I'd pretty much have to wipe the whole SSD and create a new GPT, yadda yadda yadda. Don' wanna do it!
You can't tell from the Gparted screen shot, I had BunsenLabs installed in "sda2" which is now "unallocated" after the Artix installer deleted it. In the extended partition, I have four distro installations. I had NO problems installing any of these. This is kinda disappointing, but I have hope!
try cfdisk and the makr the fs by hand with mkfs.ext4 on it. See how that goes. btw your sdb disk is set up for uefi
How different is that from asking Gparted (offline, of course) to do that?
Yes, of course I know about the sdb disk. It was *purposely* configured that way so I could boot it up with my MX Linux Fluxbox edition both here and on other laptops.
Title: Re: Install in existing partition on legacy MBR disk with other distros
Post by: mrbrklyn on 03 August 2025, 21:59:03
try cfdisk and the makr the fs by hand with mkfs.ext4 on it. See how that goes. btw your sdb disk is set up for uefi
How different is that from asking Gparted (offline, of course) to do that?
Yes, of course I know about the sdb disk. It was *purposely* configured that way so I could boot it up with my MX Linux Fluxbox edition both here and on other laptops.
Well, for one thing gpart is not doing what you want at the moment, if I understand you, and you haven't yet tried cfdisk, which I have never seen fail yet :)
Title: Re: Install in existing partition on legacy MBR disk with other distros
Post by: Durhammer on 03 August 2025, 22:36:56
Well, for one thing gpart is not doing what you want at the moment, if I understand you, and you haven't yet tried cfdisk, which I have never seen fail yet :)
Well, actually I WASN'T using Gparted to do anything but take a picture of the disk!
Without experience with cfdisk, I don't really know all the commands and options to tell it what to do. I do pretty much know what to do in Gparted.
In either case, I'm just not sure what the result should be. Am I supposed to format the unallocated space as "sda2" with ext4 and is that all or is there more? And will that really get the Artix installer to install on it? Is it going to try to replace the partition again? This could get quite circular!
Title: Re: Install in existing partition on legacy MBR disk with other distros
Post by: Durhammer on 04 August 2025, 00:14:33
Well, well, well. I'm here, be it tenuously (damn wifi keeps crapping out for whatever reason).
Just going to post this for now (bcz see above!) and add to it later.
EDIT1: Took suggestion by @mrbrklyn to format the sda2 partition by hook or crook. Being chicken sheet about such command line things that I've never used before, I did it with Gparted. Worked like a charm. Before trying the install, I again tweaked BIOS to DIS-able UEFI. This time, however, not that it should make a difference, I also completely disabled ACHI support (MS Windows stuff). Booted up the installer and all went well. QUICK, too!
Right now, fiddling with things like getting xrandr installed (really?) and usable for my oddball monitor setup, and getting acpi_call-dkms installed and set up so I can completely turn OFF my Nvidia card to keep the box cool (long story, but it's a necessity for me).
More later! Actually, I guess I might just as well solve this thing unless someone has any other comments....
Title: Re: Install in existing partition on legacy MBR disk with other distros [SOLVED]
Post by: mrbrklyn on 04 August 2025, 04:21:00
You can't exist long with fear of the command line. GUIs suck...and often crippleware.
http://www.nylxs.com/docs/gnu_linux1.c4-5correct.pdf for fdisk
Title: Re: Install in existing partition on legacy MBR disk with other distros [SOLVED]
Post by: Durhammer on 04 August 2025, 15:54:46
I understand completely, @mrbrklyn . However, once I've had great success with one tool, it's hard going back. And I do use plenty of command line tools.
New (sorta) disturbing issue -- this is the second Calmares installer that effed up my machine. When it does its own partition ops, it moves things around and/or possibly changes partition info.
I "installed" CachyOS and it (1) wouldn't start and (2) prevented me from using the primary distro (this one, MX Linux 23 Fluxbox edition) on my external SSD. See the ticket (https://discuss.cachyos.org/t/cant-boot-up-cachyos-after-install/12571) for that.
NOW, after this "successful" install of Artix, I cannot start two of my other distros -- Q4OS (really nice setup) and Sparky (meh). Trying to start Q4OS gets me to a BusyBox (initramfs) prompt (!) and if I enter "exit" it says it gave up waiting for a disk, and spits out a UUID= string that it says doesn't exist. Sparky at least shows its "sparky" splash screen and just freezes. No doubt more of the same....
I had been considering installing/trying EndeavourOS, but no more. Burnt twice (thrice, considering the disabled distro count!) by Calamares.
Title: Re: Install in existing partition on legacy MBR disk with other distros [SOLVED]
Post by: tintin on 05 August 2025, 04:01:53
NOW, after this "successful" install of Artix, I cannot start two of my other distros --
When I install multiple distributions on the same PC, I only install GRUB on one of these systems. After an update on one of the installed systems, I update GRUB.