From: Mark Knecht <markknecht@gmail.com>
To: gentoo-ppc-user@lists.gentoo.org
Subject: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini to boot the root partition
Date: Tue, 31 Aug 2010 12:13:40 -0700 [thread overview]
Message-ID: <AANLkTikwLGrof697fAKWAQ4bfxpCTR7cdtrkAaHSVWyj@mail.gmail.com> (raw)
In-Reply-To: <AANLkTi=t9C_ji_fEzxSRUavOzQ_ejcUoENy3j5XTBLWo@mail.gmail.com>
On Tue, Aug 31, 2010 at 12:07 PM, Mark Knecht <markknecht@gmail.com> wrote:
> 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 / #
>
The messages on the screen when trying to boot are:
* Checking root filesystem
ext2fs_check_if_mount: Can't check if filesystem is mounted due to
missing mtab file while determining whether /dev/da4 is mounted.
fsck.ext3: No such file or directory while trying to open /dev/hda4
/dev/hda4:
The superblock could not be read or does not describe a correct ext2
filesystem.
<snip>
* Filesystem couldn't be fixed. :(
- Mark
next prev parent reply other threads:[~2010-08-31 19:13 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
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 ` Mark Knecht [this message]
2010-08-31 19:17 ` [gentoo-ppc-user] " 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTikwLGrof697fAKWAQ4bfxpCTR7cdtrkAaHSVWyj@mail.gmail.com \
--to=markknecht@gmail.com \
--cc=gentoo-ppc-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox