[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] boot order=d bug?
From: |
Carl Karsten |
Subject: |
[Qemu-devel] boot order=d bug? |
Date: |
Sun, 7 May 2017 00:42:31 -0500 |
In the real world I will have a machine with a sata hd and boot the
installer from a usb stick. I want to test this with 2 disk image files.
The usb stick will be built like so:
https://github.com/CarlFK/video-stack-deploy/blob/usbstick/scripts/mk_usb_installer.sh
but this will demo the problem I have run into with qemu: how do I boot
from boot.img without using boot=menu?
# make a blank disk to install to
qemu-img create -f qcow2 disk.cow 8G
# get an installer image
wget
http://ftp.debian.org/debian/dists/stretch/main/installer-amd64/current/images/hd-media/boot.img.gz
gunzip boot.img.gz
qemu-system-x86_64 -m 256 -display curses \
-drive file=disk.cow,index=0 \
-drive file=boot.img,index=1 \
-boot menu=on
# Hit esc and then #2 to boot the installer.
Press ESC for boot menu.
Select boot device:
1. ata0-0: QEMU HARDDISK ATA-7 Hard-Disk (8192 MiBytes)
2. ata0-1: QEMU HARDDISK ATA-7 Hard-Disk (953 MiBytes)
3. Legacy option rom
4. Floppy [drive A]
5. DVD/CD [ata1-0: QEMU DVD-ROM ATAPI-4 DVD/CD]
6. iPXE (PCI 00:03.0)
address@hidden:~/temp/video-stack-deploy/scripts$ qemu-system-x86_64 -version
QEMU emulator version 2.8.1(Debian 1:2.8+dfsg-4+b1)
Copyright (c) 2003-2016 Fabrice Bellard and the QEMU Project developers
--
Carl K
- [Qemu-devel] boot order=d bug?,
Carl Karsten <=