From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org)
	by finch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-ppc-user+bounces-655-garchives=archives.gentoo.org@lists.gentoo.org>)
	id 1OqWLQ-0003Y8-D5
	for garchives@archives.gentoo.org; Tue, 31 Aug 2010 19:18:10 +0000
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 71FF1E0C19;
	Tue, 31 Aug 2010 19:17:54 +0000 (UTC)
Received: from mail-fx0-f53.google.com (mail-fx0-f53.google.com [209.85.161.53])
	by pigeon.gentoo.org (Postfix) with ESMTP id 18881E0C19
	for <gentoo-ppc-user@lists.gentoo.org>; Tue, 31 Aug 2010 19:17:53 +0000 (UTC)
Received: by fxm15 with SMTP id 15so5084172fxm.40
        for <gentoo-ppc-user@lists.gentoo.org>; Tue, 31 Aug 2010 12:17:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=gamma;
        h=domainkey-signature:received:mime-version:received:in-reply-to
         :references:from:date:message-id:subject:to:content-type;
        bh=McZDVkMCt/sNe/3V10P6w66WA4aVlQlNoMzcfZ95Dq0=;
        b=LgJFSQjUUxPWTojeschbry0FXr1ravbt3oZ6qLLn/MbhwyG5JsYuBvxhvDZtx+pXKO
         k5BEBujYHF4Owvjd8p6QmvL8o5e9b8TBy3ZOARbu55nJ/js58NbkFft+fRiHb6hp6wOn
         akbER1Skafk7hLmRW96f1AplAIn9Hr5IWa+Js=
DomainKey-Signature: a=rsa-sha1; c=nofws;
        d=gmail.com; s=gamma;
        h=mime-version:in-reply-to:references:from:date:message-id:subject:to
         :content-type;
        b=BN3RxJqpJguGCnHKk6OMrwwYzpwW9cFkv2nQYt1aO4AOxxM1sK3tTWQD5OJMlwSFoJ
         2kIjGmygsutv5kurXEClGZdkU+TCXXiAcUWhjZKDExG0s5UmwrbnJ7QZtgfuSMl/xZeA
         9606ymhC/yTWmIPoxbX6jSdQnbb6y5zdMeTzU=
Received: by 10.239.130.208 with SMTP id 16mr426570hbk.73.1283282273205; Tue,
 31 Aug 2010 12:17:53 -0700 (PDT)
Precedence: bulk
List-Post: <mailto:gentoo-ppc-user@lists.gentoo.org>
List-Help: <mailto:gentoo-ppc-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-ppc-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-ppc-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-ppc-user.gentoo.org>
X-BeenThere: gentoo-ppc-user@lists.gentoo.org
Reply-to: gentoo-ppc-user@lists.gentoo.org
MIME-Version: 1.0
Received: by 10.239.156.143 with HTTP; Tue, 31 Aug 2010 12:17:33 -0700 (PDT)
In-Reply-To: <AANLkTikwLGrof697fAKWAQ4bfxpCTR7cdtrkAaHSVWyj@mail.gmail.com>
References: <AANLkTi=t9C_ji_fEzxSRUavOzQ_ejcUoENy3j5XTBLWo@mail.gmail.com> <AANLkTikwLGrof697fAKWAQ4bfxpCTR7cdtrkAaHSVWyj@mail.gmail.com>
From: Joe Fox <jwfoxjr@gmail.com>
Date: Tue, 31 Aug 2010 15:17:33 -0400
Message-ID: <AANLkTinWZdujyQzf=TRgGxyfFuYV4sb_pkGDEakh_Hu7@mail.gmail.com>
Subject: Re: [gentoo-ppc-user] Re: New install - Unable to get my ppc Mac Mini
 to boot the root partition
To: gentoo-ppc-user@lists.gentoo.org
Content-Type: multipart/alternative; boundary=0016363b9e6e0a8034048f237072
X-Archives-Salt: 74b3cc4d-b3ad-4b1b-9e65-ccac57273aab
X-Archives-Hash: 56fd1527b6ebe60473856e8481e2e549

--0016363b9e6e0a8034048f237072
Content-Type: text/plain; charset=ISO-8859-1

Mark,

Can you post your /etc/fstab?  I just want to give it a once over.

