-
-
Couldn't load subscription status.
- Fork 2.7k
Open
Labels
BugSomething isn't working as it shouldSomething isn't working as it shouldGood first issueFeel free to contribute :)Feel free to contribute :)
Description
What happened?
- I have a NanoPC-T6 with a on-board emmc as
/dev/mmcblk0and a nvme disk as/dev/nvme0n1, with empty partition table (no partitions) on both devices - Boot with SD card, run
sudo armbian-install - Select any install method, e.g.
4 Boot from MTD Flash - system on SATA, USB or NVMe - Proceed with the installation
The script is expected to present a selection menu or ask for a manual input, however, it proceeds cancatenating both device names, creating an invalid device variable ($diskcheck becomes "mmcblk0 nvme0n1").
This causes the disk space check to fail, and reports: There is not enough free capacity on /dev/mmcblk0 nvme0n1.
The problem seems to be caused by diskcheck function, which simply combines all detected disk names into a single variable
| diskcheck=$(lsblk -Al | awk -F" " '/ disk / {print $1}' | grep -E '^sd|^nvme|^mmc' | grep -v "$root_partition_device_name" | grep -v boot) |
How to reproduce?
- I have a NanoPC-T6 with a on-board emmc as
/dev/mmcblk0and a nvme disk as/dev/nvme0n1, with empty partition table (no partitions) on both devices. Other device with a emmc and a hard drive / usb drive is expected to reproduce same problem. - Boot with SD card, run
sudo armbian-install - Select any option of 1-4, e.g.
4 Boot from MTD Flash - system on SATA, USB or NVMe - Proceed with the installation, and error occurs:
There is not enough free capacity on /dev/mmcblk0 nvme0n1
On which OS are you observing this problem? (for easier diagnosis please provide logs with armbianmonitor -u)
Armbian Ubuntu 24.04 Noble
Code of Conduct
- I agree to follow this project's Code of Conduct
Metadata
Metadata
Assignees
Labels
BugSomething isn't working as it shouldSomething isn't working as it shouldGood first issueFeel free to contribute :)Feel free to contribute :)