Hi,
Since yesterday evening I have made several attempts at installing EnOS ARM on a SSD. Unfortunately all of my attempts have been unsuccessful resulting in a non booting system after the initial first step of the installation as can be seen in the picture below:
install-image-V2.5.sh terminal output
Partitioning, & formatting storage device...
Partitioning storage device /dev/sda...
Formatting storage device /dev/sda...
If "/dev/sdx contains a ext4 file system Labelled XXXX" or similar appears, Enter: y
mkfs.fat 4.2 (2021-01-31)
/dev/sda2 contains `ISO-8859 text, with very long lines (65536), with no line terminators' data
Proceed anyway? (y,N) y
Creating filesystem with 29253120 4k blocks and 7315456 inodes
Filesystem UUID: 4805bbfc-9580-4e57-8ebc-c3a4bf9d68f0
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
Allocating group tables: done
Writing inode tables: done
Creating journal (131072 blocks): done
Writing superblocks and filesystem accounting information: done
--2022-02-08 13:48:20-- http://os.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz
Resolving os.archlinuxarm.org (os.archlinuxarm.org)... 50.116.36.110
Connecting to os.archlinuxarm.org (os.archlinuxarm.org)|50.116.36.110|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://de5.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz [following]
--2022-02-08 13:48:21-- http://de5.mirror.archlinuxarm.org/os/ArchLinuxARM-rpi-aarch64-latest.tar.gz
Resolving de5.mirror.archlinuxarm.org (de5.mirror.archlinuxarm.org)... 176.9.92.49
Connecting to de5.mirror.archlinuxarm.org (de5.mirror.archlinuxarm.org)|176.9.92.49|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 521134082 (497M) [application/octet-stream]
Saving to: ‘ArchLinuxARM-rpi-aarch64-latest.tar.gz’
ArchLinuxARM-rpi-aarch64-latest. 100%[========================================================>] 496.99M 7.95MB/s in 72s
2022-02-08 13:49:38 (6.86 MB/s) - ‘ArchLinuxARM-rpi-aarch64-latest.tar.gz’ saved [521134082/521134082]
Untarring the image...may take a few minutes.
syncing files...may take a few minutes.
rm: cannot remove 'MP2/etc/motd': No such file or directory
Almost done! Just a couple of minutes more for the last step.
End of script!
Be sure to use a file manager to umount the device before removing the USB SD reader
The default user is alarm with the password alarm
The default root password is root
$ sudo parted -l
Model: KINGSTON SV300S37A120G (scsi)
Disk /dev/sda: 120GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 2097kB 212MB 210MB fat16 primary msftdata
2 212MB 120GB 120GB ext4 primary
Shouldn’t the flags on vfat partition be set to boot,lba (or some such) ?
$ sudo blkid
/dev/sda1: SEC_TYPE="msdos" UUID="6781-6DF6" BLOCK_SIZE="512" TYPE="vfat" PARTLABEL="primary" PARTUUID="66a32aad-3671-4d5c-85d7-b6d6445066af"
/dev/sda2: UUID="4805bbfc-9580-4e57-8ebc-c3a4bf9d68f0" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="primary" PARTUUID="6b2656fd-5cc0-4a86-853e-1e1558ccc83d"
/etc/fstab
# Static information about the filesystems.
# See fstab(5) for details.
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mmcblk1p1 /boot vfat defaults 0 0
I edited the fstab to match the actual partitions but still no luck:
# <file system> <dir> <type> <options> <dump> <pass>
UUID=6781-6DF6 /boot vfat defaults 0 0
UUID=4805bbfc-9580-4e57-8ebc-c3a4bf9d68f0 / ext4 defaults 0 1
sudo smartctl -H --all /dev/sda
smartctl 7.2 2020-12-30 r5155 [x86_64-linux-5.16.7-zen2-1-zen] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: SandForce Driven SSDs
Device Model: KINGSTON SV300S37A120G
Serial Number:
LU WWN Device Id:
Firmware Version: 608ABBF0
User Capacity: 120,034,123,776 bytes [120 GB]
Sector Size: 512 bytes logical/physical
Rotation Rate: Solid State Device
TRIM Command: Available
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS, ACS-2 T13/2015-D revision 3
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Tue Feb 8 14:41:14 2022 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
=== START OF READ SMART DATA SECTION ===
SMART Status not supported: Incomplete response, ATA output registers missing
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.
General SMART Values:
Offline data collection status: (0x02) Offline data collection activity
was completed without error.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 0) seconds.
Offline data collection
capabilities: (0x7d) SMART execute Offline immediate.
No Auto Offline data collection support.
Abort Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 48) minutes.
Conveyance self-test routine
recommended polling time: ( 2) minutes.
SCT capabilities: (0x0025) SCT Status supported.
SCT Data Table supported.
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x0032 120 120 050 Old_age Always - 0/0
5 Retired_Block_Count 0x0033 100 100 003 Pre-fail Always - 0
9 Power_On_Hours_and_Msec 0x0032 097 097 000 Old_age Always - 3292h+24m+37.760s
12 Power_Cycle_Count 0x0032 097 097 000 Old_age Always - 3766
171 Program_Fail_Count 0x000a 100 100 000 Old_age Always - 0
172 Erase_Fail_Count 0x0032 100 100 000 Old_age Always - 0
174 Unexpect_Power_Loss_Ct 0x0030 000 000 000 Old_age Offline - 1281
177 Wear_Range_Delta 0x0000 000 000 000 Old_age Offline - 1
181 Program_Fail_Count 0x000a 100 100 000 Old_age Always - 0
182 Erase_Fail_Count 0x0032 100 100 000 Old_age Always - 0
187 Reported_Uncorrect 0x0012 100 100 000 Old_age Always - 0
189 Airflow_Temperature_Cel 0x0000 028 047 000 Old_age Offline - 28 (Min/Max 14/47)
194 Temperature_Celsius 0x0022 028 047 000 Old_age Always - 28 (Min/Max 14/47)
195 ECC_Uncorr_Error_Count 0x001c 120 120 000 Old_age Offline - 0/0
196 Reallocated_Event_Count 0x0033 100 100 003 Pre-fail Always - 0
201 Unc_Soft_Read_Err_Rate 0x001c 120 120 000 Old_age Offline - 0/0
204 Soft_ECC_Correct_Rate 0x001c 120 120 000 Old_age Offline - 0/0
230 Life_Curve_Status 0x0013 100 100 000 Pre-fail Always - 100
231 SSD_Life_Left 0x0000 097 097 011 Old_age Offline - 68719476737
233 SandForce_Internal 0x0032 000 000 000 Old_age Always - 5120
234 SandForce_Internal 0x0032 000 000 000 Old_age Always - 6169
241 Lifetime_Writes_GiB 0x0032 000 000 000 Old_age Always - 6169
242 Lifetime_Reads_GiB 0x0032 000 000 000 Old_age Always - 10976
244 Unknown_Attribute 0x0000 099 099 010 Old_age Offline - 4128812
SMART Error Log not supported
SMART Self-test log structure revision number 1
Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error
# 1 Short offline Completed without error 00% 3282 -
# 2 Short offline Completed without error 00% 3282 -
SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.
I have wiped out the disk, created a new partition table etc. Nothing seems to have worked.
Please tell me If I should provide more info. I would be grateful for your help to resolve this issue.