From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 17514 invoked from network); 5 Aug 1999 18:55:26 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 5 Aug 1999 18:55:26 -0000 Received: from batch3.csd.uwm.edu (root@batch3.csd.uwm.edu [129.89.7.226]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id OAA23717 for ; Thu, 5 Aug 1999 14:55:25 -0400 Received: from alpha2.csd.uwm.edu (zlash@alpha2.csd.uwm.edu [129.89.7.202]) by batch3.csd.uwm.edu (8.8.4/8.6.8) with ESMTP id NAA07097 for ; Thu, 5 Aug 1999 13:55:24 -0500 (CDT) Received: (zlash@localhost) by alpha2.csd.uwm.edu (8.8.4/8.6.8) id NAA01661 for axp-list@redhat.com; Thu, 5 Aug 1999 13:55:24 -0500 (CDT) Date: Thu, 5 Aug 1999 13:55:24 -0500 From: Suyudi Koeswanto To: axp-list@redhat.com Subject: Re: Problem after using BSD labeling for install of RH 5.2 - Help! Message-ID: <19990805135524.B7127@alpha2.csd.uwm.edu> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; 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 ------------------------------------------------