Is it possible to boot from SSD? How it should be partitioned? Can I use any arbitrary partition for rootfs?
Should I follow the procedure from this thread ? It assumes I should write the armbian image to a whole drive instead of partition, right?
Well, I actually tried some way...
First, I've tried to just run some utility from ambian-config that transfers rootfs to a partition. Device did not boot after this (with SD card ejected).
Then I've flashed the ayufan's u-boot-flash-spi-rock64.img.xz. This also fails (boot log is attached) but the log looks promising.
BTW, I'm experimenting with Ubuntu 18.04 image built by myself from armbian's development branch. Should I use 16.04 instead?
Does armbian have its own image/procedure to place uboot into SPI?
Just in case here is the drive partitioning (fdisk log from Linux PC):
Disk /dev/sde: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
Disklabel type: dos
Disk identifier: 0x22138112
Device Boot Start End Sectors Size Id Type
/dev/sde1 2048 119769087 119767040 57.1G 83 Linux
/dev/sde2 156354560 488396799 332042240 158.3G 83 Linux
/dev/sde3 * 119769088 156354559 36585472 17.5G 83 Linux
Partition table entries are not in disk order.
And I'm trying to use third partition for rootfs. This partition was actually created after shrinking partition 1 in the freed space.
Question
divis1969
Hi,
Is it possible to boot from SSD? How it should be partitioned? Can I use any arbitrary partition for rootfs?
Should I follow the procedure from this thread ? It assumes I should write the armbian image to a whole drive instead of partition, right?
Well, I actually tried some way...
First, I've tried to just run some utility from ambian-config that transfers rootfs to a partition. Device did not boot after this (with SD card ejected).
Then I've flashed the ayufan's u-boot-flash-spi-rock64.img.xz. This also fails (boot log is attached) but the log looks promising.
BTW, I'm experimenting with Ubuntu 18.04 image built by myself from armbian's development branch. Should I use 16.04 instead?
Does armbian have its own image/procedure to place uboot into SPI?
Just in case here is the drive partitioning (fdisk log from Linux PC):
Disk /dev/sde: 232.9 GiB, 250059350016 bytes, 488397168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 33553920 bytes Disklabel type: dos Disk identifier: 0x22138112 Device Boot Start End Sectors Size Id Type /dev/sde1 2048 119769087 119767040 57.1G 83 Linux /dev/sde2 156354560 488396799 332042240 158.3G 83 Linux /dev/sde3 * 119769088 156354559 36585472 17.5G 83 Linux Partition table entries are not in disk order.
And I'm trying to use third partition for rootfs. This partition was actually created after shrinking partition 1 in the freed space.
Drive is attached to USB3.
minicom.cap
Link to comment
Share on other sites
16 answers to this question
Recommended Posts