Re: Trouble installing on a iBook2 -- cannot find CDROM


Subject: Re: Trouble installing on a iBook2 -- cannot find CDROM
From: Chris Croome (chris@webarchitects.co.uk)
Date: Mon Feb 25 2002 - 15:19:44 MST


Hi

On Mon 25-Feb-2002 at 08:03:43 -0500, Chan, Edwin wrote:
>
> I ran into the same problem getting YDL installed on my iBook (14-inch
> LCD),

Yes I have the same one.

> and after much list-searching and SWAG's, here's what worked for
> me:
>
> 1) First of all, you need to boot up with kernel-2.2, not kernel-2.4 -
> 2.4.10 won't detect the optical drive in the new iBooks and sometimes
> won't see the Hard drive either. (When the boot menu comes up, hit the
> tab key to see what choices you have - to be safe, I usually choose
> install-kernel22-text or something like that.
>
> 2) Once the Disclosure box pops up, hit alt-ctrl-fn-f2 (in that order,
> holding each key down) - this should bring you to the second virtual
> console, which in my iBook has a Fuji Install> prompt, btu I've seen
> it referred to as the busybox> prompt by others (prob because it uses
> the busybox embedded toolbox for the command set)
>
> 3) do a quick dmesg | more to see what the kernel detected - the lines
> of relevance should follow immediately after something like pmac_ide:
> ... you should see the harddrive (usually hda) and the CD-ROM (usually
> hdb, although sometimes hdb depending on where it is on the bus) you
> should also see a couple of lines about UltraDMA being enabled and
> several lines of info for each drive detected...
>
> Note: If you're haveing trouble getting the hard drive detected, pass
> hda=16383,16,64 to the kernel (at the boot prompt, just tag it on to
> the "install-kernel22") there's prob a corresponding magical
> incantation if the CD_ROM isnt detected, but being that I don't know
> how this one was derived (take a look at the IDE driver code if you're
> adventurous), I can't help you here.

Yes I had to pass that message to the kernel to get it to detect the HD
too.

> 4) If the kernel seems to have detected the drives, now it's time to
> see if it's actually been added to the device tree... do a ls -l /dev
> - if you don't see any hdxxx entries, the installer won't be able to
> see the drives (anyone out there, why is that? if the kernel can find
> it, why isn't it making devices for it?) Anyway, the solution there
> is for you to add them to the device tree yourself using the makedevs
> command provided by busybox (type "busybox" by itself to see what the
> exact syntax is, unfortunately, I'm typing on my windoze work machine
> right now, so I'm working from memory.)
>
> for the hard drive
> makedevs b /dev/hda 3 0 0 16 s

I used the following, from the advice from

makedevs -h

makedevs /dev/hda b 3 0 0 8 s

> and if your CD-ROM is hdb (according to the kernel)
> makedevs b /dev/hdb 3 64 0 16 s

makedevs /dev/hdb b 3 64 0 16 s

> now that the devices are made, you have to mount the CD-ROM:
>
> mount /dev/hdb /mnt/media
>
> now just hit
>
> alt-ctrl-fn-f1 to go back to the main install script and you should be
> golden...
>
> Hope this helps.

Yes fantastic it's installing packages now :-)

Cheers

Chris

-- 
Chris Croome                               <chris@webarchitects.co.uk>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   
everything else                               http://chris.croome.net/  



This archive was generated by hypermail 2a24 : Mon Feb 25 2002 - 15:34:36 MST