* SRM, aboot and RedHat 5.2 problems @ 1999-06-14 4:00 Keith 'Gudlyf' McDuffee 1999-06-14 4:00 ` Keith McDuffee 1999-06-14 4:00 ` jgarzik 0 siblings, 2 replies; 6+ messages in thread From: Keith 'Gudlyf' McDuffee @ 1999-06-14 4:00 UTC (permalink / raw) I have a new Compaq XP1000 (EV6) that I have finally "successfully" installed RedHat 5.2 on. I am now trying to set the system up so that it will boot from the HD, but am having strange problems. I can boot fine from the boot floppy (used in the install) using the SRM command: >>>boot dva0 -fi vmlinux.gz -fl "root=/dev/sda1" (sda1 is the root partition on that disk) Doing that command will indeed bring up Linux as it was installed on sda1. So once I did that I ran the following (as root): # swriteboot /dev/sda /boot/bootlx This produced a successful result. So after rebooting, I tried to boot rom the HD with SRM as follows: >>>boot dka0 -fi 1/vmlinux.gz -fl "root=/dev/sda1" This produces some output, including the following errors: aboot: booted_dev=`scsi 1 6 0 0 0 0 0', guessing boot_device=`sda1' ext2_init: too many groups (500): max is 256 aboot: mount of partition 1 failed aboot: mount of partition 1 failed Then I get the "aboot>" prompt. I have no idea what the "too many groups" error could relate to, expecially when this is a freshly installed system. I also attempted to do the "swriteboot" again using the boot floppy's files, but that produced the same result: # mount /dev/fd0 /mnt/floppy # swriteboot /dev/sda /mnt/linuxboot It said it was sucessful, but like I said - it didn't work. If anyone has any ideas, I'd be grateful to hear them. I never realized how different installing Linux on an Alpha was from installing on Intel. :) Thanks! Keith McDuffee keithm@etnus.com ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRM, aboot and RedHat 5.2 problems 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 1 sibling, 0 replies; 6+ messages in thread From: Keith McDuffee @ 1999-06-14 4:00 UTC (permalink / raw) I actually got this to work by upgrading to 6.0. Using that version of the bootlx seemed to do the trick, and I can even use it to dual-boot into 5.2. Go figure. Thanks for the replies! Keith McDuffee <gudlyf@usa.net> wrote in message news:7k37r6$ld5$1@autumn.news.rcn.net... > I have a new Compaq XP1000 (EV6) that I have finally "successfully" > installed RedHat 5.2 on. I am now trying to set the system up so that it > will boot from the HD, but am having strange problems. I can boot fine from > the boot floppy (used in the install) using the SRM command: > > >>>boot dva0 -fi vmlinux.gz -fl "root=/dev/sda1" > > (sda1 is the root partition on that disk) > > Doing that command will indeed bring up Linux as it was installed on sda1. > So once I did that I ran the following (as root): > > # swriteboot /dev/sda /boot/bootlx > > This produced a successful result. So after rebooting, I tried to boot rom > the HD with SRM as follows: > > >>>boot dka0 -fi 1/vmlinux.gz -fl "root=/dev/sda1" > > This produces some output, including the following errors: > > aboot: booted_dev=`scsi 1 6 0 0 0 0 0', guessing boot_device=`sda1' > ext2_init: too many groups (500): max is 256 > aboot: mount of partition 1 failed > aboot: mount of partition 1 failed > > Then I get the "aboot>" prompt. I have no idea what the "too many groups" > error could relate to, expecially when this is a freshly installed system. > I also attempted to do the "swriteboot" again using the boot floppy's files, > but that produced the same result: > > # mount /dev/fd0 /mnt/floppy > # swriteboot /dev/sda /mnt/linuxboot > > It said it was sucessful, but like I said - it didn't work. If anyone has > any ideas, I'd be grateful to hear them. I never realized how different > installing Linux on an Alpha was from installing on Intel. :) > Thanks! > > Keith McDuffee > keithm@etnus.com > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRM, aboot and RedHat 5.2 problems 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 1 sibling, 1 reply; 6+ messages in thread From: jgarzik @ 1999-06-14 4:00 UTC (permalink / raw) Keith 'Gudlyf' McDuffee <gudlyf@usa.net> wrote: : I have a new Compaq XP1000 (EV6) that I have finally "successfully" : installed RedHat 5.2 on. I am now trying to set the system up so that it : will boot from the HD, but am having strange problems. I can boot fine from : the boot floppy (used in the install) using the SRM command: :>>>boot dva0 -fi vmlinux.gz -fl "root=/dev/sda1" : (sda1 is the root partition on that disk) : Doing that command will indeed bring up Linux as it was installed on sda1. : So once I did that I ran the following (as root): : # swriteboot /dev/sda /boot/bootlx : This produced a successful result. So after rebooting, I tried to boot rom : the HD with SRM as follows: :>>>boot dka0 -fi 1/vmlinux.gz -fl "root=/dev/sda1" : This produces some output, including the following errors: A few things I notice. 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. Jeff ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRM, aboot and RedHat 5.2 problems 1999-06-14 4:00 ` jgarzik @ 1999-06-14 4:00 ` usura 1999-06-14 4:00 ` jgarzik 0 siblings, 1 reply; 6+ messages in thread From: usura @ 1999-06-14 4:00 UTC (permalink / raw) 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 ;)) -- Exit! Stage Left! ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRM, aboot and RedHat 5.2 problems 1999-06-14 4:00 ` usura @ 1999-06-14 4:00 ` jgarzik 1999-06-15 4:00 ` Ron Sokoloski 0 siblings, 1 reply; 6+ messages in thread From: jgarzik @ 1999-06-14 4:00 UTC (permalink / raw) 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 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: SRM, aboot and RedHat 5.2 problems 1999-06-14 4:00 ` jgarzik @ 1999-06-15 4:00 ` Ron Sokoloski 0 siblings, 0 replies; 6+ messages in thread From: Ron Sokoloski @ 1999-06-15 4:00 UTC (permalink / raw) 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 > > > ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~1999-06-15 4:00 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox