[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#960390: x86_64: No serial port output



On 5/12/2020 12:02 PM, Punit Agrawal wrote:
john doe <johndoe65534@mail.com> writes:

On 5/12/2020 11:36 AM, Punit Agrawal wrote:
john doe <johndoe65534@mail.com> writes:

[...]

This does not start the Debian installer. The issue reported is that the
grub shipping with DI does not output to serial console and hence can't
be used with "-nographic". It's maybe that the same issue is faced when
installing on hardware with no display but I have not confirmed this.

The aim is to be able to install debian in a VM using the iso images

That is exactly what I'm doing! :)

Thanks for clarifying. Sorry I misunderstood your reply.

-nographic -cdrom *.iso -kernel  kernel-path -append
"console=ttyS0,115200n8 ..."

Okay, you want something working out of the box but note that what you
want is already possible if you use the proper arguments.

The above parameters do not launch the installer from the iso here. I am
not quite sure what the right arguments are. I wonder if
"root=<rootfs_device>" to the kernel will do the trick. Will give that a
try.

I did get what you were complaning about, I was simply providing a
workaround to get you going.

I worked around this by using the graphical install and enabling serial
output in the installed image but I think this can be made to work
out-of-box and we shouldn't need a workaround. Fingers crossed.


The below command get me directly to the language selection screen which
I belaeve is what you want?:

qemu-system-x86_64 -drive file=debian.img,format=raw -m 1024 -boot d
-nographic -cdrom debian-bullseye-DI-alpha2-amd64-netinst.iso -kernel
vmlinuz  -append "console=ttyS0,115200n8 DEBIAN_FRONTEND=text" -initrd
initrd.gz

I extract all files ('vmlinuxz','initrd.gz') from the iso but they can
also be found online.

--
John Doe


Reply to: