This is from memory, it been a while since I've done this. After the install boot off 
the floppy:
Assuming your root partition is sda2 (I reserved  ~4 meg in sda1)

b dva0 -fi vmlinux.gz -fl root=/dev/sda2

I think reason it doesn't boot is because SRM expects BSD disk labels, which you will 
have to fix after
you get it back up using fdisk. It's real easy to screw it up, but you need to be sure 
that the
geometries match between fdisk default and bsd modes, they often don't.  If they dont 
match there is an
option to set it. After that you will need to set the boot loader on the hard drive.  
Man swriteboot and
aboot , Think it's  "swriteboot /dev/sda bootlx". Then to get it to auto boot from 
power up you will
have to set the SRM flags. I don't remember the exact syntax.


This is what fdisk looks like on my alpha:

[root@gpspc-lcc /root]# fdisk
Using /dev/sda as default device!
Device contains neither a valid DOS partition table, nor Sun or SGI disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.


Command (m for help): p

Disk /dev/sda: 255 heads, 63 sectors, 255 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System

Command (m for help): ?
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): b
Warning: starting partitions at cylinder 1 will be bad for the health of your
partition table -- start at cylinder 2 instead!


BSD disklabel command (m for help): p

8 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
  a:   257040    16065      swap                        # (Cyl.    2 - 17)
  b:  1494045   273105      ext2                        # (Cyl.   18 - 110)
  c:  2072385  1767150      ext2                        # (Cyl.  111 - 239)
  d:   257040  3839535      ext2                        # (Cyl.  240 - 255)

BSD disklabel command (m for help): m
Command action
   d   delete a BSD partition
   e   edit drive data
   i   install bootstrap
   l   list known filesystem types
   m   print this menu
   n   add a new BSD partition
   p   print BSD partition table
   q   quit without saving changes
   s   show complete disklabel
   t   change a partition's filesystem id
   w   write disklabel to disk

BSD disklabel command (m for help): e
bytes/sector (512):
sectors/track (63):
tracks/cylinder (255):
cylinders (255):
sectors/cylinder (16065):
rpm (3600):
interleave (1):
trackskew (0):
cylinderskew (0):
headswitch (0):
track-to-track seek (0):

BSD disklabel command (m for help):



Joe wrote:

> This is really two problems...  My first problem was when the install was
> done, the system did not recognize any bootable partitions.  My 2nd and
> current problem is that I cannot get the system to boot at all off the
> boot floppy.  When I type in boot dva0 I get this after a while:
>
> ok, now starting the kernel...
> halted CPU 0
> halt code = 5
> HALT instruction executed
> PC = fffffc0000310088
>
> I assume the system keeps the values of the SRM variables even when
> powered down.  Is there any way to set these variables to the factory
> defaults?  (I tried clear foobar but the system didn't let me reset the
> values.)  And is there a very good tutorial on installing Alpha RHL for
> people who have never touched an Alpha in their lives?
>
> Thanx for any useful tidbits.
>
> Joe Tseng
> joe_tseng@hotmail DOT com
> jtseng@tux DOT org
> Cellular/Text Page: 2404625291@messaging DOT sprintpcs DOT com
>
> "Bill Gates and Linus Torvalds Meet in Airport; Thousands Killed in Resulting 
>Explosion. News at 11."
> Go New York Yankees - 1996/98/99 World Series Champs
>
> --
> To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
> as the Subject.


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.

Reply via email to