poky/scripts/lib/wic/canned-wks/directdisk-bootloader-config.cfg
Tom Rini 03d5daf1ae wic: Switch to using --use-uuid by default
The most portable way to specifiy a root device in a disk image that we
create is to use PARTUUID rather than /dev/sda2.  As background, both
GPT and MBR tables provide valid UUID values for each partition and the
Linux Kernel contains the logic to parse this value.  With this change
we can now boot the default disk images when used as any valid block
device that the included kernel uses.  This for example means that
VirtualBox can be used to run vmdk without changes as it uses IDE for
the virtual disk controller.

Cc: Matt Porter <mporter@konsulko.com>
(From OE-Core rev: 8a58e9bb3e76a9962f1d14a8bdd3f7de675c3492)

Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2017-07-30 08:46:20 +01:00

28 lines
574 B
INI

# This is an example configuration file for syslinux.
TIMEOUT 50
ALLOWOPTIONS 1
SERIAL 0 115200
PROMPT 0
UI vesamenu.c32
menu title Select boot options
menu tabmsg Press [Tab] to edit, [Return] to select
DEFAULT Graphics console boot
LABEL Graphics console boot
KERNEL /vmlinuz
APPEND label=boot rootwait
LABEL Serial console boot
KERNEL /vmlinuz
APPEND label=boot rootwait console=ttyS0,115200
LABEL Graphics console install
KERNEL /vmlinuz
APPEND label=install rootwait
LABEL Serial console install
KERNEL /vmlinuz
APPEND label=install rootwait console=ttyS0,115200