Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: swriteboot ?
Date: Thu, 23 Jan 2003 10:50:20 -0700	[thread overview]
Message-ID: <20030123105020.A4815@ellpspace.math.ualberta.ca> (raw)
In-Reply-To: <1043341510.3e3020c698da0@minerva.ufpel.tche.br>; from mateus@ufpel.tche.br on Thu, Jan 23, 2003 at 03:05:10PM -0200

On Thu, Jan 23, 2003 at 03:05:10PM -0200, Mateus Madail Santin wrote:
> 
> I'm try install RedHat 7.2 on Alpha Server 1000 com SRM.
....
> 
> Traceback (innermost last):
.....
> RuntimeError: /sbin/swriteboot can not be run

This is a failed attempt to make your hard disk bootable.
Anaconda (i.e. installer) should not really barf on you like that
instead of beeing more informative but ....

If 'swriteboot' really cannot be run then you have some problem
as that means that your 'aboot' package is corrupted.  But probably
it did actually run (you can switch with Alt-F2 to the second, I think,
console and you have there a shell where you can run various commands
manually) and returned with an error code.

The most likely reason for the later is that you did not leave a space
at the start of /dev/sda for a boot block.  One cylinder should be more
than enough.  Ever popular cause for that is that your disk is
"recycled" and there was on it an old FAT type partition table.
DiskDruid will _silently_ (sigh!) accept that and you will not only be
left without a space for a boot block but also with a "wrong" type of
partitioning.  Your SRM firmware expects to see "BSD disklabel"
partitioning and it has no idea what do with FAT.  A paritioning kind is
only important on disks from which you want to boot.

Even with a missing boot block on /dev/sda you can still boot your
system from CD, floppy or another disk.  This can be used when
you trying to see what really went wrong and how to rectify that.

The only reliable method to prevent the scenario above is to overwrite
initially one or two sectors of a recycled disk with nulls.  DiskDruid
is supposed to make partitioning easy for "non-experts" but, OTOH, it
expects you to be an expert enogh to recognize when it tries to screw
you over and in particular that you noticed if a space for a boot block
is indeed present. Double sigh!

   Michal




  parent reply	other threads:[~2003-01-23 17:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-01-23 17:05 swriteboot ? Mateus Madail Santin
2003-01-23 17:14 ` Helge Kreutzmann
2003-01-23 19:18   ` Mateus Madail Santin
2003-01-24 11:34     ` Nelson Brito
2003-01-24 21:51       ` Michal Jaegermann
2003-01-23 17:50 ` Michal Jaegermann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-01-23 17:51 Robert M. Riches Jr.
2003-01-25 20:14 Nelson Teixeira Brito
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