[syslinux] Booting Live Cd over PXElinux - need help

Harald_Jensas at Dell.com Harald_Jensas at Dell.com
Sun Apr 23 23:42:41 PDT 2006


> -----Original Message-----
> From: syslinux-bounces at zytor.com 
> [mailto:syslinux-bounces at zytor.com] On Behalf Of H. Peter Anvin
> Sent: 22 April 2006 18:42
> To: justStormY
> Cc: syslinux at zytor.com
> Subject: Re: [syslinux] Booting Live Cd over PXElinux - need help
> 
> justStormY wrote:
> > Hi,
> > 
> > Normally i doesn't choose this way to solve problems, but i need a 
> > fast and good help because it's really important to me.
> > I would like to boot a LIVE CD, called SLAX (depending on 
> SLACKWARE) 
> > over PXElinux.
> > 
> > So i've got a server with dhcp,tftp and pxelinux. In the 
> tftp folder 
> > are the  SLAX files. Now i would like to boot from a client 
> this LIVE CD.
> > Because this is a LIVE CD i can't tell pxelinux.cfg that it should 
> > boot the kernel and append initrd or? All works fine but during 
> > booting there appends a kernel panic error taht he can'f 
> mount a root FS.....
> > 
> 
> There isn't a single way to do that, because it's depends on how the 
> initrd on the livecd is constructed.  I suggest talking to 
> the SLAX people.
> 
> 	-hpa
> 
> _______________________________________________
> SYSLINUX mailing list
> Submissions to SYSLINUX at zytor.com
> Unsubscribe or set options at:
> http://www.zytor.com/mailman/listinfo/syslinux
> Please do not send private replies to mailing list traffic.
> 

Look at the initrd, and the linuxrc script.

It probably contain some code to find the cdrom and mount it by doing something like this:

	for x in hda hdb hdc hdd                        
		do  
        		mount -t iso9660 /dev/${x} /cdrom                                         
		        if [ "$?" == "0" ]                          
		        then            
		                CDROM=${x}                          
		                break                     
		        fi          
		done    




If the Kernel support NFS, you can probably replace the first part where it looks for the CDROM with code that mount an NFS share SLAX files in it.


//
Harald Jensås




More information about the Syslinux mailing list