Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 3260

Installation • Trying to boot Debian 12 inside Asustor AS-1002T NAS, I am almost finished but stuck at something

$
0
0
First of all this is an armhf device, very hard to install something. No VGA card. I am doing this through serial console. I used some of the commands from here at this wiki: https://wiki.debian.org/InstallingDebia ... /WRT1200AC

So I was trying to install debian armhf to my Asustor AS-1002T NAS. I used debian Linksys WRT-AC1200 official guide, because it used the same CPU, and probably same ethernet driver too. Because it downloaded all the stuff from the internet inside the installer, so it works. Changed the links and stuff to the bookworm accordingly. So, I set u boot to load that installer, done everything. I completed the install.
The guide said after the install open a shell, and do some stuff. I chrooted and did those stuff. One thing is I didn’t do is the flash-kernel related stuff, because the E-MMC inside is borked totally, or I couldn’t see it from debian installer. So I asked chatgpt to how to do it without flash-kernel, it said to me just pass on those flash-kernel related commands.
So it said me to do just:

Code:

sudo update-initramfs -u
Then I just did it. Then chatgpt gave me some temporary and permanent booting options(if temporary works at all) I checked it with

Code:

ext2ls scsi 0:1 /
so I can see that files, vmlinuz and initrd stuff. They are all there. u-boot can see those.
So these were the commands chatgpt said:

Code:

setenv bootargs 'console=ttyS0,115200 root=/dev/sda2 rw rootwait'saveenvreset
After the reset, stop booting then enter these commands:

Code:

scsi initext2load scsi 0:1 0x80000000 /vmlinuz    #/dev/sda1 is actually ext2 soext2load scsi 0:1 0x88000000 /initrd.imgbootz 0x80000000 0x88000000 #bootz because it's zImages, I checked them
But, it’s stuck actually. It won’t do anything after that. I removed the HDD from inside, and checked if the vmlinuz is actually zImage, because that’s what bootz does, loads zImages. So it’s a zImage after all:

Code:

$:file vmlinuz-6.1.0-21-armmpvmlinuz-6.1.0-21-armmp: Linux kernel ARM boot executable zImage (little-endian)
This is the u-boot output when I try these, no output even after 5 minutes. Why would it boot the debian installer and not this? I am very close. No device is up I checked it from my router too:

Code:

Marvell>> scsi initAHCI init for unit0SATA link 0 timeout.Target spinup took 0 ms.Error: SCSI Controller(s) 1B4B:9215 1B4B:9235 not foundscanning bus for devices...Device 0: (1:0) Vendor: ATA Prod.: ST9160310AS Rev: 0303Type: Hard DiskCapacity: 152627.8 MB = 149.0 GB (312581808 x 512)Found 1 device(s).Marvell>> ext2load scsi 0:1 0x80000000 /vmlinuz5423616 bytes read in 237 ms (21.8 MiB/s)Marvell>> ext2load scsi 0:1 0x88000000 /initrd.img23415107 bytes read in 987 ms (22.6 MiB/s)Marvell>> grepUnknown command 'grep' - try 'help'Marvell>> bootz 0x80000000 0x88000000

Statistics: Posted by teskilatimahsusa87 — 2024-06-15 21:53 — Replies 0 — Views 30



Viewing all articles
Browse latest Browse all 3260

Trending Articles