summaryrefslogtreecommitdiffstats
path: root/mdk-stage1/doc/HACKING
blob: d196c8010e5f27d2d6e5889cfd36cdbaf90e4cae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
If you have to boot pretty often, you'll appreciate to speed the things up
a little.

Here's what we use: the GRUB feature to boot from the network using the
DHCP protocol and the TFTP protocol.

Here's the "menu.lst" to do that:

-=-=--

timeout 0

title linux
dhcp
tftpserver 192.168.1.17
kernel (nd)/tftpboot/gc/vmlinuz ramdisk=32000 vga=788
initrd (nd)/tftpboot/gc/network.rdz

-=-=--


The option "tftpserver" is used to override the tftpserver address given
as an answer by the DHCP server. That way, you'll not need to bother your
system administrator to modify his dhcp server configuration.

The directory /tftpboot seems to be the only one defaultly accepted by the
server, and its subdirs.


Of course, your GRUB needs to be compiled with the specific code for your
network card; use ./configure --help in the GRUB build dir for more infos.