From: Eduardo Augusto Trettel <trettel@fee.unicamp.br>
Subject: Re: Installing aboot
Date: Thu, 4 Sep 1997 15:05:53 -0300 (EST) [thread overview]
Message-ID: <33ed069c4ba2b5a989d08f1855913199.axp-list@archive.invalid> (raw)
In-Reply-To: <199709041747.NAA20239@mailrelay.tiac.net>
On Thu, 4 Sep 1997, Stephen J. Gaudet wrote:
> Hello Trettel
>
> > I'm trying to install aboot 0.5 on my harddisk on a AS255.
> >Quoting from the SRM-Howto:
> >
> > "... We suggest that the disk be partitioned such that the first
> >partition starts at an offset of 2048 sectors ..."
> >
> > So I have made a partition scheme like this:
> >
> >Disk /dev/sda: 99 heads, 48 sectors, 865 cylinders
> >Units = cylinders of 4752 * 512 bytes
> >
> > Device Boot Begin Start End Blocks Id System
> >/dev/sda1 2 2 29 66528 82 Linux swap
> >/dev/sda2 30 30 269 570240 83 Linux native
> >/dev/sda3 270 270 865 1416096 83 Linux native
> >
> > As long as the first partition starts at cylinder #2, and
> >each cylinder has 4752 sectors, I guess I have meet the requirements
> >pointed in the Howto. However when I try swriteboot I get:
> >
> >error: bootcode overlaps with partition #1. If you really want this, use
> >-f1
> >
> > There is something I'm missing? Any hints will be welcomed.
>
> Here's what we do with any new unknown values for a drive.
>
> 1)run fdisk
>
> 2)run BSD label and take the values for cylinder, heads, and sectors.
> Please note almost every drive today is running higher then 63 sectors.
> However, Alpha Linux is stuck with using 63 sectors as a default. This
> means in order to configure your disk to get every bit of space, the heads
> and cylinders count has to change.
>
> Therefore, what you see under BSD label may not make sense however, it
> works. The best method to check this is multiply cyl x heads x sectors =
> disk size.
>
>
> 3)run fdisk again
>
> type "x" takes you to an expert screen(these numbers are for example only)
>
> enter in the cylinders, sectors and heads of your hard disk, i.e.:
> c=cylinders 2112
> h=heads 16
> s=sectors 63
> should show 2128896 blocks, done by 2112x16x63=
>
> type "r" to return to menu, also saves parameters
>
> Partition disk as follows:
> A = "milo& linload"
> B = "/" for root
> C = "/usr" for user
> D = "swap" needed for swap space, usual rule is 2x memory size,
> ie: 32mb x 2 = 64mb swap.
>
>
> Now create the desired partitions, please note every drive is different. This
> is only an example:
>
> Command (m for help): n
> Command action /e extended /p primary partition: p <milo/linload>
> Partition number (1-4): 1
> First cylinder (1-2112): 1
> Last cylinder or +size ...: +1440K (***** This must be followed*****)
>
> Command (m for help): t
> Partition number (1-4): 1
> Hex code (type L to list codes): 4
> Changed system type of partition 1 to 4 (DOS 16-bit <32M)
>
> Command (m for help): n
> Command action /e extended /p primary partition: p </>
> Partition number (1-4): 2
> First cylinder (2-2112): 2
> Last cylinder or +size ...: 100 (** make this about 50~100mb **)
>
> Command (m for help): n
> Command action /e extended /p primary partition: p </usr>
> Partition number (1-4): 3
> First cylinder (102-2112): 102
> Last cylinder or +size ...: 2000 (** make this a big as possible **)
> (** remember about swap, though **)
>
> Command (m for help): n
> Command action /e extended /p primary partition: p </swap>
> Partition number (1-4): 4
> First cylinder (2001-2112): 2001
> Last cylinder or +size ...: 2112 (** about twice memory size **)
>
> Command (m for help): t
> Partition number (1-4): 4
> Hex code (type L to list codes): 82
> Changed system type of partition 2 to 82 (Linux swap)
>
> Command (m for help): w
>
> At # hit Alt F1 to get back to Linux install program
>
> This should do it.
>
> Cheers,
>
> Steve
> +1-603-421-1800 http://www.dcginc.com
> ______________________________________________________________
Dear Steve:
The steps you outlined above are much closer the same I follow
to partition this disk the first time. I have initially left partition #1
for milo as you sugested. When swriteboot clomplained about partition
overlaping, my guess was that the cylinders reserved for milo should not
be allocated for any partition. I have then remade the partitions in
the fashion I reported in the previous mail.
If I correctly understood your answer, you suspect something
is wrong in my partition scheme?
Thanks
Trettel
============================================================================
E. Trettel <trettel@fee.unicamp.br>
System Manager
SIFEEC - FEEC - UNICAMP
Bloco E - SALA 21
Fone: (019) 788-2137/788-2145 (r. 295)
Campinas - SP - Brasil
============================================================================
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
next prev parent reply other threads:[~1997-09-04 18:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-04 17:47 Installing aboot Stephen J. Gaudet
1997-09-04 18:05 ` Eduardo Augusto Trettel [this message]
-- strict thread matches above, loose matches on Subject: below --
1997-09-17 22:25 Eduardo A. Trettel
1997-09-05 18:45 Eduardo A. Trettel
1997-09-04 22:31 Stephen J. Gaudet
1997-09-04 17:42 Eduardo A. Trettel
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