Exxos's PiStorm blog

Blogs & guides and tales of woo by forum members.
Steve
Posts: 3308
Joined: 15 Sep 2017 11:49

Re: Exxos's PiStorm blog

Post 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.
Steve
Posts: 3308
Joined: 15 Sep 2017 11:49

Re: Exxos's PiStorm blog

Post 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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28377
Joined: 16 Aug 2017 23:19
Location: UK

Re: Exxos's PiStorm blog

Post 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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28377
Joined: 16 Aug 2017 23:19
Location: UK

Re: Exxos's PiStorm blog

Post 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.
Steve
Posts: 3308
Joined: 15 Sep 2017 11:49

Re: Exxos's PiStorm blog

Post 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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28377
Joined: 16 Aug 2017 23:19
Location: UK

Re: Exxos's PiStorm blog

Post 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.
You do not have the required permissions to view the files attached to this post.
Steve
Posts: 3308
Joined: 15 Sep 2017 11:49

Re: Exxos's PiStorm blog

Post 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.
User avatar
exxos
Site Admin
Site Admin
Posts: 28377
Joined: 16 Aug 2017 23:19
Location: UK

Re: Exxos's PiStorm blog

Post 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.
User avatar
Badwolf
Site sponsor
Site sponsor
Posts: 3043
Joined: 19 Nov 2019 12:09

Re: Exxos's PiStorm blog

Post 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
DFB1 Open source 50MHz 030 and TT-RAM accelerator for the Falcon
Smalliermouse ST-optimised USB mouse adapter based on SmallyMouse2
FrontBench The Frontier: Elite 2 intro as a benchmark
User avatar
exxos
Site Admin
Site Admin
Posts: 28377
Joined: 16 Aug 2017 23:19
Location: UK

Re: Exxos's PiStorm blog

Post by exxos »

Thanks @Badwolf will give it a try after lunch :)

Return to “MEMBER BLOGS”

Who is online

Users browsing this forum: ClaudeBot, DuckAssistBot, Google [Bot] and 18 guests