From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,f9472f7e5897b03c X-Google-Attributes: gid111c93,public X-Google-ArrivalTime: 2002-01-22 13:15:17 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!p5083d35f.dip.t-dialin.NET!not-for-mail From: Axel Kuester Newsgroups: comp.os.linux.alpha Subject: Re: Problem booting Linux on a AS200 Date: Tue, 22 Jan 2002 22:03:16 +0100 Message-ID: References: <1ram4u8mhvjk1a3s68cgbd6gjiflglh2vs@4ax.com> Reply-To: A.Kuester@ostalb.netsurf.de NNTP-Posting-Host: p5083d35f.dip.t-dialin.net (80.131.211.95) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: fu-berlin.de 1011734110 35388761 80.131.211.95 (16 [1347]) X-Orig-Path: krasrv1.krapc!nobody X-Newsreader: Forte Agent 1.8/32.548 Xref: archiver1.google.com comp.os.linux.alpha:4737 On 22 Jan 2002 19:53:32 GMT, Michal Jaegermann wrote: >Axel Kuester 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