Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* Re: srm goofup
@ 1997-06-13  8:22 Martin Ostermann
  0 siblings, 0 replies; 2+ messages in thread
From: Martin Ostermann @ 1997-06-13  8:22 UTC (permalink / raw)


axp@tifrbng.res.in (Avinash Shenoy) writes:
> What I did :
> - Used the RH 4.1 distribution, avanti.img, ramdisk, milo.
> - successfully installed RH4.1(used fdisk, not minlabel,with params 64heads, 

You cannot use fdisk with SRM console, because the later doesn't
understand the partitions fdisk creates. You have to partition your
disk using 'minlabel', or the BSD option from fdisk. Unfortunetly, the 
minlabel part of fdisk is _very_ buggy when it comes to entering the
partition parameters. Hints: When entering the beginning of the
partition, use blocks, and add '1'. When entering the partition size,
use the +..MB option, but don't enter the size, but the end of that
partition, e.g. the size+the sizes of all partitions before it.
I hope I recalled that correctly. 

It might be easier to install a small linux first system, and then to use
'minlabel' to repartition the disk. 

[..]

> 	aboot:Linux/Alpha SRM bootloader version 0.5
> 	aboot:swatching to OSF/1 PALcode version 1.46
> 	aboot:valid disklabel found: 0 partitions
> 	aboot:booted_dev = `scsi 0 6 0 0 0 0 0', guessing boot_device=`sda2'
> 	aboot:invalid partition 2
> 	aboot:mount of partition 2 failed
> 	Enter kernel name and arguments:
> 	aboot>
> 
> I'm stuck at this point & do not know what to do next.

You'll have to reinstall your system, because swriteboot has
overwritten your fdisk partition table, so you won't be able to boot
your old system again. If you've written your fdisk parameters down,
you could just reenter them with fdisk, quit the installation, and
boot with a disk like before.

Than make backups, use 'minlabel' to repartition you disk, and do the 
same as before. Having a bsdlabel style partition on your disk, it
ought to work as you described it.

Martin

-- 
Martin Ostermann                | mailto:ost@comnets.rwth-aachen.de
Communication Networks          | http://www.comnets.rwth-aachen.de/~ost
Aachen University of Technology | phoneto:++49/241/807917
Germany                         | faxto:++49/241/8888242

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread
* srm goofup
@ 1997-06-13  3:57 Avinash Shenoy
  0 siblings, 0 replies; 2+ messages in thread
From: Avinash Shenoy @ 1997-06-13  3:57 UTC (permalink / raw)


Hi,
	
	I have got myself into a bit of a tangle over setting up SRM on my 
AlphaStation 255 to boot linux without the need for a milo floppy & am seeking 
help. This is what I did :

Machine is a AlphaStation 255 300 Mhz, 32 MB RAM, 2 GB SCSI II, NCR53c810
SCSI controller, de425 Ethernet adapter.

What I did :
- Used the RH 4.1 distribution, avanti.img, ramdisk, milo.
- successfully installed RH4.1(used fdisk, not minlabel,with params 64heads, 
  32sectors, 2007cylinders), machine on the network but no X due to
  unsupported Video card. Partition table starts with cylinder 3(first 2 MB
  left out as specified), sda1 is swap..32 MB, sda2 is / ...remaining disk.
- got fed up of booting from floppy & decided to set SRM up to boot linux 
  automatically. Did the following :

	at SRM prompt >>>

			boot dva0 -file vmlinux.gz -flags "root=/dev/sda2"

			/sbin/swriteboot /dev/sda /boot/bootlx
	
	reboot

	at SRM prompt >>>

			set bootdef_dev dka0

			set boot_file 2/vmlinux.gz

			set boot_osflags "root=/dev/sda2"

			set auto_action restart

Now, on powering up the machine SRM finds the kernel, starts booting, and then
says

	aboot:Linux/Alpha SRM bootloader version 0.5
	aboot:swatching to OSF/1 PALcode version 1.46
	aboot:valid disklabel found: 0 partitions
	aboot:booted_dev = `scsi 0 6 0 0 0 0 0', guessing boot_device=`sda2'
	aboot:invalid partition 2
	aboot:mount of partition 2 failed
	Enter kernel name and arguments:
	aboot>

I'm stuck at this point & do not know what to do next.

Any help is appreciated.

Avinash Shenoy

-------------------------------------------------------------------------------
Avinash Shenoy
National Centre for Biological Sciences
TIFR Centre, Bangalore 560012, India.
E-mail : avinash@ncbs.tifrbng.res.in
Ph : 3344062, 3343138.
Fax : 3343851
-------------------------------------------------------------------------------

--
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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1997-06-13  8:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-13  8:22 srm goofup Martin Ostermann
  -- strict thread matches above, loose matches on Subject: below --
1997-06-13  3:57 Avinash Shenoy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox