New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building image for usage on VZ and bare metal #419

Closed
kevin-olbrich opened this Issue Dec 7, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@kevin-olbrich
Contributor

kevin-olbrich commented Dec 7, 2017

Hi,

we have a use case, where the image will be deployed to KVM, VMware or bare metal.
Currently we build images with provider set to kvm but they don't boot on bare metal (USB-storage, boot stuck after loading ramdisk).

What about a provider which has no vendor-specific settings, just a raw-image?

@andsens

This comment has been minimized.

Show comment
Hide comment
@andsens

andsens Dec 7, 2017

Owner

Hm, kvm is actually the closest you can get to a non vendor-specific setup. There's just the virtio driver, which really shouldn't get in the way of a bare-metal boot, even the kernel images are standard.
bootstrap-vz is really made for anything except bare-metal, but I don't see why it wouldn't work for that env. Without an error message it's hard to say what's wrong :-/

Owner

andsens commented Dec 7, 2017

Hm, kvm is actually the closest you can get to a non vendor-specific setup. There's just the virtio driver, which really shouldn't get in the way of a bare-metal boot, even the kernel images are standard.
bootstrap-vz is really made for anything except bare-metal, but I don't see why it wouldn't work for that env. Without an error message it's hard to say what's wrong :-/

@kevin-olbrich

This comment has been minimized.

Show comment
Hide comment
@kevin-olbrich

kevin-olbrich Dec 7, 2017

Contributor

Thats the problem. There is no error message.
It shows "loading initramfs", the screen clears and then there is only a blinking cursor.
The computer can be shut down by a short press of the power button (stuck in BIOS).

I will try to build the image with jessie instead of stretch, this could also be an incompatible kernel (even if another install auf ArchLinux is using 4.10).

Contributor

kevin-olbrich commented Dec 7, 2017

Thats the problem. There is no error message.
It shows "loading initramfs", the screen clears and then there is only a blinking cursor.
The computer can be shut down by a short press of the power button (stuck in BIOS).

I will try to build the image with jessie instead of stretch, this could also be an incompatible kernel (even if another install auf ArchLinux is using 4.10).

@andsens

This comment has been minimized.

Show comment
Hide comment
@andsens

andsens Dec 7, 2017

Owner

Oh wait. In a virtualized environment you need to set the bootloader to output to the serial console so you can capture it with whatever vm you are running. You should maybe remove the ttys0 part from the grub config so you can see what is going on.

Owner

andsens commented Dec 7, 2017

Oh wait. In a virtualized environment you need to set the bootloader to output to the serial console so you can capture it with whatever vm you are running. You should maybe remove the ttys0 part from the grub config so you can see what is going on.

@andsens andsens closed this Jul 10, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment