My Pi is 0 2W[1] and I want to convert "RaspberryPi OS" 64-bit to
Debian.
I alrrady tried:
Live Migrating from Raspberry Pi OS bullseye to Debian bookworm https://www.complete.org/live-migrating-from-raspberry-pi-os-bullseye-to-debian-bookworm/
but my Pi got stucked in boot so I had to restore the backup to SD card
using dd command.
I already asked about it on RPIi Forum but no useful answer:
https://forums.raspberrypi.com/viewtopic.php?p#61184&hilit=complete.org&sid?8151fb0d5709c32075d448218f8497#p2361184
This RPI OS:
- already using debian's APT as source (it's RPIOS' default)
- is version Debian 13
so I believe it should be easy to migrate into pure Debian 13 without formatting.
I believe the guide (above complete.org)'s "Moving /boot to
/boot/firmware" is outdated for Debian 13, that's probably because the
boot went wrong.
Are there anyone tried switching RPIOS to Debian?
[1] https://wiki.debian.org/InstallingDebianOn/RaspberryPi/Raspberry%20Pi%20Zero%202%20W
At Sat, 14 Feb 2026 02:37:50 +0000 sundialsvcs@riseup.net wrote:
My Pi is 0 2W[1] and I want to convert "RaspberryPi OS" 64-bit to
Debian.
I alrrady tried:
Live Migrating from Raspberry Pi OS bullseye to Debian bookworm https://www.complete.org/live-migrating-from-raspberry-pi-os-bullseye-to-debian-bookworm/
but my Pi got stucked in boot so I had to restore the backup to SD card using dd command.
I already asked about it on RPIi Forum but no useful answer:
https://forums.raspberrypi.com/viewtopic.php?p=2361184&hilit=complete.org&sid=d38151fb0d5709c32075d448218f8497#p2361184
This RPI OS:
- already using debian's APT as source (it's RPIOS' default)
- is version Debian 13
so I believe it should be easy to migrate into pure Debian 13 without formatting.
You really don't want to do that. All of the Pi-like SBCs, including the Raspberry Pis themselves need "special" board-specific kernel builds and many (esp. the Raspberry Pis) have non-"standard" boot processes (The RPi's need a VFAT partition to boot from). This means the kernels and the boot infrastructure and firmware needs to be pulled from the board-specific Raspberry Pi repos. This means it still needs to be a RPi OS (Rasbian) system and not a "pure" Debian 13. A "pure" Debian 13 aarch64 install is not going to
boot and run on a Raspberry Pi. The necessary boot infrastructure will be missing.
RPi OS (Rasbian) IS Debian and just about all user-mode packages are pulled from the Debian repository. Only the kernel (Raspberry Pi specific) and some
other Raspberry Pi specific applications and [system] utilities (eg rasp-config and the like and the RPi boot infrastructure, including firmware,
like the kernel overlays) are pulled from Raspberry Pi repos. These little SBCs need certain drivers compiled into the kernel (not as modules) and need their own bits of early start up code (because of the boot logic in the cold start boot ROM logic).
Yes, it is possible to upgrade major versions by diddling with the /etc/apt/sources.list file and doing apt update / apt full-upgrade. But it will still be RPi OS (Rasbian), just a new major release.
Robert Heller <heller@deepsoft.com> wrote:
At Sat, 14 Feb 2026 02:37:50 +0000 sundialsvcs@riseup.net wrote:
My Pi is 0 2W[1] and I want to convert "RaspberryPi OS" 64-bit to
Debian.
I alrrady tried:
Live Migrating from Raspberry Pi OS bullseye to Debian bookworm https://www.complete.org/live-migrating-from-raspberry-pi-os-bullseye-to-debian-bookworm/
but my Pi got stucked in boot so I had to restore the backup to SD card using dd command.
I already asked about it on RPIi Forum but no useful answer:
https://forums.raspberrypi.com/viewtopic.php?p#61184&hilit=complete.org&sid?8151fb0d5709c32075d448218f8497#p2361184
This RPI OS:
- already using debian's APT as source (it's RPIOS' default)
- is version Debian 13
so I believe it should be easy to migrate into pure Debian 13 without formatting.
You really don't want to do that. All of the Pi-like SBCs, including the Raspberry Pis themselves need "special" board-specific kernel builds and many
(esp. the Raspberry Pis) have non-"standard" boot processes (The RPi's need a
VFAT partition to boot from). This means the kernels and the boot infrastructure and firmware needs to be pulled from the board-specific Raspberry Pi repos. This means it still needs to be a RPi OS (Rasbian) system
and not a "pure" Debian 13. A "pure" Debian 13 aarch64 install is not going to
boot and run on a Raspberry Pi. The necessary boot infrastructure will be missing.
RPi OS (Rasbian) IS Debian and just about all user-mode packages are pulled
from the Debian repository. Only the kernel (Raspberry Pi specific) and some
other Raspberry Pi specific applications and [system] utilities (eg rasp-config and the like and the RPi boot infrastructure, including firmware,
like the kernel overlays) are pulled from Raspberry Pi repos. These little
SBCs need certain drivers compiled into the kernel (not as modules) and need
their own bits of early start up code (because of the boot logic in the cold
start boot ROM logic).
Yes, it is possible to upgrade major versions by diddling with the /etc/apt/sources.list file and doing apt update / apt full-upgrade. But it
will still be RPi OS (Rasbian), just a new major release.
It may not be easy to **migrate** from Raspbian to Debian but it's
certainly possible to run 'real' Debian on a Pi. I have two doing
exactly that (as well as one running Raspbian). I don't quite know
how I did it though! :-)
So, one of the Debian ones shows:-
Debian GNU/Linux 13 (trixie) - Kernel: 6.12.47+rpt-rpi-v8 aarch64
and /etc/sources.list is:-
deb http://deb.debian.org/debian trixie main contrib non-free non-free-firmware
deb http://deb.debian.org/debian-security/ trixie-security main contrib non-free non-free-firmware
deb http://deb.debian.org/debian trixie-updates main contrib non-free non-free-firmware
Whereas the Rasbian one shows:-
Raspbian GNU/Linux 13 (trixie) - Kernel: 6.12.62+rpt-rpi-v7 armv7l
and two files in /etc/apt/sources.list.d have:-
chris@upspi$ more raspbian.sources
Types: deb
URIs: http://raspbian.raspberrypi.com/raspbian/
Architectures: armhf
Suites: trixie
Components: main contrib non-free rpi
Signed-By: /usr/share/keyrings/raspbian-archive-keyring.gpg
chris@upspi$ more raspi.sources
Types: deb
URIs: http://archive.raspberrypi.com/debian/
Suites: trixie
Components: main
Signed-By: /usr/share/keyrings/raspberrypi-archive-keyring.pgp
I wouldn't like to try migrating from one to the other! :-)
You really don't want to do that. All of the Pi-like SBCs, including
the Raspberry Pis themselves need "special" board-specific kernel
builds and many (esp. the Raspberry Pis) have non-"standard" boot
processes (The RPi's need a VFAT partition to boot from). This means
the kernels and the boot infrastructure and firmware needs to be
pulled from the board-specific Raspberry Pi repos. This means it
still needs to be a RPi OS (Rasbian) system and not a "pure" Debian
13. A "pure" Debian 13 aarch64 install is not going to boot and run
on a Raspberry Pi. The necessary boot infrastructure will
be missing.
My RPi 5 (updated, etc.) from the original sd image from Raspberry Pi Foundation image download has this in /etc/issue:
Debian GNU/Linux 12
with kernel 6.12.47+rpt-rpi-2712
/etc/apt/sources.list is:
You really don't want to do that. All of the Pi-like SBCs, including
the Raspberry Pis themselves need "special" board-specific kernel
builds and many (esp. the Raspberry Pis) have non-"standard" boot
processes (The RPi's need a VFAT partition to boot from). This means
the kernels and the boot infrastructure and firmware needs to be
pulled from the board-specific Raspberry Pi repos. This means it
still needs to be a RPi OS (Rasbian) system and not a "pure" Debian
13. A "pure" Debian 13 aarch64 install is not going to boot and run
on a Raspberry Pi. The necessary boot infrastructure will
be missing.
AFAIK, the kernels can be plain old Debian kernels and AFAIK the
`u-boot-rpi` package provides a working boot loader, so it's not
as hopeless as you make it sound.
Have you checked https://sd-card-images.johang.se/ to see if their
images work on your device? I can vouch for them working on a NanoPi R5S.
=== Stefan
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 121:23:49 |
| Calls: | 125 |
| Calls today: | 125 |
| Files: | 489 |
| D/L today: |
859 files (365M bytes) |
| Messages: | 76,611 |
| Posted today: | 26 |