Thanks.

Joe Fox
Systems/Network Administrator

Mobile# (716) 846-9308
http://twitter.com/JWFoxJr


On Tue, Aug 31, 2010 at 3:13 PM, Mark Knecht <markknecht@gmail.com> wrote:

> 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
>
>

--0016363b9e6e0a8034048f237072
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Mark,<br><br>Can you post your /etc/fstab?=A0 I just want to give it a once=
 over.<br><br>Thanks.<br><br clear=3D"all">Joe Fox<br>Systems/Network Admin=
istrator<br><br>Mobile# (716) 846-9308<br><a href=3D"http://twitter.com/JWF=
oxJr">http://twitter.com/JWFoxJr</a><br>


<br><br><div class=3D"gmail_quote">On Tue, Aug 31, 2010 at 3:13 PM, Mark Kn=
echt <span dir=3D"ltr">&lt;<a href=3D"mailto:markknecht@gmail.com">markknec=
ht@gmail.com</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" sty=
le=3D"margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204);=
 padding-left: 1ex;">

<div><div></div><div class=3D"h5">On Tue, Aug 31, 2010 at 12:07 PM, Mark Kn=
echt &lt;<a href=3D"mailto:markknecht@gmail.com">markknecht@gmail.com</a>&g=
t; wrote:<br>
&gt; Hi all,<br>
&gt; =A0 I have a Mac Mini that I&#39;ve used for the last couple of years.=
 I<br>
&gt; was trying to get it up to date but at some point it failed with a<br>
&gt; message about the main root partition not being an ext2 filesystem. I<=
br>
&gt; took the opportunity to rebuild the machine from scratch, at this<br>
&gt; point twice, but I continue to get the same message. I&#39;m trying to=
<br>
&gt; determine if something about the machine is completely hosed and the<b=
r>
&gt; machine will never work again or if it&#39;s just some problem I&#39;m=
 having.<br>
&gt;<br>
&gt; =A0 In these rebuiilds I went the direction of completely wiping the<b=
r>
&gt; hard drive and starting from scratch. I used mac-fdisk, hit &#39;i&#39=
;, had<br>
&gt; only the Apple partition map, and then created the next 3 partitions<b=
r>
&gt; as per the install guide. The installs (both of them) went cleanly and=
<br>
&gt; I didn&#39;t seem to have any problems running yabootconfig as far as =
I<br>
&gt; can tell. No complaints from the software except for my typing a path<=
br>
&gt; to the kernel incorrectly a couple of times. Once I got that right it<=
br>
&gt; seemed to finish and created the yaboot.conf file below.<br>
&gt;<br>
&gt; =A0 When I attempt to boot the system finds the kernel, does all the<b=
r>
&gt; early boot stuff, says it finds /dev/hda and /dev/hda, then it starts<=
br>
&gt; the init stuff with the green &#39;*&#39; and [OK] on the right until =
it wants<br>
&gt; to mount the root partition. At that point it tells me the partition<b=
r>
&gt; is wrong, not ext2, and quits.<br>
&gt;<br>
&gt; =A0 I don&#39;t understand how the partition can be incorrect if it&#3=
9;s good<br>
&gt; enough to find the kernel to boot.<br>
&gt;<br>
&gt; =A0 Can someone set me right on what I might be doing incorrectly here=
.<br>
&gt; If the info below isn&#39;t enough let me know what you need.<br>
&gt;<br>
&gt; Thanks,<br>
&gt; Mark<br>
&gt;<br>
&gt;<br>
&gt; livecd ~ # mac-fdisk /dev/hda<br>
&gt; /dev/hda<br>
&gt; Command (? for help): p<br>
&gt; /dev/hda<br>
&gt; =A0 =A0 =A0 =A0# =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0type name =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0length =A0 base<br>
&gt; =A0 =A0( size ) =A0system<br>
&gt; /dev/hda1 =A0 =A0 Apple_partition_map Apple =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 63 @ 1<br>
&gt; =A0 =A0( 31.5k) =A0Partition map<br>
&gt; /dev/hda2 =A0 =A0 =A0 =A0 Apple_Bootstrap bootstrap =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 1600 @ 64<br>
&gt; =A0 =A0(800.0k) =A0NewWorld bootblock<br>
&gt; /dev/hda3 =A0 =A0 =A0 =A0 Apple_UNIX_SVR2 swap =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 =A0 2097152 @ 1664<br>
&gt; =A0 =A0( =A01.0G) =A0Linux swap<br>
&gt; /dev/hda4 =A0 =A0 =A0 =A0 Apple_UNIX_SVR2 root =A0 =A0 =A0 =A0 =A0 =A0=
 =A0 154202672 @<br>
