Dear all
i was looking on gitlab in the templates section and was looking for images that make use of EFI, and bumped into the xrv8102. I have alos looked into other qemu options and their meaning and i 've managed to boot via qemu:
======================================
root@eveng-bms:/opt/unetlab/addons/qemu/vjunosevo-24.2R1-S2.4# qemu-system-x86_64 -enable-kvm -m 8G -cpu host \
> -drive file=virtioa.qcow2,if=virtio,format=qcow2 \
> -drive if=pflash,format=raw,readonly=on,file=/usr/share/OVMF/OVMF_CODE.fd \
> -nographic -serial mon:stdio -boot menu=on \
> -smbios type=0,vendor=Bochs,version=Bochs\
> -smbios type=3,manufacturer=Bochs\
> -smbios type=1,manufacturer=Bochs,product=Bochs,serial=chassis_no=0:slot=0:type=1:assembly_id=0x0D20:platform=251:master=0:channelized=no\
> -machine pc-q35-5.2,accel=kvm \
> -smp 4
3h
BdsDxe: loading Boot0007 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
BdsDxe: starting Boot0007 "EFI Internal Shell" from Fv(7CB8BDC9-F8EB-4F34-AAEA-3EE4AF6516A1)/FvFile(7C04A583-9E3E-4F1C-AD65-E05268D0B4D1)
UEFI Interactive Shell v2.2
EDK II
UEFI v2.70 (EDK II, 0x00010000)
Mapping table
FS0: Alias(s):HD1b:;BLK2:
PciRoot(0x0)/Pci(0x3,0x0)/HD(1,GPT,BB9880FE-E5E9-2344-9CC4-56E846B2E596,0x800,0x63800)
BLK1: Alias(s):
PciRoot(0x0)/Pci(0x3,0x0)
BLK3: Alias(s):
PciRoot(0x0)/Pci(0x3,0x0)/HD(2,GPT,7115B16D-ECE9-9349-9141-86A9767CF53B,0x64000,0x2000000)
BLK4: Alias(s):
PciRoot(0x0)/Pci(0x3,0x0)/HD(3,GPT,53926DD8-0B0F-9F4C-A62B-7AB3DE477EBA,0x2064000,0x800000)
BLK5: Alias(s):
PciRoot(0x0)/Pci(0x3,0x0)/HD(5,GPT,766D062F-BF5E-3C4E-B6C9-91D6F27ACD42,0x2864000,0x600000)
BLK6: Alias(s):
PciRoot(0x0)/Pci(0x3,0x0)/HD(6,GPT,51B7AB48-FE1F-E744-8C45-75823442FA68,0x2E64000,0x200000)
BLK7: Alias(s):
PciRoot(0x0)/Pci(0x3,0x0)/HD(7,GPT,A88469AA-1B3A-F54F-8129-B6249EDA297B,0x3064000,0x1F9BFDF)
BLK0: Alias(s):
PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0xFFFF,0x0)
FS0:\> \EFI\BOOT\BOOTX64.EFI p startup.nsh or any other key to continue.
Welcome to GRUB!
error: TPM chip is not working.
Secure Grub2 Diskboot
error: TPM chip is not working.
error: TPM chip is not working.
Grub Cmdpath is (hd0,gpt1)/EFI/BOOT
Grub Prefix is (memdisk)/boot/grub
Primary /soft - hd0,gpt2
Primary /data - hd0,gpt5
Primary /boot - hd0,gpt1
hasPrimary is ON
error: no such device: EvoSoftS.
Could not find snaphot SOFT label EvoSoft
Bootstrapped from primary device
Booting from PRIMARY
GNU GRUB version 2.02~juniper/rel_v2-79-gb4dc0a4~
ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿
³*Primary junos-evo-install-ptx-fixed-x86-64-24.2R1-S2.4-EVOI20241213052440->³
³ Primary [Recover password] ³
³ Primary [Debug System] ³
³ ³
³ ³
³ ³
³ ³
³ ³
³ ³
³ ³
³ ³
³ ³
ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ
Use the ^ and v keys to select which entry is highlighted.
Press enter to boot the selected OS, `e' to edit the commands
before booting or `c' for a command-line. ESC to return previous
menu.
Disk boot ...
IMA(1) URO(1) ISSU(1) BEACONS(1) BT(RELEASE)
Loading kernel ...ok.
Loading initrd ...ok.
Booting ...
error: no suitable video mode found.
Booting in blind mode
Watchdog set to 500 seconds
[ 3.310644] watchdog: watchdog0: watchdog did not stop!
TPM2.0 device node not found. Exiting !!!
No secondary disk found. Exiting ...
Unlock encrypted filesystem automatically if needed ...
TPM2.0 device node not found. Exiting !!!
Device /dev/vda :
PCR extend to prevent revealing encryption key ...
TPM2.0 device node not found. Exiting !!!
Extending 0000000000000000000000000000000000000000000000000000000000000000 to PCR sha256:11
TPM2.0 device node not found. Exiting !!!
Checking disk labels ...
Installing/Mounting on disk /dev/vda mapped to device virtio0
Coming back from an uncontrolled reboot, will recreate /data!
Processing /dev/vda2 for mount on /soft ...[checking]..[ok 1]..[mounting]..done
Processing /dev/vda7 for mount on /var ...[checking]..[ok 1]..[mounting]..done
Processing /dev/vda5 for mount on /data ...[checking]..[strong check]..[saving]..[rebuilding]..[mounting]..[restoring]..done
Processing /dev/vda6 for mount on /data/config ...[checking]..[ok 1]..[mounting]..done
Processing /data/var/opt_fs for mount on /data/var/external ...[checking]..[ok 1]..[mounting]..done
Setting up swapspace version 1, size = 4 GiB (4294963200 bytes)
no label, UUID=151e36d3-8bd2-4132-b9df-ba24e89e62b2
Processing /dev/vda1 for mount on /boot ...[checking]..[ok 1]..[mounting]..done
Done with local filesystems setup.
NOTE: Now 9 keys in keyring: %keyring:.ima
NOTE: Now keyring is empty %keyring:ima_ext
Postinstall in progress...App manifest not defined in capdb. Skip customizing app policies for this platform ()
done
Installing kexec kernel...done
Warning - Empty root password found
warning: No configured root password
Juniper Linux Distribution 4.0.14 re0 ttyS0
re0 login: root
--- JUNOS 24.2R1-S2.4-EVO Linux (none) 5.15.76-yocto-standard-juniper-02086-gc538fa48cd57 #1 SMP PREEMPT Fri May 31 13:38:59 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
[vrf:none] root@re0:~#
======================================
Of course it needs manual intervention in the beginning in order to boot (FS0: then \EFI\BOOT\BOOTX64.EFI).
I ll try to pass them in an EVENG instance and see how it goes as i don't want to mess with overwriting the existing template or create a new one as i believe will complicate the creation of other (eg older instances with a previous release).
Original Message:
Sent: 01-31-2025 07:08
From: SongYue
Subject: vJunosEvolved 24.2R1-S2.4 does not boot in EVENG
Original Message:
Sent: 01-31-2025 05:16
From: ios46
Subject: vJunosEvolved 24.2R1-S2.4 does not boot in EVENG
I tried it but still no luck.
====================================================================
qemu_options: -machine type=pc,accel=kvm -serial mon:stdio -nographic -smbios type=0,vendor=Bochs,version=Bochs -smbios type=3,manufacturer=Bochs -bios /usr/share/qemu/OVMF.fd -smbios type=1,manufacturer=Bochs,product=Bochs,serial=chassis_no=0:slot=0:type=1:assembly_id=0x0D20:platform=251:master=0:channelized=no -cpu qemu64
====================================================================
Original Message:
Sent: 01-31-2025 04:18
From: SongYue
Subject: vJunosEvolved 24.2R1-S2.4 does not boot in EVENG
Add " -bios /usr/share/qemu/OVMF.fd " after the line -smbios type=3,manufacturer=Bochs
in the template's qemu_options:
line.
Original Message:
Sent: 01-30-2025 10:03
From: ios46
Subject: vJunosEvolved 24.2R1-S2.4 does not boot in EVENG
Hello
anyone had any luck with the latest vEVO 24.2R1-S2.4 image ?
I tried in my eveng community (bare metal) and im unable to boot it:
====================
Failed to open /dev/null for OFD lock probing: No such file or directory
SeaBIOS (version rel-1.14.0-0-g155821a1990b-prebuilt.qemu.org)
Machine UUID fe6bbdfa-94e3-4f16-88fb-8633fc2c1db0
iPXE (http://ipxe.org) 00:03.0 CA00 PCI2.10 PnP PMM+BFF8EE50+BFEEEE50 CA00
iPXE (http://ipxe.org) 00:04.0 CB00 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 CB00
iPXE (http://ipxe.org) 00:05.0 CC00 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 CC00
iPXE (http://ipxe.org) 00:06.0 CD00 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 CD00
iPXE (http://ipxe.org) 00:07.0 CE00 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 CE00
iPXE (http://ipxe.org) 00:08.0 CF00 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 CF00
iPXE (http://ipxe.org) 00:09.0 D000 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 D000
iPXE (http://ipxe.org) 00:0A.0 D100 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 D100
iPXE (http://ipxe.org) 00:0B.0 D200 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 D200
iPXE (http://ipxe.org) 00:0C.0 D300 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 D300
iPXE (http://ipxe.org) 00:0D.0 D400 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 D400
iPXE (http://ipxe.org) 00:0E.0 D500 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 D500
iPXE (http://ipxe.org) 00:0F.0 D600 PCI2.10 PnP PMM BFF8EE50 BFEEEE50 D600
Booting from Hard Disk...
====================
I 've checked MD5 and is ok. I have also tried with some variations in the vjunosevo.yml (include svm=on) but again without any luck.
I have no problems with previous releases (23.x)