# RISCOS.ARMedslack.Installer.!ARMedslack.!Grub.grub/cfg
# ARMedslack Installer's GRUB configuration file
# by Stuart Winter <mozes@armedslack.org> based on Tim Baldwin's sample config file.
# 29-Sep-2005
#

# Useful kernel parameters:
# -------------------------
# 1.  ide0=0 
#    Turns off the onboard IDE bus, making Linux treat the 
#    expansion boards (eg RapIDE et al) as the primary IDE bus.
#    This is a very useful option but it's probably worth leaving
#    your motherboard IDE as the primary bus.
#    If you ONLY have motherboard IDE (no back plane IDE expansion cards)
#    then DO NOT SET THIS parameter - remove it entirely from the 
#    list.
#    ****** THIS OPTION IS BEING REMOVED FROM LINUX-2.6 ********
#    Note to myself: Find out what the new option is called.
#
# 2. root=/dev/hdc2
#    Sets the location of the root file system to be on the second  
#    partition on the slave IDE disk.
#    In my RiscPC I have
#     - motherboard IDE (as do all RiscPCs)
#       - this supplies /dev/hda (Master) & /dev/hdb (slave)
#     - Yellowstone RapIDE v2 card
#       This card has two IDE interfaces - allowing a master and slave 
#       per physical interface.  Thus Linux will see this interface as
#       being capable of providing:
#        /dev/hdc (Master, primary physical interface) 
#        /dev/hdd (Slave, primary physical interface)
#        /dev/hde (Master, secondary physical interface)
#        /dev/hdf (Slave, secondary physical interface).
#    Since I currently suggest donating a secondary, dedicated
#    hard disk for ARMedslack Linux, I'm assuming that this disk 
#    will be the secondary/slave IDE disk.
#    If you use SCSI then this would be /dev/sdb2
#
# 3. init=/bin/bash
#    Use this to subvert the normal boot process and drop straight into
#    a bash prompt.  This is useful for debugging the boot sequence and
#    changing a forgotten root password.   
#
# RISC OS notes
# -------------
#
# If you are finding GRUB crashing with errors such as:
#  Internal error, no stack for trap handler : Address not recognised,
#  pc=00004025c : registers at 00017cf0.
#
# Then try increasing the WimpSlot to 4096K.
# 
#
# Notes
# -----
# Other boot parameters such as SLACKSYST are used for the installer only:
# don't change them.


# Default Kernel for StrongARM RiscPC ARMedslack
#
# This boots from hard disk where the root file system is located
# on the second partition of the slave IDE hard disk.
#
title ARMedslack 11 for the RiscPC
insmod filecore
insmod ext2
insmod fat
linux (host)/<ARMedslack\$Dir>/zImage root=/dev/hdc2 ro
boot

# To boot the installer:
# The installer can also be used to repair an existing installation.
#
#linux (host)/<ARMedslack\$Dir>/zImage root=/dev/ram0 SLACKSYST=RiscPC rw

title Install ARMedslack 11 (can also be used to repair: minimal ramdisk boot)
insmod filecore
insmod ext2
insmod fat
linux (host)/<ARMedslack\$Dir>/zImage root=/dev/ram0 ramdisk_size=9900 rw
initrd (host)/<ARMedslack\$Dir>/color.gz
boot


title Quit
system chain:quit
boot
