Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: andyr@wizzy.com
Subject: Boot Redhat 6.0 from hard drive on AlphaStation 600
Date: 1999/11/06	[thread overview]
Message-ID: <8022oi$ulk$1@nnrp1.deja.com> (raw)

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.



             reply	other threads:[~1999-11-06  5:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-06  5:00 andyr [this message]
1999-11-06  5:00 ` Boot Redhat 6.0 from hard drive on AlphaStation 600 Xiaozhou Qiu
1999-11-07  5:00 ` telford
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