Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Partitioning for RH7.1 (solution)
@ 2001-08-31 16:15 Greg Newby
  2001-09-02 22:32 ` JJ
  0 siblings, 1 reply; 2+ messages in thread
From: Greg Newby @ 2001-08-31 16:15 UTC (permalink / raw)


I had some trouble getting RH7.1 to work on my DP264 system,
so wrote a little Web page about what worked for me
(http://ils.unc.edu/gbnewby/tera/redhat71.html).  

Since I couldn't find this information at RedHat's support site
(even though the tech I spoke with thought it was an FAQ), and
didn't find this info in a search on groups.google.com either,
I figured I'd post it here for posterity.

I noted that someone was saying the "small partition" solution
for aboot is not needed, but that's not my experience.  More
detail, of course, would be welcome.

Here's a "lynx -dump" of the Web page mentioned above:


            Upgrade notes: Alpha DP264 to RedHat Linux 7.1
                                   
Alphas are more difficult for system upgrade and installation than
x386 (Intel/AMD) systems. This is because of the variety in
motherboards, vendors, and boot methods.

For my [1]TeraScale Retrieval project, sponsored by the National
Science Foundation, I purchased a dual processor Alpha system from
[2]Microway. Its specs are:
  * 2 processors at 667 Mhz
  * 4GB of memory
  * 3 internal drives (2 x 18GB Cheetahs at 15Krpm; 1 x 73GB Cheetah
    at 10Krpm)
  * An external disk pack with another 12 73GB drives
  * No RAID, it uses a SCSI-3 controller
    
The system is therefore pretty compatible to Compaq's DP264 system,
the DS20.

Here's what I needed to know about re-installing the OS. This is from
when I went from RedHat 6.2 to RedHat 7.1. I did a fresh install
(e.g., with drive reformatting) because I wanted to start from a known
system configuration to get Tripwire and other security stuff set up.

What I needed to know is: the partition layout on the boot drive
matters! To do a "custom" install (as opposed to a "workstation" or
"server" configuration in RedHat's configuration screen), I did this:

 1. Select "fdisk" for drive partitioning
 2. For the boot drive:
       + Make partition a run from cylinders 2-4, with type "d"
         ("boot"). This is the critical part!
       + The other partitions can have whatever layout you want, but
         keeping a separate /boot (like you would for older x386
         systems) is recommended by RedHat support.
 3. I made partition b as "/boot" at 32M
 4. I made particion c as "/" at 14GB
 5. I made partition d as "/var" at 1.5GB
 6. I made partition e as swap at 2GB
    
The BSD-labeled boot-type partition was the critical part, and the
support tech at RedHat said he hears a lot about the problem I had
initially. Before finding out about this stuff, I went ahead and made
a similar partition layout, without the boot-type partition a.

The result was a system that would not boot! I got errors from the SRM
or aboot manager:

  ext2_bread: read error
  aboot: read returned -1 instead of 8 byts
  aboot: loading compressed vmlinux
  error uncompressing vmlinuz
  unzip: attempted to read past eof
  
and similar errors. This happened even if I used the old (good)
kernel, or the working kernel from the RedHat CD.

Finally, I'd like to say that the RedHat support guy was quite good.
There was only one person familiar with Alphas when I called, so I
needed to wait on hold for about 10 minutes. But he quickly figured
out my problem and the solution, and gave me a few other tips (such
as, swap partitions are only used up to 2GB, so larger swap partitions
are skipped. Only 8 swap partitions can be used). I'm quite happy with
RedHat's support, which was included with my Alpha boxed set (cost,
about $100).

By [3]Greg Newby, http://ils.unc.edu/gbnewby

References

   1. http://mole.ils.unc.edu/
   2. http://www.microway.com/
   3. http://ils.unc.edu/gbnewby

// Dr. Gregory B. Newby, Assistant Professor in the School of Information
// and Library Science, University of North Carolina at Chapel Hill
// CB# 3360 Manning Hall, Chapel Hill, NC, 27599-3360  E: gbnewby@ils.unc.edu
// V: 919-962-8064 F: 919-962-8071  W: http://www.ils.unc.edu/gbnewby/


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Partitioning for RH7.1 (solution)
  2001-08-31 16:15 Partitioning for RH7.1 (solution) Greg Newby
@ 2001-09-02 22:32 ` JJ
  0 siblings, 0 replies; 2+ messages in thread
From: JJ @ 2001-09-02 22:32 UTC (permalink / raw)


WRONG.......   meant nicely  :^)

    Leave the first 2048 BLOCKS of the disk free.... Meaning start your
first BSD partition 2048 blocks into the disk... This is because the SRM
aboot loader resides in this area,  which is why you cannot use FAT style
partitioning, as it writes over the area used to write FAT style partition
tables...

