You are not logged in.

#1 2022-01-31 08:16:26

zeno801101
Member
Registered: 2021-09-23
Posts: 3

[Sloved]How to install the archlinux in qemu?

Hi,

    I have one x86 box, which I have installed the openwrt, but I want to run the archlinux in it, so I selected the qemu, but I cannot install the system, because after the grub displayed, I cannot see all the output, Is there a solution to solve the problem?

   The command I used to instal is

qemu-system-x86_64 -enable-kvm -cpu host -smp 2 -m 4G \
    -device virtio-net-pci,mac=E2:F2:6A:01:9D:C9,netdev=br0 \
    -netdev bridge,br=br-lan,id=br0 \
    -cdrom archlinux-2022.01.01-x86_64.iso \
    -boot order=d -drive file=/srv/sys/vmSrv/vmSrv.img,format=qcow2,if=virtio \
    -nographic

I think the system has been started, because I can SSH it, but with no password, I cannnot login.

I found the solution

When the bootloader appears, select Boot Arch Linux (<arch>) and press Tab to edit
Append console=ttyS0,115200 and press Enter.

thanks for the wiki.

Last edited by zeno801101 (2022-01-31 08:33:25)

Offline

Board footer

Powered by FluxBB