banner



How To Install Ubuntu On External Ssd

How to create a truly portable(plug-n-play) Ubuntu installation on an external SSD/HDD

          grub> exit        

Requirements

  1. A bootable USB pen bulldoze with Ubuntu xx.04 installation media(or any other version).You tin create this from your Windows estimator past Rufus. A brief tutorial is available- Create a bootable USB stick on Windows Ubuntu.
  2. An empty external hard drive (HDD, SATA SSD, K.2 NVMe SSD etc.)
  3. Patience and as well backup your data elsewhere

Getting Started

Booting into Ubuntu

Preparing the drive — GParted

  • In one case y'all have booted into Ubuntu, cull 'Try Ubuntu'

  • Now you can connect your external drive to your PC.
  • Go to Application Director and search for GParted. Once GParted is started — in the upper correct corner, change the target drive to your external portable drive. It's important that you lot correctly place this drive as we're going to re-partition the drive. In the screenshot below — my external and portable drive is identified every bit /dev/sdb — and it is currently unpartitioned. Unmount (right click and unmount) any currently mounted partitions on this drive and delete all partitions (once more — be double sure y'all're working on the right drive).

/dev/sdb is the external bulldoze
  • Again using GParted, right click on the unallocated volume, choose New, and create a 100MB fat32 partition. Click on the light-green checkmark to apply the awaiting operation. One time the sectionalisation has been created — right click on the newly created sectionalization and select 'Manage Flags'. Enable the boot and esp flags.
  • Classify around 8 GB(equivalent to RAM) for linux-bandy space, then create a root / or master partition for our target portable drive. Create an ext4 partition of whatsoever size you require for your arrangement.

Concluding partition arrangement
  • Click on the individual sectionalisation and jot down the partition locations and its respective UUIDs. For eg. For the FAT32 segmentation in my case, its location was /dev/sdb1 and UUID was 3308–418D.

Installing Ubuntu

  1. Double click on the 100MB fat32 system efi partition nosotros created (/dev/sdb1)and cull 'Utilize as EFI system sectionalization' but do not format the segmentation.
  2. Double click on the /dev/sdb2 partitioning and choose 'Use as swap area'.
  3. Then double click on the /dev/sdb3 partition — and choose utilize as 'Ext4 journaling file system', and ready the mountain point to / or root, and again practise non format this sectionalization.
  4. Lastly — select the 'Device for kick loader installations:' to the proper name of the device for your external hard drive

Installing Chow on your drive

          sudo umount /media/ubuntu/<the uuid of your root sectionalization>        
          sudo mount /dev/sdb3 /mnt        
          sudo nano /mnt/etc/fstab        
          sudo mount /dev/sdb1 /mnt/boot/efi        
          sudo mount -B /dev /mnt/dev
sudo mount -B /dev/pts /mnt/dev/pts
sudo mount -B /proc /mnt/proc
sudo mount -B /sys /mnt/sys
          sudo cp /etc/resolv.conf /mnt/etc/        
          modprobe efivars        
          sudo chroot /mnt        
          chow-install -d /usr/lib/grub/x86_64-efi --efi-directory=/kicking/efi/ --removable /dev/sdb        

Cleaning up your dual kicking configuration

  • Run Command Prompt as Administrator
          diskpart        
          list disk        
          select disk 0        
          list partition        
          select segmentation 1        
          assign letter=Z:        
          get out          Z:          rmdir /south ubuntu        

Source: https://medium.com/@abrarahmedsyed/how-to-create-a-truly-portable-plug-n-play-ubuntu-installation-on-an-external-ssd-hdd-7aaadc7d796a

Posted by: stopsawallaid.blogspot.com

0 Response to "How To Install Ubuntu On External Ssd"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel