Extracting ISO from bootable SD card
If you already have a bootable SD card with Ubuntu, you can extract or recreate an ISO image from it in a few ways depending on what you want to do.
Here are the main options:
đź§© 1. Make an ISO image from the SD card (byte-for-byte copy)
If your goal is to create an ISO file from the SD card (for example, to duplicate or back it up):
On Linux or macOS:
- Insert the SD card and identify its device name:
lsblk
Example output might show something likeÂ/dev/sdb
 (⚠️ don’t use a partition like /dev/sdb1). - RunÂ
dd
 to make an image file:sudo dd if=/dev/sdX of=ubuntu_backup.iso bs=4M status=progress sync
ReplaceÂsdX
 with your actual SD card device (e.g.,Â/dev/sdb
). - You’ll now have a full disk image (
ubuntu_backup.iso
) in your current directory.
đź’ˇ Technically this produces a .img file, but you can rename it to
.iso
— it behaves the same for bootable Linux images.
🪟 2. On Windows
Use a GUI tool like:
- Win32 Disk Imager
- balenaEtcher (for writing, not reading)
- HDD Raw Copy Tool
- USB Image Tool
Example with Win32 Disk Imager:
- Insert the SD card.
- Open Win32 Disk Imager.
- Choose your SD card drive letter.
- Click the folder icon → choose a destination (e.g.,Â
ubuntu_backup.img
). - Click Read to copy the SD card to a file.
đź§° 3. Extract just files (not ISO)
If you just want to get files from the SD card:
- Mount it:
sudo mount /dev/sdX1 /mnt
- Then copy files normally:
cp -r /mnt ~/ubuntu_files
This gives you access to the filesystem but not a bootable ISO.
đź§ Summary
Goal | Method | Output |
---|---|---|
Full bootable copy | dd if=/dev/sdX of=ubuntu_backup.iso | .iso or .img |
File access only | mount /dev/sdX1 | Folder of files |
Windows GUI backup | Win32 Disk Imager → “Read” | .img |
Win32 Disk Imager sometimes can’t read Linux-formatted bootable drives because:
- Ubuntu SD cards use multiple partitions (often ext4 and FAT32).
- Windows only “sees” the first FAT32 boot partition.
- The rest (rootfs, EFI, etc.) are invisible to Windows tools unless you use Linux-aware software.
Let’s fix that. You have a few solid options depending on what you have available:
🧩 Option 1 — Use Linux (Recommended)
If you can boot any Linux system (even from a live USB), this is the most reliable way.
- Insert the SD card.
- Find its device name:
lsblk
Example:sdb    14.9G ├─sdb1  256M  vfat  BOOT └─sdb2  14.6G  ext4  rootfs
- Create a full disk image:
sudo dd if=/dev/sdb of=~/ubuntu_sd_backup.img bs=4M status=progress sync
(replaceÂ/dev/sdb
 with your device name — notÂ/dev/sdb1
!) - You’ll now have a perfect image (
ubuntu_sd_backup.img
), which can be renamed toÂ.iso
 if desired.
You can later write it back with:
sudo dd if=~/ubuntu_sd_backup.img of=/dev/sdb bs=4M status=progress
💾 Option 2 — Use Windows with a Linux-aware tool
Windows on its own can’t read ext4 partitions, so you need something smarter than Win32 Disk Imager.
âś… Tools that work:
- HDD Raw Copy Tool — makes a bit-for-bit copy, works perfectly even with Linux partitions.
- DiskGenius (free version) — can clone or image entire drives.
- USB Image Tool — another simple option for full SD copies.
Choose “Read” or “Backup” and select the whole device (not a partition).
🧰 Option 3 — Use WSL (Windows Subsystem for Linux) (if you have it)
If you’ve installed Ubuntu in WSL2 on Windows:
- Open PowerShell as Administrator and run:
wmic diskdrive list brief
Find your SD card device path (e.g.,Â\\.\PhysicalDrive2
). - Then in WSL:
sudo dd if=/mnt/d/\\.\PhysicalDrive2 of=/mnt/d/ubuntu_sd_backup.img bs=4M status=progress
(Use your Windows drive path where you want to save it.)
⚙️ Option 4 — Boot the same SD card in another computer
If you can boot the SD card into Ubuntu on any PC:
- Plug in a USB drive.
- Then run:
sudo dd if=/dev/mmcblk0 of=/media/usb/ubuntu_sd_backup.img bs=4M status=progress sync
(/dev/mmcblk0
 is usually the SD card device name.)
đź§ Summary
Tool / Method | Works on | Can read ext4 | Makes full bootable image? |
---|---|---|---|
Win32 Disk Imager | Windows | ❌ | ❌ (FAT partition only) |
HDD Raw Copy Tool | Windows | âś… | âś… |
Linux dd | Linux | âś… | âś… |
WSL dd | Windows (with WSL2) | âś… | âś… |