On Wednesday 02 February 2005 13:07, Lanman wrote:
>
> So, I guess the next question is how can I accomplish this? I'm finding
> a lot of info on how to configure PXE, but none of it seems to have a
> clear (ie; Plan English) explanation on how to do it step-by-step, and
> nothing I've found shows me how to launch an install command in the
> process.
>
> Any help you might be able to offer would be greatly appreciated.
My brain cells take a while to get going. I have now remembered how to create 
a bootable image for use with PXElinux.

1/ Configure dhcp server to ask for PXELinux with
host myth {
        hardware ethernet       00:40:63:D8:B8:65;
        fixed-address           192.168.1.55;
        filename "pxelinux.0";
}


2/ Put pxelinux.0  (from SYSLINUX web page) on tftp server.
Create a subdirectory called pxelinux.cfg In there create a text file called 
'default' containing for example
PROMPT 1
DEFAULT stable
DISPLAY messages
TIMEOUT 5
label stable
    KERNEL linux-dj2
    APPEND initrd=rootfs-dj2  ramdisk_blocksize=4096 ramdisk=4000 

where linux-dj2 is a kernel containing at least enough drivers to work the 
Ethernet and rootfs-dj2 is a cram file system containing an image of your OS.
PXELinux will run the cramfile system in memory so it cannot be a huge image. 
If you need to install a large image you should use the small image to 
install the larger one, and then 'pivot_root' to start executing the large 
image.

3/ To make the OS image set up a directory containing the entire file system 
of the image you want to create and run
'mkcramfs root_dir image_name'

Do not use Mandrake's version of mkcramfs It is broken. Use this one.
http://www.jennings.homelinux.net/downloads/mkcramfs

Hope that all understandable.

derek
-- 
www.jennings.homelinux.net
http://twiki.mdklinuxfaq.org

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to