Views:
455β
Votes: 4β
Tags:
maas
grub
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/885142
Title:
Can I make a "choice image list" in MAAS UBUNTU?
ID:
/2017/02/19/Can-I-make-a-_choice-image-list_-in-MAAS-UBUNTU_
Created:
February 19, 2017
Edited: June 12, 2020
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
Copy to clipboard: false
Grub multi-boot MAAS feature Request
Iβve submitted a feature request (Feature Request Allow grub to multi-boot MAAS images) referencing this Q&A.
History
Iβve spent hours looking into this using google and it appears a good ole grub menu is the way to do it. Unfortunately I canβt find official Ubuntu MAAS (Metal as a Service) documentation on doing it. Indeed the only thing I can find about grub with MAAS are bug reports where grub shouldnβt show up.
For example from (Feature Request Allow grub to multi-boot MAAS images) this:
John George (jog) wrote on 2016-05-20: #18
Ran into this issue multiple times while using Landscape Autopilot to
deploy Openstack, which was never able to complete due to at least one
machine failing to deploy, after getting stuck at the grub menu. Juju
1.25.5 and MAAS 1.9.2 were being used.
Once stopped at the grub menu I was able to bring the system up for
inspection by doing the following:
- Reboot the server and drop into the boot menue (F11 on HP)
- Select the UEFI module option
- Use the file explorer to drill down to and run shimx64.efi
- grub> cat /boot/grub/menu.lst (to see configured kernel and initrd paths)
- grub> linux /boot/vmlinuz-3.13.0-86-generic root=LABEL=root ro console=ttyS1,38400 1
- grub> initrd /boot/initrd.img-3.13.0-86-generic
- grub> boot
- Boot would stop at run level 1 and drop to a root shell prompt
- /etc/init.d/networking start
- service ssh start
- ifconfig (to find configured IP)
- ssh into the system as the ubuntu user
Also there is this complaining how MAAS installs grub to /dev/sda
instead of the real boot drive which is /dev/sdb
(MAAS always installs GRUB to /dev/sda, even when thatβs inappropriate):
So grub is part of the MAAS boot up process the question is how to make the grub menu active and give you the various images to choose from like how we choose different Ubuntu versions and Windows versions now.
I think the Ubuntu MAAS team might help if a nicely worded email were sent to the right channels. Additionally a [tag:feature-request] can be posted somewhere.