Coder Social home page Coder Social logo

botspot / pi-power-tools Goto Github PK

View Code? Open in Web Editor NEW
186.0 12.0 26.0 8.5 MB

General Purpose Raspbian Image & SD Card Manager

License: GNU General Public License v3.0

Shell 100.00%
utility tool raspberry-pi raspberrypi raspberry-pi-4 disk-image usb-drive raspbian-buster raspbian-image loop-device

pi-power-tools's Introduction

Pi Power Tools logo

badge

General Purpose Raspbian Image & SD Card Manager

Want to build your own custom Raspbian SD card image? Like enabling ssh, modifying /boot/config.txt, doing an apt update, enabling VNC, or installing something?
Have a pile of sd cards and curious what's on them? (and don't want to boot them, one at a time, in a Pi?)
Want to run two versions of Raspbian at once?
Or, how about running Raspbian Stretch on a Pi 4?

No other tool can do any of these:

  • Boot - Powered by Vdesktop. Runs the Raspbian image in a virtual machine. It even shows the desktop!
  • Flash - Flashes Raspbian directly from the Internet to the selected device. Tuned for maximum speed, proven by benchmarks.
  • Mount - Full control to manage loop devices and mountpoints.
  • Edit - Auto-creates a loop device, then lets you mess up its partitions with Gparted.
  • Resize - Add or remove free space from a disk image with a single click. <-- This also repairs the image!

Sneak peek:
img mode
Want to give it a spin? Great!

To download & install

Run this command in a terminal in the desktop session, not from the console:

wget -O - https://raw.githubusercontent.com/Botspot/Pi-Power-Tools/master/update | bash

This clones the repository to /home/pi/Pi-Power-Tools, adds a menu button, clones my vdesktop repo, and asks permission before installing YAD. Nothing is modified outside of your home directory.

System requirements:

  • Raspberry Pi 3B, 3B+, or 4B (untested on older models)
  • Running Raspbian Buster or Stretch
  • Passwordless sudo ability for pi user
  • Internet connection (recommended for update checking & img downloading)

After installing, Pi Power Tools can be launched from the Menu:
menu

To uninstall:

If it's not working for you, please open an issue.

sudo apt purge gparted yad systemd-container xserver-xephyr expect
rm -rf ${HOME}/Pi-Power-Tools ${HOME}/Pi-Power-Tools.old
rm ${HOME}/Desktop/ppt.desktop ${HOME}/.local/share/applications/ppt.desktop

Instructions

Table of Contents

Home

home page
The menu button opens this window by default. Enter IMG Mode or USB Mode from here. The Update button will appear if an update is available.

Settings

settings
Currently, you can change what the menu button opens by default - (Flash, IMG Mode, USB Mode, and Home), if the Boot Button launches the Desktop, whether or not to run zerofree when the Shrink Button is clicked, and how much free space to add when the 'X GB free' button is clicked.

IMG Mode

Customize Raspbian Images.
img mode
Before you can see that above page, you first have to select an img.
img mode page 1
4 ways to select a Raspbian Image:

  1. Click the arrow on the right to see any previously used disk images:
    arrow
  2. Drag-n-drop a Raspbian image from File Manager to the text box:
    drag and drop
  3. Click Download New to download & unzip a new Raspbian image:
    download Download mode has been tuned for maximum speed.
    benchmark
  4. Or create an img from your running Pi by clicking SD to IMG.
    sd to img

After a disk image has been selected, this main page appears:
img mode
Buttons:

  • Back: Back to the image selection window.
  • Flash: Copy everything from the selected img to a device. Details
  • Boot: Attempt to "boot" the selected device using a virtual desktop. Details
  • View: Mounts the image to /media/pi/pi-power-tools so you can modify the filesystem. Details
  • Edit: Modify the partitions using Gparted. Details
  • Reset PT: This button attempts to fix the partitions if you messed them up somehow. It replaces the partition table with the one from Raspbian Buster Full. Your Mileage May Vary.
  • Advmount: Control exactly where to mount each partition. In theory this will work for any kind of disk image, but has only been tested on Raspbian images. YMMV. Details
  • Shrink: Removes all free space from the selected image. If enabled in Settings, zerofree will run afterwards to remove unused blocks from the disk image.
    • Though similar in function, the script used to do this is entirely different in design and does not utilize RonR's image-utils in any way.
  • 1 GB Free: Adds one gigabyte of free space to the root partition. Customize how much free space in Settings.
    • It is not accumulative, so clicking it multiple times won't result in multiple gigabytes of free space.

USB Mode

Manage storage devices connected to your Pi.
usb mode
Select a drive in the list, then click an action button on the bottom.
Your Pi's internal SD Card (/dev/mmcblk0) cannot be flashed or booted.
Buttons:

  • Home: Back to the home window.
  • Refresh: Check for any newly inserted storage devices.
  • Flash: Copy everything from an img to the selected device. Details
  • Boot: Attempt to "boot" the selected device using a virtual desktop. Details
  • View: Mounts the device to /media/pi/pi-power-tools. Details
    Intended for Raspbian devices only, as this button assumes there are 2 partitions. (and mounts partition 1 to /media/pi/pi-power-tools/boot)
  • Edit: Modify the partitions using Gparted. Details

Flash

flash tool
Select an input disk image and an output usb drive. The filesystem root device (/dev/mmcblk0) cannot be flashed and so is not listed.
In addition to any previously used img and zip files, there are three download options: flash download options
If Download is selected, this window will appear next asking which download mode you want.
Flash tool second page
The first mode is much faster than the second one. Breakdown of the pros and cons:

Faster mode Slower mode
For Pies that don't have sufficient free space to hold a large disk image You keep the downloaded image for later.
Better for a single flash Better for flashing multiple SD cards

Concerning speed, here are benchmarks made on a 4GB Pi 4:

Faster Mode: Slower mode:
Raspbian Full 387 seconds 816 seconds
Raspbian 205 393
Raspbian Lite 102 184

Explanations for some buttons:

Boot

With this handy button, you can "test drive" your img/usb without needing to power down, switch sd cards, etc. Any changes made inside (apt install, change preferences, etc) will be preserved in the img/usb.

Instead of a Virtual Machine, this technique runs at 100% native speed (no emulation), because the guest runs the same kernel as the host device. Therefore, only booting Raspbian is supported, as other OSes require other kernels.
That means this method will still work just fine, even if the whole boot partition is corrupted!

First, the VM's Console will appear and display the boot text. After the boot process has completed, and if "Boot to Desktop" is enabled in Settings, a window similar to VNC will open and display the desktop.
animated boot button

It is a known issue that the browser crashes with the Aw, Snap! error.

View

Mounts the selected device/img to /media/pi/pi-power-tools.
view dialog
When you close the Viewing /dev/sdX dialog window, the selected device will be unmounted (ejected).

Edit

Lets you edit the partitions of the selected device using gparted.
gparted opening a disk image

Advanced Mount

Fine-tune control over loop devices and mountpoints for disk images.
If there are multiple loop devices associated with it, you will be prompted to select one and delete the others.
Which one to delete? Usually you want to keep the top one on the list. (in this example, that's /dev/loop0)

image-utils settings tab
Now you can mount each partition where you want to:
image-utils settings tab
When you're finished, be sure to click Delete to detach the loop device.


Under the hood

Pro tip: There are many comments in the shell scripts. Not only does this assist debugging, it also makes most of it self-explanatory.

Directory Tree:

Pi-Power-Tools/ - This is the main folder that stores everything.

During an update, the old folder is renamed to Pi-Power-Tools.old/

  • Scripts:
    • installgui - This prompts for packages to be installed
    • flash - This is the Flash tool's script.
    • update - This script is what installs/updates Pi Power Tools.
    • home - This is Home's script.
    • img-mode - This script is IMG Mode.
    • usb-mode - This script is USB Mode.
  • Other files:
    • installedpackages - Keeps a record of what the update script installed.
    • README.md - You are reading this right now.
  • Folders:
  • functions/ - Stores sub-scripts that do certain things.
    • advmount - The Advanced Mount tool.
    • buffer - The secret sauce behind the fast download speeds. This ARMHF executable ships with Pi Power Tools, to prevent adding a dependency for installing buffer.
    • edit - A short bash script that opens a Raspbian image in gparted. It handles creating a loop device and deleting it when done.
    • imglist-parser - Bash script that parses imglist, deletes entries that don't exist on the filesystem, removes duplicate entries, and echo's the resulting output.
    • milliways-image-backup - Fork of a fork of RonR's image-backup. I have made substancial changes to most of the script.
    • restore-pt - Short bash script to overwrite the specified disk image's partition table with part-table.img.
    • terminal-run - This simple script is used to run bash scripts in a terminal. It's a standardized workaround originally developed for Pi-Apps.
    • image-shrink - Botspot's version of image-shrink. Added a couple bug fixes and removed the interactive elements for better scripting usage.
    • zerofree - Another ARMHF executable for recognizing unused blocks and overwriting them with zeros. Shrinks a disk image even more. Only used if enabled in Settings.
    • zerofree_runner - Wrapper bash script to interface with zerofree. Creates a loop device for the specified img, runs zerofree, runs shrinkimage, then removes the loop device.
  • data/ - Stores configuration files
    • home.conf - Stores the configuration from the Settings window.
    • imglist - Keeps track of what disk images have been used.
    • mirrors - URLs, sizes, and names of download sites. Feel free to add your own.
    • mountpoint - Change where to mount to. Default is /media/pi/pi-power-tools.
    • part-table.img - The default partition table extracted from Raspbian Buster Full. Used by the Reset PT button in IMG Mode.
    • vdesktop.conf - Stores the boot mode for vdesktop. Possible values are gui, cli, and cli-login.
    • version - The new location for the version file. Compared against the online version to check for updates.
    • ziplist - Exactly the same as imglist, but stores entries for previously used ZIP files instead. Currently only used by the Flash tool.
  • icons/ - Stores all the icons for the user interface.
  • vdesktop/ - Ships empty, but installgui populates this folder with all files from the Vdesktop repo.

Basic script design:

  • The scripts all use YAD to handle the user interface.* I found that Zenity was way too limited. (and didn't allow for multiple buttons, button icons, customized tooltips, or much else) * Okay, installgui and update do use zenity because Raspbian does not include YAD by default.

Q&A

  • Q: Unique logo.logoWhat inspired you?

It's a combination of BB-8, the RPi logo, and a saw blade. Also I think it looks a bit like like a pineapple, which is my favorite fruit.

  • What made you develop this tool?

I while back, I wanted to download Raspbian, uninstall all programming tools from it, do an apt update & upgrade, add a chrome extension to the browser, then flash it to a SD card. It took several days to fumble around with terminal commands. The action was so simple, but the process so hard that I realized a tool to do it was sorely needed.

  • Q: How long did it take to program this?

Several months. But it saved me enough time to be worth it. And I had a blast programming it all.

pi-power-tools's People

Contributors

botspot avatar cycool29 avatar mtlynch avatar noozabooz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pi-power-tools's Issues

Hostname has to be raspberrypi for autologin to work

Loaded Pi-Power-Tools on a Pi 4/4.
Inserted uSD card from a working Pi (boots to desktop etc with no problems).
Run Pi-Power-Tools
Choose USB; select device ok
Click Boot
Boot Console opens - many lines of log etc.
Gets to {hostname} login:
Nothing happens after that whether I leave it, enter the actual password, or even the default 'raspberry' password.
What info would help debug this?

[Feature request] Boot-with-password button

Hi Botspot.

It would be usefull to add "Boot with password" beside "Boot" button.
When automatically started pi-wizard set a password,
image booting do not work - stops at login.

Fatal Error: Failed to expand image

Hi

Did a fresh install of Pi Power Tools, tried backing up one of my images, but i get a error at the end saying Failed to Expand Image. Not sure whats causing this, my USB Drive has more then enough space.

Vdesktop crashing

Im trying to start up my sd card without rebooting using ppt and all that happens is it crashes.
nothing else.

Installing on Bookworm/Pi5 fails

I've ust tried to install and run on a new Pi 5.

Initially it complained becasue 'yad' could not be installed, but running the wget install snippet again claimed to have got past that.

If I run the PPT tool from the system menu and try to view an IMG it starts, fails and eventually closes the window. Runnig'vdesktop' directly results in

desktop /home/tim/2023-12-05-raspios-bookworm-arm64-full.img
Current config:
VDESKTOP_BOOT_MODE: gui
VDESKTOP_UMOUNT_ON_EXIT: yes
VDESKTOP_USERNAME: pi
VDESKTOP_PASSWORD: raspberry
VDESKTOP_AUTO_LOGIN: yes
VDESKTOP_MOUNTPOINT: /media/pi/vdesktop
VDESKTOP_ENABLE_ROOTMOUNT: yes
VDESKTOP_ENABLE_VIRGL: no
VDESKTOP_LOCAL_BINARIES: yes
VDESKTOP_NSPAWN_FLAGS: 

Message from Botspot: Comments >/dev/null. Just kidding! Questions or suggestions? https://www.raspberrypi.org/forums/viewtopic.php?&t=251757
Given /home/tim/2023-12-05-raspios-bookworm-arm64-full.img, running in disk image mode.
Here's the loop device for it: /dev/loop2
cat: /media/pi/vdesktop/etc/machine-id: No such file or directory
Machine IDs equal. (b7125ef90146405da5c533b078e65049) Changing machine id to 1f541e58f8e167fb79327640659482f7
/home/tim/Pi-Power-Tools/vdesktop/vdesktop: line 368: /media/pi/vdesktop/etc/machine-id: No such file or directory
/home/tim/Pi-Power-Tools/vdesktop/vdesktop: line 369: /media/pi/vdesktop/var/lib/dbus/machine-id: No such file or directory

img should be mounted, but /media/pi/vdesktop/bin does not exist!
Hold on...
Cleaning up...
Almost done...
Done!

Advice welcomed

Armbian support

Could you add support for Armbian. I use Orange Pi 3 LTS and I can't find similar tool for backuping and shrinking img of the SD card

No shortcut made in Accessories on install

On Raspbian Buster using an RPI 4B, I ran the install command:

wget -O - https://raw.githubusercontent.com/Botspot/Pi-Power-Tools/master/update | bash

It went on to install and download things - I didn't observe any error messages other than it couldn't find yad, but I hit the okay button to go ahead and install that.

Following install, no shortcut was made in the Accessories menu, or anywhere else. I thought maybe I needed to reboot the system, but that didn't make a difference. How do I fix this?

IMG mode/View: Error /media/pi/pi-power-tools: No such file or directory

In IMG mode, clicking the "View" button popped up a window titled "Error" and displaying the message, "/media/pi/pi-power-tools: No such file or directory."

But then, thinking it might help PPT to function, I manually created this folder. After that a pcmanfm file manager window popped up (as well as another window titled "Viewing IMG" and saying "Close this when you are finished viewing the files") open to this folder, but the folder was empty.

The virtual machine ("Boot" button) seemed to work well enough, although I think it was not using the folders for its files that your scripts designated for it. I downloaded the latest raspbian image in PPT before I did these things. And so far, these are the only functions of PPT that I tried.

This is on a recently bought RPi 4 Model B Rev 1.4 with the latest Raspberry Pi OS dated 2020-08-20.

One complication: For security purposes I created a second user as which I did all these things. This second user is in all the same groups as the pi user. I "retired" --- meaning I am no longer routinely using --- the pi user account. But I did not delete it, although I changed its password. Also, both these users are now required to provide their passwords to sudo.

I did not try to, and would rather not be required to, use Pi Power Tools as the default pi user. So just in case using my second user account is the cause of these errors, I hope you will be able to modify your code so that I can.

Kali Linux

Hi, could you please add Kali Linux to Pi Power Tools? Is it possible to add both without the desktop environment and with. This would allow a simple way to penetration test without installing Kali Linux on a new SD card.

Thanks

Other OS'es

Does this application also support other (custom) OSes? And if so, what are the limits? (I'm searching for a tool that allows me to test my own OS on my rpi400)

Free Up Space

Is it possible to make an easier way to free up space? Currently the only way I know off to increase the size of the virtual machine is to press the 1GB free button. Is it possible to make a user input field and allow a custom storage size to be entered to free up?

Thanks, slashtechno

umm?

if followed your tutoreal
i got in boot console
2021-01-30-204434_1920x1080_scrot
then in the window
2021-01-30-204442_1920x1080_scrot

64 bit version

Hi I have a pi-400 running
$ uname -a
Linux larosa-400R64 5.10.92-v8+ #1514 SMP PREEMPT Mon Jan 17 17:39:38 GMT 2022 aarch64 GNU/Linux

And I'm trying to get the 32 bit full desk top in Pi-Power--Tools.

I just get a black screen with no error indicated.

Image-utils distribution issue

RonR has a problem with outdated versions of image-utils being shipped with Pi-Power-Tools.

Quoting RonR himself:

You should let users know that you are distributing outdated and modified versions of my Image File Utilities in opposition to my request and against my wishes.

raspbian lite option

Hi, any chance of adding this for raspbian lite? or maybe it is, how to run on CLI?

regards.

Partitions or virtual mapping on device, not making file system

I am on Pi 3B+. Whenever I try to make a new img from sd card I get the error

mkfs.vfat: Partitions or virtual mappings on device '/dev/loop0', not making filesystem (use -I to override)

I am a newbie and not sure what I can do to fix this. I had it working once before but after a reinstall it has been acting up.

Errors opening lxde applications on Raspberry Pi OS lite

Repro steps

Boot 2020-05-27-raspios-buster-lite-armhf.img (the clean Raspberry Pi OS lite build) in IMG mode

Expected

Boot console shows a clean terminal

Actual

Something seems to be attempting to launch several lxde applications:

-bash: /usr/bin/startlxde-pi: No such file or directory
-bash: lxpanelctl: command not found
-bash: pcmanfm: command not found
-bash: /usr/bin/startlxde-pi: No such file or directory
-bash: lxpanelctl: command not found
-bash: /usr/bin/startlxde-pi: No such file or directory
pi@raspberrypi:~ $ -bash: pcmanfm: command not found
-bash: /usr/bin/startlxde-pi: No such file or directory
-bash: /usr/bin/startlxde-pi: No such file or directory

The -bash: /usr/bin/startlxde-pi: No such file or directory repeats infinitely every 5 seconds or so.

IMG download fails due to Raspberry Pi Foundation using IMG.XZ releases

Today I noticed that PPT is unable to flash/download RPi OS Bullseye because the new download is in img.xz format.

This completely breaks the method PPT uses to obtain filename and size information, and there is no way to fix it without a major code refactor. If somebody else sees this issue and is willing to help, they are more than welcome to fork PPT and open a pull request. Looks like I'll have to flash Bullseye the old fashioned way... 😢

User Friendly CLI

Similarly to #8 I was wondering if it would be possible to be able to launch image files easily from the command line. I know Vdesktop is works through the command line but is quite complicated. Below I put how it could look like.
To boot an image (would launch VM shell and VM GUI):
pi-power-tools boot <img file>
To install a new image:
pi-power-tools install pi-os-full

Got some errors and it didn't install; it's not in the start menu.

--2020-07-29 22:10:51--  https://raw.githubusercontent.com/Botspot/Pi-Power-Tools/master/update
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1606 (1.6K) [text/plain]
Saving to: 'STDOUT'

-                                100%[========================================================>]   1.57K  --.-KB/s    in 0s      

2020-07-29 22:10:51 (4.80 MB/s) - written to stdout [1606/1606]

rm: cannot remove '/home/pi/logo-64.png': No such file or directory
--2020-07-29 22:10:51--  https://raw.githubusercontent.com/Botspot/Pi-Power-Tools/master/icons/logo-64.png
Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.192.133, 151.101.128.133, 151.101.64.133, ...
Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.192.133|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2760 (2.7K) [image/png]
Saving to: 'logo-64.png'

logo-64.png                      100%[========================================================>]   2.70K  --.-KB/s    in 0s      

2020-07-29 22:10:52 (10.5 MB/s) - 'logo-64.png' saved [2760/2760]

Cloning into 'Pi-Power-Tools'...
remote: Enumerating objects: 160, done.
remote: Counting objects: 100% (160/160), done.
remote: Compressing objects: 100% (156/156), done.
remote: Total 495 (delta 92), reused 5 (delta 1), pack-reused 335
Receiving objects: 100% (495/495), 8.33 MiB | 992.00 KiB/s, done.
Resolving deltas: 100% (253/253), done.
cp: cannot stat '/home/pi/Pi-Power-Tools.old/data/imglist': No such file or directory
cp: cannot stat '/home/pi/Pi-Power-Tools.old/data/ziplist': No such file or directory

Support a CLI-only mode

I'd love to be able to drive PPT from the command-line. Specifically, I'm interested in a scenario like the following:

ppt-boot --img my-target.img --script my-script.sh

Where PPT boots my-target.img like a VM, executes my-script.sh in a bash shell, shuts down, and saves the resulting .img file.

How difficult would this be?

Trouble accessing USB devices.

Thank you for making such an amazing and useful project!!!

However I am having trouble accessing USB devices connected to the pi when inside the container running the image file.

Specifically, I am trying to run Gqrx and other RTL-SDR apps from the PiSDR image... (https://github.com/luigifcruz/pisdr-image)

I have run the volk_profile command (inside the container) to detect and setup the RTL-SDR dongle, and that seemed to work, but when i run Gqrx or any other app that needs to access the SDR USB device from inside the container it tells me it can not open the device, and the device name and serial number do not show in the devices list like it should in any of the apps.

lsusb from inside the container sees the device, but for some reason apps can't access it.

I'm wondering if this is a permissions issue (do i need to run the apps with sudo) or is there some special "porting" we need to setup to pass through full USB functionality from inside the container?

Hope you can help, because this is the only way i can get all the SDR software to work on the latest Raspberry Pi OS.. by running the image file that someone has already done getting all the bugs out of the installation for those apps :-(

Also, another small issue... when running the OS in the container, I changed the default raspberry password, now the OS no longer boots to the desktop in the container, instead it goes to a prompt telling me the login was wrong, then i need to enter the user and new password and manually start the desktop with startx. How do I fix this so the new password is recognized in the container boot up process and it automatically boots to the desktop like it's supposed to?
Thanks

RasPi Official Display

When I was testing this out, It worked great so far but one major problem I ran into is the official Raspberry Pi Display.
I made and img of the SD card and then did the shrink and tried doing the boot option.
This worked and the img booted. Then I went and tried to shutdown the booted img and it turned the raspberry pi official display off. Then when I tried launching it again the display didn't turn on. Next on the pi itself I did a reboot and the display turned back on. The weird part was that through VNC I could still see the desktop and everything but the official pi display was black.

https://drive.google.com/file/d/1hGUlwbbAMU27LAOQduHWGNhIlfA-Wq14/view?usp=sharing

Networking

Any way to add networking to the virtual machine? right now mine is stuck without an IP or network interface...

Downloading update... bash: line 2: $'[?25hDone': command not found

Hi, trying to install Pi-Power tools but get following error:

OS: Raspbian GNU/Linux 10 (buster)
OS architecture: 32-bit
Last updated Pi-Apps on: 07/27/2022
Latest Pi-Apps version: 07/27/2022
Kernel: armv7l 5.10.103-v7+
Device model: Raspberry Pi 3 Model B Plus Rev 1.3
Cpu name: Cortex-A53
Ram size: .92 GB
Raspberry Pi OS image version: 2019-07-10
Language: en_US.UTF-8

BEGINNING OF LOG FILE:

Will install these packages: yad systemd-container xserver-xephyr expect
Creating an empty apt-package to install the necessary apt packages...
It will be named: pi-apps-7144246a
Depends: expect, systemd-container, xserver-xephyr, yad
Running sudo apt update...
Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
Hit:2 https://deb.nodesource.com/node_14.x buster InRelease
Hit:3 http://archive.raspberrypi.org/debian buster InRelease
All packages are up to date.
apt update complete.
Installing the pi-apps-7144246a package...
The following additional packages will be installed:
expect tcl-expect
Suggested packages:
tk8.6
The following NEW packages will be installed:
expect pi-apps-7144246a tcl-expect
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Get:1 /home/pi/pi-apps-7144246a.deb pi-apps-7144246a all 1.0 [772 B]
Get:2 http://ftp.cica.es/mirrors/Linux/raspbian/raspbian buster/main armhf tcl-expect armhf 5.45.4-2 [121 kB]
Get:3 http://ftp.cica.es/mirrors/Linux/raspbian/raspbian buster/main armhf expect armhf 5.45.4-2 [166 kB]
Fetched 286 kB in 0s (673 kB/s)
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 120998 files and directories currently installed.)

Unpacking tcl-expect:armhf (5.45.4-2) ...

Unpacking expect (5.45.4-2) ...

Unpacking pi-apps-7144246a (1.0) ...

Apt finished.
Package installation complete.
Downloading update... bash: line 2: $'�[?25h�[0KDone': command not found

Failed to install Pi Power Tools!
◢◣Need help? Copy the ENTIRE terminal output or take a screenshot.
Please ask on Github: https://github.com/Botspot/pi-apps/issues/new/choose
Or on Discord: https://discord.gg/RXSTvaUvuu

Is this a known error where there is a fix ??
Kind regards
Don...

No writing SD image on mounted remote disk

I would like to write an SD image on a mounted remote disk but it is not possible since there is no available space.
I guess the available space could not be detected on remote mounted devices.

Issue booting image

So my images wouldn't boot. I ran img-mode manually, and here is it's output

Image file selected: /home/pi/Downloads/AmogOS.img
EOO
Boot
xfce4-terminal: Unknown option "-c"

Image file selected: /home/pi/Downloads/AmogOS.img`

The vdesktop window didnt even open.

Update fstab?

When I try to shrink an image it says I need to update the /etc/fstab file.

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.