• TwitterFacebookGoogle PlusLinkedInRSS FeedEmail

Create Sdcard From Mac Image For Raspberry Pi 2

10.01.2019 

Hello, I'm using a 64GB SD card for my Pi and spent a lot of time configuration it. Now I would like to back it up. I made a image of my SD card using win32diskimager and it created a 64GB image. What I would really like to do is have the image similar to the official raspian image, where it's only 4GB (or 8GB) and you're required to expand it after writing the image to the SD Card. That way it takes less space and allow me the flexibility to restore to a smaller SD card. Will this be possible? Any suggestion?

I'm thinking I should have used a 8GB SD card from the start which would have worked perfectly for this situation. But too late for that. Free download autodesk smoke for mac. Any help is appreciated. If I were you, I would keep the 64 gig image handy just in case you screw the following up: first, check to see how much space you have free with 'df -h' If you are using more than 7 gigs already, I wouldn't suggest going down to an 8 gig sd card. But say you are using 4 or 5 gigs now. Then you want to resize the root filesystem to below the 8 gig mark: resize2fs /dev/mmcblkp2 6G the 6G in this command is an absolute size of 6 gigs, if you want to shrink it by so many gigs you can say -1G to remove a gig from the filesystem size. This will possibly error out and ask you to do a fsck on the filesystem first.

So: fsck /dev/mmcblk0p2 then rerun the resizefs command. If this command runs without errors, you may proceed to the next step of resizing the partition. Fdisk /dev/mmcblk0 take note of the start sector of mmdblk0p2, you will need it.

Create sd card from mac image for raspberry pi 2 b

How do i make separate files for my email on my macbook Open Etcher and select from your hard drive the Raspberry Pi.img or.zip file you wish to write to the SD card. Create a background image\ for mac. Select the SD card you wish to write your image to. Review your selections and click 'Flash!' To begin writing data to the SD card. Aug 25, 2017  By creating a copy of our raspberry pi sd-card as an image, we can preserve all our raspbery configuration for future restores. I will show you how to create an image of the sd-card on mac.

Delete partition 2, then create a new partition 2 with the same start sector and instead of accepting the default for end sector, you want to input +7G. This will give you plenty of padding so you aren't chopping off the end of that 6 gig filesystem you resized earlier. I am a mac/linux guy, so I don't have any experience with win32diskimager, but in theory you can now run your disk imager to create a new image. This image will still be 64 gig in size, but you would now be able to copy that to an 8 gig sd card, and it will just stop the copy once it reaches the end of the new card. You can then use fdisk, and resize2fs on the 8 gig card to reverse the process and get the full 8 gig usable space on the new card.

Create Sdcard From Mac Image For Raspberry Pi 2 Version 3.0

Writing an image to a USB stick or SD card on Windows; Writing an image to a USB stick or SD card on Mac OSX; Writing an image to a USB stick or SD card on Linux; On first boot, it is recommended you have a monitor and keyboard connected to your Raspberry Pi 2. Restoring your Raspberry Pi Backup on Windows. Now when it comes the time that you need to make use of your full SD Card backup we will need to make use of win32diskimager once again. Before opening the software, make sure you have inserted your SD Card into an SD Card Reader that is plugged into your computer.