Re: YDL install w/ multiple drives


Subject: Re: YDL install w/ multiple drives
From: Avinash Gupta (agupta@mediaone.net)
Date: Tue Jan 01 2002 - 21:58:14 MST


Hmmm ... Since no SCSI devices are attached ... I have a feeling that your
drives are not SCSI drives as your Mac OS device info shows. I read somewhere
that the Sonnet cards make your drives APPEAR as SCSI drives in Mac OS but in
reality they are regular ATA drives.

This means that instead of appearing as /dev/sdx (where x = a, b, c, etc)
they will appear as /dev/hdx (where x = a, b, c, etc) in Linux.

Try this:

make sure the pdisk package is installed:

At a konsole window in KDE, as root, type:

        yup update pdisk

To make sure pdisk got installed correctly, type:

        rpm -qa | grep pdisk

This should print out:

        pdisk-0.8-2

If not, then pdisk did not get installed correctly. You can still retrieve it
by ftp from:

ftp://ftp.yellowdoglinux.com/pub/yellowdog/yellowdog-2.1/ppc/YellowDog/ppc/pdisk-0.8-2.ppc.rpm

Install it using:

        rpm -ivh pdisk-0.8.2.ppc.rpm

Once the pdisk package is installed, type:

        pdisk /dev/hda

It should say:

        Command (? for help):

Type:

        p (hit return)

This will print the partition map (this is how it looks on my system):

 #: type name length base ( size )
 1: Apple_partition_map Apple 63 @ 1
 2: Apple_Driver43*Macintosh 54 @ 64
 3: Apple_Driver43*Macintosh 74 @ 118
 4: Apple_Driver_ATA*Macintosh 54 @ 192
 5: Apple_Driver_ATA*Macintosh 74 @ 246
 6: Apple_FWDriver Macintosh 200 @ 320
 7: Apple_Driver_IOKit Macintosh 512 @ 520
 8: Apple_Patches Patch Partition 512 @ 1032
 9: Apple_HFS "Macintosh HD" 20480000 @ 1544 ( 9.8G)
10: Apple_Bootstrap untitled 40961 @ 20481544 ( 20.0M)
11: Apple_UNIX_SVR2 swap 524289 @ 20522505 (256.0M)
12: Apple_UNIX_SVR2 untitled 37586550 @ 21046794 ( 17.9G)

The entry that you are interested in above is # 9 (the HFS partition). Thus,
in my case the Mac OS partition is /dev/hda9.

If you don't see any HFS partitions on /dev/hda, quit pdisk by typing:

        q (hit return)
        

and restart by trying:

        pdisk /dev/hdb

Repeat the above steps until you find the partition where Mac OS is installed.

-- Avinash Gupta (agupta@mediaone.net)

On Tuesday 01 January 2002 09:13, you wrote:
> Avinash,
>
> Thank you for your patience with my learning curve ;-))
>
> OK, logged in as [root] I input the command ...'cat /proc/scsi/scsi'
> and the result is: attached devices: none
> As far as the Sonnet card, yes this is the card that the 3 Mac HFS+
> drives are attached to.
> CL
>
> Avinash Gupta wrote:
> > Open a console window in KDE and type 'cat /proc/scsi/scsi' ... what is
> > the output you see on the screen? I am trying to find out if your SCSI
> > drives are visible under linux ... if yes, then you should see some
> > output with the above command. BTW, is the Sonnet PCI card your SCSI
> > card?
> >
> > -- Avinash Gupta (agupta@mediaone.net)
> >
> > On Tuesday 01 January 2002 07:56, you wrote:
> > > Avinash,
> > >
> > > I do not know what you mean. Remember I'm
> > > just starting, VERY green. Please explain.
> > >
> > > Thank you
> > > CL
> > >
> > > Avinash Gupta wrote:
> > > > What is the output you get when you do a?:
> > > > cat /proc/scsi/scsi
> > > >
> > > > -- Avinash Gupta (agupta@mediaone.net)
> > > >
> > > > On Tuesday 01 January 2002 06:58, you wrote:
> > > > > Hi and thanks for responding to both Gordon and Avinash,
> > > > >
> > > > > I've spent the last couple of hours since Avinash
> > > > > responded to my first message trying to do what he suggested.
> > > > >
> > > > > Here is what happened:
> > > > >
> > > > > When I figured out how to get into and use the Konsole in KDE
> > > > > (took awhile to figure out how to log in as root)
> > > > > I tried to append the " /etc/yaboot.conf " to include the
> > > > > "macos=" line that Avinash suggested. Then it took a while to
> > > > > figure out how to re-run the "ybin" from the command prompt. (I'm
> > > > > really green, here)
> > > > >
> > > > > Each time I ran the"ybin" I got an error, that told me in effect:
> > > > > "Put in the correct path to ther device or I can do nothing to help
> > > > > you".
> > > > >
> > > > > Here is the info that I used to append the /etc/yboot.conf file
> > > > > with:
> > > > >
> > > > > macos=/dev/sda1
> > > > > macos=/dev/sda1a
> > > > >
> > > > > As you see I'm guessing since, although I know where the device is
> > > > > in MAC OS terms (see system info below) but not in Linux/Unix
> > > > > terminology. I know that there two positions on the SCSI card, and
> > > > > 3 drives. The drive/ partition that I want to use as the Mac OS is
> > > > > named "darwin-finity". note: I do have a duplicate of that system
> > > > > on the the partition "darwin-bkup"
> > > > >
> > > > > that I hope is not causing confusion. (I COULD dump it).
> > > > >
> > > > > So... with the error that I received, I finally deleted the
> > > > > "macos=" line from
> > > > > yaboot.conf and re-ran 'ybin' and received no error before shutting
> > > > > down YDL to come back to MAC. in other words restored the original
> > > > > file to original state.
> > > > >
> > > > > I need to figure out the "address" of the drive and partition that
> > > > > MacOS resides, to feed into the file in the correct format, before
> > > > > I try your suggestion
> > > > > Gordon, I think. If either you or Avinash can give me a better idea
> > > > > of what to call the path, from the info supplied below that would
> > > > > be a GREAT help. thanks again
> > > > >
> > > > > CL
> > > > >
> > > > > Gordon Neault wrote:
> > > > > > When you startup via GUI Open Firmware, can you select the MacOS
> > > > > > partition that way? (hold "option" key on startup).
> > > > > > If so, then it's a bootloader configuration thing. If not,
> > > > > > something's wrong with MacOS (partition map?).
> > > > > >
> > > > > > On Tuesday, January 1, 2002, at 11:35 AM, C.L. Simco wrote:
> > > > > > > Hi, and thanks for the help in advance....
> > > > > > >
> > > > > > > I installed YDL 2.1 successfully, by itself, on one of
> > > > > > > the drives in my system. (see Sys Configuration below).
> > > > > > > I did not however, place a Mac system on this disk, as I
> > > > > > > have a Mac system on ANOTHER disk. I am under the
> > > > > > > impression from reading the "Getting Started w/ YDL"
> > > > > > > book, that this is possible though the book did not go into
> > > > > > > detail to accomplish this. I am new to Linux/ Unix and am
> > > > > > > proceeding cautiously until I have a better understanding of
> > > > > > > the console and commands (VERY new to me).
> > > > > > >
> > > > > > > CURRENT SITUATION:
> > > > > > >
> > > > > > > I can start up in YDL, move around and configure in KDE.
> > > > > > > I can shut down in YDL.
> > > > > > > I do not, on startup, have the option of starting in the Mac
> > > > > > > environment
> > > > > > >
> > > > > > > from the startup prompt (no "M" is displayed). I cannot find
> > > > > > > MOL though I installed an "Everything" package.
> > > > > > >
> > > > > > > In order to switch to Mac, I have to Exit YDL, shut down,
> > > > > > > disconnect the YDL drive, then restart (oddly since the YDL
> > > > > > > installation it now takes
> > > > > > > longer by nearly 2 min to start MAC. Seems to hang at the
> > > > > > > screen w/ the first appearance of the cursor).
> > > > > > >
> > > > > > > I would like to be able to configure YDL to have the Mac, YDL,
> > > > > > > MOL startup options, recognizing Mac on the other disk, if this
> > > > > > > is possible.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > ---SYSTEM CONFIGURATION---
> > > > > > >
> > > > > > > ==B+W G3-300
> > > > > > > ==System: Mac OS 8.6
> > > > > > > ==704 MB Ram
> > > > > > > ==Virtual memory: off
> > > > > > >
> > > > > > > ==+CD Drive ATA 0 ID =0
> > > > > > > ==+ Iomega Zip ATA0 ID=1
> > > > > > >
> > > > > > > ===+= 6 Gig Quantum HD - Internal ATA1 ID=0 (to motherboard)
> > > > > > > Partitions: 1 - Format HFS
> > > > > > > Name: YDL
> > > > > > > Jumpered: Default (Master) Current YDL
> > > > > > > Installation
> > > > > > >
> > > > > > > =+ Sonnet PCI card
> > > > > > >
> > > > > > > ===+= 40 Gig Quantum HD - SCSI Bus1 ID=0
> > > > > > > Partitions: 2 - Format HFS+
> > > > > > > Jumpered: Cable Select
> > > > > > > ======+=Partition 1
> > > > > > > Name: Darwin-finity- Currently used for
> > > > > > > Primary Mac OS 8.6
> > > > > > > ======+=Partition 2
> > > > > > > Name: Darwin-bkup- Intended for FUTURE MAC
> > > > > > > OS 9 - OS X install/
> > > > > > > Backup of current system /
> > > > > > > storage
> > > > > > >
> > > > > > > ===+= 20 Gig Quantum HD - SCSI Bus1 ID=1
> > > > > > > Partitions: 1 - Format HFS+
> > > > > > > Name: andbeond
> > > > > > > Jumpered: Default (Master) Currently used for
> > > > > > > Applications
> > > > > > >
> > > > > > > ===+= 30 Gig Quantum HD - SCSI Bus1 ID=2
> > > > > > > Partitions: 1 - Format HFS+
> > > > > > > Name: quantum
> > > > > > > Jumpered: Default (Master) Currently used for
> > > > > > > Scratch Disk/ Storage
> > > > > > >
> > > > > > >
> > > > > > > Thanks again and a better NEW YEAR to all,
> > > > > > >
> > > > > > > CL
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > THE WISDOM OF WILL ROGERS
> > > > > > > "There are three kinds of men. The one that
> > > > > > > learns by reading. The few who learn by
> > > > > > > observation. The rest of them have to pee
> > > > > > > on the electric fence for themselves."



This archive was generated by hypermail 2a24 : Tue Jan 01 2002 - 22:10:12 MST