The following “guide” helps you to install Xubuntu [1] in an external USB drive, which must have at least 16GB of capacity (the minimal installation of Xubuntu needs about 5GB). You will need also a temporal external USB disk with at least 4GB to boot from it the installation Xubuntu image (or to burn an optical disk).
Supposing that you have decided to use Xubuntu in an USB disk, these are the steps you should perform (to install Xubuntu in a “hard” disk partition of your computer the instructions are almost the same):
“Burn” the 4GB USB drive with the image. Depending on your current OS, use the following instructions for Windows, OSX, Ubuntu (and derivatives), or the Linux console. Using the console (example):
[vruiz@pluton Descargas]$ ls -lh *.iso -rw-r--r-- 1 vruiz vruiz 2,5G sep 9 16:00 xubuntu-22.04.1-desktop-amd64.iso vruiz@pluton Descargas]$ lsblk # Before connecting the USB drive NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS nvme0n1 259:0 0 238,5G 0 disk +-nvme0n1p1 259:1 0 198,5G 0 part /home +-nvme0n1p2 259:2 0 8G 0 part [SWAP] +-nvme0n1p3 259:3 0 513M 0 part /boot/efi +-nvme0n1p4 259:4 0 31,5G 0 part / [vruiz@pluton Descargas]$ lsblk # After connecting the USB drive NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 1 29,2G 0 disk +-sda1 8:1 1 512M 0 part +-sda2 8:2 1 28,7G 0 part nvme0n1 259:0 0 238,5G 0 disk +-nvme0n1p1 259:1 0 198,5G 0 part /home +-nvme0n1p2 259:2 0 8G 0 part [SWAP] +-nvme0n1p3 259:3 0 513M 0 part /boot/efi +-nvme0n1p4 259:4 0 31,5G 0 part / [vruiz@pluton Descargas]$ sudo dd bs=4M if=xubuntu-22.04.1-desktop-amd64.iso of=/dev/sda conv=fsync oflag=direct status=progress 1929379840 bytes (1,9 GB, 1,8 GiB) copied, 151 s, 12,8 MB/s 466+1 registros leídos 466+1 registros escritos 1958051840 bytes (2,0 GB, 1,8 GiB) copied, 152,555 s, 12,8 MB/s
Check the current storage devices (example):
xubuntu@xubuntu:~$ setxkbmap es # Configure the keyboard layout temporaly xubuntu@xubuntu:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 1.6G 1 loop /rofs sda 8:0 1 29.2G 0 disk # <-- This is the USB disk with the image +-sda1 8:1 1 1.8G 0 part /cdrom +-sda2 8:2 1 4.9M 0 part +-sda3 8:3 1 300K 0 part +-sda4 8:4 1 27.4G 0 part /var/crash nvme0n1 259:0 0 238.5G 0 disk # <-- This is the hard disk +-nvme0n1p1 259:1 0 198.5G 0 part +-vme0n1p2 259:2 0 8G 0 part +-nvme0n1p3 259:3 0 513M 0 part +-nvme0n1p4 259:4 0 31.5G 0 part
Insert now the (at least) 16GB USB drive where Xubuntu will be installed. Be aware that this device will be formated, and therefore, all the current content will be lost. Check again the storage devices:
xubuntu@xubuntu:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 1.6G 1 loop /rofs sda 8:0 1 29.2G 0 disk +-sda1 8:1 1 1.8G 0 part /cdrom +-sda2 8:2 1 4.9M 0 part +-sda3 8:3 1 300K 0 part +-sda4 8:4 1 27.4G 0 part /var/crash sdb 8:16 1 115.8G 0 disk # <-- This is the >16GB USB disk (with an old Xubuntu) +-sdb1 8:17 1 512M 0 part +-sdb2 8:18 1 7.6G 0 part +-sdb3 8:19 1 30.5G 0 part /media/xubuntu/dc7d42a4-b4d3-4628-9532-f40 +-sdb4 8:20 1 77.2G 0 part /media/xubuntu/def2435e-08ce-4f78-b5ac-a61 nvme0n1 259:0 0 238.5G 0 disk +-nvme0n1p1 259:1 0 198.5G 0 part +-nvme0n1p2 259:2 0 8G 0 part +-nvme0n1p3 259:3 0 513M 0 part +-nvme0n1p4 259:4 0 31.5G 0 part
Don’t worry if the >16GB USB disk is mounted by Thunar (the default file manager in Xubuntu). The installer will ask to unmount the devices when this is necessary (notice that the destination device >16GB USB drive must be unmounted in order to modify the partition table).
Click on Install Now. You’ll read something similar to:
If you continue, the changes listed below will be written to the disks. Otherwise, you will be able to make further changes manually. WARNING: This will destroy all data on any partitions you have removed as well as on the partitions that are going to be formatted. The partition tables of the following devices are changed: SCSI8 (0,0,0) (sdc) The following partitions are going to be formatted: partition #1 of SCSI8 (0,0,0) (sdb) as ESP partition #2 of SCSI8 (0,0,0) (sdb) as ext4
[1] Canonical Ltd. xubuntu.