Can't run Debian on Raspberry Pi4

Help with issues regarding installation of Debian
Post Reply
Message
Author
coldspark29
Posts: 2
Joined: 2021-07-28 15:00

Can't run Debian on Raspberry Pi4

#1 Post by coldspark29 »

I am trying to run Debian on a Pi 4 via USB. According to the documentation, it should work out of the box.

https://wiki.debian.org/RaspberryPiImages

I can't even use the keyboard. Nothing reacts. I tried daily and stable versions. The Pi itself should be updated to the latest EEPROM update. I made sure by updating it in Raspbian.

Here is a foto of the output

Image

User avatar
craigevil
Posts: 5324
Joined: 2006-09-17 03:17
Location: Oz
Has thanked: 8 times
Been thanked: 14 times

Re: Can't run Debian on Raspberry Pi4

#2 Post by craigevil »

Try this one https://raspi.debian.net/daily/raspi_4_bullseye.img.xz

How are you writing the img to your sd card?

I suggest using the Raspberry Imager or etcher. Either should work.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian sid Kernel: 5.10.63-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

User avatar
cds60601
Global Moderator
Global Moderator
Posts: 269
Joined: 2017-11-25 05:58
Location: Tampa, Florida
Has thanked: 24 times
Been thanked: 3 times

Re: Can't run Debian on Raspberry Pi4

#3 Post by cds60601 »

It does work - as @craigevil mentioned, (or, https://raspi.debian.net/) there are specific images to use listed in this link.
I installed it over the last weekend and actually am running DWM on it. Basically, emulating my laptop install.
It's a tad slow and sound can be iffy depending on the apps you install but overall, I'm happy to have a 'puter for under 125.00
Server: Debian Stable, Workstation: Debian Sid (dwm)
Laptop: Debian Sid (dwm), Pi-4: Stable (dwm)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian

User avatar
craigevil
Posts: 5324
Joined: 2006-09-17 03:17
Location: Oz
Has thanked: 8 times
Been thanked: 14 times

Re: Can't run Debian on Raspberry Pi4

#4 Post by craigevil »

Or you can just be lazy like I am.
I installed the Raspberry Pi arm64 beta, let it do its thing while booting.
Added the rpios bullseye repo, ran apt update, apt upgrade, let whatever needed to upgrade upgrade.

Now for the fun part I added Debian Sid and Experimental repos.
Did the usual update/upgrade thing.

Then ran sudo rpi-update.

Now I have Rspios arm 64 upgraded to Debian Sid, with a newer kernel and firmware.

I still get the benefit of an OS built for my PI, along with all the packages in the Debian repos.

I bought my PI400 in March, and I only had to reinstall the first couple of times I installed it, since then I have been puttering along.

Code: Select all

inxi -Ffxxxz
System:    Kernel: 5.10.52-v8+ aarch64 bits: 64 compiler: N/A Desktop: MATE 1.24.1 info: mate-panel, plank, kdocker 
           wm: marco 1.24.1 vt: 7 dm: LightDM 1.26.0 Distro: Raspberry Pi OS base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: ARM Device System: Raspberry Pi 400 Rev 1.0 details: BCM2835 rev: c03130 serial: <filter> 
CPU:       Info: Quad Core model: N/A variant: cortex-a72 bits: 64 type: MCP arch: ARMv8 rev: 3 bogomips: 432 
           Speed: 2000 MHz min/max: 600/2000 MHz Core speeds (MHz): 1: 2000 2: 2000 3: 2000 4: 2000 
           Features: asimd cpuid crc32 evtstrm fp 
Graphics:  Device-1: bcm2708-fb driver: bcm2708_fb v: kernel bus-ID: N/A chip-ID: brcm:soc class-ID: fb 
           Device-2: bcm2711-hdmi0 driver: N/A bus-ID: N/A chip-ID: brcm:soc class-ID: hdmi 
           Device-3: bcm2711-hdmi1 driver: N/A bus-ID: N/A chip-ID: brcm:soc class-ID: hdmi 
           Display: x11 server: X.Org 1.20.11 compositor: marco v: 1.24.1 driver: loaded: fbdev unloaded: modesetting 
           resolution: 1920x1080 s-dpi: 96 
           OpenGL: renderer: llvmpipe (LLVM 11.0.1 128 bits) v: 4.5 Mesa 20.3.5 compat-v: 3.1 direct render: Yes 
Audio:     Device-1: bcm2835-audio driver: bcm2835_audio bus-ID: N/A chip-ID: brcm:bcm2835_audio class-ID: bcm2835_audio 
           Device-2: bcm2711-hdmi0 driver: N/A bus-ID: N/A chip-ID: brcm:soc class-ID: hdmi 
           Device-3: bcm2711-hdmi1 driver: N/A bus-ID: N/A chip-ID: brcm:soc class-ID: hdmi 
           Device-4: Logitech Logitech USB Headset type: USB driver: hid-generic,snd-usb-audio,usbhid bus-ID: 1-1.2.1:9 
           chip-ID: 046d:0a8f class-ID: 0300 
           Sound Server-1: ALSA v: k5.10.52-v8+ running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: no 
           Sound Server-3: PipeWire v: 0.3.32 running: yes 
Network:   Device-1: bcm2835-mmc driver: mmc_bcm2835 v: N/A port: N/A bus-ID: N/A chip-ID: brcm:fe300000 class-ID: mmcnr 
           IF: wlan0 state: up mac: <filter> 
           Device-2: bcm2711-genet-v5 driver: bcmgenet v: N/A port: N/A bus-ID: N/A chip-ID: brcm:fd580000 class-ID: ethernet 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IF-ID-1: proton0 state: unknown speed: 10 Mbps duplex: full mac: N/A 
Bluetooth: Device-1: pl011 driver: uart_pl011 bus-ID: N/A chip-ID: arm:fe201000 class-ID: serial 
           Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 3.0 lmp-v: 5.0 sub-v: 6606 hci-v: 5.0 
           rev: 36 
Drives:    Local Storage: total: 936.93 GiB used: 162.34 GiB (17.3%) 
           ID-1: /dev/mmcblk0 model: SD256 size: 238.3 GiB type: SSD serial: <filter> scheme: MBR 
           ID-2: /dev/sda type: USB vendor: Samsung model: PSSD T7 size: 465.76 GiB type: SSD serial: <filter> scheme: MBR 
           ID-3: /dev/sdb type: USB vendor: SanDisk model: USB 3.2Gen1 size: 232.88 GiB type: N/A serial: <filter> rev: 1.00 
           scheme: MBR 
Partition: ID-1: / size: 458.2 GiB used: 57.51 GiB (12.6%) fs: ext4 dev: /dev/sda2 
           ID-2: /boot size: 252 MiB used: 48 MiB (19.1%) fs: vfat dev: /dev/sda1 
Swap:      ID-1: swap-1 type: file size: 100 MiB used: 0 KiB (0.0%) priority: -2 file: /var/swap 
           ID-2: swap-2 type: zram size: 3 GiB used: 9.5 MiB (0.3%) priority: 100 dev: /dev/zram0 
Sensors:   System Temperatures: cpu: 44.8 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 218 Uptime: 1h 17m Memory: 3.78 GiB used: 2.24 GiB (59.2%) gpu: 76 MiB Init: systemd v: 247 runlevel: 5 
           target: graphical.target Compilers: gcc: 10.2.1 alt: 10 Packages: 2543 apt: 2527 flatpak: 16 Shell: Bash v: 5.1.8 
           running-in: guake inxi: 3.3.06 
The repos I am using:

Code: Select all

inxi -r
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb https://deb.debian.org/debian unstable main contrib non-free
           2: deb https://deb.debian.org/debian experimental main contrib non-free
           3: deb https://incoming.debian.org/debian-buildd buildd-unstable main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/raspi.list 
           1: deb https://archive.raspberrypi.org/debian/ buster main
           2: deb https://archive.raspberrypi.org/debian/ bullseye main
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian sid Kernel: 5.10.63-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

coldspark29
Posts: 2
Joined: 2021-07-28 15:00

Re: Can't run Debian on Raspberry Pi4

#5 Post by coldspark29 »

@craigevil I already tried Bullseye and it also doesn't work. The application I am trying to install also needs Buster. I am writing the image with Imager or Etcher. I also tried doing it manually with dd as mentioned in the documentation, but the results were the same. I cannot get it to boot up from an SSD. It only works from an SD card.


User avatar
craigevil
Posts: 5324
Joined: 2006-09-17 03:17
Location: Oz
Has thanked: 8 times
Been thanked: 14 times

Re: Can't run Debian on Raspberry Pi4

#7 Post by craigevil »

I am brain dead. Use Etcher to Clone the sd card install that works to your SSD.
Since I am technically on RSPIOS I used the Sd Card Copier app to copy my system from a working sd card to my SSD.
Rebooted and poof it worked.

If that doesn't work, install raspberry pi os, let it update/upgrade. The reason behind this; the firmware may need upgraded which apt update/apt upgrade should take care of.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian sid Kernel: 5.10.63-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"

User avatar
cds60601
Global Moderator
Global Moderator
Posts: 269
Joined: 2017-11-25 05:58
Location: Tampa, Florida
Has thanked: 24 times
Been thanked: 3 times

Re: Can't run Debian on Raspberry Pi4

#8 Post by cds60601 »

coldspark29 wrote: 2021-07-29 10:22 @craigevil I already tried Bullseye and it also doesn't work. The application I am trying to install also needs Buster. I am writing the image with Imager or Etcher. I also tried doing it manually with dd as mentioned in the documentation, but the results were the same. I cannot get it to boot up from an SSD. It only works from an SD card.
I got the same errors as you displayed using an nvme housed in a case. I am going to try to repeat it but using the USB2 ports instead of the USB3 with the hopes that there may be something with the ports.
That being said, I doubt it will change anything but for now, the 128 gig sd is fine.
Server: Debian Stable, Workstation: Debian Sid (dwm)
Laptop: Debian Sid (dwm), Pi-4: Stable (dwm)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian

User avatar
cds60601
Global Moderator
Global Moderator
Posts: 269
Joined: 2017-11-25 05:58
Location: Tampa, Florida
Has thanked: 24 times
Been thanked: 3 times

Re: Can't run Debian on Raspberry Pi4

#9 Post by cds60601 »

craigevil wrote: 2021-07-29 00:47 Or you can just be lazy like I am.
I installed the Raspberry Pi arm64 beta, let it do its thing while booting.
Added the rpios bullseye repo, ran apt update, apt upgrade, let whatever needed to upgrade upgrade.

Now for the fun part I added Debian Sid and Experimental repos.
Did the usual update/upgrade thing.

Then ran sudo rpi-update.

Now I have Rspios arm 64 upgraded to Debian Sid, with a newer kernel and firmware.

I still get the benefit of an OS built for my PI, along with all the packages in the Debian repos.

I bought my PI400 in March, and I only had to reinstall the first couple of times I installed it, since then I have been puttering along.

The repos I am using:

Code: Select all

inxi -r
Repos:     Active apt repos in: /etc/apt/sources.list 
           1: deb https://deb.debian.org/debian unstable main contrib non-free
           2: deb https://deb.debian.org/debian experimental main contrib non-free
           3: deb https://incoming.debian.org/debian-buildd buildd-unstable main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/raspi.list 
           1: deb https://archive.raspberrypi.org/debian/ buster main
           2: deb https://archive.raspberrypi.org/debian/ bullseye main
I'm so done with trying to get hdmi sound working with my Deb image.
Tonights project, I'm going to follow what you did and just be done with it.

Thanks for the info @craigevil !!
Server: Debian Stable, Workstation: Debian Sid (dwm)
Laptop: Debian Sid (dwm), Pi-4: Stable (dwm)
----------------------------------------------------------------------------------
Don't Break Debian: https://wiki.debian.org/DontBreakDebian

Post Reply