Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: "Ron Sokoloski" <rsokoloski@sitg.southam.ca>
Subject: Re: SRM, aboot and RedHat 5.2 problems
Date: 1999/06/15	[thread overview]
Message-ID: <9rm93.147$wm1.521@198.235.216.4> (raw)
In-Reply-To: 6jf93.1203$eE1.198@news3.atl

I just went through this with an AlphaServer 800. 2 things that are only
sort of in the manual:

1. Use BSD disk partitioning. If you need to wipe a disk, load the AlphaBios
(type "arc" at the >>> prompt), go into "Hard Disk Setup", create/format FAT
partitions and then blow then away immediately. Push in the halt button, and
reboot. Make sure to click the halt button off once you're at the >>>
prompt. Light up the RH install again (boot dka400 -file
kernels/generic.gz -flags "root=/dev/sdc0"), and when it comes to
patitioning, ignore DiskDruid and use fdisk. Press b, and you're in BSD
mode. It will prompt to create a BSD disk label, and let it. Next, create
your partitions (n command), but leave the c (whole disk) partition alone.
Then when it comes time to set the file system on each (t command), pick 1
(swap) for your swap, 8 (ext2) for your regular partitions and 5 (BSD 4.1)
for the whole disk partition (c). BTW, leave at least 5 Mb for the bootlx
program ( I left a whole cylinder, somy first partition started at cyl 2,
not one). Continue the rest of the install as normal.

2. Once the install is done and asking to reboot, press Alt-F2. At the #
prompt, type "chroot /mnt bash". This gives you a proper prompt, and you can
"/sbin/swriteboot /dev/sda bootlx -f3" - makes the disk bootable. Next, cd
to /mnt/boot, and "cp vmlinux-2.2.5-16  vmlinux" (makes for lless typing).
Make sure the permissions are set correctly on the copied file, then Alt-F1
to get back to the install screen, press in the halt button again, and press
enter to reboot. Again, click off the halt button at the >>> prompt, and
type the following:

>>>set boot_file 2/boot/vmlinux
(Note: the number is the partition number of root, on my system the 2nd ext2
partition)
>>> set bootdef_dev dka0
(Note: use the device number of your boot disk from the SRM devices command)
>>>set boot_osflags "root=/dev/sda2
(Note: use the device in /dev that is the partition number of root, on my
system the 2nd ext2 partition, so sda2)
>>> boot

should re-start the machine and take you all the way to Linux.

Hope this helps you out!

Ron Sokoloski
jgarzik@pobox.com wrote in message <6jf93.1203$eE1.198@news3.atl>...
>usura@zedz.net wrote:
>: jgarzik@pobox.com wrote:
>
>: [..]
>: : On my AlphaStation 200, I boot by specifying the SCSI device id,
>: : I dunno if this will help you:
>
>: : boot dka300 -fi 2/vmlinux.gz -fl root=/dev/sda2
>
>: : Note that I boot from partition two.  I seem to recall seeing somewhere
>: : in the docs that when using SRM and swriteboot, you should reserve
space
>: : at the beginning of the disk for swriteboot.  So I created an used 5MB
>: : partition #1, and then my regular partitions after that.
>
>: You probably have installed milo on /dev/sda1 (which is good ;))
>
>No, read carefully, I am using SRM.  MILO was not, and is not, involved :)
>
>SRM HOWTO says swriteboot needs an amount of space reserved for it at
>the start of the disk.
>
> Jeff
>
>
>





      reply	other threads:[~1999-06-15  4:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-06-14  4:00 SRM, aboot and RedHat 5.2 problems Keith 'Gudlyf' McDuffee
1999-06-14  4:00 ` Keith McDuffee
1999-06-14  4:00 ` jgarzik
1999-06-14  4:00   ` usura
1999-06-14  4:00     ` jgarzik
1999-06-15  4:00       ` Ron Sokoloski [this message]
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