public inbox for gentoo-ppc-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-ppc-user] New install - Unable to get my ppc Mac Mini to boot the root partition
@ 2010-08-31 19:07 Mark Knecht
  2010-08-31 19:13 ` [gentoo-ppc-user] " Mark Knecht
  0 siblings, 1 reply; 15+ messages in thread
From: Mark Knecht @ 2010-08-31 19:07 UTC (permalink / raw
  To: gentoo-ppc-user

Hi all,
   I have a Mac Mini that I've used for the last couple of years. I
was trying to get it up to date but at some point it failed with a
message about the main root partition not being an ext2 filesystem. I
took the opportunity to rebuild the machine from scratch, at this
point twice, but I continue to get the same message. I'm trying to
determine if something about the machine is completely hosed and the
machine will never work again or if it's just some problem I'm having.

   In these rebuiilds I went the direction of completely wiping the
hard drive and starting from scratch. I used mac-fdisk, hit 'i', had
only the Apple partition map, and then created the next 3 partitions
as per the install guide. The installs (both of them) went cleanly and
I didn't seem to have any problems running yabootconfig as far as I
can tell. No complaints from the software except for my typing a path
to the kernel incorrectly a couple of times. Once I got that right it
seemed to finish and created the yaboot.conf file below.

   When I attempt to boot the system finds the kernel, does all the
early boot stuff, says it finds /dev/hda and /dev/hda, then it starts
the init stuff with the green '*' and [OK] on the right until it wants
to mount the root partition. At that point it tells me the partition
is wrong, not ext2, and quits.

   I don't understand how the partition can be incorrect if it's good
enough to find the kernel to boot.

   Can someone set me right on what I might be doing incorrectly here.
If the info below isn't enough let me know what you need.

Thanks,
Mark


livecd ~ # mac-fdisk /dev/hda
/dev/hda
Command (? for help): p
/dev/hda
        #                    type name                  length   base
    ( size )  system
/dev/hda1     Apple_partition_map Apple                     63 @ 1
    ( 31.5k)  Partition map
/dev/hda2         Apple_Bootstrap bootstrap               1600 @ 64
    (800.0k)  NewWorld bootblock
/dev/hda3         Apple_UNIX_SVR2 swap                 2097152 @ 1664
    (  1.0G)  Linux swap
/dev/hda4         Apple_UNIX_SVR2 root               154202672 @
2098816   ( 73.5G)  Linux native

Block size=512, Number of Blocks=156301488
DeviceType=0x0, DeviceId=0x0

Command (? for help): q
livecd ~ #

livecd ~ # mount /dev/hda4 /mnt/gentoo/
livecd ~ # mount -t proc none /mnt/gentoo/proc
livecd ~ # mount -o bind /dev /mnt/gentoo/dev
livecd ~ # chroot /mnt/gentoo /bin/bash
livecd / # env-update
>>> Regenerating /etc/ld.so.cache...
livecd / # source /etc/profile
livecd / # export PS1="(chroot) $PS1"
(chroot) livecd / # ls -al /boot/
total 5064
drwxr-xr-x  2 root root    4096 Aug 28 16:51 .
drwxr-xr-x 19 root root    4096 Aug 31 10:17 ..
-rw-r--r--  1 root root       0 Aug 22 03:50 .keep
lrwxrwxrwx  1 root root       1 Aug 28 15:23 boot -> .
-rwxr-xr-x  1 root root 5195929 Aug 31 09:31 kernel-2.6.34-gentoo-r1
(chroot) livecd / #

(chroot) livecd / # cat /etc/yaboot.conf
## yaboot.conf generated by yabootconfig 1.0.8
##
## run: "man yaboot.conf" for details. Do not make changes until you have!!
##
## For a dual-boot menu, add one or more of:
## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ

boot=/dev/hda2
device=/pci@f4000000/ata-6@d/disk@0:
partition=4
root=/dev/hda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.34-gentoo-r1
        label=Linux
        read-only
(chroot) livecd / #



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2010-09-23 12:07 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-31 19:07 [gentoo-ppc-user] New install - Unable to get my ppc Mac Mini to boot the root partition Mark Knecht
2010-08-31 19:13 ` [gentoo-ppc-user] " Mark Knecht
2010-08-31 19:17   ` Joe Fox
2010-08-31 19:31     ` Mark Knecht
2010-08-31 20:50       ` Joe Fox
2010-08-31 21:35         ` Mark Knecht
2010-09-02 21:55           ` Mark Knecht
2010-09-02 23:31             ` Enlightened User
2010-09-03 12:42               ` Joe Fox
2010-09-03 13:38               ` Mark Knecht
2010-09-03 21:42                 ` Enlightened User
2010-09-03 22:15                   ` [gentoo-ppc-user] Unsubscribe!!! Dr John Krane
2010-09-23 12:00                     ` Dr John Krane
2010-09-03 22:48                   ` [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition Mark Knecht
2010-09-03 23:43                     ` Mark Knecht

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox