Giter Site home page Giter Site logo

Comments (18)

MichaIng avatar MichaIng commented on July 1, 2024 1

Indeed, run dietpi-software to finish it.

from dietpi.

Joulinar avatar Joulinar commented on July 1, 2024

your file system seems to be full, Can you share

df -h

from dietpi.

inis17 avatar inis17 commented on July 1, 2024
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.

Joulinar avatar Joulinar commented on July 1, 2024
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.

inis17 avatar inis17 commented on July 1, 2024
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.

Joulinar avatar Joulinar commented on July 1, 2024

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.

inis17 avatar inis17 commented on July 1, 2024

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.

Joulinar avatar Joulinar commented on July 1, 2024

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.

inis17 avatar inis17 commented on July 1, 2024

dietpi-firstboot.log
dietpi-firstrun-setup.log
dietpi-ramlog.log
fs_partition_resize.log

from dietpi.

Joulinar avatar Joulinar commented on July 1, 2024

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.

inis17 avatar inis17 commented on July 1, 2024

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.

Joulinar avatar Joulinar commented on July 1, 2024

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.

MichaIng avatar MichaIng commented on July 1, 2024

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.

inis17 avatar inis17 commented on July 1, 2024
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.

Joulinar avatar Joulinar commented on July 1, 2024

well first run did not finished and there might be packages missing now

from dietpi.

inis17 avatar inis17 commented on July 1, 2024

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.

Joulinar avatar Joulinar commented on July 1, 2024

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.

MichaIng avatar MichaIng commented on July 1, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.