I'm trying to dual boot my 2018 Mac Mini with Ubuntu Server but I'm stuck at Storage Configuration page.
Let me show my problem:
- Created bootable disk. For this I used my 1TB TOSHIBA external HDD.
- Created a new partition on my Mac Mini. I have a 512 GB SSD on it.
- Opened Disk Utility
- I used the circular handle to resize the new partition for Linux to 370GB leaving MacOS with 130GB.
- I named this partition
UBUNTUSRV.
- Disabled T2 Boot security
- Rebooted my Mac and held the Option key while it was starting.
- Selected the "EFI Boot".
- Selected
*Try or Install Ubuntu Server. - Selected language, keyboard layout etc. and got to the
Guided storage configurationpage. I choseCustom storage layout. Storage configuration.Find the partition you created. Somehow it wasn't the same size I created. I had created
370GBbut it showed344.789G.Select
Create volume groupand hit enter.Name:
vg_ubuntuSelect the partition you created. You'll see 2 partitions under
APPLE_SSD_AP0512M_CO.... One is120.835G, other is344.785G. Select the344.785Gone.Create
Now you'll see 2 new devices:
vg_ubuntu (new)free space
Highlight
free space, hit enter and clickCreate logical volume.Create logical volume
Name:
lv_rootSize:
340.785GFormat:
ext4Mount:
/
Highlight
free space, hit enter and clickCreate logical volume.- Create logical volume
- Name:
lv_swap - Size:
4.000G - Format:
swap
Now the issue arises here. I can't proceed forward at this point because
/boot/efidoesn't get mounted. And even when I try to edit it, i.e.partition 1 existing, unused ESP, already formatted as fat 300.000M>, the option to mount it is greyed out.
I don't see this problem if I simply mount my Linux partition. Let me show what I mean.
- Storage configuration.
Find the partition you created. Somehow it wasn't the same size I created. I had created
370GBbut it showed344.789G.Select the partition, hit enter and click 'Edit'.
- Format:
ext4 - Mount:
/ - Save
- Format:
At this point, I can click "Done" and proceed forward because my existing
/boot/efiis recognized and mounted automatically. So my guess is that me creating LVM is not letting that happen?
Questions:
- Is it not possible to create LVM while dual booting in Mac?
- Is there a way to fix this issue because I really want to use LVM? If there's a way, please guide me. Thanks.
fdisk /dev/nvme0n1create a 2 GB boot drive out of 344.544G partition? 3. After I successfully install it, is there a way to keep a snapshot of it so I can always come back to a fresh install state if I mess something? Sorry I'm very new to this. Thank you! – Ash K Oct 10 '24 at 16:43/dev/sda. In your case, the block device for your PCIe internal SSD drive is/dev/nvme0n12. yes, but it is a 2 GB boot volume stored in a partition on the drive. 3. You can make a snapshot oflv-root, but this will not include volumes mounted at/bootand/boot/efi./bootdirectory (as subdirectories) are for Grub and the Ubuntu boot files. At the point where these files are read during booting, the boot software does not know what a LVM is. Therefore, these files are stored in EXT4 and FAT32 formatted volumes. Actually, the total space used by these volumes is fairly small. Only about 100 MB. – David Anderson Oct 11 '24 at 11:21