[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Is it possible to have squashfs inside initrd?



Am 20.09.2014 um 13:23 schrieb Daniel Lindgren:
>     > iPXE can dynamically adapt the address to the current LAN, which means
>     > that the initrd file is always transferred over LAN.
> 
>     Yes, and you can use the same variable to specify the path to the
>     download server for the squashfs image.  So where is your problem?
>     *confused look*
> 
> 
> How? iPXE changes DHCP option 209 and 210 to use HTTP instead of TFTP
> and points to the local server.
> 
> Can the "fetch" parameter be sent as a DHCP option?

That's no longer a debian-live question, so if you have any further
questions regarding this, you should ask on the ipxe forums or IRC
channel, if Google doesn't help you.

Here's a sample boot.ipxe file for you:

#!ipxe

kernel /foo/bar/vmlinuz.lkrn quickreboot boot=live
fetch=http://${net0.dhcp/next-server:ipv4}/foo/bar/live.iso noeject
live-config quiet splash
initrd /foo/bar/initrd.img
boot

that's 3 lines, lines are starting with "kernel", "initrd" and "boot".

-Stefan


Reply to: