re: IDE Slave Drive with the newest Kernel


Subject: re: IDE Slave Drive with the newest Kernel
From: William F. Hostman (aramis@gci.net)
Date: Sun Sep 17 2000 - 02:04:53 MDT


>From: Joshua Gitlin <jnet@brandeis.edu>
>
>Hey everyone, it's me again.
>
> Ok, I'm still trying to get Linux to install on my G4. I
>downloaded the new kernel, but how do I boot from it? I want Linux on
>a secondary drive I have, it is IDE and it is configured as the
>slave. I guess I need it's address to pass to yaboot? Well I went
>into OF and tried to figure out the path and create an alias --
>CHOKE. That failed. Does anyone have a clue what I should do? Thanks
>again.
>
> -Josh Gitlin'

one: put the kernel and yaboot on the root level of your HFS partition, and
the ramdisk.image.gz (from the 1.2 CD or from the install site) there too.
DO NOT unpack the ramdisk.image.gz

two: find out what the actual partition nummber is for the HFS partition
you're going to boot the installer from. (ie, where did you put the files?
Same as your system folder is fine... it'll work.)

create a text file named "yaboot.conf" adjacent to the yaboot executable.
it should read as follows: (ALL_CAPS_AND_UNDERSCORES_ARE_VARIABLE_NAMES
which you replace with the real things.) do not include the equal signs....
;)
=======================
init-message = "\nWelcome to Yellow Dog Linux!\n\nHit <TAB> for boot
options.\n\n"
timeout = 250
default = install

image = hd:PART_NO,KERNAL_NAME_AS_IN_MACOS
    label = install
    initrd = hd:PART_NO,ramdisk.image.gz
    append = KERNAL_ARGUMENTS_INSIDE_QUOTES

image = hd:PART_NO, KERNAL_NAME_AS_IN_MACOS
    label = linux
    root=LINUX_PATH_TO_ROOT_DRIVE
    append = KERNAL_ARGUMENTS_INSIDE_QUOTES
=======================
PART_NO is the partition number where resides your
yaboot, kernel,
                        ramdisk.image.gz, and yaboot.conf
KERNAL_NAME_AS_IN_MACOS is the name as it appears in your macos HFS partition.
LINUX_PATH_TO_ROOT_DRIVE will start with /dev/ and will have hda or
hdb with a number
                        (the partition number) for your root drive
KERNAL_ARGUMENTS_INSIDE_QUOTES use this if your machine needs specific
kernal arguments.
                                 The arguments themselves appear inside
double quotes.

and here are the variables as I used them on my machine:

PART_NO 12
KERNAL_NAME_AS_IN_MACOS vmlinux-2.2.17pre13-ben1
LINUX_PATH_TO_ROOT_DRIVE /dev/hda10
KERNAL_ARGUMENTS_INSIDE_QUOTES "video=aty128fb:vmode:17,cmode:24"

and it appears as:
=======================
init-message = "\nWelcome to Yellow Dog Linux!\n\nHit <TAB> for boot
options.\n\n"
timeout = 250
default = install

image = hd:12, vmlinux-2.2.17pre13-ben1
    label = install
    initrd = hd:12,ramdisk.image.gz
    append = "video=aty128fb:vmode:17,cmode:24"

image = hd:12,vmlinux-2.2.17pre13-ben1
    label = linux
    root=/dev/hda10
    append = "video=aty128fb:vmode:17,cmode:24"
=======================

Note that hda12 (Partition 12 on 1st drive) is HFS, and on my system is a
partition whcih I put only unix stuff on.

My root drive, tho is hda10 (10th partition on 1st drive).

If you are installing off the cd's, the installer boots off the
hfs-partition-on-hard-disk-resident kernel and ramdisk, then asks you where
the installer packets will be found. CD is an option. Other methods are
there too (I haven't read them all).

To get this to work, howver, you'll need to launch in open firmware: to do
so, right AFTER the boot chime, hold cmd-opt-o-f until you get the white
welcome to open firmware screen.

type "boot hd:PART_NO,yaboot.tbxi" replacing PART_NO with the partition
nummber of the partition where you've stored yaboot. this should get you
the black and green screen of Yaboot. type "install", or wait for timeout,
and you'll get booted into the installer.

any files hidden in your valid (Macterm is "Blessed") system folder
(instead of at the root level) get prefaced with two backslashes (\\) as
part of the name.

William F. Hostman | "Smith & Wesson: THe original Point and Click
interface!"
Aramis 0602 C55A364-C S kk+ as+ hi+ dr+ va++(--) so+ zh++ vi+ da++ sy- ge-
533
aramis@gci.net http://home.gci.net/~aramis Vilani: uilamaanamti sirohbrankilin
IMTU 1.0: tc tm++ tn- t4-- tt+ to- tg-- ru+ ge 3i+ c+ jt-() au+ st- ls
pi+() ta+ he+(-) kk+ as+ hi+ dr+ va++(--) so+ zh++ vi+ da++ sy- ge- pi+



This archive was generated by hypermail 2a24 : Sun Sep 17 2000 - 02:16:47 MDT