Skip to content
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

Update ubuntu.md troubleshooting #48

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions guides/ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $ sudo reboot

### Cannot boot into installer

If you start the VM and are stuck at the EFI screen (`BdsDxe: failed to load Boot0001` or `UEFI Interactive Shell`), try the following in order.
#### If you start the VM and are stuck at the EFI screen (`BdsDxe: failed to load Boot0001` or `UEFI Interactive Shell`), try the following in order.

1. Make sure you have the installer ISO selected. Click the disk icon on the toolbar and check that there is a menu option for `CD/DVD (ISO) Image (usb): ubuntu-xxx.iso`. If it says `CD/DVD (ISO) Image (usb): none`, then highlight that menu and choose `Change` and then select the ISO. If you don't have any selectable menu option, follow the guide again and make sure you have added a removable drive. Then restart the VM.
2. Next, try to get into the EFI Shell. If you see `UEFI Interactive Shell` then you are already in the shell. Otherwise, restart the VM and quickly press the Esc key to enter the shell.
Expand All @@ -52,8 +52,22 @@ If you start the VM and are stuck at the EFI screen (`BdsDxe: failed to load Boo

### Networking is unavailable

If the hardware enumeration order changes, your network settings may need to be updated.
#### If the hardware enumeration order changes, your network settings may need to be updated.

1. Run `ip link show` and look at the last adapter name. For example, it may be listed as `enp0s1`.
2. Edit `/etc/netplan/00-installer-config.yaml` and copy your configuration for `enp0s8` (or whatever the old adapter was named) and paste it immediately after for `enp0s1` (or whatever the new adapter is named).
3. Reboot and you should be able to use networking again.

#### If the connection shows as "unmanaged" and network won't come up the renderer may not be defined in netplan

1. Edit `/etc/netplan/00-installer-config.yaml` and ensure there is a key/value pair for renderer
2. <pre>
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is better to use Markdown ``` for code blocks. But it is not obvious how to do indenting in this case…

# This is the network config written by 'subiquity'
network:
renderer: NetworkManager
ethernets:
enp0s1:
dhcp4: true
version: 2
</pre>
3. Run `sudo netplan generate && sudo netplan apply` and networking should work now