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