samanello
Posts: 5
Joined: Thu Nov 20, 2014 12:40 pm

Resize Image

Mon Dec 07, 2015 5:11 pm

I want to try to be more specific with this question as I think I see others asking it, but I really can't find anybody answering is constructively (no offense).

Is there a way to use my Windows machine to take a RaspberryPi .IMG image file that wishes to be extracted to an "X" GB sized Micro SD card and instead extract it to a smaller GB sized Micro SD card that is inserted into the same Windows machine given the actual data inside the image is not larger then the smaller Micro SD card?

To help with the answer, correct answers to this question would not include methodologies that use Linux in any way. Correct answers also would not include phrases and words that ultimately would be interpreted as it is not possible. (we all know better then to think something can't possibly be done like this) Correct answers would also not include derision of the concept as I have seen on other forums.


Thank You

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: Resize Image

Mon Dec 07, 2015 8:16 pm

VirtualBox + Ubuntu + GParted.
Or you can try a less popular alternative:
http://alternativeto.net/software/gpart ... rm=windows
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

User avatar
davidcoton
Posts: 5026
Joined: Mon Sep 01, 2014 2:37 pm
Location: Cambridge, UK
Contact: Website

Re: Resize Image

Mon Dec 07, 2015 10:05 pm

samanello wrote: To help with the answer, correct answers to this question would not include methodologies that use Linux in any way.
Do you permit the use of Linux on the Pi (Rasbian)? If not, I have no suggestion (but then, why are you using a Pi anyway if you don't want to use Linux?).
If you do, then:
  1. Extract the image to a "big enough" card on Windows
  2. Reduce the partition size to below the size of the target card on a Pi
  3. make a new .img on Windows
  4. Copy to as many cards as you like on Windows
  5. If necessary, expand the partition to fill the target card on the Pi
I don't know a way to reduce an oversize image, even if it represents empty space. In general tihe image must be prepared undersize for the intended target to allow for bad blocks.That is why NOOBS has an "expand FS" stage.

Others may correct any details I messed up.
Signature retired

fruitoftheloom
Posts: 23337
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Resize Image

Mon Dec 07, 2015 10:22 pm

samanello wrote:I want to try to be more specific with this question as I think I see others asking it, but I really can't find anybody answering is constructively (no offense).

Is there a way to use my Windows machine to take a RaspberryPi .IMG image file that wishes to be extracted to an "X" GB sized Micro SD card and instead extract it to a smaller GB sized Micro SD card that is inserted into the same Windows machine given the actual data inside the image is not larger then the smaller Micro SD card?

To help with the answer, correct answers to this question would not include methodologies that use Linux in any way. Correct answers also would not include phrases and words that ultimately would be interpreted as it is not possible. (we all know better then to think something can't possibly be done like this) Correct answers would also not include derision of the concept as I have seen on other forums.


Thank You
Complicated, BUT GOOD LUCK with your endeavours.....

.IMG Mounter http://www.osforensics.com/tools/mount-disk-images.html

Read Extfs https://www.paragon-software.com/home/extfs-windows

Partition Software http://www.partition-tool.com & http://www.easeus.com/support/partition ... stems.html

How you create and write back the .IMG ???
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot)..
Asus ChromeBox 3 Celeron is my other computer...

Return to “General discussion”