Is there a way to boot from a hard drive or usb? I'm trying to learn that, even going so far as to install qemu-system to boot virtually.
At first I tried to install alpine and run it, this is the command I use:
qemu-system-x86-64 -m 512 -smp 6 -cdrom alpine-virt.iso -hda alpine.img -boot d
And I immediately wrote the command setup-alpine and run it.
Actually this is not the problem I want to ask How do you do that (see this picture).
Let's say we use mkfs.ext4 maybe the output seen from the file command is
test.img: UUID="f5c1743c-e48d-46c3-bd14-e9c4f7ea89e2" BLOCK_SIZE="1024" TYPE="ext4"
So how do you check when you check using the 'file' command, the output looks like this:
0.img: DOS/MBR boot sector
I hope that even though my question may be difficult to understand, it can be answered in a short time.