[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SRM Aboot partitioning Question(s)



> On Sep 03, Steve Udell scrawled :

> I am thinking of useing SRM Aboot for booting my Linux on an Alpha.
> I have read differt almost conflicting ideas on how to go about this.
> 
<snip erronous material>

SRM and aboot is not difficult, but very nice and pleasurable :)

first, fdisk and you got it right, b for bsd mode.
leave a space of ~2MB for aboot.
partition 2, set as swap, partition 3 as whole disk, and the others as
whatever you like.
eg:
7 partitions:
#        size   offset    fstype   [fsize bsize   cpg]
a:     4154        0    unused    213377     0        # (Cyl.    1 - 1)
b:   120466     4154      swap                        # (Cyl.    2 - 30)
c:  4203848        0    unused        0     0         # (Cyl.    1 - 1012)
d:   124620   124620      ext2                        # (Cyl.   31 - 60)
e:  2031306   249240      ext2                        # (Cyl.   61 - 549)
g:  1923302  2280546      ext2                        # (Cyl.  550 - 1012)   

write, and reboot (cause fdisk doesn't tell the kernel about updating
partition tables yet)
then install linux.
once in a shell,
$swriteboot -f 1 -f 3 /boot/bootlx /vmlinux.gz
$abootconf /dev/sda 4
edit /etc/aboot.conf to show something similar to:

# aboot beowulf configurations
#
0:4/vmlinux-2.2.5 ro root=/dev/sdb4
1:4/vmlinux-2.2.5 ro root=/dev/sdb4 single
8:- ro root=/dev/sdb4		# fs less boot of raw kernel
9:0/- ro root=/dev/sdb4		# fs less boot of (compressed) ECOFF kernel
-
and set the srm variables to boot off the right device and partition
set bootdef_dev dka0
set boot_osflags 0

you can thnen happily reboot and it will all come up happily for yo.
or should  :)

*wave*
-- 
Jean-Paul Blaquiere
   japester@ucc.gu.uwa.edu.au
   	gotta www.wibble.org again


Reply to: