Comments (18)
Indeed, run dietpi-software
to finish it.
from dietpi.
your file system seems to be full, Can you share
df -h
from dietpi.
root@DietRPI:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 700M 666M 0 100% /
devtmpfs 3.9G 0 3.9G 0% /dev
tmpfs 3.9G 0 3.9G 0% /dev/shm
tmpfs 1.6G 8.6M 1.6G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 3.9G 0 3.9G 0% /tmp
tmpfs 50M 0 50M 0% /var/log
/dev/sda1 127M 35M 93M 28% /boot
from dietpi.
Filesystem Size Used Avail Use% Mounted on /dev/root 700M 666M 0 100% /
how large is your SSD? Current size seems to be below 1GB. Can you share following?
lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
Are there any kernel error messages?
dmesg -l 0,1,2,3
from dietpi.
root@DietRPI:~# lsblk -o name,fstype,label,size,ro,type,mountpoint,partuuid,uuid
NAME FSTYPE LABEL SIZE RO TYPE MOUNTPOINT PARTUUID UUID
sda 931.5G 0 disk
├─sda1
│ vfat 128M 0 part /boot c06c5cdf-01 74EC-57EC
└─sda2
ext4 931.4G 0 part / c06c5cdf-02 90a1c2df-598c-4b9b-bdde-5a1afc09bb28
root@DietRPI:~# dmesg -l 0,1,2,3
[ 0.626092] bcm2708_fb soc:fb: Unable to determine number of FBs. Disabling driver.
[ 0.811687] mmc1: Controller never released inhibit bit(s).
it is a SSD 1TO Samsung 870 EVO
from dietpi.
hmm strange, /dev/root
is shown with 700MB only, while the whole partition sda2
has 931GB.
@MichaIng any idea how this could happen?
from dietpi.
i used belenaEtcher on Macos Sonoma 14.0 to flash the SSD with the DietPi_RPi-ARMv8-Bookworm.img.xz
(if this is any help)
from dietpi.
was this a fresh install? Probably the partition did not get extended. If this was a fresh install, can you share logs from /var/tmp/dietpi/logs/
You can attach the files to GitHub 😉
from dietpi.
dietpi-firstboot.log
dietpi-firstrun-setup.log
dietpi-ramlog.log
fs_partition_resize.log
from dietpi.
already first run setup failed. You should have seen the error before already. Did you?
dpkg: error processing archive /tmp/apt-dpkg-install-3eIffr/12-rpi-eeprom_20.0-2_all.deb (--unpack):
cannot copy extracted data for './lib/firmware/raspberrypi/bootloader-2711/latest/pieeprom-2023-05-11.bin' to '/lib/firmware/raspberrypi/bootloader-2711/latest/pieeprom-2023-05-11.bin.dpkg-new': failed to write (No space left on device)
Errors were encountered while processing:
/tmp/apt-dpkg-install-3eIffr/12-rpi-eeprom_20.0-2_all.deb
Partition seems to have extended
/dev/sda2:
New situation:
Disklabel type: dos
Disk identifier: 0xc06c5cdf
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 264191 262144 128M c W95 FAT32 (LBA)
/dev/sda2 264192 1953525167 1953260976 931.4G 83 Linux
The partition table has been altered.
But somehow it's not the case. 🤔
from dietpi.
yes i have seen the eeprom install failed maybe it is because i had to update the rpi-eeprom with a SD card of raspeberry OS in order to change the boot priority ? (but long prior)
from dietpi.
because i had to update the rpi-eeprom with a SD card of raspeberry OS in order to change the boot priority
This has nothing to do with it.
from dietpi.
The partition has been successfully resized, but the filesystem has not. It is like the script stopped here for unknown reasons, without an error 🤔: https://github.com/MichaIng/DietPi/blob/master/rootfs/var/lib/dietpi/services/fs_partition_resize.sh#L72
However, try to resize it manually:
resize2fs "$G_ROOTFS_DEV"
from dietpi.
root@DietRPI:/var/tmp/dietpi# resize2fs "$G_ROOTFS_DEV"
resize2fs 1.47.0 (5-Feb-2023)
Filesystem at /dev/sda2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 117
The filesystem on /dev/sda2 is now 244157622 (4k) blocks long.
it seems to have fixed my issue, thank you for your help !
from dietpi.
well first run did not finished and there might be packages missing now
from dietpi.
After more investigation :
I had an error during the first instal every time with rpi-eeprom
dpkg: error processing archive /tmp/apt-dpkg-install-3eIffr/12-rpi-eeprom_20.0-2_all.deb (--unpack):
cannot copy extracted data for './lib/firmware/raspberrypi/bootloader-2711/latest/pieeprom-2023-05-11.bin' to '/lib/firmware/raspberrypi/bootloader-2711/latest/pieeprom-2023-05-11.bin.dpkg-new': failed to write (No space left on device)
Errors were encountered while processing:
/tmp/apt-dpkg-install-3eIffr/12-rpi-eeprom_20.0-2_all.deb
Turns out updating it using a SD card flashed for it, solved this issue and i can now use the command such as rpi-eeprom-config
this guide helped :
https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/raspberry-pi/boot-eeprom-rpi4.adoc
On the other hand, my SSD seemed to be easily corrupted during read / write operations :
errors such as :
/bin/bash cd no such file or directory
- failing to log in SSH with pubkey or password.
- Very long boot time / first init time
What seemed to fix this issue is :
setting the line usb-storage.quirks=iDVendor:iDProduct:u
in the file at boot/cmdline.txt
where iDVendor and iDProduct are those of the usb-sata cable
https://forums.raspberrypi.com/viewtopic.php?t=245931
from dietpi.
The issue is not the package. It's the missed extension of your partition. Therefore you don't have enough space to install or update packages.
from dietpi.
Probably UAS, respectively that the SSD does not support it well, was the underlying reason why the filesystem expansion failed, or why even that it did succeed now (as of above comment) it still somehow does not provide this additional space. Not sure about the range of issues UAS can cause if its not supported.
Lately issues regarding UAS are rare, but for reference: #3754
from dietpi.
Related Issues (20)
- DietPi-Software | Synapse: Migrate to new Element fork
- DietPi-VPN | Unable to enter private key decryption password HOT 12
- dietpi upgrade failing HOT 3
- Unable to update any software running apt update/upgrade HOT 10
- when trying to install kodi HOT 1
- DietPi-Backup | Enhance G_PROMPT_BACKUP HOT 10
- Orange Pi 5 kernel upgrade to 6.7 HOT 1
- nfs problem when trying to HOT 2
- PiVPN with Wireguard add keep alive HOT 7
- Open Beta v8.25 | Please help testing and hardening our upcoming release HOT 1
- concurrent execution of dietpi-backup after lost ssh connection HOT 6
- please update tasmoadmin HOT 14
- DietPi-Backup Error after update to 8.25 HOT 2
- Very first run from a fresh install gives error "HTTP/2 stream 1 was not closed cleanly before end of the underlying stream" while doing the DietPi-Update". HOT 7
- Iteration v9.0 (2024-01-13)
- cant make your own distribution via ssh, please add warning HOT 9
- Migration script causes failure to load device overlays on RPi 4B HOT 5
- Raspberry Pi 5 - Backup failed after migration from Pi 4 HOT 4
- Migration script Pi4 - umount: /boot: target is busy. HOT 6
- RPi 4 fails to upgrade packages HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dietpi.