June 14

Linux: Error with update-initramfs’ “No space left on device”

Modules=DEP; a remedy for update-initramfs’ “No space left on device”

The fix? Add MODULES=dep to /etc/initramfs-tools/conf.d/modules, followed up by update-initramfs.

My most recent Debian install created a /boot partition of 234 M.

Starting with Debian’s linux-image-5.10.0-4-amd, somewhere in March this year, update-initramfs began reporting problems installing a new kernel next to the current one.

Errors look like this:

update-initramfs: Generating /boot/initrd.img-5.14.0-1-amd64

gzip: stdout: No space left on device
E: mkinitramfs failure gzip 1
update-initramfs: failed for /boot/initrd.img-5.14.0-1-amd64 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1

The fix – Debian Bug report logs – #929424: initramfs-tools: update-initramfs should not store temporary files on /boot, which I found after reading Debian Bug report logs – #972396: initramfs-tools: Installation fails (no space left on device).

As root, create a file entitled modules in /etc/initramfs-tools/conf.d/modules with just this one line:

MODULES=dep

And then redo, as root,

update-initramfs -u

or

update-initramfs -k all -u

The result (with currently just a single kernel installed):

FilesystemSizeUsedAvailUse%Mounted on
before/dev/sda1234M150M73M67%/boot
after/dev/sda1234M135M88M61%/boot

And that should leave you with enough space for a second kernel.

By: G Hillenius

Category: Linux | Comments Off on Linux: Error with update-initramfs’ “No space left on device”
June 6

Linux: ubuntu-touch running sshd

1. From the app store install WifiTransfer
2. Connect to your cell phone from and ftp program using the connection information listed in the WifiTransfer app.
3. Copy your ssh public key to your phone
4. On your phone: mkdir /home/phablet/.ssh
5. Copy your public key into the .ssh folder: cat /home/phablet/.local/share/wifitransfer.word/id_rsa.pub >> /home/phablet/.ssh/authorized_keys
6. Start ssh service:/etc/init.d/ssh start
7. You should be able to ssh to your phone using you private key:
ssh phablet@ipaddress -i yourprivatekeyname
Category: Linux | Comments Off on Linux: ubuntu-touch running sshd
June 6

Linux: ubuntu-touch with waydroid – android applications still showing up in the ubuntu menu after uninstalling

After uninstalling android applications for waydroid the application still shows up in Ubuntu Touch application list.

On your device: go to the directory:
1. cd /home/phablet/.local/share/applications#
2. ls waydroid*
3. Find the .desktop file that references the application you uninstalled from waydroid
4. Remove the application:
rm waydroid.com.evbadroid.iwscan.desktop

Category: Linux | Comments Off on Linux: ubuntu-touch with waydroid – android applications still showing up in the ubuntu menu after uninstalling