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