Public bug reported:

kernel cmdline "ip=dhcp"

results in: 
Error getting hardware address for " en2s0": No such device
No network during boot

I have to change /usr/share/initramfs-tools/scripts/functions

fix:
run_dhclient() {
...
        dhclient -v -1 -cf "$conffile" -pf "$pidfile" "$@"
to 
        dhclient -v -1 -cf "$conffile" -pf "$pidfile" $@

regards

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: initramfs-tools-core 0.136ubuntu6 [modified: 
usr/share/initramfs-tools/hook-functions 
usr/share/initramfs-tools/scripts/functions]
ProcVersionSignature: Ubuntu 5.4.0-25.29-generic 5.4.30
Uname: Linux 5.4.0-25-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
Architecture: amd64
CasperMD5CheckResult: skip
CurrentDesktop: KDE
Date: Mon Apr 20 18:49:00 2020
InstallationDate: Installed on 2020-04-18 (2 days ago)
InstallationMedia: Kubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200401)
PackageArchitecture: all
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: initramfs-tools (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug focal

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1873907

Title:
  initramfs no dhcp because of 'Error getting hardware address for "
  en2s0": No such device'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1873907/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to