|
|
1.1 ! root 1: How to install BSD on your Amiga: ! 2: -------------------------------- ! 3: ! 4: *Please* (re)read the README.amiga file, and make sure your system is ! 5: supported by the current kernel. ! 6: ! 7: Since BSD doesn't yet have a floppy driver, and you'll need a root fs ! 8: to start using commands (chicken and egg problem..) to make your own ! 9: fs, installation of the root fs is a bit hacky... ! 10: ! 11: vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv ! 12: > We copy a binary image (8M) of the root fs directly to the place on < ! 13: > your harddisk. This is an extremely dangerous thing to do, since if < ! 14: > you get the offsets wrong, you'll destroy data on other partitions of < ! 15: > the drive! < ! 16: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ! 17: ! 18: If you don't feel like risking the life of innocent data on your disk, ! 19: better stop installing now, and wait until installation gets safer in ! 20: the future!!! ! 21: ! 22: ! 23: Ok.. if you're reading on, start up hdtoolbox, and create some partitions ! 24: for use by BSD. You'll have to at least create two partitions: ! 25: ! 26: o a root partition: ! 27: Must have FileSystem: Custom File System ! 28: Identifier: 0x42534452 (`BSDR') ! 29: Reserved begin: 0 ! 30: end: 0 ! 31: Use custom boot code: NO (ie. no checkmark) ! 32: FS block size: 512 ! 33: You don't have to check Automount, the partition could only ! 34: confuse AmigaDOS. ! 35: ! 36: o a swap partition: ! 37: Must have FileSystem: Custom File System ! 38: Identifier: 0x42534453 (`BSDS') ! 39: Reserved begin: 0 ! 40: end: 0 ! 41: Use custom boot code: NO (ie. no checkmark) ! 42: FS block size: 512 ! 43: You don't have to check Automount, the partition could only ! 44: confuse AmigaDOS. ! 45: ! 46: ! 47: You might also add a /usr partition, for example on BSDD: ! 48: Must have FileSystem: Custom File System ! 49: Identifier: 0x42534444 (`BSDD') ! 50: Reserved begin: 0 ! 51: end: 0 ! 52: Use custom boot code: NO (ie. no checkmark) ! 53: FS block size: 512 ! 54: You don't have to check Automount, the partition might only ! 55: confuse AmigaDOS. ! 56: ! 57: ! 58: Other settings (like MaxTransfer and Mask) are ignored. ! 59: ! 60: Now, you'll have to find out about the exact block start address and length ! 61: in blocks of the BSDR fs (BSD will find out about the data of the other ! 62: partitions once it's started up). Go into "Change Drive Type" menu, and ! 63: write down the "Blocks per Cylinder" value it shows you for this drive. Then ! 64: go into the "Partition Drive" menu, select your BSDR partition, enable ! 65: "Advanced Options", and write down the "Start Cyl" and "End Cyl" values. ! 66: ! 67: Doing "Blocks per Cylinder" * "Start Cyl" gives you the block start number ! 68: of the BSDR partition, doing "Blocks per Cylinder" * ("End Cyl" - "Start Cyl") ! 69: results in the length of the partition in blocks. You'll need these values ! 70: to install the root fs onto the drive, so please write them down, and PLEASE ! 71: make sure you calculated them right, since if not, you'll scribble anywhere ! 72: on the drive, and that just might be.. (insert worst imaginations..). ! 73: ! 74: ************************************************************************** ! 75: The rootfs has a length of ~8M, 16448 blocks. Your root fs must have at ! 76: least (!) the same amount of blocks. You don't have to make it exactly ! 77: 16448 blocks though, a task that could even be impossible if the number of ! 78: blocks per cylinder on your drive is not a divisor of 16448. ! 79: ************************************************************************** ! 80: ! 81: Now you're almost ready to do the installation. Unzip the distributed rootfs.gz ! 82: file (you'll need 8M of free space on your amigados partition for this!), and ! 83: then do: ! 84: ! 85: filetodev {START_NUMBER} 16448 rootfs scsi.device {UNIT} 1000 ! 86: ! 87: with: ! 88: {START_NUMBER}: above calculated block start number ! 89: {UNIT}: the scsi unit you're installing on, 0-6 ! 90: ! 91: ! 92: The filetodev program is included in the bffs11.lzh archive, and was written ! 93: by Chris Hooper ([email protected]). ! 94: ! 95: ! 96: ! 97: How to start BSD ! 98: ---------------- ! 99: ! 100: You start BSD with a loader program from AmigaDOS. This loader is called ! 101: `loadbsd', and it takes as parameter the kernel file, normally vmunix. ! 102: ! 103: So, ! 104: ! 105: loadbsd vmunix ! 106: ! 107: will (try to...) boot BSD. The kernel as distributed prefers to boot from ! 108: SCSI unit 6. It will probably boot from other units as well (can't test ! 109: this at the moment, since I don't want to repartition my other drives). If ! 110: you run into problems (ie. BSD says it can't mount the root filesystem), ! 111: you'll have to recompile the kernel. Please see the RECOMPILE file for ! 112: how to do this. ! 113: ! 114: ! 115: What about /usr ? ! 116: ----------------- ! 117: For the first distribution of the kernel, I decided not to distribute ! 118: binaries for the /usr filesystem. Simply, because /usr is huge compared ! 119: to root, and a.out headers are likely to change in the future, rendering ! 120: a distributed /usr filesystem almost useless. ! 121:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.