# Ahci file system full

**URL:** <https://genode.discourse.group/t/ahci-file-system-full/151>\
**Category:** Help / Tech Support\
**Created:** [February 5, 2025, 4:47am UTC](https://genode.discourse.group/t/ahci-file-system-full/151 "2025-02-05T04:47:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pfr](https://dub1.discourse-cdn.com/flex006/user_avatar/genode.discourse.group/pfr/32/108_2.png) [@pfr](https://genode.discourse.group/u/pfr)\
**Post date:** [February 5, 2025, 4:47am UTC](https://genode.discourse.group/t/ahci-file-system-full/151/1 "2025-02-05T04:47:51Z")

</div>

Hi everyone.

I recently installed SculptOS 24.10 to my Thinkpad x230 internal SSD.

After watching Norman’s recent walk-through video (Thanks Norman, it was very helpful!) I was able to finally get a good feel for the system, while using the ram fs at least.

I have made the Genode partition under ahci the default partition, and have expanded it to it’s full capacity (223.568 GiB). However, when I un-use ram fs and then select use on the GENODE\* file system, the log gives me some errors:

```auto
[runtime -> ahci-0-3.fs] rump: uid 0 on /: file system full
[runtime -> depot] Errot: /depot: no space
[runtime -> depot_rom] Error File_system-session creation failed ..
[runtime -> depot_rom] Error: Uncaught exception of type 'Gennode::Service_de...
[runtime -> depot_rom] Warning: abort called - thread ep
etc...
[core] Error: illegal READ at address 0x0 by pager_object ...

```

If someone could also kindly walk me through how to take a screenshot and then share it somehow while on SculptOS I’d be able to show more details. I have installed the screenshot program, and tried to alter the key from KEY\_PRINT to KEY\_F1(because my thinkpad does not have a print key) but that didn’t work. It also appears that these forums use a bit too much JS for the Falkon Browser to handle so I’m having to dual wield laptops.

Thanks again to Norman, the walk-through was very comprehensive and I was able to make use of many SculptOS features. I only wish I could set up persistence on the ahci filesystem from boot.

Thanks

---

<div class="post-metadata">

**Author:** ![jws](https://dub1.discourse-cdn.com/flex006/user_avatar/genode.discourse.group/jws/32/104_2.png) [@jws](https://genode.discourse.group/u/jws)\
**Post date:** [February 5, 2025, 1:11pm UTC](https://genode.discourse.group/t/ahci-file-system-full/151/2 "2025-02-05T13:11:55Z")

</div>

Could you please describe how you created the `GENODE` partition on your AHCI device as the log snippet only shows the final outcome but not not the steps leading up to it (maybe resizing the partition worked but resizing the file-system failed).

If the partition was successfully resized (either in the _/report/log_ or _/report/runtime/ahci-0.part/partitions_ file you will find the information about the current partition-table) you could re-format the partition via the Sculpt GUI or via `mkfs.ext2` on another OS and give it another try.

> If someone could also kindly walk me through how to take a screenshot and then share it somehow while on SculptOS I’d be able to show more details.

You can also _inspect_ the USB stick and copy the _/report/log_ file and than access it from another system.

---

<div class="post-metadata">

**Author:** ![tomga](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@tomga](https://genode.discourse.group/u/tomga)\
**Post date:** [February 5, 2025, 2:32pm UTC](https://genode.discourse.group/t/ahci-file-system-full/151/3 "2025-02-05T14:32:05Z")

</div>

I have managed to make screenshot work on my Thinkpad by changing:

```auto
<key name="KEY_SYSRQ" to="KEY_PRINT"/>

```

to

```auto
<key name="KEY_F11" to="KEY_PRINT"/>

```

in `/config/event_filter` (probably I have copied it from `/config/managed` earlier.

My routing configuration for screenshots from leitzentrale is:

```auto
  <start name="screenshot" version="1" pkg="jschlatow/pkg/screenshot/2024-10-09" priority="-2">
    <route>
      <service name="Gui">
        <parent/>
      </service>
      <service name="Capture">
        <parent label="leitzentrale"/>
      </service>
      <service name="File_system" label="target">
        <child name="recall_fs"/>
      </service>
      <service name="Rtc">
        <child name="system_clock"/>
      </service>
    </route>
  </start>

```

Routing for `Gui` seems to be important to be to `System gui server`. It didn’t work for me if I selected `wm`.

---

<div class="post-metadata">

**Author:** ![pfr](https://dub1.discourse-cdn.com/flex006/user_avatar/genode.discourse.group/pfr/32/108_2.png) [@pfr](https://genode.discourse.group/u/pfr)\
**Post date:** [February 6, 2025, 12:39am UTC](https://genode.discourse.group/t/ahci-file-system-full/151/4 "2025-02-06T00:39:48Z")

</div>

> [@jws](#):
>
> Could you please describe how you created the `GENODE` partition on your AHCI device

I booted into a live linux system and used `gparted` to completely wipe my laptop’s SSD. I then downloaded the prebuilt mage `24.10` and ran:

```auto
sudo dd if=sculpt-24-10.img of=/dev/sda bs=1M conv=fsync

```

That was simple enough, I then booted off the internal SSD, expanded and made default the `GENODE` partition.

I just tested booting from a USB stick with the same image on it and it works when switching from ram fs to usb, everything loads fine.  
/

> [@tomga](#):
>
> I have managed to make screenshot work on my Thinkpad by changing:
> 
> ```auto
> <key name="KEY_SYSRQ" to="KEY_PRINT"/>
> 
> ```
> 
> to
> 
> ```auto
> <key name="KEY_F11" to="KEY_PRINT"/>
> 
> ```
> 
> in `/config/event_filter` (probably I have copied it from `/config/managed` earlier.

Thank you. This time I used `system GUI server` for GUI and `system GUI` for capture. Change the key in `/config/event_filter` but when I press the assigned key, is something supposed to happen? any indication that a screenshot has been taken? where are screenshots saved exactly? and how does one share a screenshot from within Sculpt? I am finding it hard without my UNIX tools at my disposal. Please give me `curl` and also `git` !

---

<div class="post-metadata">

**Author:** ![jschlatow](https://dub1.discourse-cdn.com/flex006/user_avatar/genode.discourse.group/jschlatow/32/12_2.png) [@jschlatow](https://genode.discourse.group/u/jschlatow)\
**Post date:** [February 6, 2025, 8:32am UTC](https://genode.discourse.group/t/ahci-file-system-full/151/5 "2025-02-06T08:32:31Z")

</div>

There will be a log message when a screenshot has been taken. The files are saved to the file system assigned to the screenshot tool. You may, e.g., select the _shared\_fs_ (first enable it in the options menu). When you also assign the _shared\_fs_ to Falkon’s download file-system request you will be able to access the screenshots from Falkon.

---

<div class="post-metadata">

**Author:** ![jws](https://dub1.discourse-cdn.com/flex006/user_avatar/genode.discourse.group/jws/32/104_2.png) [@jws](https://genode.discourse.group/u/jws)\
**Post date:** [February 6, 2025, 12:34pm UTC](https://genode.discourse.group/t/ahci-file-system-full/151/6 "2025-02-06T12:34:40Z")

</div>

> I booted into a live linux system and used `gparted` to completely wipe my laptop’s SSD. I then downloaded the prebuilt mage `24.10` and ran:  
> […]

Thanks, @alex-ab could reproduce the issue on our Thinkpad X201 test-machine where it failed with the same symptom with a partition that is almost 300GiB large.

As it turns out the file-system resize step fails¹

```auto
[…]
[runtime] child "ahci-0.part" announces service "Block"
[runtime -> ahci-0.3.resize2fs] resize2fs 1.46.5 (30-Dec-2021)
[runtime -> ahci-0.3.resize2fs] Resizing the filesystem on /dev/block to 78142232 (4k) blocks.
[runtime -> ahci-0.3.resize2fs] Begin pass 1 (max = 2384)
[runtime -> ahci-0.3.resize2fs] Extending the inode table --------------------------------XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[runtime -> ahci-0.3.resize2fs] Begin pass 2 (max = 176)
[runtime -> ahci-0.3.resize2fs] Relocating blocks --------------------------------XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
[runtime -> ahci-0.3.resize2fs] Begin pass 3 (max = 1)
[runtime -> ahci-0.3.resize2fs] resize2fs: Illegal doubly indirect block found while trying to resize /dev/block
[runtime -> ahci-0.3.resize2fs] Please run 'e2fsck -fy /dev/block' to fix the filesystem
[runtime -> ahci-0.3.resize2fs] after the aborted resize operation.
[runtime -> ahci-0.3.resize2fs] Scanning inode table ----------------------------------------
[runtime] child "ahci-0.3.resize2fs" exited with exit value 1
[…]

```

and even after running `e2fsck` via _Check_ from GUI it is in a non-working state.

To remedy the situation on-target please perform the following steps:

❶ Boot Sculpt from the USB stick  
❷ Format the `GENODE` partition via the _Format_ entry (un-Use it first in case you made it the default partition and it is currently in used state) - as it is Ext2 it will take some time  
❸ Inspect the `GENODE` partition on both the AHCI as well as the USB storage device  
❹ Switch to the _Inspect_ panel and copy the `/boot` directory from the USB to AHCI, e.g.

```auto
inspect:/> cp -r /usb-1-3.3/boot /ahci-0.3

```

❺ Wait a few seconds, shutdown the system and boot from AHCI

¹) We haven’t yet looked into why it fails.

---

<div class="post-metadata">

**Author:** ![tomga](https://avatars.discourse-cdn.com/v4/letter/t/ac91a4/32.png) [@tomga](https://genode.discourse.group/u/tomga)\
**Post date:** [February 6, 2025, 6:11pm UTC](https://genode.discourse.group/t/ahci-file-system-full/151/7 "2025-02-06T18:11:33Z")

</div>

Additionally I’ll add that if you happen to have more monitors or a high resolution, then taking the screenshot may fail due to insufficient ram quota. However since it is visible in the log, it should be easy to spot.

---

<div class="post-metadata">

**Author:** ![pfr](https://dub1.discourse-cdn.com/flex006/user_avatar/genode.discourse.group/pfr/32/108_2.png) [@pfr](https://genode.discourse.group/u/pfr)\
**Post date:** [February 6, 2025, 9:56pm UTC](https://genode.discourse.group/t/ahci-file-system-full/151/8 "2025-02-06T21:56:05Z")

</div>

This worked, thank you very much for testing and providing a solution 🙂

Now I can at least get a persistent system to play on. Will report back when I can get screenshots working.

---

<div class="post-metadata">

**Author:** ![pfr](https://dub1.discourse-cdn.com/flex006/user_avatar/genode.discourse.group/pfr/32/108_2.png) [@pfr](https://genode.discourse.group/u/pfr)\
**Post date:** [February 7, 2025, 1:56am UTC](https://genode.discourse.group/t/ahci-file-system-full/151/9 "2025-02-07T01:56:42Z")

</div>

This was very helpful information, thank you.

We are live! 🙃

[![](https://europe1.discourse-cdn.com/flex006/uploads/genode/original/1X/f1efe0042301b7ee7e3f6beadc8a43fc633cb0f0.jpeg)](https://envs.sh/6e2.png)
