How to resize a RISC OS SD Card for Raspberry Pi
Channel: RISC OS Community on GitHub
Date: 14/12/2022

#RISC_OS #raspberrypi #riscos 
How to resize a RISC OS SD Card for Raspberry Pi using Chris Johns' ADFS Tools.

This video covers the resizing of the RISC OS Pi SD Card image to allow the full capacity of the SD Card to be available for use on your Raspberry Pi.

Creation of a RISC OS Pi SD Card image is covered in the following video:
https://youtu.be/fLjw0pbDxYo

00:00 Intro
00:13 Collecting the Hardware
00:46 Download CreateSEC Application
01:24 Prepare Fat32FS
02:25 Launch Linux VM
04:04 Download ADFS Tools
04:45 Extract Loader partition
05:23 Backup current data
11:45 Format SD Card
13:05 Reinstate Loader partition
14:16 Restore to SD Card
17:45 Restart RISC OS
18:17 Outro

Software used:
Virtual Box: https://www.virtualbox.org/
Slax: https://www.slax.org/
CreateSEC: https://www.riscosopen.org/content/do...
ADFS-Tools: https://github.com/c-jo/adfs-tools

Commands used in Linux VM:
Change keyboard layout: 'setxkbmap -layout gb'
Downloading ADFS-Tools: 'wget https://github.com/c-jo/adfs-tools/ar...
Extract Loader partition: './get_loader.py /dev/sda Loader'
Restore Loader partition: './put_loader.py /dev/sda Loader'
Claim space used by Loader partition: './claim_frags.py /dev/sda'
Add Loader partition into ADFS map: './add_loader.py /dev/sda'
Eject SD Card: 'eject /dev/sda'