Mini-PC Partitioning Tip
Posted: 15 Mar 2025, 21:11
TL;DR : Just a note about repartitioning / resizing your typical internal "mini-pc" with windows installed. As a best practice, if you have done repartitioning or resizing, and shut down, REMOVE THE POWER before powering back up the first time. This allows for proper internal "enumeration" before the OS (windows or porteus) boots again for the first time. Depends upon make / manufacturer, but I feel this is best practice.
I just did all the following from a bootable Porteus usb-stick and much in Gparted. I won't go into super detail, it's more of a fast description of how useful and fun Porteus (and related family) is. Assumes some familiarity, not a newbie guide.
Example:
Porteus 5.1 Alpha boots fine from usb stick on my dinky Bmax B1. It's got Windows 10 internally. Much of that internal NTFS on the lil' emmc drive is wasted since I don't run Windows much on it. But I want to keep it anyway. You know, for Rufus or other utils, whatever. So I don't want to blast it away for a total Linux takeover. Enter the Porteus cool-ness!
Unused port to boot from!
The micro-sd card port doesn't get used much. AHA! Why don't we put the Porteus EFI and Boot folders on that to boot from? Yes! So I grabbed and did a fresh FAT32 format on the micro-sd card, and put efi and boot folder on it. (run the windows exe or the linux sh file if you have to - you know the routine.)
Shrunk the main Windows partition down to something reasonable, and made a new one with that empty space just following it with an ext format. (choose one, not getting into that war.) This is where the Porteus folder is going to go.
SHUT DOWN and REMOVED POWER CORD! Reattached and fired back up.
Allowed it to boot into Windows, it noticed the repartitioning, and fixed it's tables. Fine.
Now with Porteus EFI and Boot folders on the sd-card, changed the bios to fire up from that first. It found the Porteus folder on the new internal ext(x) partition just fine. Although I didn't need to, I edited the porteus.cfg file's APPEND line to point to my new partition because the internal drive isn't going anywhere.
changes=/mnt/mmcblk1p5/porteus
Yeah baby! Use of the sdcard to boot porteus from keeps the usb ports free. Lovin it.
Sorry - reads like a lot, but this didn't take much time at all. I'm sure Nemesis and PorteuX are candidates for doing this too. Seriously, Porteus is more fun than a barrel of monkees.
I just did all the following from a bootable Porteus usb-stick and much in Gparted. I won't go into super detail, it's more of a fast description of how useful and fun Porteus (and related family) is. Assumes some familiarity, not a newbie guide.
Example:
Porteus 5.1 Alpha boots fine from usb stick on my dinky Bmax B1. It's got Windows 10 internally. Much of that internal NTFS on the lil' emmc drive is wasted since I don't run Windows much on it. But I want to keep it anyway. You know, for Rufus or other utils, whatever. So I don't want to blast it away for a total Linux takeover. Enter the Porteus cool-ness!
Unused port to boot from!
The micro-sd card port doesn't get used much. AHA! Why don't we put the Porteus EFI and Boot folders on that to boot from? Yes! So I grabbed and did a fresh FAT32 format on the micro-sd card, and put efi and boot folder on it. (run the windows exe or the linux sh file if you have to - you know the routine.)
Shrunk the main Windows partition down to something reasonable, and made a new one with that empty space just following it with an ext format. (choose one, not getting into that war.) This is where the Porteus folder is going to go.
SHUT DOWN and REMOVED POWER CORD! Reattached and fired back up.
Allowed it to boot into Windows, it noticed the repartitioning, and fixed it's tables. Fine.
Now with Porteus EFI and Boot folders on the sd-card, changed the bios to fire up from that first. It found the Porteus folder on the new internal ext(x) partition just fine. Although I didn't need to, I edited the porteus.cfg file's APPEND line to point to my new partition because the internal drive isn't going anywhere.
changes=/mnt/mmcblk1p5/porteus
Yeah baby! Use of the sdcard to boot porteus from keeps the usb ports free. Lovin it.
Sorry - reads like a lot, but this didn't take much time at all. I'm sure Nemesis and PorteuX are candidates for doing this too. Seriously, Porteus is more fun than a barrel of monkees.