From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,7d6deeeb70e74062,start X-Google-Attributes: gid111c93,public From: andyr@wizzy.com Subject: Boot Redhat 6.0 from hard drive on AlphaStation 600 Date: 1999/11/06 Message-ID: <8022oi$ulk$1@nnrp1.deja.com>#1/1 X-Deja-AN: 545288105 X-Http-Proxy: 1.0 proxy.intouch.co.za:3128 (Squid/2.2.STABLE3), 1.0 x25.deja.com:80 (Squid/1.1.22) for client 127.0.0.1, 196.15.227.10 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Sat Nov 06 20:23:48 1999 GMT X-MyDeja-Info: XMYDJUIDandyr Newsgroups: comp.os.linux.alpha X-Http-User-Agent: Mozilla (X11; I; Linux 2.0.32 i586) Folks, We have done a successful Redhat 6.0 install on an AlphaStation 600. This will be a dedicated Linux box, no DEC Unix. Our method was to do the following :- From the SRM prompt >>> (all on one line) >>> b dka500 -file kernels/generic.gz \ -flags "root=/dev/fd0 load_ramdisk=1" This got us far enough to get to the RH Install disk. As advised by many postings, we partitioned as follows :- sdc1 - 2Meg, type 6 (FAT) sdc2 - 132Meg, Linux SWAP sdc3 - Rest of disk, ext2fs. Install proceeded, and we got networking up by unpacking modules.cgz from the CD and insmod'ing the tulip Ethernet module by hand. Great. To boot from the hard disk directly, we wish to use aboot, as the AlphaStation 600 does not have Flash, and milo will thus not work. aboot-0.5 is dated 1995, and will not compile. gcc -I/home/andyr/aboot-0.5/include -I/usr/src/linux/include -D__KERNEL__ -O2 -Wall -mno-fp-regs -c -o aboot.o aboot.c In file included from /usr/src/linux/include/asm/semaphore.h:11, from /usr/src/linux/include/linux/fs.h:164, from /usr/src/linux/include/linux/capability.h:13, from /usr/src/linux/include/linux/binfmts.h:5, from /usr/src/linux/include/linux/sched.h:8, from /usr/src/linux/include/linux/mm.h:4, from aboot.c:24: /usr/src/linux/include/asm/current.h:4: global register variable follows a function definition /usr/src/linux/include/asm/current.h:4: warning: call-clobbered register used for global register variable make: *** [aboot.o] Error 1 We logged onto Compaq's Test Drive Alphaserver, same deal. We used swriteboot from RPMs we found on gatekeeper.dec.com, where a source RPM contained these binaries. We used bootlx from /usr/src/linux/arch/alpha/boot/tools - after make'ing bootimage. From this directory, we did :- % swriteboot -f1 -f3 /dev/sdc bootlx Why does it need this ? f1 and f3 seem to be a throwback to the DEC UNIX disklabel, which we thought was history now. After this, fdisk could no longer find any partition info. We think therefore that swriteboot trashes the partition info. If we repartition the disk as above, all is well again, including all our installed linux software. We can boot to Linux using '-flags "root=/dev/sdc3"' at the SRM prompt with a kernel (as above) from the CD. A new kernel is 1.6M with as little as possible compiled in, so we are unable to boot from floppy - a (poor) second choice. Help .... Why is the partition info trashed like this ? Has anyone been successful on this hardware ? Cheers, Andy! Sent via Deja.com http://www.deja.com/ Before you buy.