Unrecognized HD -- Drive on ATA bus 2

Pierre Sahores yellowdog-newbie@lists.terrasoftsolutions.com
Thu, 06 Jun 2002 19:22:49 +0200


Pierre Sahores wrote:
> =

> Mike Abraham a =E9crit :
> >
> > Actually, I have gotten YDL (2.2) working on my iBook2
> > (writing this e-mail from Linux right now).
> >
> > Nevertheless, the solution is NOT (at least for me)
> > what Andrew has proposed below.
> >
> > Many thanks to a guy who posted a response to a
> > similar question at the Mandrake support forum. He
> > noted that the current 2.4.n kernel only allows 2
> > seconds for all IDE devices to be recognized. When
> > there's a CD in the drive, it spins up first (maybe
> > because the BIOS is set to boot from the CD first, or
> > because it's on the first IDE channel? -- whatever),
> > and the kernel never gets enough time to recognize the
> > HD.
> >
> > I inquired as to whether or not there's a way to tell
> > the kernel to allow more time, but never got a
> > response. So, instead, I basically set YDL to boot
> > from a partition on my HD and then ran the install.
> >
> > Here's the basic steps I took:
> >
> > 1. Make an HFS partition, from which to boot Linux, on
> > your drive. If your existing OS 9 or 10 partition
> > occupies the whole drive, you'll need to run Drive
> > Setup, make 2 HFS partitions, install OS 9 or 10 to
> > one of them, and leave the other free to become your
> > Linux boot partition. The other partition (that you're
> > gonna boot Linux from) should be at least 45 MB in
> > order to hold all the YDL boot files (read on)
> >
> > If you have some free space already, you can instead
> > use pdisk to format an existing unused partition as
> > HFS. If you use pdisk, and have your HD on the
> > non-primary IDE channel (i.e. ATA bus 2 -- as I do) ,
> > you'll need to use pdisk version 0.8 or beyond. pdisk
> > 0.7.n can't recognize IDE drives on secondary or
> > tertiary channels, so, if the version of pdisk you
> > have can't see your HD, use version 0.8 or beyond.
> >
> > Note the partition number of the non-MacOS (Linux
> > boot) partition you made -- you're gonna need it
> > later.
> >
> > 2. Stick the YDL Install CD in your CD drive and copy
> > the entire 'install' folder to the non-MacOS (Linux
> > boot) partition you made. Note that the install folder
> > should look like a system folder rather than a regular
> > folder (it has the folder + human face icon).
> >
> > 3. This step is very important -- once the copy is
> > complete, REMOVE the CD from the drive. For the reason
> > described above, Linux can't boot the HD if there's a
> > CD in the CD-ROM/CD-RW/DVD drive. Ever. This will be
> > true even after you install and start using Linux.
> >
> > 4. Reboot the machine into Open Firmware (hold option
> > + apple + 'o' + 'f' while booting). Once you get the
> > Open Firmware prompt, type:
> >
> > boot hd:<Linux boot partition #>,\\yaboot [enter]
> >
> > (replace <Linux boot partition #> with the number of
> > the partition onto which you copied the YDL 'install'
> > directory -- on my machine, the command would read:
> >
> > boot hd:9,\\yaboot
> > )
> >
> > 5. You should now see the yaboot screen. At the yaboot
> > prompt, type:
> >
> > hd-install [enter]
> >
> > This is very important. The yaboot.conf file defaults
> > the boot to a CD-ROM install, so you must force yaboot
> > to use the hd-install image by entering it directly
> > (or by hand editing the yaboot.conf file on the MacOS
> > side before you boot into Open Firmware).
> >
> > 6. You should now see the familar YDL installer
> > (except that you're gonna get further than ever
> > before). Follow all the usual instructions. Note that
> > when the installer asks you what type of install you
> > wish to perform (HD, network, CD, etc), you DO want to
> > pick CD-ROM.
> >
> > Let me say that again. Even though you've booted from
> > the HD, you still want the installer to install from
> > the CD. The difference is that this time the kernel
> > has actually recognized your HD, and will make it
> > through  the partitioning step.
> >
> > 7. When you get to the drive partitioning step, you
> > can either accept the defaults (YDL will set up new
> > partitions for Linux, including boot -- which will
> > mean that the boot partition you created will become
> > essentially wasted space) or go to custom
> > partitioning.
> >
> > In my case, I went to custom, so I could delete the
> > boot partition I made and let YDL reuse the space for
> > its own partitions. If you do the same, you'll need to
> > specify the partition number you used previously to
> > delete the Linux boot partition you made.
> >
> > This may seem dangerous -- you'll be deleting the
> > partition you booted from, in which case you'll need
> > to repeat all the above steps if the install fails.
> > Nevertheless, I had no problems with YDL once it
> > recognized the HD, so I 'went for it'.
> >
> > 8. Towards the end of the install, YDL will ask you if
> > you want to set up your machine for dual boot, in
> > which case it will do largely what you did in creating
> > a Linux boot partition on your HD, but nicer (meaning
> > it will also set up a ROM image with the boot options
> > -- MacOS, Linux, CD). I would recommend following the
> > defaults here.
> >
> > -- That's it. Everything else works great. X, sound,
> > you name it.
> >
> > Good luck.
> >
> > Mike
> >
> --snip--
> =

> Thanks a lot Mike for those very fine explainations. I will follow them=

> and hope now to have my own Ibook2 14.1" loading YLD... to the end !

This worked very fine there last night, even in installing the Suse-PPC
7.3 without to have to do any changes in the distribution, alike new
kernel or so ;-)

1.- Copy the Suse-Boot contains folder to the root of a standard HFS
partition (inside a "System" named folder).
2.- Configure the Startup Folder Item from the MacOSX/MacOS9 prefs to
boot from this Suse-Boot "System" without having any CD in the
CDVDR-Combo-Drive.
3.- Let the Suse do its boot up to be hasked to put the Suse CD1 inside
the CDVDR-Combo-Drive. Let the rest of the installation run, just alike
installing on a x86 side box and... have fun...
 =

Best Regards to all, Pierre Sahores

WEB & VPN applications & databases servers
Inspection acad=E9mique de Seine-Saint-Denis
Qualifier & produire l'avantage comp=E9titif