Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Chris Kloiber <chris_kloiber@suth.com>
To: axp-list@redhat.com
Subject: Re: Partitioning Disks on DS20
Date: Tue, 05 Oct 1999 15:31:24 -0400	[thread overview]
Message-ID: <37FA520C.BBCE1451@suth.com> (raw)
In-Reply-To: 000001bf0ee7$1d85b780$8c50cac6@kelly-2.espm.berkeley.edu

John Helly wrote:
> 
> Hi greg.
> I wish I was running it. Unfortunately I don't see any c partition.  Both
> the Unix-level partition table AND the BSD partition table appear to be
> empty.  Do I have to do something special to see the BSD c partition?
> cheers.
> 
> > -----Original Message-----
> > From: Greg Lindahl [mailto:lindahl@cs.virginia.edu]
> > Sent: Monday, October 04, 1999 6:45 PM
> > To: axp-list@redhat.com
> > Subject: Re: Partitioning Disks on DS20
> >
> >
> > > fdisk appears to create partition extents with cylinder numbers I do not
> > > enter.  For example, if I try to create BSD partition a from
> > 3-50 it does
> > > that.  However, if I try to create partition b from 51-1024 it
> > assigns to
> > > some inconsistent range.
> >
> > If I recall correctly, I had a similar problem with a disk where I
> > hadn't deleted the existing "c" partition, which took the entire
> > disk. After we deleted "c", life was better. This is only a feature of
> > BSD disk labels and fdisk; normal disklabels don't function like
> > that. I wish Compaq would teach SRM about fdisk-style disk labels...
> >
> > Glad to see SDSC is finally running a decent OS on those alphas ;-)
> > ;-)
> >
> > -- g

I have noticed some bizzarre behavior from the BSD disk labeling portion
of fdisk as well, but I found a way to fix it. My Multia is about as far
from a DS 20 as you can get and still be talking Alpha, but I found that
if you are creating partitions and see asterisks where the cylinders are
(say you chose a partition from cyl 2 to cyl 4- and when you print the
partition table you see (1*-2*)) you can fix this by exiting fdisk and
typing:

# cat /dev/zero > /tmp/sda bs=512 count=2
(this assumes there is nothing on the disk you want :-)

That will totally blank the MBR and the partition table. When you
re-enter fdisk it will be slightly confused, but will redetect the
geometry of the drive and warn you that there is no vakid disklabel. It
then asks if you want to create a new label (yes!). Then most fo the
weirdness will be solved.

Your mileage may vary.

Chris Kloiber


  reply	other threads:[~1999-10-05 19:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-10-04 23:11 Partitioning Disks on DS20 John Helly
1999-10-05  1:44 ` Greg Lindahl
1999-10-05  4:07   ` John Helly
1999-10-05 19:31     ` Chris Kloiber [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-10-05  7:15 Lucas De Lamper
1999-10-05  8:01 ` Wes Bauske
1999-10-05 19:40 Larry Sendlosky
     [not found] <Pine.LNX.4.10.9910050626370.23801-100000@arsenic.theshell.com>
1999-10-05 19:45 ` John Helly
1999-10-05 19:46 Larry Sendlosky
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