* Installing aboot
@ 1997-09-04 17:42 Eduardo A. Trettel
0 siblings, 0 replies; 6+ messages in thread
From: Eduardo A. Trettel @ 1997-09-04 17:42 UTC (permalink / raw)
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.
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Installing aboot
@ 1997-09-04 17:47 Stephen J. Gaudet
1997-09-04 18:05 ` Eduardo Augusto Trettel
0 siblings, 1 reply; 6+ messages in thread
From: Stephen J. Gaudet @ 1997-09-04 17:47 UTC (permalink / raw)
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
______________________________________________________________
| Stephen Gaudet | ** Digital Authorized reseller ** |
| DCG Computers Inc. | Alpha, Intel Pentium Pro systems and |
| 4 Sanborn Rd, Suite 2 | motherbds running NT, Linux, & UNIX |
| Londonderry, NH 03053 |--------------------------------------|
| ph:603-421-1800 x 10 fax:603-421-0911 e-mail:sjg@dcginc.com |
--------------------------------------------------------------
***** Now shipping, the DCG Viper II 600Mhz Alpha System *****
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Installing aboot
1997-09-04 17:47 Stephen J. Gaudet
@ 1997-09-04 18:05 ` Eduardo Augusto Trettel
0 siblings, 0 replies; 6+ messages in thread
From: Eduardo Augusto Trettel @ 1997-09-04 18:05 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Installing aboot
@ 1997-09-04 22:31 Stephen J. Gaudet
0 siblings, 0 replies; 6+ messages in thread
From: Stephen J. Gaudet @ 1997-09-04 22:31 UTC (permalink / raw)
Hello Trettel
>> >Disk /dev/sda: 99 heads, 48 sectors, 865 cylinders
>> >Units = cylinders of 4752 * 512 bytes
What I would do is run fdisk, BSD label and look at what it thinks the drive
parameters should be. My guess is the counts you are using are possibly
causing the problem. I haven't see a disk yet that ran under 62~63 sectors.
This is where I believe the problem to be.
What disk drive do you have?
Regards,
Steve
+1-603-421-1800 http://www.dcginc.com
______________________________________________________________
| Stephen Gaudet | ** Digital Authorized reseller ** |
| DCG Computers Inc. | Alpha, Intel Pentium Pro systems and |
| 4 Sanborn Rd, Suite 2 | motherbds running NT, Linux, & UNIX |
| Londonderry, NH 03053 |--------------------------------------|
| ph:603-421-1800 x 10 fax:603-421-0911 e-mail:sjg@dcginc.com |
--------------------------------------------------------------
***** Now shipping, the DCG Viper II 600Mhz Alpha System *****
--
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: Installing aboot
@ 1997-09-05 18:45 Eduardo A. Trettel
0 siblings, 0 replies; 6+ messages in thread
From: Eduardo A. Trettel @ 1997-09-05 18:45 UTC (permalink / raw)
On Thu, 4 Sep 1997 Stephen J. Gaudet write:
> What I would do is run fdisk, BSD label and look at what it thinks the
> drive parameters should be. My guess is the counts you are using are
> possibly causing the problem. I haven't see a disk yet that ran under
> 62~63 sectors.
> This is where I believe the problem to be.
>
> What disk drive do you have?
>
> Regards,
>
> Steve
Hello Steve:
The disk is a DEC RZ28D, 2007 MB, 4110480 sectors. The CHS values
given by bsdlabel are 2595/16/99. This values match those I found
factoring 4110480. Since fdisk doesnt allow you to set sectors higher than
63, I swaped the heads and sectors values, and divided the cylinders by 3
(just to keep it below 1024..), multiplying heads by the same values,
which gives 865/99/48 for CHS. This is the geometry I'm using.
Regards,
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Installing aboot
@ 1997-09-17 22:25 Eduardo A. Trettel
0 siblings, 0 replies; 6+ messages in thread
From: Eduardo A. Trettel @ 1997-09-17 22:25 UTC (permalink / raw)
Hi,
I take my apologies for reposting this, but I'm still unable
to install aboot on my AS255.
This is the message I get when trying to run swriteboot:
# swriteboot /dev/sda /boot/bootlx
# error: bootcode overlaps with partition #1. If you really want this, use -f1
The disk is a DEC RZ28D, 2.0Gb. The partition table is as follows:
Disk /dev/sda: 48 heads, 33 sectors, 2595 cylinders
Units = cylinders of 1584 * 512 bytes
Device Boot Begin Start End Blocks Id System
/dev/sda1 * 1 1 3 2359+ 83 Linux native
/dev/sda2 4 4 169 131472 82 Linux swap
/dev/sda3 170 170 557 307296 83 Linux native
/dev/sda4 558 558 2595 1614096 83 Linux native
Some time ago people said this problem could be related the
way I defined the disk geometry. This time however I'm almost sure
that the numbers above are OK, These are the values displayed by
BSD label for this disk:
disk: RZ28D
label:
flags:
bytes/sector: 512
sectors/track: 99
tracks/cylinder: 16
sectors/cylinder: 1376
cylinders: 2595
rpm: 7200
interleave: 1
trackskew: 8
cylinderskew: 16
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 262144 0 4.2BSD 1024 8192 16 # (Cyl. 1 - 191*)
b: 393168 262144 swap # (Cyl. 191*- 477*)
c: 4110480 0 unused 0 0 # (Cyl. 1 - 2988*)
g: 2097152 655312 4.2BSD 1024 8192 16 # (Cyl. 477*- 2001*)
h: 1358016 2752464 unused 0 0 # (Cyl. 2001*- 2988*)
Since fdisk doesn't let you set the sectors to a value greater
than 63, I divided this number by 3, multiplying heads by the same value,
which gives for CHS: 2595/48/33. But the problem remains... If I allow
swriteboot to overwrite the first partition I get a corrupted partition
table (of course..). Any hints?
Thanks in advance
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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1997-09-17 22:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-09-04 17:42 Installing aboot Eduardo A. Trettel
-- strict thread matches above, loose matches on Subject: below --
1997-09-04 17:47 Stephen J. Gaudet
1997-09-04 18:05 ` Eduardo Augusto Trettel
1997-09-04 22:31 Stephen J. Gaudet
1997-09-05 18:45 Eduardo A. Trettel
1997-09-17 22:25 Eduardo A. Trettel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox