On Friday 12 November 2004 18:42, Hugo wrote:
Hello!
Please, can you guys help me? There is no documentation really about this (we'll there are a few outdated websites that aren't too helpfull). There must be somebody who can help... you guys all have PXE's running after all.
If SuSE has some docs about this, please give me pointers. And if anybody has info about how to start DOS/Windows from PXE, please... anything?
I did that once, installing SuSE 9.1 from the net, with a grub floppy. I had to figure out the booting with PXE, and found a working solution. The HOWTO is based upon both. Here is a small HOWTO: ==== HOWTO START ==== 1. Install package yast-tftp-server 2. issue 'yast tftp-server' (and let yast install some packages if it wants to) 3. Enable the service, as directory enter '/srv/tftpboot/, and Finish. 4. (Assuming GRUB is installed) cp /usr/lib/grub/pxegrub /srv/tftpboot 5. You need a bootp server or a dhcp server. (Assuming you have a dhcp server) add the following lines to /etc/dhcpd.conf: ----8<----8<----8<----8<----8<----8<---- class "PXEboot" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; filename "pxegrub"; # Putting the grub option here is useless, # as GRUB requests the filename in a separate # packet. That packet does not contain the # string "PXEClient" and would would not match # this class. # option grub-menufile "(nd)/menu.lst"; } option grub-menufile code 150 = text; # Note: the '(nd)' is required! option grub-menufile "(nd)/menu.lst"; ---->8---->8---->8---->8---->8---->8---- Make sure the bootp client gets an ip#! Check the syntax with: 'rcdhcpd check-syntax' Restart the dhsp-server: 'rcdhcpd restart' 6. Now Copy the kernel and the initrd to the tftp directory: cp .../9.2/boot/loader/linux /srv/tftpboot cp .../9.2/boot/loader/initrd /srv/tftpboot These can also be used for thr rescue system ;) 7. A sample of /srv/tftpboot/menu.lst: (you need a http, ftp, ntp or samba server) (I would suggest http if you have the option) You need to change two (or three) things: 1. the module name for the network card (currently: tulip) (2x) 2. the location of the install source (currently: http://10.0.0.1/pub/suse/i386/9.2) (2x) 3. the screen resolution (currently 0x31A, 1280x1024; 0x317 = 1024x768) (2x) or remove option 'vga=0x31A' completely ----8<----8<----8<----8<----8<----8<---- #dhcp bootp color white/blue black/light-gray default 2 timeout 8 # a few of the available eth modules: rtl8139 pcnet32 tulip title Boot from Harddisk root (hd0) chainloader +1 title Installation of SuSE Linux 9.2 kernel (nd)/linux insmod=tulip install=http://10.0.0.1/pub/suse/i386/9.2 vga=0x31A splash=silent showopts initrd (nd)/initrd title Rescue System kernel (nd)/linux insmod=tulip install=http://10.0.0.1/pub/suse/i386/9.2 vga=0x31A splash=silent rescue=1 showopts initrd (nd)/initrd ----8<----8<----8<----8<----8<----8<---- ==== HOWTO END ==== Well, I hope you get this working. I could, (I just tried it) so there is a chance you can. ;) Cheers, Leen