From: "Matt Tilley" <TilleyM@hlthsrc.com>
To: axp-list@redhat.com
Subject: Problem after using BSD labeling for install of RH 5.2 - Help!
Date: Thu, 05 Aug 1999 09:09:09 -0400 [thread overview]
Message-ID: <s7a954e2.058@hlthsrc.com> (raw)
Help!
Sorry for the long post, however I'm trying to give all of the info that one might need. In quick summary the problem is that if I partition the disk using BSD style (RH 5.2 install on a Dec Alpha 200), I can't set-up my filesystems (in this case - keeping this as simple as I can, I only had /, swap and /usr that I wanted to set-up) - after sizing the disk with the partitions (three), toggling swap and ext2 (on / and usr) and coming back into the GUI install, I'm informed that the disk appears to be corrupt and I need to initialize it. There are two options here - initialize or skip the disk. If I skip the disk than I can't do my install (tried). If I initialize the disk then I immediately get booted out of the install (vicous circle here). In addition, I'm not happy with the information shown after sizing my paritions (it doesn't appear to accurately depict what it is I'm trying to do).
The disk is a Seagate ST15150N drive (a 4GB disk).
Here are the details:
Reading the FAQ's, and being told to use BSD labeling, I headed in that direction. However I'm running into problems using BSD labeling and would like to know if anyone can tell me what step(s) I'm missing.
My problem is what happens when I do this. Selecting /dev/sda (SCSI ID of 1), I use "b" directly after selecting "fdisk" (vs. disk druid) to put me into BSD style. Following instructions to delete all partitions (even "c", which I don't understand (why would I delete "c" when this seems to define the disk as a whole (from my SunOS days)). Verify that all partitions are gone ("p" to verify).
Next, "n" and made partition "a". Started on cylinder 2 to allow room for aboot. Range shown is 1 - 1018. Now I must select from inputting either the last cylinder, +size, +sizeM or +sizeK (the given cylinder range to select from at this point is (1 -1018). I chose: +128M (for 128 MB for my root partition).
Here is what I now see:
size offset fstype fsize bsize cpg
a: 247380 8246 unused 0 0 # (Cyl. 4*- 114*)
My first question is what is the "*" for after the cylinder number?
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":
size offset fstype fsize bsize cpg
a: 247380 8246 unused 0 0 # (Cyl. 4*- 114*)
b: 4294159188 931798 unused 0 0 # (Cyl. 413*- 55)
Why do the cylinders, as well as the size look so messed up? I see what looks like from the spec sheet
(http://www.seagate.com/support/disc/specs/st15150n.shtml) that this drive has 3,711 user CYLINDERS. However, each time I select from the size perimeters given, the range of what I would perceive to be the cylinder is 1 - 1018,
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?
if +64 MB is measured from cyl 4 to 114, than I should be able to select 118 cylinders past 115 for another +64 MB (right?). Deleting "b" and selecting 230 for the last cylinder that I want this partition to land on yields this result:
size offset fstype fsize bsize cpg
a: 247380 8246 unused 0 0 # (Cyl. 4*- 114*)
b: 956936 940044 unused 0 0 # (Cyl. 416*- 840)
This seems more reasonable, but if the size is cumulative, wouldn't the size be 494760 (and not 956936)? Also, if there are only 1018 cylinders and I've only utilized 128 MB, why would I already be close to 1,000 with only a
fraction of the disk used?
I decided to try to continue the install. First partition was started on the second cylinder and was set for +64MB. The second was set by taking the number of cylinders shown for the "a" partition and doubling it (root = 64 MB, swap now equals 64 MB). The third was taken by allocating +1000M (1 GB). Here are the results:
# size offset fstype fsize bsize cpq
a: 247380 8246 unused 0 0 # (Cyl. 4*- 114*)
b: 956536 940044 unused 0 0 #(Cyl 416*- 840*)
c: 4290085664 6926640 unused 0 0 #(Cyl. 3065* - 905*)
Then changed fstype of "B" to swap; and the ext2 to the other two partitions (don't know whether this is right or wrong). Wrote out to disk. Needed to initialize the disk (setup RH 5.2 program said that I needed to do it because partition "a" was corrupt.) Then: "install exited abnormally * received signal 11; but system shut down safely (may safely reboot system).
Reboot system and tried to install on disk setup that I just did. Verified that file system lay out was same as I just setup * but system continues to crash (after trying to initialize the disk) in the same manner!!!!
Next, out of shear frustration I reentered the install program, used fdisk (non-BSD style) and set up three partitions (/, swap and usr) just to see if I could continue on. Wrote table. Then switched to BSD style ("b") and verified that the table existed there as I created it above. Then continued with the install * now I could set up my mount points (/ and usr), as well as defining my swap. But this was done with the non-BSD style labeling (I think that it didn't see the disk as corrupted because I had used fdisk w/o BSD (even though I verified that my BSD format was still valid by "b" and "p"). I then continued the install (time to install packages * after making "ext2" filesystems on /dev/sda1 and sda3). Looks like install will finish this time.
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.
Next, tried doing swrite for aboot:
Swriteboot *fl /dev/sda /boot/bootlx
#message received: swriteboot: partition number must be in range 1-8#
#
#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)
#
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?
Kind of lost at the moment.......
- Thanks for any help or suggestions.
- Matt
next reply other threads:[~1999-08-05 13:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-08-05 13:09 Matt Tilley [this message]
1999-08-05 18:55 ` Problem after using BSD labeling for install of RH 5.2 - Help! Suyudi Koeswanto
-- 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