Page 4 of 13

Re: Exxos's PiStorm blog

Posted: 15 Apr 2024 18:14
by Steve
Hmm yeah some cards can be like this... mines a Sandisk. If you get really stuck I can investigate how to actually shrink my Pi's disk image from within the device itself, but I dunno how to do this I'd have to do a bit of research.

Re: Exxos's PiStorm blog

Posted: 15 Apr 2024 18:17
by Steve
Another idea: I could zip-up simply my Home directory which will include all the Github stuff. You would just need to follow the parts in the guide that talk about configuring the Pi's speed/mhz etc. And cmdline.txt stuff.

Re: Exxos's PiStorm blog

Posted: 15 Apr 2024 18:47
by exxos
Steve wrote: 15 Apr 2024 18:17 Another idea: I could zip-up simply my Home directory which will include all the Github stuff. You would just need to follow the parts in the guide that talk about configuring the Pi's speed/mhz etc. And cmdline.txt stuff.
Sounds simple enough...

I'll have to do the file copies over in Linux as windows might upset it.

Re: Exxos's PiStorm blog

Posted: 15 Apr 2024 19:36
by exxos
Tried to be a good boy and use MX Linux for the PI stuff, but it won't let me select the image :roll:





Works fine in Windoze.

That's enough chaos for one day.

Re: Exxos's PiStorm blog

Posted: 15 Apr 2024 20:07
by Steve
Please give gnome-disk-utility a try, that's what it's called in Debian. Try apt-get install gnome-disk-utility (it's called Disks) I use it for everything, my favorite imager/restorer for Linux. Pi imager isn't supposed to be a general purpose thing.

Re: Exxos's PiStorm blog

Posted: 15 Apr 2024 20:34
by exxos
I installed it. But it makes no sense other than list disks. The only option which to looks to do anything is add image, but that just goes in the list like a virtual drive and that's it. There isn't anything much else in the menus other than the normal "about" type stuff. I clicked all over the place, right clicked, can't see anything else in there.

IMG_2190.JPG
IMG_2191.JPG

EDIT:

Think I found the problem. The "gears" menu is totally greyed out. Seems I have to format the drive before restoring a image :WTF:

Anyway, it says your image is 640MB to large to fit on my card. Isn't there something like partition magic on Linux ? That would resize the SD card. Then image a smaller one.

Re: Exxos's PiStorm blog

Posted: 16 Apr 2024 09:56
by Steve
I'll try and shrink it somehow. By the way it looks like you've mounted the image (that's the 32gb 'loop device' in your image) Don't have it mounted when you're doing this, it'll get confusing. You just click the one above that, the 31gb sd card 'mass storage device', click the gears and 'restore image'. Select the image and it writes it. No formatting needed.

Re: Exxos's PiStorm blog

Posted: 16 Apr 2024 10:00
by exxos
Steve wrote: 16 Apr 2024 09:56 You just click the one above that, the 31gb sd card 'mass storage device', click the gears and 'restore image'. Select the image and it writes it. No formatting needed.
Won't let me do that.. All the menu items are greyed out. Only way I could get the restore image menu enabled was to format the card.

Re: Exxos's PiStorm blog

Posted: 16 Apr 2024 10:55
by Badwolf
From the terminal:

Code: Select all

sudo dd bs=4M if=steves_image.img of=/dev/sde oflag=direct
This copies steves_image.img to /dev/sde (which is what your SD card was reporting as in the screenshot above -- change if it's changed)

sudo = run as root
dd = the block copier
if = input file
of = output file (device SDE in this case)
oflag = output flag, skip buffering to make it faster in this case

Yeah, it won't quite fit, but it's likely blank at the end. Can tidy that up with gparted later if you're worried. Will take a long time. If Steve gives you a resized image, so much the better, but this will work.

BW

Re: Exxos's PiStorm blog

Posted: 16 Apr 2024 11:09
by exxos
Thanks @Badwolf will give it a try after lunch :)