You do not need type d partition... SRM can't use it anyway    The /boot
redhat uses is a normal ext2 partition which has a label   /boot,(if you
want one)  using their partition program.. (not fdisk) if you want it in
it's own partition.  But then the install create symbolic links between it
and /etc because aboot needs access to aboot.conf if you use aboot menu's to
select which kernel/mode (multi/single user)  to use...   7.1 uses these
label to mount these partitions to /  you can create /boot,  /usr, /var...
/etc   on different partitions on different disks if you wish.

The 7.1 install works fine,  IF you do not have a disk with partitions
already created... If not partitions are on the disk, it will create them
and install just fine..  If it finds partition tables.. it assumes you set
them up correctly and uses them...

JJ


"Greg Newby" <gbnewby@ruby.ils.unc.edu> wrote in message
news:9mod7c$n80$1@news2.isis.unc.edu...
> I had some trouble getting RH7.1 to work on my DP264 system,
> so wrote a little Web page about what worked for me
> (http://ils.unc.edu/gbnewby/tera/redhat71.html).
>
> Since I couldn't find this information at RedHat's support site
> (even though the tech I spoke with thought it was an FAQ), and
> didn't find this info in a search on groups.google.com either,
> I figured I'd post it here for posterity.
>
> I noted that someone was saying the "small partition" solution
> for aboot is not needed, but that's not my experience.  More
> detail, of course, would be welcome.
>
> Here's a "lynx -dump" of the Web page mentioned above:
>
>
>             Upgrade notes: Alpha DP264 to RedHat Linux 7.1
>
> Alphas are more difficult for system upgrade and installation than
> x386 (Intel/AMD) systems. This is because of the variety in
> motherboards, vendors, and boot methods.
>
> For my [1]TeraScale Retrieval project, sponsored by the National
> Science Foundation, I purchased a dual processor Alpha system from
> [2]Microway. Its specs are:
>   * 2 processors at 667 Mhz
>   * 4GB of memory
>   * 3 internal drives (2 x 18GB Cheetahs at 15Krpm; 1 x 73GB Cheetah
>     at 10Krpm)
>   * An external disk pack with another 12 73GB drives
>   * No RAID, it uses a SCSI-3 controller
>
> The system is therefore pretty compatible to Compaq's DP264 system,
> the DS20.
>
> Here's what I needed to know about re-installing the OS. This is from
> when I went from RedHat 6.2 to RedHat 7.1. I did a fresh install
> (e.g., with drive reformatting) because I wanted to start from a known
> system configuration to get Tripwire and other security stuff set up.
>
> What I needed to know is: the partition layout on the boot drive
> matters! To do a "custom" install (as opposed to a "workstation" or
> "server" configuration in RedHat's configuration screen), I did this:
>
>  1. Select "fdisk" for drive partitioning
>  2. For the boot drive:
>        + Make partition a run from cylinders 2-4, with type "d"
>          ("boot"). This is the critical part!
>        + The other partitions can have whatever layout you want, but
>          keeping a separate /boot (like you would for older x386
>          systems) is recommended by RedHat support.
>  3. I made partition b as "/boot" at 32M
>  4. I made particion c as "/" at 14GB
>  5. I made partition d as "/var" at 1.5GB
>  6. I made partition e as swap at 2GB
>
> The BSD-labeled boot-type partition was the critical part, and the
> support tech at RedHat said he hears a lot about the problem I had
> initially. Before finding out about this stuff, I went ahead and made
> a similar partition layout, without the boot-type partition a.
>
> The result was a system that would not boot! I got errors from the SRM
> or aboot manager:
>
>   ext2_bread: read error
>   aboot: read returned -1 instead of 8 byts
>   aboot: loading compressed vmlinux
>   error uncompressing vmlinuz
>   unzip: attempted to read past eof
>
> and similar errors. This happened even if I used the old (good)
> kernel, or the working kernel from the RedHat CD.
>
> Finally, I'd like to say that the RedHat support guy was quite good.
> There was only one person familiar with Alphas when I called, so I
> needed to wait on hold for about 10 minutes. But he quickly figured
> out my problem and the solution, and gave me a few other tips (such
> as, swap partitions are only used up to 2GB, so larger swap partitions
> are skipped. Only 8 swap partitions can be used). I'm quite happy with
> RedHat's support, which was included with my Alpha boxed set (cost,
> about $100).
>
> By [3]Greg Newby, http://ils.unc.edu/gbnewby
>
> References
>
>    1. http://mole.ils.unc.edu/
>    2. http://www.microway.com/
>    3. http://ils.unc.edu/gbnewby
>
> // Dr. Gregory B. Newby, Assistant Professor in the School of Information
> // and Library Science, University of North Carolina at Chapel Hill
> // CB# 3360 Manning Hall, Chapel Hill, NC, 27599-3360  E:
gbnewby@ils.unc.edu
> // V: 919-962-8064 F: 919-962-8071  W: http://www.ils.unc.edu/gbnewby/




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-02 22:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-08-31 16:15 Partitioning for RH7.1 (solution) Greg Newby
2001-09-02 22:32 ` JJ

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