pxe setup

Started by diensthunds, 2012/11/02, 06:12:39

Previous topic - Next topic

diensthunds

I've managed to get a pxe setup going to a point, I'm stuck at the boot screen and can not get past the kernel trying to boot, it does and then drops into a waiting for sda to settle then drops me into busybox saying it can't find system to use. Where's the disconnect here?

ralfi

Hi diensthunds,
have a look at this

http://wiki.siduction.de/index.php?title=Diskussion:Installation_vom_Netzwerk

It works, feel free to ask here if necessary
Gruss, ralfi

Niveau sieht von unten oft wie Arroganz aus ...

diensthunds

ralif
thanks for the link, even though my German is about as good as my Spanish (I don't speak either fluently) google translate filled in what wasn't in English. I was able to modify my set server set up along with a few modifications of the info on the link, to adjust where I have things stored and ip address ranges and was able to fully boot the pxe client up into a live iso of Siduction. Your help is greatly appreciated!

ralfi

Okay, sounds good. Have fun! And okay, i will translate this wiki entry soon.
Gruss, ralfi

Niveau sieht von unten oft wie Arroganz aus ...

diensthunds

Once I have everything up and running the way I want (still have a few additional iso's to serve up over the pxe server) I can do a write up of how I did it and if you want to put it to the community for review I wouldn't mind. ;-)

devil

good idea! The wiki is a good place for that. Sfter review it could go to the manual.

greetz
devil

ralfi

;-)

But there are a lot of different problems to server iso´s over pxe, depends on there builds, esp. initramfs. Good luck ...
Gruss, ralfi

Niveau sieht von unten oft wie Arroganz aus ...

ralfi

as pxe menu

# DO NOT FORGET TO FIT IP-ADRESSE(S), PATH(S), NFS-EXPORTS  AND NBD-SERVER CONFIG FOR YOUR ENVIRONMENT !

DEFAULT vesamenu.c32
# DEFAULT menu.c32

ALLOWOPTIONS 1
NOESCAPE 1
PROMPT 0

#  Autostart first LABEL after 5 sec.
TIMEOUT 50
#  new reading of pxe-config after 5 min.
TOTALTIMEOUT 3000

# my background pic
MENU BACKGROUND /pxelinux.cfg/mypxe.jpg

# MENU WIDTH 80
# MENU MARGIN 5
# MENU PASSWORDMARGIN 8
# MENU TABMSGROW 20
# MENU CMDLINEROW 20
# MENU ENDROW 25
# MENU PASSWORDROW 10

MENU COLOR pwdborder    30;47      # ffff0000 # 00000000 std
MENU COLOR pwdheader    31;47      # ffff0000 # 00000000 std
MENU COLOR pwdentry     30;47      # ffff0000 # 00000000 std

MENU ROWS 14
MENU TIMEOUTROW 20

#  hide TABMSG, but usable if necessary
MENU TABMSG
MENU PASSPROMPT enter your password
MENU AUTOBOOT local boot in #  sec ...


#  ***************************************
MENU TITLE *** My PXE Server Boot Menu ***
#  ***************************************

LABEL LocalHDD
MENU LABEL ^Local boot ...
KERNEL chain.c32
APPEND hd0
#  or: "LOCALBOOT 0x80"
#TEXT HELP
#some hints of needed
#ENDTEXT

MENU SEPARATOR

LABEL Memtest
MENU LABEL RAM-^Test ...
KERNEL memtest/mt86plus
TEXT HELP
large and excessive RAM test
ENDTEXT

LABEL Avira
MENU LABEL AVIRA Antivirus Rescue Live-CD...
KERNEL avira_rescue/vmlinuz
APPEND vga=791 initrd=/avira/initrd.gz ramdisk_size=366000 root=/dev/ram0 rw console=/dev/vc/4
#  if display fails try with: "vga=scan nofb"

MENU SEPARATOR

LABEL PartMagic
MENU LABEL ^Partition Magic...
MENU PASSWD top-secret
LINUX pmagic/bzImage
APPEND initrd=/pmagic/initrd.img edd=off load_ramdisk=1 prompt_ramdisk=0 rw vga=normal loglevel=9 max_loop=256 nosound nocpufreq nobluetooth samba keymap=de-latin1 de_DE

LABEL DareksNuke
MENU LABEL ^Dareks Disk Eraser starten ...
MENU PASSWD top-secret
LINUX /dban/dban.bzi
APPEND nuke="dwipe" vga=791

LABEL SysResc3
# nbd-export of sysrc.dat necessary !
MENU LABEL ^System Rescue 3 ...
MENU PASSWD top-secret
LINUX sresc3/rescue32
APPEND initrd=/sr3/initram.igz netboot=nbd://192.168.122.2:65001 dodhcp scandelay=1 docache vga=791 setkmap=de

LABEL FreeDOS
MENU LABEL ^FreeDOS Floppy ...
MENU PASSWD top-secret
LINUX memdisk
APPEND initrd=/freedos/fdboot.img

MENU SEPARATOR

LABEL siduction
# nbd-export of iso-image necessary !
MENU LABEL ^siduction KDE ...
MENU PASSWD siduction
LINUX siduction/vmlinuz
APPEND initrd=/siduction/initrd fromhd=/dev/nbd0 root=/dev/nbd0 nbdroot=192.168.122.2,65000 boot=fll toram noeject nointro noswap apm=off noapic nodma noisapnpbios nomce nosmp lang=de 3

LABEL Ploplinux
MENU LABEL ^Plop Linux ...
LINUX plop/bzImage
APPEND initrd=/plop/initramfs.gz vga=791 nfsmount=192.168.122.2:/srv/tftp/plop iso_filename=ploplinux.iso copy2ram debug


;-)
Gruss, ralfi

Niveau sieht von unten oft wie Arroganz aus ...

diensthunds

ralfi even adjusting your script to use on my system (changing ip addresses and such) I ran into a problem with the initd of siduction, it would drop to a shell which I had to either ctrl d or type exit into in order to get the system to continue to boot.