From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,21422aa71a2ba556 X-Google-Attributes: gid111c93,public From: "Ron Sokoloski" Subject: Re: SRM, aboot and RedHat 5.2 problems Date: 1999/06/15 Message-ID: <9rm93.147$wm1.521@198.235.216.4>#1/1 X-Deja-AN: 489736399 References: <7k37r6$ld5$1@autumn.news.rcn.net> <0wb93.768$N24.225@news4.atl> <7k3gk2$lf0$2@news.surfnet.nl> <6jf93.1203$eE1.198@news3.atl> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Trace: 198.235.216.4 929428293 204.101.86.49 (Tue, 15 Jun 1999 02:31:33 EDT) Organization: Bell Solutions NNTP-Posting-Date: Tue, 15 Jun 1999 02:31:33 EDT Newsgroups: comp.os.linux.alpha 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 > > >