# !SlackBt.!GRUB.grubcfg # ARMedslack Installer's GRUB configuration file # by Stuart Winter 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 # ------------- # 1. Memory # ``````` # 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. # # 2. Video RAM # ````````` # There's a problem where GRUB does not detect the VRAM on the RiscPC # on every occasion -- it detects 0K. # You can work around this by adding the amount of RAM to the boot line: # video=acornfb:dram:2048K # # And you can choose from the specific RAM sizes in the boot menu too. # ################################ # Boot the OS ################################ # 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 for the RiscPC (RAM size auto detect -- RECOMMENDED) insmod filecore insmod ext2 insmod fat linux (host)//zImage root=/dev/hdd2 ro boot title ARMedslack for the RiscPC (2MB VRAM) insmod filecore insmod ext2 insmod fat linux (host)//zImage root=/dev/hdd2 ro video=acornfb:dram:2048K boot ################################ # Installer ################################ # # The installer can also be used to repair an existing installation. # title Install ARMedslack (can also be used to repair: minimal ramdisk boot) (RAM size auto detect -- RECOMMENDED) insmod filecore insmod ext2 insmod fat linux (host)//zImage root=/dev/ram0 rw initrd (host)//initrd.img boot # 512K VRAM fixed: title Install ARMedslack (can also be used to repair: minimal ramdisk boot) (512K VRAM) insmod filecore insmod ext2 insmod fat linux (host)//zImage root=/dev/ram0 rw video=acornfb:dram:512K initrd (host)//initrd.img ############################### # Others ############################### # Quit & return to RISC OS: title Quit system chain:quit boot