Consistent boot from SSD? Is it possible?
#2
So to add to this, what I have done so far is to flash the following image using etcher to both a 16GB microSD and to an external SSD (that is connected via the USB 3.0 interface on the Rock64)

Code:
bionic-minimal-rock64-0.8.0rc6-1111-arm64.img

And as always, it boots perfectly from the SD. When I do an lsblk command I get the following:

Code:
rock64@rock64:~$ lsblk -T
NAME        MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda           8:0    0 223.6G  0 disk
|-sda1        8:1    0   3.9M  0 part
|-sda2        8:2    0    64K  0 part
|-sda3        8:3    0     4M  0 part
|-sda4        8:4    0     4M  0 part
|-sda5        8:5    0     4M  0 part
|-sda6        8:6    0   112M  0 part /boot/efi
`-sda7        8:7    0   1.9G  0 part
mtdblock0    31:0    0     4M  0 disk
mmcblk1     179:0    0  14.4G  0 disk
|-mmcblk1p1 179:1    0   3.9M  0 part
|-mmcblk1p2 179:2    0    64K  0 part
|-mmcblk1p3 179:3    0     4M  0 part
|-mmcblk1p4 179:4    0     4M  0 part
|-mmcblk1p5 179:5    0     4M  0 part
|-mmcblk1p6 179:6    0   112M  0 part
`-mmcblk1p7 179:7    0  14.3G  0 part /
zram0       252:0    0 498.5M  0 disk [SWAP]
zram1       252:1    0 498.5M  0 disk [SWAP]
zram2       252:2    0 498.5M  0 disk [SWAP]
zram3       252:3    0 498.5M  0 disk [SWAP]

In my extlinux.conf I have:

Code:
rock64@rock64:~$ cat /boot/efi/extlinux/extlinux.conf
timeout 10
default kernel-latest
menu title select kernel

label kernel-latest
   kernel /Image
   initrd /initrd.img
   fdt /dtb
   append rw root=LABEL=linux-root rootwait rootfstype=ext4 panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1

label kernel-previous
   kernel /Image.bak
   initrd /initrd.img.bak
   fdt /dtb.bak
   append rw root=LABEL=linux-root rootwait rootfstype=ext4 panic=10 init=/sbin/init coherent_pool=1M ethaddr=${ethaddr} eth1addr=${eth1addr} serial=${serial#} cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory swapaccount=1

I'm trying to follow some of the other notes on the forum here on how to edit the extlinux.conf so as to boot continue the boot via the SSD and where the SSD becomes the primary/root filesystem. 

I tried editing the "root=LABEL=linux-root" to be something like "root=/dev/sda" and even /dev/sda6 and others, but it doesn't seem to want to let me in at the ssh prompt anymore when I modify the extlinux.conf file.

Any ideas? I'm not worried about binding to a specific UUID or something as I will only ever use the single SSD that is connected that I imaged above. No other USB devices (storage or other) will be plugged in for what I am using these for. I
d prefer to keep it super-simple for whenever I create another one, I can just modify the SD card the exact same way and always have it work right out of the box/headless without having to dork with plugging in monitors and keyboards.

Any pointers would be VERY welcome! Thanks!
  Reply


Messages In This Thread
RE: Consistent boot from SSD? Is it possible? - by SirRyanTheGeek - 04-02-2019, 12:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Rock64 won't boot dstallmo 0 474 12-27-2023, 10:34 AM
Last Post: dstallmo
  arch rock64 does not boot nemnob 0 724 07-09-2023, 03:28 AM
Last Post: nemnob
  Disabling last mount time check on boot acwest 0 740 03-03-2023, 09:24 PM
Last Post: acwest
  Rock64 Rev3 doesn't boot and leds blinking fast dishins 6 8,223 06-30-2022, 06:28 PM
Last Post: rookie_267
  my rock64 can't boot rookie_267 0 1,151 06-27-2022, 06:52 PM
Last Post: rookie_267
  Setting a MAC on Rock64 U-Boot kiriakos 2 3,776 03-23-2021, 04:51 AM
Last Post: kiriakos
  Boot from USB 3.0 with hub Turbo 0 2,209 12-20-2020, 02:24 PM
Last Post: Turbo
  Unable to boot armbian fchazal 2 4,082 05-19-2020, 06:43 PM
Last Post: Rocklobster
  Rock64s will not boot any OS camosoul 2 3,640 05-19-2020, 06:38 PM
Last Post: Rocklobster
  Help me understand the boot up process olivercfc 0 2,021 11-10-2019, 08:30 AM
Last Post: olivercfc

Forum Jump:


Users browsing this thread: 1 Guest(s)