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 ) 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 ; Tue, 31 Aug 2010 19:17:53 +0000 (UTC) Received: by fxm15 with SMTP id 15so5084172fxm.40 for ; 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: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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: References: From: Joe Fox Date: Tue, 31 Aug 2010 15:17:33 -0400 Message-ID: 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 wrote: > On Tue, Aug 31, 2010 at 12:07 PM, Mark Knecht > 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. > > > * Filesystem couldn't be fixed. :( > > - Mark > > --0016363b9e6e0a8034048f237072 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mark,

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

Thanks.

Joe Fox
Systems/Network Admin= istrator

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


On Tue, Aug 31, 2010 at 3:13 PM, Mark Kn= echt <markknec= ht@gmail.com> wrote:
On Tue, Aug 31, 2010 at 12:07 PM, Mark Kn= echt <markknecht@gmail.com&g= t; wrote:
> Hi all,
> =A0 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<= br> > 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.
>
> =A0 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<= 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.
>
> =A0 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<= br> > 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.
>
> =A0 I don't understand how the partition can be incorrect if it= 9;s good
> enough to find the kernel to boot.
>
> =A0 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
> =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
> =A0 =A0( size ) =A0system
> /dev/hda1 =A0 =A0 Apple_partition_map Apple =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 63 @ 1
> =A0 =A0( 31.5k) =A0Partition map
> /dev/hda2 =A0 =A0 =A0 =A0 Apple_Bootstrap bootstrap =A0 =A0 =A0 =A0 = =A0 =A0 =A0 1600 @ 64
> =A0 =A0(800.0k) =A0NewWorld bootblock
> /dev/hda3 =A0 =A0 =A0 =A0 Apple_UNIX_SVR2 swap =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 2097152 @ 1664
> =A0 =A0( =A01.0G) =A0Linux swap
> /dev/hda4 =A0 =A0 =A0 =A0 Apple_UNIX_SVR2 root =A0 =A0 =A0 =A0 =A0 =A0= =A0 154202672 @
> 2098816 =A0 ( 73.5G) =A0Linux native
>
> Block size=3D512, Number of Blocks=3D156301488
> DeviceType=3D0x0, DeviceId=3D0x0
>
> 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=3D"(chroot) $PS1"
> (chroot) livecd / # ls -al /boot/
> total 5064
> drwxr-xr-x =A02 root root =A0 =A04096 Aug 28 16:51 .
> drwxr-xr-x 19 root root =A0 =A04096 Aug 31 10:17 ..
> -rw-r--r-- =A01 root root =A0 =A0 =A0 0 Aug 22 03:50 .keep
> lrwxrwxrwx =A01 root root =A0 =A0 =A0 1 Aug 28 15:23 boot -> .
> -rwxr-xr-x =A01 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 u= ntil you have!!
> ##
> ## For a dual-boot menu, add one or more of:
> ## bsd=3D/dev/hdaX, macos=3D/dev/hdaY, macosx=3D/dev/hdaZ
>
> boot=3D/dev/hda2
> device=3D/pci@f4000000/ata-6@d/disk@0:
> partition=3D4
> root=3D/dev/hda4
> timeout=3D30
> install=3D/usr/lib/yaboot/yaboot
> magicboot=3D/usr/lib/yaboot/ofboot
>
> image=3D/boot/kernel-2.6.34-gentoo-r1
> =A0 =A0 =A0 =A0label=3DLinux
> =A0 =A0 =A0 =A0read-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--