netbootxyz / netboot.xyz

Your favorite operating systems in one place. A network-based bootable operating system installer based on iPXE.
https://netboot.xyz
Apache License 2.0
9.04k stars 674 forks source link

LiveCD/NetInstall/Utility boot fails due to writing resolv.conf to wget race condition #1254

Open celesrenata opened 1 year ago

celesrenata commented 1 year ago

Describe the bug Bootup is failing due to trying to wget right after /etc/resolv.conf and failing to lookup host

To Reproduce Steps to reproduce the behavior:

  1. Using VMWare Fusion 13.0.2
  2. Enable PXE boot
  3. Boot Debian or Ubuntu LiveCD/NetInstall/Clonezilla images
  4. Observe dns failure when attempting to download the squashfs during boot.
  5. rerun the command from the (initramfs) console successfully

Expected behavior Expected wget to find host and continue.

Screenshots

Screenshot 2023-06-04 at 10 42 29 AM
kaechele commented 1 year ago

Can you try passing fixrtc as an option to the kernel? If that fixes it we could look at including it in the cmdline for Debian based distros.

celesrenata commented 1 year ago

That modification was unsuccessful with clonezilla.ipxe line 36 updated to:

kernel ${url}vmlinuz boot=live username=user union=overlay config components noswap edd=on nomodeset ocs_live_run="ocs-live-general" ocs_live_batch=no net.ifnames=0 nosplash noprompt fetch=${url}filesystem.squashfs fixrtc initrd=initrd.magic ${cmdline}

kaechele commented 1 year ago

I'm stupid. Had too many tabs open and replied to the wrong bug. This should have gone in #1253. I'm terribly sorry that I wasted your time trying this.