0

Okay. I have booted from the same USB drive with the toram option. I have unmounted the partition on the USB drive through the terminal, basically following this answer:

Can Ubuntu be installed to the pendrive it was booted from?

I am now in the installation stage, but I can't figure out the partitions I have to choose in order to install it on only the USB drive, as I'm running windows 10 as my main operating system on my laptop. Please help

The window I am on now

EDIT 1:

Like so?

enter image description here

user68186
  • 33,360
cephlot
  • 15
  • 6
  • 1
    Best to have two flash drives. As if install does not work, you have to start all over. You are showing you have an UEFI system. Grub by default will install its boot files to the ESP on sda. That works only if you want to boot flash drive from same system. If you want to boot from any other system, you need to partition in advance and include an ESP - efi system partition on flash drive. FAT32, probably 100MB large enough, although larger if larger drive normally suggested. Use rest as / (root) as ext4. Full install cannot be to NTFS. – oldfred Dec 26 '18 at 23:32
  • @oldfred: OP's previous post mentioned that only one flash drive is available. – C.S.Cameron Dec 27 '18 at 03:48
  • It may be safest to first unplug your internal drive before using this method. – C.S.Cameron Jan 04 '19 at 04:55
  • You're right. My boot device is the internal ssd for some reason – cephlot Jan 04 '19 at 05:39

1 Answers1

0

Set the USB partition to type ext4, and set the mount point to "/" . You could optionally delete the existing partition first, then create two partitions on the jumpdrive: a 1G swap partition, and the root ( "/" ) partition that uses the rest of the space. The swap space is nice to have but not really essential.

Eric Mintz
  • 2,516
  • 12
  • 24