| Update |
|---|
2007-07-15: Matthew Delacruz let me know the tftpboot.img was missing.
Link now points to woody(!) at archive.debian.org. (But just maybe
netboot-boot.img
from etch would work as a drop in?
Would have to insert filename "/tftpboot/netboot-boot.img"; in /etc/dhcpd.conf I guess.)
|
| 2005-05-22: I've got this email from Shaun Prince: "I have tried your excellent how-to, however, failed to install woody on my SGI Indy. I have created a how-to for installing Debian 'sarge' on my Indy. I have it posted here: http://techfusion.ca/read.php?4,36 " |
| Content |
|---|
This is my notes for the process. I've highlighted
input, filenames and output.
Preparations
What you need: the MAC-address of your Indy, a dhcp-server, a tftp-server, the tftpboot.img and
Internet access.
The MAC-address of your Indy
printenvapt-get install dhcp# dhcpd.conf
subnet 192.168.0.0 netmask 255.255.255.0 {}
# Entry for the Indy!
host indy {
hardware ethernet 08:00:69:08:5a:af;
fixed-address 192.168.0.2;
option host-name "indy";
option domain-name-servers 213.178.66.2;
option routers 192.168.0.1;
filename "/tftpboot/tftpboot.img";
}
/etc/init.d/dhcp restartapt-get install tftpdtftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /tftpboot
/etc/init.d/inetd reloadman hosts.allow).
chmod o+r /tftpboot/tftpboot.imgecho "2048 32767" > /proc/sys/net/ipv4/ip_local_port_rangeecho "1" > /proc/sys/net/ipv4/ip_no_pmtu_disc
unsetenv netaddrbootp(): root=/dev/ram0tail /var/log/daemon.log , you should see:
tftpd: trying to get file: /tftboot/tftboot.img
Use fdisk /dev/sda
xgrIf entering expert mode doesn't work:
dd if=/dev/zero of=/dev/sda count=1 bs=512and try again.
pIf we want 50MB for volume header (where the kernels are stored for booting), 128MB for swap and the rest for Linux, then we have:
| Start of | volume header | = 0 | |
| End of | volume header: | ev | = 50 / cs |
| Start of | Linux swap: | ss | = lc - 128/cs |
| End of | Linux swap: | es | = lc |
| Start of | Linux native: | sn | = ev + 1 |
| End of | Linux native: | en | = ss - 1 |
For each dash, "-", hit instead the enter key.
First we delete, d (just to be sure), then we create, n. Let's go.
d - 1 - n - 1 - sn - end - 9 - n - 9 - 0 - evd - 2 - n - 2 - ss - es - t - 2 - 82wDisk /dev/sda (SGI disk label): 67 heads, 62 sectors, 1010 cylinders Units = cylinders of 4154 * 512 bytes ----- partitions ----- Pt# Device Info Start End Sectors Id System 1: /dev/sda1 boot 75 950 3638904 83 Linux native 2: /dev/sda2 swap 951 1009 245086 82 Linux swap 9: /dev/sda3 0 74 311550 0 SGI volhdr 11: /dev/sda4 0 1009 4195540 6 SGI volume ----- Bootinfo ----- Bootfile: /unix ----- Directory Entries ----- 0: linux sector 4 size 1867984
setenv OSLoader linux
setenv SystemPartition scsi(0)disk(1)rdisk(0)partition(8)
setenv OSLoadPartition /dev/sda1
yes .. that's right .. you have to create /dev/psaux with MAKEDEV ...
(From Jan- Hendrik Palic)Try
dvhtool -d $BOOTDEVICE --unix-to-vh vmlinux $BOOTFILENAME
where$BOOTFILENAME is the name of the OSLoader (the same Name in setenv OSLoader linux)
(From Jan- Hendrik Palic)