Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-ppc-user
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-ppc-user@g.o
From: Joe Fox <jwfoxjr@...>
Subject: Re: Re: New install - Unable to get my ppc Mac Mini to boot the root partition
Date: Tue, 31 Aug 2010 15:17:33 -0400
Mark,<br><br>Can you post your /etc/fstab?  I just want to give it a once over.<br><br>Thanks.<br><br clear="all">Joe Fox<br>Systems/Network Administrator<br><br>Mobile# (716) 846-9308<br><a href="http://twitter.com/JWFoxJr">http://twitter.com/JWFoxJr</a><br>


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

<div><div></div><div class="h5">On Tue, Aug 31, 2010 at 12:07 PM, Mark Knecht &lt;<a href="mailto:markknecht@...">markknecht@...</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;   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<br>
&gt; machine will never work again or if it&#39;s just some problem I&#39;m having.<br>
&gt;<br>
&gt;   In these rebuiilds I went the direction of completely wiping the<br>
&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<br>
&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;   When I attempt to boot the system finds the kernel, does all the<br>
&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<br>
&gt; is wrong, not ext2, and quits.<br>
&gt;<br>
&gt;   I don&#39;t understand how the partition can be incorrect if it&#39;s good<br>
&gt; enough to find the kernel to boot.<br>
&gt;<br>
&gt;   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;        #                    type name                  length   base<br>
&gt;    ( size )  system<br>
&gt; /dev/hda1     Apple_partition_map Apple                     63 @ 1<br>
&gt;    ( 31.5k)  Partition map<br>
&gt; /dev/hda2         Apple_Bootstrap bootstrap               1600 @ 64<br>
&gt;    (800.0k)  NewWorld bootblock<br>
&gt; /dev/hda3         Apple_UNIX_SVR2 swap                 2097152 @ 1664<br>
&gt;    (  1.0G)  Linux swap<br>
&gt; /dev/hda4         Apple_UNIX_SVR2 root               154202672 @<br>
&gt; 2098816   ( 73.5G)  Linux native<br>
&gt;<br>
&gt; Block size=512, Number of Blocks=156301488<br>
&gt; DeviceType=0x0, DeviceId=0x0<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=&quot;(chroot) $PS1&quot;<br>
&gt; (chroot) livecd / # ls -al /boot/<br>
&gt; total 5064<br>
&gt; drwxr-xr-x  2 root root    4096 Aug 28 16:51 .<br>
&gt; drwxr-xr-x 19 root root    4096 Aug 31 10:17 ..<br>
&gt; -rw-r--r--  1 root root       0 Aug 22 03:50 .keep<br>
&gt; lrwxrwxrwx  1 root root       1 Aug 28 15:23 boot -&gt; .<br>
&gt; -rwxr-xr-x  1 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 until you have!!<br>
&gt; ##<br>
&gt; ## For a dual-boot menu, add one or more of:<br>
&gt; ## bsd=/dev/hdaX, macos=/dev/hdaY, macosx=/dev/hdaZ<br>
&gt;<br>
&gt; boot=/dev/hda2<br>
&gt; device=/pci@f4000000/ata-6@d/disk@0:<br>
&gt; partition=4<br>
&gt; root=/dev/hda4<br>
&gt; timeout=30<br>
&gt; install=/usr/lib/yaboot/yaboot<br>
&gt; magicboot=/usr/lib/yaboot/ofboot<br>
&gt;<br>
&gt; image=/boot/kernel-2.6.34-gentoo-r1<br>
&gt;        label=Linux<br>
&gt;        read-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="#888888"><br>
- Mark<br>
<br>
</font></blockquote></div><br>
Replies:
Re: Re: New install - Unable to get my ppc Mac Mini to boot the root partition
-- Mark Knecht
References:
New install - Unable to get my ppc Mac Mini to boot the root partition
-- Mark Knecht
Re: New install - Unable to get my ppc Mac Mini to boot the root partition
-- Mark Knecht
Navigation:
Lists: gentoo-ppc-user: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: New install - Unable to get my ppc Mac Mini to boot the root partition
Next by thread:
Re: Re: New install - Unable to get my ppc Mac Mini to boot the root partition
Previous by date:
Re: New install - Unable to get my ppc Mac Mini to boot the root partition
Next by date:
Re: Re: New install - Unable to get my ppc Mac Mini to boot the root partition


Updated Oct 31, 2011

Summary: Archive of the gentoo-ppc-user mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.