tjmnmk / gadget_cdrom

gadget_cdrom converts your Raspberry Pi to virtual usb cdrom
Other
94 stars 25 forks source link

Expand available storage upon first boot #6

Open therealkuking opened 3 years ago

therealkuking commented 3 years ago

Is it possible to have the provided gadget_cdrom image to expand the available storage on the SD card on the first boot?, also how can it be done it once I have flashed the image, I flashed it on a 64gb SDcard and only 6gb are available for isos. thanks.

chm-dev commented 3 years ago

Had same issue. I had no proper hdmi cable for pi zero and used older zero with no wifi adapter. I put sd card to my old raspberry pi b+ and expanded fs from raspi-config. Login and pass is default.

remlei commented 2 years ago

yeah the script sometimes fails to fully utilize the space of the SD card, so far when I encounter this issue, ill just delete that iso.img file (found on the root directory) and re-run the create_image.sh script again. You need to unmount /iso directory first before doing all what I mentioned, after that do delete the file, rerun the script and reboot. that should fix the issue.