* Problem booting Linux on a AS200
@ 2002-01-20 20:44 Axel Kuester
2002-01-21 10:48 ` Måns Rullgård
2002-01-22 19:53 ` Michal Jaegermann
0 siblings, 2 replies; 7+ messages in thread
From: Axel Kuester @ 2002-01-20 20:44 UTC (permalink / raw)
Hi,
I installed RH 7.1 from CDrom and anything seems to be ok until the
system tries to reboot.
I only get the message:
block 0 if disk dka0... is not a valid boot block.
What did I make wrong? Do I have to run some special Tools for
wrinting a boot block to disk? Activate the disk (like at PCs)?
Any hint is welcome,
Axel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem booting Linux on a AS200
2002-01-20 20:44 Problem booting Linux on a AS200 Axel Kuester
@ 2002-01-21 10:48 ` Måns Rullgård
2002-01-21 18:38 ` watman
2002-01-22 19:53 ` Michal Jaegermann
1 sibling, 1 reply; 7+ messages in thread
From: Måns Rullgård @ 2002-01-21 10:48 UTC (permalink / raw)
Axel Kuester <A.Kuester@ostalb.netsurf.de> writes:
> Hi,
>
> I installed RH 7.1 from CDrom and anything seems to be ok until the
> system tries to reboot.
>
> I only get the message:
>
> block 0 if disk dka0... is not a valid boot block.
>
> What did I make wrong? Do I have to run some special Tools for
> wrinting a boot block to disk? Activate the disk (like at PCs)?
>
> Any hint is welcome,
I don't know for sure with redhat, but in slackware there is a program
called swriteboot used to write the boot block. Read the HOWTO at
www.linuxalpha.org.
--
M�ns Rullg�rd
e99_mru@e.kth.se
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem booting Linux on a AS200
2002-01-21 10:48 ` Måns Rullgård
@ 2002-01-21 18:38 ` watman
2002-01-22 10:58 ` Måns Rullgård
2002-01-22 20:17 ` Axel Kuester
0 siblings, 2 replies; 7+ messages in thread
From: watman @ 2002-01-21 18:38 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1213 bytes --]
Have a look at Page 97-98 of The official redhat linux alpha installation
guide for 7.1 can be downloaded from the redhat site from the following URL
http://www.redhat.com/docs/manuals/linux/
availible in PDF or HTML
There is a simple process to follow to copy the boot image over to the hard
disk if you follow that all should work?
For this to work you have to create a small dos partition (about 2-4mb) on
the hard disk to copy the linload.exe over hope this helps!
"M�ns Rullg�rd" <mru@users.sf.net> wrote in message
news:yw1x4rlg0ykh.fsf@fellini.e.kth.se...
> Axel Kuester <A.Kuester@ostalb.netsurf.de> writes:
>
> > Hi,
> >
> > I installed RH 7.1 from CDrom and anything seems to be ok until the
> > system tries to reboot.
> >
> > I only get the message:
> >
> > block 0 if disk dka0... is not a valid boot block.
> >
> > What did I make wrong? Do I have to run some special Tools for
> > wrinting a boot block to disk? Activate the disk (like at PCs)?
> >
> > Any hint is welcome,
>
> I don't know for sure with redhat, but in slackware there is a program
> called swriteboot used to write the boot block. Read the HOWTO at
> www.linuxalpha.org.
>
> --
> M�ns Rullg�rd
> e99_mru@e.kth.se
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem booting Linux on a AS200
2002-01-21 18:38 ` watman
@ 2002-01-22 10:58 ` Måns Rullgård
2002-01-22 20:17 ` Axel Kuester
1 sibling, 0 replies; 7+ messages in thread
From: Måns Rullgård @ 2002-01-22 10:58 UTC (permalink / raw)
"watman" <watman.nospam@yahoo.com> writes:
> > > I only get the message:
> > >
> > > block 0 if disk dka0... is not a valid boot block.
> > >
> > > What did I make wrong? Do I have to run some special Tools for
> > > wrinting a boot block to disk? Activate the disk (like at PCs)?
> > >
> > > Any hint is welcome,
>
> Have a look at Page 97-98 of The official redhat linux alpha installation
> guide for 7.1 can be downloaded from the redhat site from the following URL
>
> http://www.redhat.com/docs/manuals/linux/
>
> availible in PDF or HTML
>
> There is a simple process to follow to copy the boot image over to the hard
> disk if you follow that all should work?
>
> For this to work you have to create a small dos partition (about 2-4mb) on
> the hard disk to copy the linload.exe over hope this helps!
That sounds more right for ARC/AlphaBIOS systems. The error message
seems to indicate that the OP is using SRM, which AFAIK does not
recognize DOS partitions.
--
M�ns Rullg�rd
e99_mru@e.kth.se
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem booting Linux on a AS200
2002-01-21 18:38 ` watman
2002-01-22 10:58 ` Måns Rullgård
@ 2002-01-22 20:17 ` Axel Kuester
1 sibling, 0 replies; 7+ messages in thread
From: Axel Kuester @ 2002-01-22 20:17 UTC (permalink / raw)
On Mon, 21 Jan 2002 18:38:03 -0000, "watman" <watman.nospam@yahoo.com>
wrote:
>Have a look at Page 97-98 of The official redhat linux alpha installation
>guide for 7.1 can be downloaded from the redhat site from the following URL
>
>http://www.redhat.com/docs/manuals/linux/
>
>availible in PDF or HTML
>
>There is a simple process to follow to copy the boot image over to the hard
>disk if you follow that all should work?
>
>For this to work you have to create a small dos partition (about 2-4mb) on
>the hard disk to copy the linload.exe over hope this helps!
>
>
Thanks for the help,
I found a CD image (jumpstart) at compaqs alpha-linux page. It worked
fine for me.
First I boot from this, perform the installation and then got a menue
which distribution I want to install (RH, SuSE and others).
Can recommend this ;-)))
Thanks again for the help,
Axel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Problem booting Linux on a AS200
2002-01-20 20:44 Problem booting Linux on a AS200 Axel Kuester
2002-01-21 10:48 ` Måns Rullgård
@ 2002-01-22 19:53 ` Michal Jaegermann
2002-01-22 21:03 ` Axel Kuester
1 sibling, 1 reply; 7+ messages in thread
From: Michal Jaegermann @ 2002-01-22 19:53 UTC (permalink / raw)
Axel Kuester <A.Kuester@ostalb.netsurf.de> wrote:
> I installed RH 7.1 from CDrom and anything seems to be ok until the
> system tries to reboot.
> I only get the message:
> block 0 if disk dka0... is not a valid boot block.
> What did I make wrong?
Probably nothing. There are assorted bugs in an installer (and
one kind of a semi-valid reason) which may cause that.
In short - make a boot floopy from a 'images/generic.img' file on your
CD. You can make it on any machine which can read CDs and write "raw"
floppies and resulting floppy if of an ext2 type. Assuming that your
root partition was put on /dev/sda2 (I do not know but you were told
that and if you failed to notice you can experiment a bit) boot for
the first time from SRM prompt with
dva0 -fi vmlinux.gz -fl "root=/dev/sda2"
> Do I have to run some special Tools for
> wrinting a boot block to disk?
Yes, you have them once you booted. It is called 'swriteboot' and
it is a part of an 'aboot' package.
> Activate the disk (like at PCs)?
No, this is simpler. :-)
Now for possible problems. Linux can use disks with a FAT partitioning
or with "BSD disklabel" partitioning - even mixed in the same
installation. But a disk which is bootable from SRM has to be of the
second type and it has to leave some space (1 cylinder is ample) not
covered by partitions of "unused" type ("unused" are not really used
by Linux, but if there then no harm done, and are "compatibility"
stuff). There is a number of circumstances when an installer writes,
incorrectly, a FAT partition table. For example when there was an old
table of that kind from previous uses of that disk. Or it may screw
up and forget to leave space for a boot block. Or it will notice
that a bootblock space overlaps with a partition but does not pay
attention that it was really "unused". In the later case you may
tell swriteboot with '-f' flag to go ahead and write a boot block
anyway. Otherwise this disk cannot be made bootable without
repartioning. If that means re-installation or not it is hard to
tell without knowing details of a disk layout and what kind of
a partition table was written on a disk. Possible rescue is
a bit on a "wizzardy" side and you better know what you are doing.
The only really sure way, at least for now, to write a correct partition
table is first to erase a beginning of a disk writing over it a few
megabytes from /dev/zero and later to create a correct disklabel using
fdisk. Other methods may work but can also screw up without warning.
Yes, bug reports were filed. :-) That is about it.
Michal
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: Problem booting Linux on a AS200
2002-01-22 19:53 ` Michal Jaegermann
@ 2002-01-22 21:03 ` Axel Kuester
0 siblings, 0 replies; 7+ messages in thread
From: Axel Kuester @ 2002-01-22 21:03 UTC (permalink / raw)
On 22 Jan 2002 19:53:32 GMT, Michal Jaegermann
<michal@gortel.phys.ualberta.ca> wrote:
>Axel Kuester <A.Kuester@ostalb.netsurf.de> wrote:
>> I installed RH 7.1 from CDrom and anything seems to be ok until the
>> system tries to reboot.
>
>> I only get the message:
>
>> block 0 if disk dka0... is not a valid boot block.
>
>> What did I make wrong?
>
>Probably nothing. There are assorted bugs in an installer (and
>one kind of a semi-valid reason) which may cause that.
>
>In short - make a boot floopy from a 'images/generic.img' file on your
>CD. You can make it on any machine which can read CDs and write "raw"
>floppies and resulting floppy if of an ext2 type. Assuming that your
>root partition was put on /dev/sda2 (I do not know but you were told
>that and if you failed to notice you can experiment a bit) boot for
>the first time from SRM prompt with
>
> dva0 -fi vmlinux.gz -fl "root=/dev/sda2"
>
>> Do I have to run some special Tools for
>> wrinting a boot block to disk?
>
>Yes, you have them once you booted. It is called 'swriteboot' and
>it is a part of an 'aboot' package.
>
>> Activate the disk (like at PCs)?
>
>No, this is simpler. :-)
>
>Now for possible problems. Linux can use disks with a FAT partitioning
>or with "BSD disklabel" partitioning - even mixed in the same
>installation. But a disk which is bootable from SRM has to be of the
>second type and it has to leave some space (1 cylinder is ample) not
>covered by partitions of "unused" type ("unused" are not really used
>by Linux, but if there then no harm done, and are "compatibility"
>stuff). There is a number of circumstances when an installer writes,
>incorrectly, a FAT partition table. For example when there was an old
>table of that kind from previous uses of that disk. Or it may screw
>up and forget to leave space for a boot block. Or it will notice
>that a bootblock space overlaps with a partition but does not pay
>attention that it was really "unused". In the later case you may
>tell swriteboot with '-f' flag to go ahead and write a boot block
>anyway. Otherwise this disk cannot be made bootable without
>repartioning. If that means re-installation or not it is hard to
>tell without knowing details of a disk layout and what kind of
>a partition table was written on a disk. Possible rescue is
>a bit on a "wizzardy" side and you better know what you are doing.
>
>The only really sure way, at least for now, to write a correct partition
>table is first to erase a beginning of a disk writing over it a few
>megabytes from /dev/zero and later to create a correct disklabel using
>fdisk. Other methods may work but can also screw up without warning.
>Yes, bug reports were filed. :-) That is about it.
>
> Michal
Hi Michal,
thanks for the advises.
In between I solved this by using the jumpstart CD which can be found
as a iso image at DEC/Compaq/whatever they call themselfes. It worked
out of the box.
Axel
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2002-01-22 21:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-20 20:44 Problem booting Linux on a AS200 Axel Kuester
2002-01-21 10:48 ` Måns Rullgård
2002-01-21 18:38 ` watman
2002-01-22 10:58 ` Måns Rullgård
2002-01-22 20:17 ` Axel Kuester
2002-01-22 19:53 ` Michal Jaegermann
2002-01-22 21:03 ` Axel Kuester
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox