[GH-ISSUE #429] Update Live CD assets to use full initrds from their source ISO #161

Closed
opened 2026-02-27 14:50:38 +03:00 by kerem · 16 comments
Owner

Originally created by @PascalPirate75 on GitHub (Dec 18, 2019).
Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/429

Originally assigned to: @thelamer on GitHub.

If I boot the experimental Linux live, many if not all, the Ubuntu flavors on Virtual Box boots and runs, but on computer they start to boots, loads the first two files but seems like it forgets the NIC settings and the stops prior to loading the squash file(S). It drops to BusyBox shell and ip addr only has lo-loopback listed but no other interfaces.

this is in eif mode and as such not exactly the same as in VB as on the computer but Debian boots in both.

BTW netboot.xyz is awesome I love it.

Originally created by @PascalPirate75 on GitHub (Dec 18, 2019). Original GitHub issue: https://github.com/netbootxyz/netboot.xyz/issues/429 Originally assigned to: @thelamer on GitHub. If I boot the experimental Linux live, many if not all, the Ubuntu flavors on Virtual Box boots and runs, but on computer they start to boots, loads the first two files but seems like it forgets the NIC settings and the stops prior to loading the squash file(S). It drops to BusyBox shell and ip addr only has lo-loopback listed but no other interfaces. this is in eif mode and as such not exactly the same as in VB as on the computer but Debian boots in both. BTW netboot.xyz is awesome I love it.
kerem 2026-02-27 14:50:38 +03:00
Author
Owner

@thelamer commented on GitHub (Dec 18, 2019):

Could be our initramfs is missing the drivers for your nic, what is the specific hardware you are running specifically the model/make of the nic?

<!-- gh-comment-id:566864142 --> @thelamer commented on GitHub (Dec 18, 2019): Could be our initramfs is missing the drivers for your nic, what is the specific hardware you are running specifically the model/make of the nic?
Author
Owner

@PascalPirate75 commented on GitHub (Dec 18, 2019):

It is the Ethernet on a Dell Inspiron 15 3567
/0/100/1c.5/0 enp2s0 network RTL810xE PCI Express Fast Ethernet controller

Also because PXE booting did not work I grub booted the iso straight from the hard drive and if worked fine. not sure if that info is helpful or not

<!-- gh-comment-id:566866070 --> @PascalPirate75 commented on GitHub (Dec 18, 2019): It is the Ethernet on a Dell Inspiron 15 3567 /0/100/1c.5/0 enp2s0 network RTL810xE PCI Express Fast Ethernet controller Also because PXE booting did not work I grub booted the iso straight from the hard drive and if worked fine. not sure if that info is helpful or not
Author
Owner

@antonym commented on GitHub (Dec 18, 2019):

I wonder if we need to pass something like what dracut uses, BOOTIF=${netX/mac} ip=dhcp on the kernel command line so that it reuses the interface that it booted into PXE with. I'm not sure if casper has an equivalent.

<!-- gh-comment-id:566867582 --> @antonym commented on GitHub (Dec 18, 2019): I wonder if we need to pass something like what dracut uses, BOOTIF=${netX/mac} ip=dhcp on the kernel command line so that it reuses the interface that it booted into PXE with. I'm not sure if casper has an equivalent.
Author
Owner

@PascalPirate75 commented on GitHub (Dec 18, 2019):

This is a SS of VirtualBox the highlighted area repeats 5 or so times and then stops trying on the bare metal.
Screenshot_2019-12-17_22-13-57

<!-- gh-comment-id:566872242 --> @PascalPirate75 commented on GitHub (Dec 18, 2019): This is a SS of VirtualBox the highlighted area repeats 5 or so times and then stops trying on the bare metal. ![Screenshot_2019-12-17_22-13-57](https://user-images.githubusercontent.com/26351350/71057899-6032d880-211b-11ea-8e3d-30e7f6354356.png)
Author
Owner

@majorwolf commented on GitHub (Dec 18, 2019):

Looks like Casper does support a ip=dhcp flag.

https://ipxe.org/appnote/ubuntu_live
iPXE Example:

#!ipxe

set server_ip 192.168.100.1
set nfs_path /srv/nfs/ubuntu-14.04.1-desktop-amd64
kernel nfs://${server_ip}${nfs_path}/casper/vmlinuz.efi || read void
initrd nfs://${server_ip}${nfs_path}/casper/initrd.lz || read void
imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${server_ip}:${nfs_path} ip=dhcp splash quiet -- || read void
boot || read void

<!-- gh-comment-id:566874628 --> @majorwolf commented on GitHub (Dec 18, 2019): Looks like Casper does support a ip=dhcp flag. https://ipxe.org/appnote/ubuntu_live iPXE Example: #!ipxe set server_ip 192.168.100.1 set nfs_path /srv/nfs/ubuntu-14.04.1-desktop-amd64 kernel nfs://${server_ip}${nfs_path}/casper/vmlinuz.efi || read void initrd nfs://${server_ip}${nfs_path}/casper/initrd.lz || read void imgargs vmlinuz.efi initrd=initrd.lz root=/dev/nfs boot=casper netboot=nfs nfsroot=${server_ip}:${nfs_path} **ip=dhcp** splash quiet -- || read void boot || read void
Author
Owner

@thelamer commented on GitHub (Dec 18, 2019):

I need to go back to the custom generated initramfs and kernel combos and shift to the new logic used for Manjaro that decompresses existing initrds applies modifications and recompresses them.
The stuff baked Into the live CDs embeds more drivers and this will bring us closer to the livecd experience. Stuff like the realtek drives missing in this case will be embedded in them then.

<!-- gh-comment-id:566880711 --> @thelamer commented on GitHub (Dec 18, 2019): I need to go back to the custom generated initramfs and kernel combos and shift to the new logic used for Manjaro that decompresses existing initrds applies modifications and recompresses them. The stuff baked Into the live CDs embeds more drivers and this will bring us closer to the livecd experience. Stuff like the realtek drives missing in this case will be embedded in them then.
Author
Owner

@thelamer commented on GitHub (Dec 18, 2019):

@PascalPirate75
I went through and made some modifications to how we build our Ubuntu 18.04 Based kernel assets.
Can you grab this build and put it on a USB or CD and give it a boot on your hardware?
https://s3.amazonaws.com/dev.boot.netboot.xyz/2ed2f597a654f24bbc745b177451e2e5a0afe8a8/index.html

Please just test the 18.04 based stuff.

<!-- gh-comment-id:567225000 --> @thelamer commented on GitHub (Dec 18, 2019): @PascalPirate75 I went through and made some modifications to how we build our Ubuntu 18.04 Based kernel assets. Can you grab this build and put it on a USB or CD and give it a boot on your hardware? https://s3.amazonaws.com/dev.boot.netboot.xyz/2ed2f597a654f24bbc745b177451e2e5a0afe8a8/index.html Please just test the 18.04 based stuff.
Author
Owner

@PascalPirate75 commented on GitHub (Dec 18, 2019):

I will, but can I put this one "netboot.xyz.efi" on my tftp server and try it?

<!-- gh-comment-id:567227704 --> @PascalPirate75 commented on GitHub (Dec 18, 2019): I will, but can I put this one "netboot.xyz.efi" on my tftp server and try it?
Author
Owner

@thelamer commented on GitHub (Dec 18, 2019):

Depends on your setup, but if you are hosting your local menu files those will be used not the ones from this remote dev build.

<!-- gh-comment-id:567228159 --> @thelamer commented on GitHub (Dec 18, 2019): Depends on your setup, but if you are hosting your local menu files those will be used not the ones from this remote dev build.
Author
Owner

@PascalPirate75 commented on GitHub (Dec 18, 2019):

ok I usualy use etcher to put iso on usb but that is not working here what is the procedure to get this image on a usb?

<!-- gh-comment-id:567231314 --> @PascalPirate75 commented on GitHub (Dec 18, 2019): ok I usualy use etcher to put iso on usb but that is not working here what is the procedure to get this image on a usb?
Author
Owner

@thelamer commented on GitHub (Dec 18, 2019):

https://netboot.xyz/booting/usb/

<!-- gh-comment-id:567233382 --> @thelamer commented on GitHub (Dec 18, 2019): https://netboot.xyz/booting/usb/
Author
Owner

@PascalPirate75 commented on GitHub (Dec 18, 2019):

So I went ahead and put the "netboot.xyz.efi" on my tftp server it looked all over my network then grabbed the menu from "your?"amazon server and I tried 18.04 KDE and it loaded up perfect. before I had noticed the part about trying the 18.04 stuff I tried the 19.10 and it did not load. so whatever you did to the 18.04 works.. I did not try any other than the KDE. do you need them tested also and do you still want me to try the USB route?

<!-- gh-comment-id:567240674 --> @PascalPirate75 commented on GitHub (Dec 18, 2019): So I went ahead and put the "netboot.xyz.efi" on my tftp server it looked all over my network then grabbed the menu from "your?"amazon server and I tried 18.04 KDE and it loaded up **perfect**. before I had noticed the part about trying the 18.04 stuff I tried the 19.10 and it did not load. so whatever you did to the 18.04 works.. I did not try any other than the KDE. do you need them tested also and do you still want me to try the USB route?
Author
Owner

@thelamer commented on GitHub (Dec 18, 2019):

No as long as you are pulling those files that is fine.

This stuff will make it into 2.0.0 when released across all LiveCDs we can.

Gonna take a bit as all the current LiveCD assets need to be modified to publish their own built in initrds and kernels, but it will be worth it as it will be a near 1:1 experience with actually booting a real CD.

<!-- gh-comment-id:567244074 --> @thelamer commented on GitHub (Dec 18, 2019): No as long as you are pulling those files that is fine. This stuff will make it into 2.0.0 when released across all LiveCDs we can. Gonna take a bit as all the current LiveCD assets need to be modified to publish their own built in initrds and kernels, but it will be worth it as it will be a near 1:1 experience with actually booting a real CD.
Author
Owner

@PascalPirate75 commented on GitHub (Dec 18, 2019):

Sounds great, if you need anymore testing let me know. I really appreciate the work you guys are doing.

<!-- gh-comment-id:567246645 --> @PascalPirate75 commented on GitHub (Dec 18, 2019): Sounds great, if you need anymore testing let me know. I really appreciate the work you guys are doing.
Author
Owner

@antonym commented on GitHub (Dec 18, 2019):

Thanks for the testing and glad to hear it's useful to you. The menu code is pulled from AWS and all of the live boot assets are stored as Git Releases, which also are then pulled from AWS via Github links.

<!-- gh-comment-id:567260012 --> @antonym commented on GitHub (Dec 18, 2019): Thanks for the testing and glad to hear it's useful to you. The menu code is pulled from AWS and all of the live boot assets are stored as Git Releases, which also are then pulled from AWS via Github links.
Author
Owner

@thelamer commented on GitHub (Dec 26, 2019):

All assets have been updated and tested inside of my environment, while not comprehensive I cannot see us making many more changes to these modified initrds.

I will be closing this keep an eye out for the next RC or full release.

<!-- gh-comment-id:569101806 --> @thelamer commented on GitHub (Dec 26, 2019): All assets have been updated and tested inside of my environment, while not comprehensive I cannot see us making many more changes to these modified initrds. I will be closing this keep an eye out for the next RC or full release.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/netboot.xyz#161
No description provided.