samboon
07-09-2008, 06:43 AM
Hi
Has anyone tried booting a live cd image via PXE. I encountered the same problem porting a live -cd to usb . i.e. the error message " Looking for cdrom ...hda1..hda2.. Cannot find Kanotix filesystem.."
Dropping you out a very limited shell and thats it.
To get it booting with pxe obtain a tftp server with builtin dhcp. Obtain the pxe linux package extract and put pxelinux.0 file in the root directory of the cdrom image. Create a .pxelinux directory at the root of the cdrom image (copy isolinux.cfg to ther pxelinux directory and rename it to default. ) The boot file pxelinux.0 resides in the root directory will use default to boot the linux distribution after it fails to find other filenames.
The /pxelinux.cfg/default will have the same format as isolinux.cfg
the kernel name to boot, the append parameters , the ramdisk filename miniroot.gz of which renamed isolinux.cfg substitutes fine. However pxelinux.0 looks for the kernel image in the same directory as itself so you'd have to copy the /isolinux directory contents into the root directory to boot . You can see it on your client ... all goes well ... until the boot-up decides to look for the compressed image of the entire linux distribution in the Client machine...
That cd is back on the server....
Has anyone tried booting a live cd image via PXE. I encountered the same problem porting a live -cd to usb . i.e. the error message " Looking for cdrom ...hda1..hda2.. Cannot find Kanotix filesystem.."
Dropping you out a very limited shell and thats it.
To get it booting with pxe obtain a tftp server with builtin dhcp. Obtain the pxe linux package extract and put pxelinux.0 file in the root directory of the cdrom image. Create a .pxelinux directory at the root of the cdrom image (copy isolinux.cfg to ther pxelinux directory and rename it to default. ) The boot file pxelinux.0 resides in the root directory will use default to boot the linux distribution after it fails to find other filenames.
The /pxelinux.cfg/default will have the same format as isolinux.cfg
the kernel name to boot, the append parameters , the ramdisk filename miniroot.gz of which renamed isolinux.cfg substitutes fine. However pxelinux.0 looks for the kernel image in the same directory as itself so you'd have to copy the /isolinux directory contents into the root directory to boot . You can see it on your client ... all goes well ... until the boot-up decides to look for the compressed image of the entire linux distribution in the Client machine...
That cd is back on the server....