Dual Boot on Old PC: AntiX + Dietpi? Topic is solved

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Rhizome
Posts: 54
Joined: Sun Jun 27, 2021 5:22 pm

Dual Boot on Old PC: AntiX + Dietpi?

Post by Rhizome »

I've an old Asus laptop currently running AntiX. I'd like to install Dietpi on the same pc as a boot option. Can this be done and if so how exactly? With some other distros there's an automatic option at install to create a dual boot system, but AFIK not with Dietpi.
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: Dual Boot on Old PC: AntiX + Dietpi?

Post by Joulinar »

probably a question for AntiX on how to modify grub bootloader to allow a 2nd system. Basically DietPi is nothing else than a Debian. Means, you could use Debian netinstall and setup a plain Debian first. Once done, use our PREP script to install DietPi on top. https://dietpi.com/docs/hardware/#make- ... stribution
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Rhizome
Posts: 54
Joined: Sun Jun 27, 2021 5:22 pm

Re: Dual Boot on Old PC: AntiX + Dietpi?

Post by Rhizome »

Thanks, Joulinar, I'll enquire on their forum.
Rhizome
Posts: 54
Joined: Sun Jun 27, 2021 5:22 pm

Re: Dual Boot on Old PC: AntiX + Dietpi?

Post by Rhizome »

Just to follow up, DietPi would need to be installed first because it wipes the entire drive on install. AntiX can then be installed as it recognizes any other installed OS.
User avatar
MichaIng
Site Admin
Posts: 3357
Joined: Sat Nov 18, 2017 6:21 pm

Re: Dual Boot on Old PC: AntiX + Dietpi?

Post by MichaIng »

Yes DietPi images always fill the whole drive as they include the bootloader. You can manually extract and flash the partitions only, but note that a grub update during first boot might override the bootloader again. So at best use the Automation_Custom_PreScript.sh (create it at first FAT partition) to purge the grub packages to prevent this. Note that there are some DietPi scripts trying to configure grub (console resolution in dietpi-config at least) which will then fail.

If you install (and boot) DietPi first, do the same (purging grub packages) before installing AntiX or any other OS which includes and shall control the bootloader.
Rhizome
Posts: 54
Joined: Sun Jun 27, 2021 5:22 pm

Re: Dual Boot on Old PC: AntiX + Dietpi?

Post by Rhizome »

Thanks for the info. For now, I’ve installed RPi Desktop OS as it recognizes AntiX, which was already installed & configured. (Though the grub file needed editing to show “menu” in order to show Rpi OS at boot up.) When I have more time to install dietpi first & reinstall AntiX, I’ll give it a go.
User avatar
Joulinar
Posts: 5996
Joined: Sat Nov 16, 2019 12:49 am

Re: Dual Boot on Old PC: AntiX + Dietpi?

Post by Joulinar »

You could use our PREP script if you have RPi OS running. This should transform it into DietPi.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Rhizome
Posts: 54
Joined: Sun Jun 27, 2021 5:22 pm

Re: Dual Boot on Old PC: AntiX + Dietpi?

Post by Rhizome »

I didn’t realize that was possible - very cool:)
User avatar
MichaIng
Site Admin
Posts: 3357
Joined: Sat Nov 18, 2017 6:21 pm

Re: Dual Boot on Old PC: AntiX + Dietpi?

Post by MichaIng »

Wait wait, "RPi Desktop OS" means a Debian x86_64 image with the RPi LXDE desktop variation installed, it is NOT a RPi OS ;). Transforming this via PREP will reinstall the bootloader onto the root partitions drive. So if that matches the AntiX drive, it will purge its bootloader as well. We run os-proper to add other OSes to the new grub config, though.

Or do I fully misunderstand something as you mention "Asus laptop" in OP?
Rhizome
Posts: 54
Joined: Sun Jun 27, 2021 5:22 pm

Re: Dual Boot on Old PC: AntiX + Dietpi?

Post by Rhizome »

Thanks for the heads up before I tried to run PREP! Yes, it's an old pc laptop, not a raspberry pi. So no PREP-type slimming script for Rpi desktop OS?
Post Reply