Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stephen J. Gaudet <sjg@dcginc.com>
Subject: Re: Installing aboot
Date: Thu, 4 Sep 1997 13:47:28 -0400 (EDT)	[thread overview]
Message-ID: <199709041747.NAA20239@mailrelay.tiac.net> (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

             reply	other threads:[~1997-09-04 17:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-09-04 17:47 Stephen J. Gaudet [this message]
1997-09-04 18:05 ` Installing aboot Eduardo Augusto Trettel
  -- 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