Beginners Guide: Migrating to SSD
#2
There are several other ways to address the Linux root file system (rootfs) partition. One of the easiest way (but bad) is to use the partition name like “/dev/sda1” in your /boot/efi/extlinux/extlinux.conf file.
Code:
label kernel-4.4
   kernel /Image
   initrd /initrd.img
   fdt /dtb
   append earlycon=uart8250,mmio32,0xff130000 rw root=/dev/sda1 rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#}

This is NOT a recommended way if you have more than one USB disk to be attached to your system since the name “/dev/sda1” can be grabbed by any other attached disk depending on how fast the disk first responds during boot time. Your linux rootfs partition may become “/dev/sda1”, “/dev/sdb1”,  “/dev/sdc1”, etc.

A good way would be to use UUID of the disk partition instead. Here is how:

To find out the UUID of your rootfs disk partition, run sudo lsblk –f command. 

Edit /boot/efi/extlinux/extlinux.conf to use UUID. For example:
Code:
label kernel-4.4
   kernel /Image
   initrd /initrd.img
   fdt /dtb
   append earlycon=uart8250,mmio32,0xff130000 rw root=UUID=f86f4f1d-a3bf-4b87-98d0-18f586c27723 rootwait rootfstype=ext4 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#}

Note: You will need external USB disk enclosure or USB3-SATA converter with its own dedicated power supply for the Rock64 to remain stable. If you have more than one disk, get a powered USB3.0 hub.
  Reply


Messages In This Thread
Beginners Guide: Migrating to SSD - by rontant - 08-19-2017, 12:59 AM
RE: Beginners Guide: Migrating to SSD - by rontant - 09-17-2017, 07:01 PM
RE: Beginners Guide: Migrating to SSD - by rmbusy - 10-29-2017, 10:56 PM
RE: Beginners Guide: Migrating to SSD - by Luke - 10-30-2017, 02:58 AM
RE: Beginners Guide: Migrating to SSD - by GaryLa - 01-23-2018, 02:41 PM
RE: Beginners Guide: Migrating to SSD - by Luke - 01-23-2018, 03:30 PM
RE: Beginners Guide: Migrating to SSD - by GaryLa - 01-23-2018, 05:54 PM
RE: Beginners Guide: Migrating to SSD - by Luke - 01-24-2018, 05:37 PM
RE: Beginners Guide: Migrating to SSD - by svyt22 - 01-28-2018, 04:40 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Information Beginners Guide: Adding USB Storage, Linux Formatting and Permissions Ptheven 4 12,360 03-06-2021, 01:49 PM
Last Post: helpmerock
  Step by step guide PXE diskless configuration. burglar_ot 13 36,055 11-01-2020, 11:26 PM
Last Post: michael.gruner
Thumbs Up A guide for how I made RetroPie, RetroArch, and EmulationStation Work on the Rock64 Mrfixit2001 4 16,206 12-17-2018, 03:52 AM
Last Post: va88
  Guide - XRDP - Debian Stretch / Ubuntu Xenial / OMV S3phi40T 3 14,064 05-05-2018, 06:08 AM
Last Post: S3phi40T
Information Guide - Raid Array (Raid 0) Ptheven 0 4,862 10-07-2017, 09:22 AM
Last Post: Ptheven
Information Guide - Setting up a NFS Share Ptheven 0 5,530 09-26-2017, 04:44 AM
Last Post: Ptheven
  Guide - Setting up a SMB(Windows) file server Ptheven 0 12,659 08-21-2017, 08:54 AM
Last Post: Ptheven
Information Beginners Guide: Locating your board, connecting to it. Ptheven 5 16,046 08-21-2017, 04:12 AM
Last Post: Ptheven

Forum Jump:


Users browsing this thread: 1 Guest(s)