/[cvs]/jonen/notes/notes_2003-07.twingle
ViewVC logotype

Contents of /jonen/notes/notes_2003-07.twingle

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations)
Fri Jul 25 22:20:57 2003 UTC (20 years, 9 months ago) by jonen
Branch: MAIN
CVS Tags: HEAD
initial commit

1 <hr/>
2
3 Install Debian on VIA Eden C3 M1000 over LAN/PXE:
4 - needed: tftpd-hpa, dhcp, syslinux
5 - install on debian:
6 :# apt-get install tftpd-hpa dhcp syslinux
7 - create tftpboot directory
8 :# mkdir /tftpboot
9 - get needed files from some debian mirror (tftpboot.img, root.bin, drivers.tgz):
10 :# cd /tftpboot
11 :# wget http://ftp.debian.org/debian/dists/woody/main/disks-i386/current/bf2.4/tftpboot.img
12 :# wget http://ftp.debian.org/debian/dists/woody/main/disks-i386/current/images-1.44/bf2.4/root.bin
13 :# wget http://ftp.debian.org/debian/dists/woody/main/disks-i386/current/bf2.4/drivers.tgz
14 - patch rootfs(root.bin) image for needed NIC driver (via-rhine.o):
15 - extract drivers.tgz to temp dir:
16 :# mkdir tmp
17 :# tar xzfvv -C tmp drivers.tgz
18 :# cd tmp
19 :# tar xzfvv modules.tgz
20 - unzip & mount root.bin:
21 :# cp root.bin root.gz
22 :# gunzip root.gz
23 :# mount -o loop root /mnt
24 - copy 'via-rhine.o' to rootfs:
25 :# cp lib/modules/2.4.18-bf2.4/kernel/drivers/net/via-rhine.o /mnt/lib/modules/2.4.18-bf2.4/kernel/drivers/net/
26 - umount, zip rootfs and copy to orginal root.bin:
27 :# umount /mnt
28 :# gzip root
29 :# cp root.gz root.bin
30 - create needed links for pxe (don't understand why but the viaC3 pxe needs this!!)
31 :# ln -s pxelinux.0 linux.0
32 :# ln -s tftpboot.img linux.1
33 :# ln -s root.bin linux.2
34 - copy 'pxelinux.0' from '/usr/lib/syslinux/' directory to tftpboot-dir and create needed pxe-config:
35 :# cp /usr/lib/syslinux/pxelinux.0 /tftpboot
36 :# mkdir pxelinux.cfg
37 :# nano pxelinux.cfg/default
38 -------------------- sample pxelinux.cfg/default ------------------
39 PROMPT 1
40 LABEL pxe
41 KERNEL linux.1
42 APPEND initrd=linux.2 flavor=bf2.4
43 IPAPPEND 1
44 --------------------------- end sample -----------------------------
45 - configure dhcpd:
46 - add following entry to dhcpd.conf (change MAC and IP to your settings!!):
47 -------------------- sample dhcpd.conf snip ----------------------
48 host via {
49 fixed-address 192.168.10.150;
50 hardware ethernet 00:40:63:cb:f3:51;
51 filename "/tftpboot/pxelinux.0";
52 }
53 ------------------------ end snip ------------------------------------
54 - configure tftpd:
55 - add following line to /etc/inetd.conf:
56 tftp dgram udp wait root /usr/sbin/in.tftpd -s /tftpboot -r blksize
57 Note: add '-v -vv' for debug if something goes wrong!
58 - now start installation:
59 restart dhpd and inetd (and be sure no tftpd is still running, if so kill them!)
60 and start the viaC3......
61 ...you should see now a default linux installation prompt (syslinux! ;)
62 enter 'pxe' (or whatever you declared your 'LABEL' at pxelinux.cfg/default
63 to start installation.
64 - load 'via-rhine.o' to get NIC working:
65 - switch to 2nd shell (ALT+F2) and enter following:
66 :# insmod via-rhine
67 Now, NIC should work fine and you can go on with default installation (configure network, install base-system, etc...).
68
69 <hr/>
70 $Id: notes_2003-06.twingle,v 1.1 2003/06/18 22:14:50 jonen Exp $

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed