Huge thanks to all for the replies
Neville
You can use gparted for a Void install
Do the gparted work first, then run the installer and skip the disk partitioning step, but dont forget you still have to mount partitions… at least / and swap and also /boot/efi if it is uefi boot.
Thanks for the important bold part.
I forgot to say currently I use GParted to:
- Format an entire HDD/SSD (Either laptop or PC Desktop)
- Expand partitions for a Virtual Machine (the .vdi file is increased and then it must be reflected/applied to the “internal” partition itself)
Years ago I used GParted to create manually all the partitions, now I trust in the default settings about partitions applied by Debian, Fedora, Peppermint and Ubuntu through their installation process. Therefore I am rusty
You mean like a VM virtual disk?
I thought the same from the beginning but I want avoid create N gigas for this kind of experiment.
It would be fantastic if in the Web there is a host providing an online emulator
Alfred
You could use a spare USB-Stick for your exercises.
Has sense but I need the most realistic scenario. Interesting your approach
Xander
You could also create a huge empty file and test your partitioning skills on that. After all, everything in unix is a file.
Understood. Just being curious, is it safe? If something goes wrong in that file: Does it remain isolate of the rest of the HDD/SSD?
Just for practicing partitioning, you don’t need a VM. You can just partition the empty file as a regular disk and then link the loopback device to it.
Have you ever try that approach? If yes, is there a tutorial of your preference? I mean, from where you learn that approach? What commands are involved?
Dan
Yeah - a big file…
How many gigas? It would be the same as create a new VM and keep it isolated?
There’s a bunch of ways you can make a big file… I think using “dd” is one of them - just remember to ensure the output of the “dd” is an actual file somewhere on your system (e.g. /tmp/mybigfile.img) - be careful with “dd” you can hose your system easily if you output incorrectly…
I remember the dd command when I did do a research about to create a swap partition in a special way … years ago … is highly recommended use that command carefully
Thanks for the commands
Time to research and read many tutorials about how to create big files in Linux