[Etherboot-users] Etherboot to boot local disk
Brought to you by:
marty_connor,
stefanhajnoczi
From: Adam C. <aj...@di...> - 2006-02-15 15:55:20
|
Is there a way to have etherboot look to the local hard drive for boot information by way of the "filename =3D " variable one would set in the dhcp server? With PXE there's the config file one can use to setup this up with. default Linux timeout 80 message /boot/message read-only prompt boot /dev/sda image /boot/vmlinuz label Linux initrd /boot/initrd localboot 0 root /dev/sda3 append resume=3D/dev/md1 selinux=3D0 splash=3Dsilent elevator=3Dcfq I'm trying to build some cluster nodes that only have etherboot rather than pxe. I push out a suse linux install like this. mkelfImage --output /root/suse10-64.ebi --kernel=3D/install/suse10-dvd/boot/loader/linux64 --initrd=3D/install/suse10-dvd/boot/loader/initrd64 --append=3D'Install=3Dnfs://172.20.163.100:/install/suse10-dvd/ vnc=3D1 vncpassword=3D*****' I then place suse10-64.ebi in /tftpboot/ Modify the dhcp server like so: Global settings: ------------------------------------------------------------- allow bootp; option T128 code 128 =3D string; option T129 code 129 =3D string; option T150 code 150 =3D string; group { option vendor-encapsulated-options 3c:09:45:74:68:65:72:62:6f:6f:74:ff; option T128 e4:45:74:68:00:00; host n01 { next-server 192.168.0.1; filename "suse10-32.ebi"; hardware ethernet 00:30:48:XX:XX:XX; fixed-address 192.168.0.111; option host-name "n01"; ddns-hostname "n01"; ddns-domainname "company.com"; ddns-rev-domainname "in-addr.arpa"; -------------------------------------------------------------- This works. I set the bios to boot via the network card first. I get my vnc session for the installation. What I need to happen after that is to replace the filename "----" option to load an image that will then boot the local install -- or look to grub on the partition. Is there a way to do this? I tried using different append options but none seem to change the behavior of the boot process. I found on the mailing list someone mention using /dev/hda for filename -- but that doesn't seem to work either. I would appreciate any help on this, thanks in advanced. Regards, Adam Cody |