I have a USB device and i'm trying to create it in a way that it has 2 partitions: one for a live linux disc and the other for document storage.
I created the partitions using gparted and and set a boot flag to the one I want to use as the live disc. Now, I have a usb like this:
Disk /dev/sdc: 14.6 GiB, 15623782400 bytes, 30515200 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xc3072e18 Device Boot Start End Sectors Size Id Type /dev/sdc1 8439808 30515199 22075392 10.5G 83 Linux /dev/sdc2 * 51200 8439807 8388608 4G b W95 FAT32
I then used
dd to flash an Ubuntu iso to
sudo dd if=/dev/shm/ubuntu-17.04-desktop-amd64.iso of=/dev/sdc2 bs=4M
When the disc is flashed onto the usb drive, I try to boot from my laptop and it shows "Operating system not found". When i try to use
kvm, it shows a kernel panic like this:
How would I be able to do this properly?