&gt; 2098816 =A0 ( 73.5G) =A0Linux native<br>
&gt;<br>
&gt; Block size=3D512, Number of Blocks=3D156301488<br>
&gt; DeviceType=3D0x0, DeviceId=3D0x0<br>
&gt;<br>
&gt; Command (? for help): q<br>
&gt; livecd ~ #<br>
&gt;<br>
&gt; livecd ~ # mount /dev/hda4 /mnt/gentoo/<br>
&gt; livecd ~ # mount -t proc none /mnt/gentoo/proc<br>
&gt; livecd ~ # mount -o bind /dev /mnt/gentoo/dev<br>
&gt; livecd ~ # chroot /mnt/gentoo /bin/bash<br>
&gt; livecd / # env-update<br>
&gt;&gt;&gt;&gt; Regenerating /etc/ld.so.cache...<br>
&gt; livecd / # source /etc/profile<br>
&gt; livecd / # export PS1=3D&quot;(chroot) $PS1&quot;<br>
&gt; (chroot) livecd / # ls -al /boot/<br>
&gt; total 5064<br>
&gt; drwxr-xr-x =A02 root root =A0 =A04096 Aug 28 16:51 .<br>
&gt; drwxr-xr-x 19 root root =A0 =A04096 Aug 31 10:17 ..<br>
&gt; -rw-r--r-- =A01 root root =A0 =A0 =A0 0 Aug 22 03:50 .keep<br>
&gt; lrwxrwxrwx =A01 root root =A0 =A0 =A0 1 Aug 28 15:23 boot -&gt; .<br>
&gt; -rwxr-xr-x =A01 root root 5195929 Aug 31 09:31 kernel-2.6.34-gentoo-r1=
<br>
&gt; (chroot) livecd / #<br>
&gt;<br>
&gt; (chroot) livecd / # cat /etc/yaboot.conf<br>
&gt; ## yaboot.conf generated by yabootconfig 1.0.8<br>
&gt; ##<br>
&gt; ## run: &quot;man yaboot.conf&quot; for details. Do not make changes u=
ntil you have!!<br>
&gt; ##<br>
&gt; ## For a dual-boot menu, add one or more of:<br>
&gt; ## bsd=3D/dev/hdaX, macos=3D/dev/hdaY, macosx=3D/dev/hdaZ<br>
&gt;<br>
&gt; boot=3D/dev/hda2<br>
&gt; device=3D/pci@f4000000/ata-6@d/disk@0:<br>
&gt; partition=3D4<br>
&gt; root=3D/dev/hda4<br>
&gt; timeout=3D30<br>
&gt; install=3D/usr/lib/yaboot/yaboot<br>
&gt; magicboot=3D/usr/lib/yaboot/ofboot<br>
&gt;<br>
&gt; image=3D/boot/kernel-2.6.34-gentoo-r1<br>
&gt; =A0 =A0 =A0 =A0label=3DLinux<br>
&gt; =A0 =A0 =A0 =A0read-only<br>
&gt; (chroot) livecd / #<br>
&gt;<br>
<br>
</div></div>The messages on the screen when trying to boot are:<br>
<br>
* Checking root filesystem<br>
ext2fs_check_if_mount: Can&#39;t check if filesystem is mounted due to<br>
missing mtab file while determining whether /dev/da4 is mounted.<br>
fsck.ext3: No such file or directory while trying to open /dev/hda4<br>
/dev/hda4:<br>
The superblock could not be read or does not describe a correct ext2<br>
filesystem.<br>
&lt;snip&gt;<br>
<br>
* Filesystem couldn&#39;t be fixed. :(<br>
<font color=3D"#888888"><br>
- Mark<br>
<br>
</font></blockquote></div><br>

--0016363b9e6e0a8034048f237072--