From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 57ADD2F268 for ; Fri, 8 Dec 2000 12:05:11 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eB8H5BV21011 for axp-list@listman.redhat.com; Fri, 8 Dec 2000 12:05:11 -0500 Received: from iplink.net (iplink.net [192.139.81.2]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eB8H5AD21002 for ; Fri, 8 Dec 2000 12:05:10 -0500 Received: from iplink.net ([192.139.81.2]:46340 "EHLO caesar.iplink.net") by caesar.iplink.net with ESMTP id ; Fri, 8 Dec 2000 12:04:01 -0500 Date: Fri, 8 Dec 2000 12:04:01 -0500 (EST) From: Alvin Starr To: axp-list@redhat.com Subject: Re: Booting to Raid array under SRM In-Reply-To: <3A30F597.87EA6C86@bob.usuhs.mil> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors On Fri, 8 Dec 2000, Robert Williams wrote: > Alvin Starr wrote: > > > > BSD labels do not support type "fd". > > > > no > > How do BSD labels support "fd"? > I see 1:swap, 2:Version 6:...9:4.4LFS, > d: boot, e: ADOS... I'm not sure which one > to pick. the disklable has a byte for the partition type. The partitioning tool that you have may not allow you to use an arbitrary value. > > > Is it impossible to boot to a software > > > RAID on alpha under SRM? > > > > works just fine. > > A patch is required to the kernel that will allow BSD disklabels to be > > read for the partition type on boot and since aboot does not know of > > partition type fd I aliased a boot partition over top of the raid > > partition with fdisk. > > So you initially set DOS partitions to type "fd", > and then fdisked your /dev/md0 to have BSD partitions? > > Where do you have swriteboot put th e boot loader? > On the first Cylinder of the DOS partitioned disk, > or the first Cylinder of the BSD aliased RAID device? fdisk supports partitioning BSD labled disks. command "b" goes into BSD mode. you then can lable the partitions any way you want. from one of my systems running raid. Command (m for help): b Warning: starting partitions at cylinder 1 will be bad for the health of your partition table -- start at cylinder 2 instead! BSD disklabel command (m for help): p 8 partitions: # size offset fstype [fsize bsize cpg] a: 4096512 1008 fd # (Cyl. 2 -4065) b: 2048256 4097520 fd # (Cyl. 4066 -6097) c: 33885936 6145776 fd # (Cyl. 6098 -39714) h: 4096512 1008 ext2 # (Cyl. 2 -4065) BSD disklabel command (m for help): notice the h partition. This is the partition that I boot from. I had to do this to keep aboot happy. Alvin Starr || voice: (416)585-9971 Interlink Connectivity || fax: (416)585-9974 alvin@iplink.net ||