xref: /netbsd/distrib/notes/bebox/prep (revision 6550d01e)
$NetBSD: prep,v 1.2 2010/11/15 21:39:12 wiz Exp $
.

p . .Ss2 Available Boot Media . The BeBox firmware (BootROM) allows for system booting using: .(bullet -compact Local floppy disk, hard disk or CD-ROM with the following file systems: .(bullet -compact Be file system t Old Be file system .bullet) .bullet)

p The .Nx*M doesn't support creating/reading/writing either of the file systems.

p However, nbpowerpc-mkbootimage can create an image using the Old Be file system for writing to a floppy. . .Ss2 Preparing the Bootable Media . This section describes how to create a .Nx*M boot loader onto a floppy.

p Go to one of the .Nx mirror sites and download a floppy image from the

a bebox/installation/floppy/ directory named boot.fs or boot_vga.fs or boot_com.fs.

p boot.fs can boot with a frame buffer. If you see the 'Be' logo on your screen then use this. If not, use boot_vga.fs.

p .(disp .No # Ic "dd if=boot.fs of=/dev/rfd0a bs=18k" .disp)

p If you have an x86 PC which runs .Tn Windows and use it to write the floppy image(s) to floppy disk, you can use the c Rawrite32 Windows32 program

q installed by Pa rawr32.exe available in the

a i386/installation/misc/ directory of the .Nx distribution.

p Also you can create boot.fs in the following way:

p .(disp .No # Ic "nbpowerpc-mkbootimage -I -m bebox -b mdec/boot/boot boot.fs" .disp) . .Ss2 Loading the kernel from hard disk or floppy disk . boot supports loading a kernel from hard disk or floppy disk connected directly onboard. . .(bullet -compact Loading a kernel from the 'a' partition on master IDE disk: .(disp c /dev/disk/ide/0/master/0_0:/netbsd .disp)

p t Loading a kernel from a floppy disk: .(disp c /dev/disk/floppy:/netbsd .disp)

p t Loading a kernel from the 'd' partition on target 1 lun 2 SCSI disk: .(disp c /dev/disk/scsi/0/1/2_3:/netbsd .disp) .(Note This support is very experimental. .Note) .bullet)