Go to advanced search

by RonR
Tue Oct 15, 2019 5:12 pm
Forum: Advanced users
Topic: Change PTUUID/PARTUUID on an SD card or a USB device
Replies: 17
Views: 954

Re: Change PTUUID/PARTUUID on an SD card or a USB device

But actually I am trying to run the raspberry pi 4 from SSD. Im am working on that now 4 days. After changing the partuuid for the sd card and changing the cmdline.txt the raspberry would not start any more. usb-boot ( Running Raspbian from USB Devices : Made Easy ) will take care of the PTUUID/PAR...
by RonR
Mon Oct 14, 2019 2:55 am
Forum: Advanced users
Topic: Running Raspbian from USB Devices : Made Easy
Replies: 133
Views: 40968

Re: Running Raspbian from USB Devices : Made Easy

I installed the latest Raspbian Lite - 2019-09-26-raspbian-buster-lite.zip to an SD card, and ran the script which copied the files to the SSD. I downloaded usb-boot (to make sure I'm using the same one you used) and did the same thing (except I used a USB 3 flash drive as I don't have a spare SSD ...
by RonR
Mon Oct 14, 2019 1:13 am
Forum: Advanced users
Topic: Running Raspbian from USB Devices : Made Easy
Replies: 133
Views: 40968

Re: Running Raspbian from USB Devices : Made Easy

HypnoToad wrote:
Mon Oct 14, 2019 1:05 am
Does this script work OK with the Raspberry Pi 4?
...
Have I done somthing wrong here?

Yes, it works fine with the Raspberry Pi 4

It appears you removed the SD card:

[ TIME ] Timed out waiting for device /dev/mmcblk0p1
by RonR
Sun Oct 13, 2019 6:28 pm
Forum: General discussion
Topic: HARD DISK BOOT RASPBERRY PI 4
Replies: 1
Views: 434

Re: HARD DISK BOOT RASPBERRY PI 4

alevans19 wrote:
Sun Oct 13, 2019 5:22 am
Next use the free program gparted to expand and resize the second partition on the hard disk.

Or simply run usb-boot and you're done: Running Raspbian from USB Devices : Made Easy
by RonR
Sat Oct 12, 2019 5:49 pm
Forum: Advanced users
Topic: Change PTUUID/PARTUUID on an SD card or a USB device
Replies: 17
Views: 954

Re: Change PTUUID/PARTUUID on an SD card or a USB device

HeadHunter wrote:
Sat Oct 12, 2019 2:47 pm
Sry but with the script i get a permission denied. Can you help me?
I have root acces

Did you make the script executable?:

Code: Select all

chmod +x set-ptuuid
by RonR
Sat Oct 12, 2019 3:05 am
Forum: Advanced users
Topic: Running Raspbian from USB Devices : Made Easy
Replies: 133
Views: 40968

Re: Running Raspbian from USB Devices : Made Easy

You seeing any performance degradation after today's update? It included a bootloader update. It could just me. But it feels a little off? It would not necessarily be due to usb-boot. I don't believe I'm seeing anything different or unusual here. I'll be doing some FreePBX builds this weekend and w...
by RonR
Fri Oct 11, 2019 5:28 pm
Forum: General discussion
Topic: How can I monitor power supplied to my Pi 4B?
Replies: 15
Views: 431

Re: How can I monitor power supplied to my Pi 4B?

pi-tastic wrote:
Fri Oct 11, 2019 3:24 pm
i tried to run this with
./pistatus
and it just does nothing.

That's exactly what you want: No news is good news.
by RonR
Fri Oct 11, 2019 3:07 am
Forum: General discussion
Topic: How can I monitor power supplied to my Pi 4B?
Replies: 15
Views: 431

Re: How can I monitor power supplied to my Pi 4B?

I have 5V/2.4A powering my Raspberry Pi 4B and it appears to be working fine but I'd like to monitor if power supply is getting low and the device needs more power. How can I do this? Copy/paste the following to a file named pistatus and make it executable (chmod +x pistatus): #!/bin/bash STATUS=$(...
by RonR
Wed Oct 09, 2019 9:31 pm
Forum: General discussion
Topic: Switch or not
Replies: 21
Views: 606

Re: Switch or not

I've been using these for a long time with no problems whatsoever:

Yuconn Micro USB with On/Off Switch

I'm using a MicroUSB to C adapter with one on a Raspberry Pi 4.

They now have one that is USB-C:

Yuconn Type-C with On/Off Switch
by RonR
Tue Oct 08, 2019 7:10 pm
Forum: Beginners
Topic: resize fs at startup not working
Replies: 7
Views: 258

Re: resize fs at startup not working

If fact, I have patched and recreate the resize2fs_once service A problem was introduced into the latest Raspbian images ( 2019-09-26 Raspbian Image PTUUID ) that causes every SD card and USB device created from those images to have the same PTUUID/PARTUUID. UUID stands for 'universally unique iden...
by RonR
Tue Oct 08, 2019 9:31 am
Forum: Advanced users
Topic: Image File Utilities
Replies: 24
Views: 2446

Re: Image File Utilities

image-utils.zip (in the first post of this topic) has been updated.

Backups created with image-backup now auto expand the root filesysystem on the first boot. Manual resizing with raspi-config is no longer required regardless of whether the backup is restored to an SD card or a USB device.
by RonR
Tue Oct 08, 2019 7:23 am
Forum: Beginners
Topic: resize fs at startup not working
Replies: 7
Views: 258

Re: resize fs at startup not working

Raspbian's auto expansion of the root filesystem on the first boot is not very pretty (I'm being kind). /usr/lib/raspi-config/init_resize.sh runs parted to resize the root partition but parted does not resize the ext4 filesystem in that partition. There's a service (/etc/init.d/resize2fs_once) insta...
by RonR
Sun Oct 06, 2019 8:42 pm
Forum: Beginners
Topic: Hybrid (SD + SSD) boot 101?
Replies: 8
Views: 352

Re: Hybrid (SD + SSD) boot 101?

Just did that. The thing even booted to the Desktop. Only my keyboard didn't work. :( Maybe because it's a wireless one. Needed a second machine to enable ssh and login remotely to run apt. No problem, if you are aware of that. You need it anyway to restore the old cmdline.txt It's your choice. If ...
by RonR
Sun Oct 06, 2019 5:45 pm
Forum: Beginners
Topic: resize fs at startup not working
Replies: 7
Views: 258

Re: resize fs at startup not working

Do you have an example of image-mount usage ? As documented in the Image File Utilities post: image-mount: image-mount mounts a standard 'raw' image file to allow it to be read or written as if it were a device. Usage is: image-mount imagefile mountpoint [W95|Linux] where W95 mounts the BOOT partit...
by RonR
Sun Oct 06, 2019 5:22 pm
Forum: Beginners
Topic: Hybrid (SD + SSD) boot 101?
Replies: 8
Views: 352

Re: Hybrid (SD + SSD) boot 101?

If you ever get into trouble, you still have a working Raspbian system on the SD card to fall back on for trouble-shooting. usb-boot at Running Raspbian from USB Devices : Made Easy will get you there in short order. Did you ever boot a system where boot partition and root partition are out of sync...
by RonR
Sun Oct 06, 2019 7:53 am
Forum: Advanced users
Topic: Change PTUUID/PARTUUID on an SD card or a USB device
Replies: 17
Views: 954

Re: Change PTUUID/PARTUUID on an SD card or a USB device

While I don't share the concerns about zip files expressed above I never run downloaded scripts until I have analysed them, and the script I listed meets my needs of setting PARTUUID on a running image on a SD Card. Once you've had a chance to analyze the new version, I'm confident you'll find it h...
by RonR
Sun Oct 06, 2019 5:36 am
Forum: Advanced users
Topic: Change PTUUID/PARTUUID on an SD card or a USB device
Replies: 17
Views: 954

Re: Change PTUUID/PARTUUID on an SD card or a USB device

If anyone is interested the below is a safe script I have been using for years to change PTUUID on a cloned SD Card. (The original was posted on this site; I have modified to generate PTUUID) I posted that a couple years ago (in response to your request: How to change Disk identifier ). It's the pr...
by RonR
Sun Oct 06, 2019 3:48 am
Forum: Beginners
Topic: Hybrid (SD + SSD) boot 101?
Replies: 8
Views: 352

Re: Hybrid (SD + SSD) boot 101?

Just to confirm my understanding of the hybrid boot process (meaning boot from SD and then switch to SSD) for either an RPi-3 or 4 with Buster: The only partition needed on the SD card is the small FAT BOOT which simply holds enough to get the system started to the point of telling it to then look ...
by RonR
Sat Oct 05, 2019 8:59 pm
Forum: Advanced users
Topic: Change PTUUID/PARTUUID on an SD card or a USB device
Replies: 17
Views: 954

Re: Change PTUUID/PARTUUID on an SD card or a USB device

I would prefer you to make useful code useable by following sensible practices so people can download without fear. If you wish to debate posting and attachment practices, I would prefer you started a new topic in the appropriate forum. This topic is entitled "Change PTUUID/PARTUUID on an SD card o...
by RonR
Sat Oct 05, 2019 8:19 pm
Forum: Advanced users
Topic: Change PTUUID/PARTUUID on an SD card or a USB device
Replies: 17
Views: 954

Re: Change PTUUID/PARTUUID on an SD card or a USB device

davidcoton wrote:
Sat Oct 05, 2019 7:11 pm
If people get used to innocent (and useful) code like yours being posted in zip files...

Thank you for the vote of confidence. Hopefully, that will allay anyone's fear of downloading my ZIP files.
by RonR
Sat Oct 05, 2019 5:36 pm
Forum: Advanced users
Topic: Change PTUUID/PARTUUID on an SD card or a USB device
Replies: 17
Views: 954

Re: Change PTUUID/PARTUUID on an SD card or a USB device

I'm confident the moderators will remove it if there is anything remotely suspicious about it.
by RonR
Sat Oct 05, 2019 5:15 pm
Forum: Advanced users
Topic: Change PTUUID/PARTUUID on an SD card or a USB device
Replies: 17
Views: 954

Re: Change PTUUID/PARTUUID on an SD card or a USB device

Is there a sale on tinfoil today?
by RonR
Sat Oct 05, 2019 4:31 am
Forum: Advanced users
Topic: Change PTUUID/PARTUUID on an SD card or a USB device
Replies: 17
Views: 954

Change PTUUID/PARTUUID on an SD card or a USB device

The latest Raspbian images (2019-09-26) create all SD cards and USB devices with the same PTUUID/PARTUUID: 2019-09-26 Raspbian Image PTUUID The attached set-ptuuid script can be used to change the PTUUID/PARTUUID on an SD card or a USB device. /boot/cmdline.txt and /etc/fstab will be adjusted in the...
by RonR
Fri Oct 04, 2019 7:07 pm
Forum: Beginners
Topic: resize fs at startup not working
Replies: 7
Views: 258

Re: resize fs at startup not working

I'm using the latest version of Buster Lite on RPI3B+. I would like to make a shrink copy of my SD Card. Use image-backup in Image File Utilities to create an image file of the desired size of your SD card. You can also use image-shrink to shrink an existing image file. How can I expand the rootfs ...
by RonR
Fri Oct 04, 2019 6:41 pm
Forum: Advanced users
Topic: Running Raspbian from USB Devices : Made Easy
Replies: 133
Views: 40968

Re: Running Raspbian from USB Devices : Made Easy

usb-boot (in the first post of this topic) has been updated.

usb-boot now allows the PTUUID/PARTUUID to be changed on the USB device when it's the same as that of the SD card. This condition is due to a problem introduced in the latest Raspbian Buster release: 2019-09-26 Raspbian Image PTUUID

Go to advanced search