downp30
September 1, 2024, 7:13pm
1
I tried to use openwrt
using a USB stick (i just write its img
file to a USB using Rufus) and it worked and there wasn't any problem. But i tried to write the same way to a SSD and write was successfully but when openwrt
loaded, after showing many things, it stuck at this level (image)
That was weird ! keyboard is not working in this level (except ctrl+alt+backspace which restarts the server).
Then in a live linux i download the generic-ext4-combined.img.gz
and using dd if=generic-ext4-combined.img of=/dev/sda
i set it on my SSD ... after restart same thing happend ! openwrt started but after few seconds stuck at the same level of the picture !
What is the problem ?
Silly question: did you try just hitting enter/return after booting completed?
1 Like
downp30
September 1, 2024, 7:18pm
3
Why silly ??? that's a problem ! openwrt started, and after some messages (the last ones in picture), everything stuck. can't press anything on keyboard ... nothing happen ...
Naughty...I think you failed to mention something major.
Are you running this on an HPE-based ESXi host?
You didn't mention...but I noticed the console said Virtual Keyboard, then looked at the background.
It's an important note that this is a Virtual Machine and not bare-metal.
Just FYI, I've had success running OpenWrt on them. I've used the VSphere console without issues before.
downp30
September 1, 2024, 7:24pm
5
This is HPE iLO console ... there is no virtual machine ...
1 Like
So...you booted OpenWrt on the bare metal?
And you're attempting to access it via the iLO?
Does a normal keyboard work?
You won't see much but a command prompt.
downp30
September 1, 2024, 7:27pm
7
Yes ... same thing happend for a normal keyboard connection with VGA monitor ... i have access to server physically.
Same thing meaning when you press ENTER on the real keyboard - and no command prompt?
odd...
downp30
September 1, 2024, 7:29pm
9
Yes exactly !!!! but when i put img file on a USB , everything is just fine and work !!!!!! The problem is with putting img file on an internal hard.
1 Like
What instructions/steps did you follow to write the IMG to the SSD?
You're using the same IMG, correct?
Does any interface get a 192.168.1.x IP (should be the first NIC that becomes LAN/eth0)?
downp30
September 1, 2024, 7:37pm
11
My Boot is Legacy ... I wrote a Debian-live image on a USB, i logged into that debian, my SSD was ready (/dev/sda) ... i downloaded the latest version (https://archive.openwrt.org/releases/23.05.3/targets/x86/64/openwrt-23.05.3-x86-64-generic-ext4-combined.img.gz ) in debian
wget https://archive.openwrt.org/releases/23.05.3/targets/x86/64/openwrt-23.05.3-x86-64-generic-ext4-combined.img.gz
then i used this to get img
file.
gunzip openwrt-23.05.3-x86-64-generic-ext4-combined.img.gz
and finaly,
dd if="openwrt-23.05.3-x86-64-generic-ext4-combined.img" of="/dev/sda"
and unplug the USB (debian) and restart ....
And after stucking on this picture (as i showed) i also check 192.168.1.1 on other computer using ethernet cable and nothing happend (if i use a USB for openwrt, everything is just fine even 192.168.1.1 load successfuly)
openwrt has a process named console initialization ... in my problem it dose not reach this process yet that why i have no console access ... but what is the problem !!!?
1 Like
I may have an opportunity to test on my iLO...albeit in a few days.
Just curious...Is there a reason you're not using 23.05.4?
https://downloads.openwrt.org/releases/23.05.4/targets/x86/64/openwrt-23.05.4-x86-64-generic-ext4-combined.img.gz
downp30
September 1, 2024, 7:49pm
13
No reason ... I used 23.05.4 ... here i mention to 23.05.3 ... (wrong mention)
You can even write img file directly to SSD using Rufus ... just connect that SSD to PC using USB and write select it with img file in Rufus and wait to finish ... then put SSD to your server and done ... same problem ... but if i use a USB with same process (instead of SSD) , there is no problem !!!!!
1 Like
I wonder if any type of advanced cards or drive controllers need kmods installed.
downp30
September 1, 2024, 8:02pm
15
well the funny thing is that i just mount img on iLO console and without any SSD, i run openwrt without any problem !!!! it made me crazy .... the problem is only with SSD.
1 Like
dnd
September 1, 2024, 8:11pm
16
Did you check the ssd for defects?
Tried another ssd?
This might be the same problem?
No solution yet, as it seems, but maybe some clues…
I am trying to install OpenWrt on an x86 machine that uses an msata drive.
I use a liveboot Arch instance to DD OpenWrt on the msata drive. I need to use Arch because neither OpenWrt itself nor Linux Mint seem to recognize the msata drive in lsblk.
After DDing the flash drive on to the msata drive and restarting, the boot sequence hangs and shows me this:
[image]
This indicates a problem with the msata drive, which is weird, because I have used this exact machine for OpenWrt previously with …
downp30
September 1, 2024, 8:12pm
17
Yes SSD is just fine. I think there is something wrong with Openwrt and SATA ...
dnd
September 1, 2024, 8:18pm
18
You might want to check this issue and try a snapshot image (a newer kernel):
opened 03:08PM - 27 Aug 23 UTC
bug
### Describe the bug
OpenWrt stops while booting.
official image 23.05.0-rc3… and self-built image have the same bug.
### OpenWrt version
r23389-5deed175a5
### OpenWrt target/subtarget
x86/64
### Device
AOpen DE3250
### Image kind
Official downloaded image
### Steps to reproduce
Write .img file using MX linux live, gparted. Then boot.
### Actual behaviour
OpenWrt stops in line:
Waiting for root device PARTUUID=...
### Expected behaviour
_No response_
### Additional info
lspci:
_00:00.0 Host bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series SoC Transaction Register (rev 0e)
00:02.0 VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
00:13.0 SATA controller: Intel Corporation Atom Processor E3800 Series SATA AHCI Controller (rev 0e)
00:14.0 USB controller: Intel Corporation Atom Processor Z36xxx/Z37xxx, Celeron N2000 Series USB xHCI (rev 0e)
00:1a.0 Encryption controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Trusted Execution Engine (rev 0e)
00:1b.0 Audio device: Intel Corporation Atom Processor Z36xxx/Z37xxx Series High Definition Audio Controller (rev 0e)
00:1c.0 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 1 (rev 0e)
00:1c.1 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 2 (rev 0e)
00:1c.2 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 3 (rev 0e)
00:1c.3 PCI bridge: Intel Corporation Atom Processor E3800 Series PCI Express Root Port 4 (rev 0e)
00:1f.0 ISA bridge: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Power Control Unit (rev 0e)
00:1f.3 SMBus: Intel Corporation Atom Processor E3800/CE2700 Series SMBus Controller (rev 0e)
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0c)_
disk: Innodisk_Corp._mSATA_3SE_DEMSR-_02GB_
### Diffconfig
_No response_
### Terms
- [X] I am reporting an issue for OpenWrt, not an unsupported fork.
1 Like
Also these threads. It seems to note they're boot issues with devices lacking Serial ports.
Hi,
after each sysupgrade, the boot of my x86 system with a USB keyboard and VGA display, but no serial console, hangs in grub's selection menu. Getting the system to boot requires physically pressing the Enter key on the keyboard.
Each time, I have to apply the work-around from [Solved] Boot "hangs" on 'LEDE' item in grub menu on x86 (no grub 'timeout') , that is to comment the first two lines in /boot/grub/grub.cfg:
cat /boot/grub/grub.cfg
#serial --unit=0 --speed=115200 --word=8 --parity=no…
Does this server have any kind of serial port?
I doubt it.
But this doesn't answer how you successfully boot with USB and iLO.
downp30
September 1, 2024, 8:30pm
20
My server has Serial Port ... and it's enabled.
1 Like