[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: open firmware netboot?



pohl wrote:
> 
> Ethan wrote:
> >
> > this is strange and disturbing. can it read regular ISO9660 CDs?
> > (debian CD 1 is hybrid ISO/HFS)
> 
> Yes, it can read regular ISO9660s...what's more interesting is that
> we have another iMac of the same vintage that I just tested -- it
> boots just fine off of the same CD -- must be some subtle flaw in
> the cdrom drive?  alignment?  calibration?  I don't know.
> 
> > yes all newworld macs can do a netboot.  all the work is involved on
> > your tftp/bootp server.  the mac just needs to have the `n' key held
> > down on powerup.
> 
> What happens then?  does it go interactive so that I can specify
> an IP address, or do I need to set up some BOOTP magic?  Is this
> documented anywhere?

The netboot of macs closely follows the procedure diskless UNIX
Workstations or X-Terminals take: after booting, they broadcast to
locate a BOOTP server. This server tells them their IP address and
netmask, and a filename of a boot image. This boot image is then loaded
via tftp. So you need both a botp server and a tftp server. If you have
some other debian system, install the packaged bootp and tftpd. There is
also an alternative BOOTP server called bootparamd. In case of macs, the
bootp server has to be configured to tell the booting machine that
yaboot is the boot image to load. After loading yaboot, the booting
machine loads yaboot.conf from the same location. In yaboot.conf, you
can prefix filenames with eth:0 to specify loading via tftp (mainly
useful for kernel images). I've attached an example of a bootptab
(configuration file for pootpd) and yaboot.conf. If you have a network
monitor such as ethereal, use it. It's quite interesting to look at
what's happening during such a boot procedure (and it's VERY helpful for
debugging).



> --
> To UNSUBSCRIBE, email to debian-powerpc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

-- 
Matthias Pfisterer	<mailto:Matthias.Pfisterer@gmx.de>

        Share your knowledge.
        It's a way to achieve immortality.

                 (from a nepalese mantra)

Java Sound Examples:
http://rupert.informatik.uni-stuttgart.de/~pfistere/jsexamples/
Tritonus, the open source implementation of the Java Sound API:
http://tritonus.sourceforge.net/
--------------------------------------------------------------
# /etc/bootptab: database for bootp server (/usr/sbin/bootpd)

# Blank lines and lines beginning with '#' are ignored.
#
# Legend:	(see bootptab.5)
#	first field -- hostname (not indented)
#	bf -- bootfile
#	bs -- bootfile size in 512-octet blocks
#	cs -- cookie servers
#	df -- dump file name
#	dn -- domain name
#	ds -- domain name servers
#	ef -- extension file
#	gw -- gateways
#	ha -- hardware address
#	hd -- home directory for bootfiles
#	hn -- host name set for client
#	ht -- hardware type
#	im -- impress servers
#	ip -- host IP address
#	lg -- log servers
#	lp -- LPR servers
#	ns -- IEN-116 name servers
#	ra -- reply address
#	rl -- resource location protocol servers
#	rp -- root path
#	sa -- boot server address
#	sm -- subnet mask
#	sw -- swap server
#	tc -- template host (points to similar host entry)
#	td -- TFTP directory
#	to -- time offset (seconds)
#	ts -- time servers
#	vm -- vendor magic number
#	Tn -- generic option tag n
#
# Be careful about including backslashes where they're needed.  Weird (bad)
# things can happen when a backslash is omitted where one is intended.
# Also, note that generic option data must be either a string or a
# sequence of bytes where each byte is a two-digit hex value.

.default:td=/boot:hd=/boot/mac:ds=129.69.211.1 129.69.215.5:sm=255.255.255.0:gw=192.168.128.1:

aphrodite:ht=1:ha=0030656a9d76:ip=192.168.128.105:bf=yaboot:tc=.default:
init-message = "\nWelcome to LinuxPPC!\nHit <TAB> for boot options.\n\n"
timeout = 50
default = debian

image = hd:10,vmlinux
label = linuxppc
novideo

image = hd:10,vmlinux
label = debian
append = "root=/dev/hda15 adb_buttons=103,111"

image = hd:10,vmlinux
label = debian-no-extra-mousebuttons
append = "root=/dev/hda15"

image = hd:10,vmlinux
label = debian-tuned2
append = "root=/dev/hda15 video=aty128fb:17,cmode:32"


image = enet:0,vmlinux
label = install
initrd = enet:0,ramdisk.image.gz
initrd-size = 8192
novideo

image = enet:0,vmlinux
label = install-2
initrd = enet:0,mac/ramdisk.image.gz
initrd-size = 8192
novideo

image = enet:0,vmlinux
label = install-3
initrd = enet:0,/boot/mac/ramdisk.image.gz
initrd-size = 8192
novideo

image = hd:10,vmlinux_firewire
label = install2
initrd = cd:,ramdisk.image.gz
initrd-size = 8192
novideo
append = "root=/dev/hda10"

image = cd:,vmlinux.2.2.15pre3
label = framebuffer
initrd = cd:,ramdisk.image.gz
initrd-size = 8192
append = "video=aty128fb:vmode:17"

Reply to: