Trouble running pacstrap /mnt base, saying not enough size
So I've been following the old beginners guide. I have /dev/sda1 set as my boot partition, originally i set it as only 200MB but didn't have enough space, redid it all and set it as 512MB and still don't have enough space. Running pacstrap /mnt base says it needs ~700Mb to install yet every guide I've read and every link I've seen says 200Mb is plenty of space for /boot. Am I installing this to the wrong place or what?
About this post
- Posted
- Archived
- Score
- 0 · 100% up
- Kind
- Text
- ID
- 6572rc
12 comments
Might sound crazy but if pacstrap says it can't cram 700MB of stuff into a 512MB filesystem then maybe you ought to heed that. Also, /u/_xr understood you just fine.
It doesn't take a brain surgeon to understand that. My point is I'm not sure what I'm doing wrong since I'm following the guide and another down to a T
Seems like pacstrap and /u/_xr spelled this out pretty well.
No, you are not following the guide.
You are confusing the boot (/boot) partition with the root (/) partition.
I think you are confusing your boot-partition (/boot) and the root-partition (/). The boot-partition can in fact be relatively small, and 200MB is more than sufficient for a basic system. I think mine is only 128MB. It generally contains the kernel and ramdisk, and the boot loader.
The root partition, on the other hand, will contain the actual system, and has to be much larger. For a headless system (e. g. a server), 10GB are generally sufficient, but the minimum for desktop systems is usually around 15–20GB, depending on what you want to install.
So, you actually have to create two partitions: The boot-partiton (e.g. /dev/sda1), and the root-partiton (e.g. /dev/sda2). Mount the root-partiton at /mnt, create a folder named “boot” in there, and then mount the boot-partition (/dev/sda1) to /mnt/boot. You can then proceed to install the system using pacstrap.
Please note, that a seperate boot partition is not necessary on a legacy bios system, so a single root partition would be sufficient in this case. On the other hand, if you are installing a UEFI system, the /boot partiton is generally also used as the UEFI System Partition (ESP), and has to be formatted using FAT32. In the latter case, a size of at least 512MB is recommended (but not required, especially if you are only planning to use arch on the system).
See also Partitioning
Sorry I think when I said /boot I made a mistake. What I did was create /dev/sda with 512Mb, mounted that to /mnt. Then I did mkdir /mnt/home and mounted /dev/sda2 to /mnt/home. Then when I run pacstrap /mnt base it tries to install 700Mb of things to what I assume is /mnt which only has 512Mb. Does this help better?
You made your root 512MB.
You need to create a larger root, 512MB EFI partition, and then your home. So 3 partitions.
Deleted before we saved it.
Deleted before we saved it.
Deleted before we saved it.