Booting FreeBSD after first boot

Peter Grehan grehan at freebsd.org
Wed Nov 9 20:37:46 PST 2005


Hi Arun,

>>  I guess I dual-boot all my machines and copy the file into '/' from 
>> the CD when in OSX. 
>
> I was able to use hfsutils (hformat + hcopy) to achieve this.

  Good to hear !

> to autoboot. But I'd like to be able to control the boot loader over the 
> ethernet. So I used:
> 
> <BOOT-SCRIPT>
> " screen" output
> " enet:telnet,192.168.x.y " io eval
> boot hd:9,\loader hd:3
> </BOOT-SCRIPT>
> 
> I was able to talk to OF over the network, but couldn't get it to boot.
> I don't speak FORTH. So if someone can tell me what I'm doing wrong and 
> tell me the magic script that:
> 
> a) Allows me to pick a kernel over the ethernet
> b) autoboot to FreeBSD

  I think with the above script you are setting input *and* output to go 
over the telnet session - this would probably change the definition of 
/chosen in OpenFirmware, and FreeBSD won't locate a console if /chosen 
isn't a graphics head or serial port.

  I suppose it's possible, but it might be a large slab of Forth, which 
I also don't speak :(

> - Why is WITNESS enabled on UP kernels?

  I've left all the main debug on in the GENERIC kernel until the system 
is rock-solid. It's been useful for picking up lock-order reversals: 
there may still be some there that are in paths that haven't been 
exercised yet.

> - Does anyone have gdb working?

  A few people have worked on this in the past, and have sent me some 
patches. Yet to integrate - I can send them to you if you're interested.

later,

Peter.


More information about the freebsd-ppc mailing list