archlinux / archinstall

Arch Linux installer - guided, templates etc.
GNU General Public License v3.0
6.04k stars 522 forks source link

feature request allow archlinux to be installed to a singal partition encluding the /boot partition #638

Open mhussaincov93 opened 3 years ago

mhussaincov93 commented 3 years ago

hey there, would it be possible to have an option in the partition list to have arch installed to one single partition? what I mean by this is / would have the rootfs, and /boot. /boot would not be sepperate. currently the default partition stile is /boot 200mb and the rest to / I would be greatful if you could considder my request. i'm blind and use a screen reader. thanks for keeping archinstall accessible, Majid

Torxed commented 3 years ago

Hi, and thank you for your suggestion. This will to my knowledge only be possible on BIOS setups. The reason being EFI setups require the boot partition to be fat32. I'm also not an expert on GRUB (I haven't used it in years), but perhaps one of the other developers can contribute on this one, so I'll leave the request open :)

mhussaincov93 commented 3 years ago

hi there sir anton, all,

yes I am running on a bios based system.

if this option is possible,

on the menu item with this option you could write,

bios based systems only?

thank you for considdering my request.

Majid Hussain

On 18/09/2021 11:21, Anton Hvornum wrote:

Hi, and thank you for your suggestion. This will to my knowledge only be possible on BIOS setups. The reason being EFI setups require the boot partition to be fat32. I'm also not an expert on GRUB /(I haven't used it in years)/, but perhaps one of the other developers can contribute on this one, so I'll leave the request open :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/archlinux/archinstall/issues/638#issuecomment-922254643, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASDFWN5ZDZC6TTMOXKCNWITUCRRZ5ANCNFSM5EJBAPAA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

urbenlegend commented 2 years ago

This will to my knowledge only be possible on BIOS setups. The reason being EFI setups require the boot partition to be fat32.

Actually it is possible. Most other distros create an EFI partition and mount it at /boot/efi. That partition is formatted as fat32. /boot can then be placed in the same partition containing / with no issues. Of course, I've only seen this config with GRUB, not sure about systemd-boot, etc.

I would love to be able to do this and I think it is very useful for people who dual boot Windows. Windows by default creates a really tiny EFI partition. Mounting that partition as /boot in Arch then causes all the grub files and the kernel images to be installed directly into the EFI partition. It is really easy to run out of space. Having /boot and / together in one partition solves this problem and also simplifies things like BTRFS system snapshot rollbacks.

The inability to mount the EFI partition at /boot/efi is the last remaining thing holding me back from using archinstall. If this could be implemented, I would much appreciate it! Thanks.