From: Suyudi Koeswanto <zlash@csd.uwm.edu>
To: axp-list@redhat.com
Subject: Re: Problem after using BSD labeling for install of RH 5.2 - Help!
Date: Thu, 5 Aug 1999 13:55:24 -0500 [thread overview]
Message-ID: <19990805135524.B7127@alpha2.csd.uwm.edu> (raw)
In-Reply-To: <s7a954e2.058@hlthsrc.com>; from Matt Tilley on Thu, Aug 05, 1999 at 09:09:09AM -0400
On Thu, Aug 05, 1999 at 09:09:09AM -0400, Matt Tilley wrote:
>
> My first question is what is the "*" for after the cylinder number?
>
The "*" means that it doesn't end in the cyl 114 as, exactly cyl 114. It
means that like a fraction of cyl 114. This happens because the cyl that is
shown there in fdisk are not the actual cyl. So fdisk has to convert
between the actualy cyl and that (might be called) logical cyl.
> Next, "n" and made partition "b" (going to be swap). First Cylinder I put 114 (thinking that it should start where the last left off (from what I remember from Solaris SunOS days). Select "+64M" for the size, resulting in this output from "p":
>
This is wrong, it will overlap with the first partition and that's why
you're getting this bogus size on the b label. You should start with the
next cyl. And yes, you will loose some sectors if you start the b label on
cyl 115 since the label a might not use the whole 114 cyl (remember we're
talking about the logical cyl here).
> why is this? What are the correct number of cylinders that I have to select from? Can I divide up the 1018 by 4 GB to achieve a decent measure of how I can divide up the disk?
>
because it's not the actuall cyl.
> What should I have done to be able to utilize BSD style formating successfully? What do I need to do to get swriteboot to work correctly (am guessing that the answer here is that I need to install on my BSD style of labeling). Here are the things that I tried with swriteboot. I do see the syntax for swriteboot (shown by not entering any arguments), but couldn't see anything obvious.
>
I suggest you use sector as the base unit instead of that logical cyl, you
can do that before pressing b to go to the BSD disklabel menu, press u to
change the unit to sectors.
> Swriteboot *fl /dev/sda /boot/bootlx
> #message received: swriteboot: partition number must be in range 1-8#
> #
i'm not sure about that "*" there. Also, since you're not making any
partition on the first cyl, you do not need to supply -f1 nor -f3 (since
you don't make any whole disk label).
Just create something like this:
a: Do not start at cyl 0/1, starts at >=2
b: start's at the NEXT sector (if a ends at sec 1000, starts at 1001)
c: same thing (and note this is not whole disk label! just use this as
/usr)
and set a = swap, b and c = ext2 ( / and /usr respectively)
> #swriteboot /dev/sda /boot/bootlx *f3
> open disk device: No such file or directory
> swriteboot *fl /dev/sda /boot/bootlx *f3
> # partition number range error message again (see above)
> #
>
with that setup above (a, b, c) you don't even need to specify -f1 or -f3
those are if you create a partition a (unused) starts at cyl 0/1 and start
with partition b as swap etc, that you need -f1 to overwrite the first
partition with bootlx. And -f3 also not needed unless you have whole disk
partition.
> I believe that swriteboot is writing boot information to the disk (/dev/sda) in the space that was provided (by starting the install on cylinder 2). What is the signifance of /boot/bootlx? This is not the kernel, so it must be the bootfile - is the bootfile being copied to the first cylinder - and if it is, can I see the bootfile (not to examine it, but just to be able to identify the location on the CD) on my 5.2 Install CD?
>
swriteboot writes on the first cyl on the /dev/sda. Not in your first
partition. Bootlx is just the bootloader (correct me if I'm wront) i think
it contains aboot.
u!d
------------------------------------------------
next prev parent reply other threads:[~1999-08-05 18:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-05 13:09 Problem after using BSD labeling for install of RH 5.2 - Help! Matt Tilley
1999-08-05 18:55 ` Suyudi Koeswanto [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-08-05 13:39 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