Haha look... (yes, LFS related.)
by Luridis from LinuxQuestions.org on (#4VM74)
See if you can figure out what's happening, I promise that it's cool.
Code:qemu-system-x86_64 -enable-kvm \
-cpu host -smp cores=2,threads=2 \
-m 2048 \
-bios /usr/share/ovmf/x64/OVMF_CODE.fd \
-device virtio-net,netdev=vmnic \
-netdev user,id=vmnic,hostfwd=tcp:127.0.0.1:9001-:22 \
-drive file=/dev/disk/by-id/ata-ST9500420AS_5VJ3QEBA,format=raw,media=disk \
-nographic -serial mon:stdio \
-vga none \
-boot c
BdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00003 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Secondary,Master,0x0): Not Found
BdsDxe: loading Boot0002 "UEFI QEMU HARDDISK QM00001 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0)
BdsDxe: starting Boot0002 "UEFI QEMU HARDDISK QM00001 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0)
Welcome to GRUB!
error: unspecified search type.
LFS Boot Menu - GRUB v2.04
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiA
i Linux From Scratch i
i*Linux From Scratch - Console i
i i
i i
i i
i i
i i
i i
i i
i i
i i
i i
i i
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
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.
LFS Boot Menu - GRUB v2.04
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiA
isetparams 'Linux From Scratch - Console' i
i i
i linux /vmlinuz-default root=/dev/sda4 ro \ i
i resume=/dev/sda3 net.ifnames=0 \ i
i systemd.unit=multi-user.target \ i
i consoleblank=0 loglevel=3 console=ttyS0 i
i i
i i
i i
i i
i i
i i
i i
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
Minimum Emacs-like screen editing is supported. TAB lists
completions. Press Ctrl-x or F10 to boot, Ctrl-c or F2 for a
command-line or ESC to discard edits and return to the GRUB menu.
Booting a command list
error: no suitable video mode found.
Booting in blind mode
Welcome to Linux From Scratch 9.0!
[ OK ] Created slice system-getty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Started Dispatch Password "ts to Console Directory Watch.
[ OK ] Started Forward Password R"uests to Wall Directory Watch.
[ OK ] Set up automount Arbitrary"s File System Automount Point.
[ OK ] Reached target Network (Pre).
[ OK ] Reached target Paths.
[ OK ] Reached target Remote File Systems.
[ OK ] Reached target Slices.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on udev Kernel Socket.
Mounting Huge Pages File System...
Mounting POSIX Message Queue File System...
Starting Create list of st"odes for the current kernel...
Starting File System Check on Root Device...
Starting Journal Service...
Starting Apply Kernel Variables...
Starting udev Coldplug all Devices...
[ OK ] Started Create list of sta" nodes for the current kernel.
Starting Create Static Device Nodes in /dev...
[ OK ] Started Journal Service.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Huge Pages File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started File System Check on Root Device.
Starting Remount Root and Kernel File Systems...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Containers.
Starting Flush Journal to Persistent Storage...
Starting Load/Save Random Seed...
Starting udev Kernel Device Manager...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Found device /dev/ttyS0.
[ OK ] Listening on Load/Save RF "itch Status /dev/rfkill Watch.
[ OK ] Found device QEMU_HARDDISK LFS-Boot.
Starting File System Check"/dev/disk/by-label/LFS-Boot...
[ OK ] Found device QEMU_HARDDISK LFS-Home.
Starting File System Check"/dev/disk/by-label/LFS-Home...
[ OK ] Started File System Check on /dev/disk/by-label/LFS-Boot.
Mounting /boot...
[ OK ] Found device QEMU_HARDDISK LFS-Swap.
Activating swap /dev/disk/by-label/LFS-Swap...
[ OK ] Started File System Check on /dev/disk/by-label/LFS-Home.
Mounting /home...
[ OK ] Activated swap /dev/disk/by-label/LFS-Swap.
[ OK ] Mounted /boot.
[ OK ] Reached target Swap.
Mounting Temporary Directory (/tmp)...
[ OK ] Mounted Temporary Directory (/tmp).
[ OK ] Mounted /home.
[ OK ] Reached target Local File Systems.
[ OK ] Started Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories...
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target System Time Set.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Daily man-db regeneration.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started D-Bus System Message Bus.
Starting dhcpcd on all active network interfaces....
[ OK ] Started Getty on tty1.
Starting Virtual console mouse server...
Starting Name Service Cache Daemon...
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
Starting Login Service...
Starting Daily man-db regeneration...
[ OK ] Started dhcpcd on all active network interfaces..
[ OK ] Started Virtual console mouse server.
[ OK ] Started Name Service Cache Daemon.
[ OK ] Started Login Service.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
[ OK ] Started Daily man-db regeneration.
Linux From Scratch 9.0 - Kernel-4.19.84
0 users logged in. [ttyS0]
asus-laptop login:


Code:qemu-system-x86_64 -enable-kvm \
-cpu host -smp cores=2,threads=2 \
-m 2048 \
-bios /usr/share/ovmf/x64/OVMF_CODE.fd \
-device virtio-net,netdev=vmnic \
-netdev user,id=vmnic,hostfwd=tcp:127.0.0.1:9001-:22 \
-drive file=/dev/disk/by-id/ata-ST9500420AS_5VJ3QEBA,format=raw,media=disk \
-nographic -serial mon:stdio \
-vga none \
-boot c
BdsDxe: failed to load Boot0001 "UEFI QEMU DVD-ROM QM00003 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Secondary,Master,0x0): Not Found
BdsDxe: loading Boot0002 "UEFI QEMU HARDDISK QM00001 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0)
BdsDxe: starting Boot0002 "UEFI QEMU HARDDISK QM00001 " from PciRoot(0x0)/Pci(0x1,0x1)/Ata(Primary,Master,0x0)
Welcome to GRUB!
error: unspecified search type.
LFS Boot Menu - GRUB v2.04
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiA
i Linux From Scratch i
i*Linux From Scratch - Console i
i i
i i
i i
i i
i i
i i
i i
i i
i i
i i
i i
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
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.
LFS Boot Menu - GRUB v2.04
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiA
isetparams 'Linux From Scratch - Console' i
i i
i linux /vmlinuz-default root=/dev/sda4 ro \ i
i resume=/dev/sda3 net.ifnames=0 \ i
i systemd.unit=multi-user.target \ i
i consoleblank=0 loglevel=3 console=ttyS0 i
i i
i i
i i
i i
i i
i i
i i
iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii
Minimum Emacs-like screen editing is supported. TAB lists
completions. Press Ctrl-x or F10 to boot, Ctrl-c or F2 for a
command-line or ESC to discard edits and return to the GRUB menu.
Booting a command list
error: no suitable video mode found.
Booting in blind mode
Welcome to Linux From Scratch 9.0!
[ OK ] Created slice system-getty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
[ OK ] Created slice system-systemd\x2dfsck.slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Started Dispatch Password "ts to Console Directory Watch.
[ OK ] Started Forward Password R"uests to Wall Directory Watch.
[ OK ] Set up automount Arbitrary"s File System Automount Point.
[ OK ] Reached target Network (Pre).
[ OK ] Reached target Paths.
[ OK ] Reached target Remote File Systems.
[ OK ] Reached target Slices.
[ OK ] Listening on initctl Compatibility Named Pipe.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on Journal Socket.
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on udev Kernel Socket.
Mounting Huge Pages File System...
Mounting POSIX Message Queue File System...
Starting Create list of st"odes for the current kernel...
Starting File System Check on Root Device...
Starting Journal Service...
Starting Apply Kernel Variables...
Starting udev Coldplug all Devices...
[ OK ] Started Create list of sta" nodes for the current kernel.
Starting Create Static Device Nodes in /dev...
[ OK ] Started Journal Service.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Mounted Huge Pages File System.
[ OK ] Started Apply Kernel Variables.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started File System Check on Root Device.
Starting Remount Root and Kernel File Systems...
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Remount Root and Kernel File Systems.
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Containers.
Starting Flush Journal to Persistent Storage...
Starting Load/Save Random Seed...
Starting udev Kernel Device Manager...
[ OK ] Started Load/Save Random Seed.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Found device /dev/ttyS0.
[ OK ] Listening on Load/Save RF "itch Status /dev/rfkill Watch.
[ OK ] Found device QEMU_HARDDISK LFS-Boot.
Starting File System Check"/dev/disk/by-label/LFS-Boot...
[ OK ] Found device QEMU_HARDDISK LFS-Home.
Starting File System Check"/dev/disk/by-label/LFS-Home...
[ OK ] Started File System Check on /dev/disk/by-label/LFS-Boot.
Mounting /boot...
[ OK ] Found device QEMU_HARDDISK LFS-Swap.
Activating swap /dev/disk/by-label/LFS-Swap...
[ OK ] Started File System Check on /dev/disk/by-label/LFS-Home.
Mounting /home...
[ OK ] Activated swap /dev/disk/by-label/LFS-Swap.
[ OK ] Mounted /boot.
[ OK ] Reached target Swap.
Mounting Temporary Directory (/tmp)...
[ OK ] Mounted Temporary Directory (/tmp).
[ OK ] Mounted /home.
[ OK ] Reached target Local File Systems.
[ OK ] Started Flush Journal to Persistent Storage.
Starting Create Volatile Files and Directories...
[ OK ] Started Create Volatile Files and Directories.
Starting Network Time Synchronization...
Starting Update UTMP about System Boot/Shutdown...
[ OK ] Started Update UTMP about System Boot/Shutdown.
[ OK ] Started Network Time Synchronization.
[ OK ] Reached target System Initialization.
[ OK ] Started Daily Cleanup of Temporary Directories.
[ OK ] Reached target System Time Set.
[ OK ] Reached target System Time Synchronized.
[ OK ] Started Daily man-db regeneration.
[ OK ] Reached target Timers.
[ OK ] Listening on D-Bus System Message Bus Socket.
[ OK ] Reached target Sockets.
[ OK ] Reached target Basic System.
[ OK ] Started D-Bus System Message Bus.
Starting dhcpcd on all active network interfaces....
[ OK ] Started Getty on tty1.
Starting Virtual console mouse server...
Starting Name Service Cache Daemon...
[ OK ] Started Serial Getty on ttyS0.
[ OK ] Reached target Login Prompts.
Starting Login Service...
Starting Daily man-db regeneration...
[ OK ] Started dhcpcd on all active network interfaces..
[ OK ] Started Virtual console mouse server.
[ OK ] Started Name Service Cache Daemon.
[ OK ] Started Login Service.
[ OK ] Reached target Multi-User System.
Starting Update UTMP about System Runlevel Changes...
[ OK ] Started Update UTMP about System Runlevel Changes.
[ OK ] Started Daily man-db regeneration.
Linux From Scratch 9.0 - Kernel-4.19.84
0 users logged in. [ttyS0]
asus-laptop login: