On Tue, Jul 09, 2002 at 04:31:05PM -0500, Kent West wrote:
> I've been fighting to get Debian installed on a Blue & White G3 for 
> several days, and after finally brute-forcing my way through the 
> OpenFirmware prompt ("boot hd:x,yaboot" didn't work -- had to resort to 
> "boot ide0/@0:x") have made it through the installation.
> 
> However, at the "Make system bootable" stage, yabootconfig fails. So I 
> popped into the second VT and ran "yabootconfig" manually. It failed 
> also, reporting that it "Could not determine root partition, aborting".

How did it fail?
> 
> I looked for /etc/yaboot.conf, and the file does not exist.
> 

Because in the installer environment, it's at /target/etc/yaboot.conf

> My partition scheme looks like (using /dev/hde):

Hmmm, maybe that's why hd: wouldn't work; hd: probably maps to /dev/hda
not /dev/hde

> /dev/hde1 
> Apple_partition_map 
> Apple 
> 
> /dev/hde2 
> Apple_Driver_ATA 
> Macintosh
> /dev/hde3 
> Apple_Driver_ATA 
> Macintosh
> /dev/hde4 
> Apple_Driver_IOKit 
> Macintosh
> /dev/hde5     Apple_Patches           Patch Partition
> /dev/hde6     Apple_Bootstrap         bootstrap
> /dev/hde7 
> Apple_UNIX_SVR2 
>       / 
>       75MB
> /dev/hde8 
> Apple_UNIX_SVR2 
>       /tmp            25MB
> /dev/hde9 
> Apple_UNIX_SVR2 
>       /usr            1400MB
> /dev/hde10 
> Apple_UNIX_SVR2 
>       /var            250MB
> /dev/hde11 
> Apple_UNIX_SVR2 
>       /home           165MB
> /dev/hde12 
> Apple_UNIX_SVR2 
>       swap            132MB
> /dev/hde13 
> Apple_HFS 
>       untitled 1      100MB
> /dev/hde14 
> Apple_HFS 
>       untitled 2      3.9G
> /dev/hde15 
> Apple_Free 
>       Extra           5MB
> 
> Any ideas?
> 
> Thanks!

It's probably failing for the same reason your boot attempts failed. 
Notice the ide0: below, is probably hd: in your config.

Out of curiosity, what else is on your ide controller (hda through
hdd)? Could you post the interesting parts of both devalias and 

dev / ls 

executed in OF (spaces are significant)?

Your /target/etc/yaboot.conf should have something like

boot=/dev/hde6
device=ide0:
timeout=50
fgcolor=light-cyan
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
macos=/dev/hde14
macosx=/dev/hde15

image=/vmlinux
        label=Linux
        read-only
        partition=7
        root=/dev/hde7

# Don't forget to run ybin!

The last line is a comment I put in my yaboot.conf to remind myself. And 
that's the next step, within the installer environment use

chroot /target ybin -v

Remember, if you haven't installed OSX yet (I'm assuming that's what
that free space is for), then you will have to boot back into the
installer and run ybin again in order to fix up its mess after it
finishes its install.


-- 
*------v--------- Installing Debian GNU/Linux 3.0 --------v------*
|      <http://www.debian.org/releases/woody/installmanual>      |
|   debian-imac (potato): <http://debian-imac.sourceforge.net>   |
|            Chris Tillman        [EMAIL PROTECTED]          |
|                   May the Source be with you                   |
*----------------------------------------------------------------*


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to