Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Engelhard <engel@cbn.net.id>
To: axp-list@redhat.com
Subject: Re: AS 1000A
Date: Wed, 22 Apr 1998 15:52:09 +0000	[thread overview]
Message-ID: <353E1228.AC2186CC@cbn.net.id> (raw)
In-Reply-To: 353E0794208.B6FD.gkunst@artnetonline.com

Guillermo Kunst wrote:
> 
> Hi,
> 
> i have try to install the aboot bootsrapper. When i do swriteboot ask me
> the Bootspace is overlap with the first partition use -f1 -f3....."
> 
> Then i have try to make a new install, now in fdisk not using the first
> sector.
...
> >In my case, I use swriteboot from aboot-0.5-2 RPM package to install
> >the bootsrapper to the first partition of my hard disk.
> >
> ># /sbin/swriteboot /dev/sda /boot/bootlx /vmlinux-2.0.32.gz
> >

Hi,
I used minlabel to partition my harddisk as suggested by
jay@digital.com.
(the commands are: mknod /tmp/sda b 8 0 and then minlabel /tmp/sda).

Please see the SRM How-to for installing aboot too:
http://www.azstarnet.com/~axplinux/srm-3.html

Let me just forward the mail:
----------------begin------------------
> The AS1000A has the linux OS now, but I have another problem
> which I cannot write aboot to the Harddisk to boot the kernel from
> HDD.  I try : swriteboot /dev/sda bootlx  which produces error
> 'partition label corrupt'.
>
> But I will give it another try as suggested from one posting from
> linux.alpha newsgroup, to edit the partitions with fdisk.
> The partitions should have BSD label.

Sigh; yes, this should be *much* more prominent in any SRM booting
docs... :-(

You can use fdisk in BSD-style mode (use "b" at the top level, I
believe).
Or try using "minlabel" which, IMHO, is cleaner. This can be done from
the second VC during install (toggle over at screen where disk-druid
or fdisk are offered), but since "minlabel" doesn't seem to use the
ioctl that causes the partition tables to be re-read by the kernel, 
I've found once I finish in minlabel, I still enter fdisk in BSD-mode
and simply force *it* to write the partition table again, and *it* will
successfully call the kernel re-read.

Oh, also, make sure to leave 1024 sectors or more before the first
partition, for swriteboot to install the bootstrapper into. You must
manually keep track of the correct offsets/sizes of the partitions
to enter them correctly without any overlaps...

Good luck.

--Jay++
--------------------end------------------


  reply	other threads:[~1998-04-22 15:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-04-21  7:37 AS 1000A Guillermo Kunst
1998-04-21  7:40 ` Jim Bourne
1998-04-21  9:41 ` Engelhard
1998-04-22 15:07   ` Re[2]: " Guillermo Kunst
1998-04-22 15:52     ` Engelhard [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-04-25 22:12 Guillermo Kunst
1998-09-14 18:15 Tomas Macak
1998-09-14 18:26 ` Scott Lewis
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