Problems booting FC3 on G3 iBook after NFS Install

P Cieslar pcieslar at cwgsy.net
Fri Apr 8 04:17:03 UTC 2005


Hello.

I have installed FC3 via NFS on a G3 ibook, which i intend to dual boot 
with OSX.  I partitioned the drive, OSX boots fine.  I also have an 
Apple BootStrap partition, an ext3 partition and a swap partition.

I used "linux text" to begin the installation, 25 minutes later I got a 
prompt to reboot.  I rebooted, OSX booted.  I used the boot disc to take 
me back to anaconda, then switched to shell.

After typing "parted /dev/hda print" i received the following results:
--

Using /dev/hda
(parted) print
Disk geometry for /dev/hda: 0.000-28615.781 megabytes
Disk label type: mac
Minor    Start       End     Filesystem  Name                  Flags
1          0.000      0.031              Apple
2          0.031      0.058              Macintosh
3          0.059      0.085              Macintosh
4          0.086      0.113              Macintosh
5          0.113      0.140              Macintosh
6          0.141      0.390              Macintosh
7          0.391      0.640              Macintosh
8          0.641      0.890              Patch Partition
12         0.891      1.890  hfs         untitled              boot
10       128.891   20480.890  hfs         Apple_HFS_Untitled_3
9       20480.891  28180.890  ext3        untitled
11     28180.891  28614.890  linux-swap  swap                  swap
--

I follow this with the command "yabootconfig -r //dev/hda9/ -b //dev/hda12/ --kernel /boot/vmlinuz-* --initrd /boot/initrd-*" 
which results in the error:
--
id: unknown group name: 0
/mnt/sysimage/sbin/yabootconfig: line 455: [: !=: unary operator expected
yabootconfig: / does not appear to be a valid root filesystem
--

I then try:
--
# chroot /mnt/sysimage
# /sbin/yabootconfig -r /dev/hda9 -b /dev/hda12 --kernel /boot/vmlinuz-* 
--initrd /boot/initrd-*
--
which completes successfully, but system still boots into OSX.

I load the boot disc again, go to a prompt.
--
# mount /dev/hda9 /mnt/sysimage
# chroot /mnt/sysimage
# cat /etc/yaboot.conf
boot=/dev/hda12
device=pci at f2000000/mac-io at 17/ata-4 at 1f000/disk at o:
init-message=Welcome to Fedora Core\!
Hit <TAB> for boot options.

partition=9
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot
default=Linux
defaultos=linux

image=//boot/vmlinuz-2.6.9-1.667
             label=Linux
             root=/dev/hda9
             read-only
             initrd=//boot/initrd-2.6.9-1.667.img
--

Any help appreciated.

Paul C




More information about the ppc mailing list