Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Alvin Starr <alvin@iplink.net>
To: axp-list@redhat.com
Subject: Re: Booting to Raid array under SRM
Date: Fri, 8 Dec 2000 12:04:01 -0500 (EST)	[thread overview]
Message-ID: <Pine.OSF.4.05.10012081014320.12318-100000@caesar.iplink.net> (raw)
In-Reply-To: <3A30F597.87EA6C86@bob.usuhs.mil>

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              ||





  reply	other threads:[~2000-12-08 17:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-07 14:48 Booting to Raid array under SRM Robert Williams
2000-12-07 15:12 ` David Woodhouse
2000-12-07 15:17   ` David Woodhouse
2000-12-07 15:52   ` Robert Williams
2000-12-07 17:41 ` Alvin Starr
2000-12-08 14:52   ` Robert Williams
2000-12-08 17:04     ` Alvin Starr [this message]
2000-12-08 17:24       ` Michal Jaegermann
2000-12-08 17:34         ` Alvin Starr
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox