Re: [Hampshire] Unidentified partitions

Top Page

Reply to this message
Author: James Courtier-Dutton
Date:  
To: hampshire
Subject: Re: [Hampshire] Unidentified partitions
On 11/02/2008, Damian Brasher <lug@???> wrote:
> Hi List
>
> After taking my old G4 mac-mini apart at the B&B on the 2nd (which was an
> enjoyable and friendly meeting, thanks to Adrian's talk for enlightening
> me on some more OpenVPN options and Hugo for clarifying the 'Web of
> Trust') with an unidentified object from the kitchen, now known to be a
> cheese slice! incidentally not the best tool for opening up a mac-mini, a
> fish slice was what I meant to bring, FYI alternatively two putty knifes
> will work too, I have hooked up the 2.5" HDD to a Via Mini-ITX Main Board.
>
> I am running Knoppix, as a live CD, and attempting to recover my home
> partition from the disk before formatting it and installing Fedora 8.
>
> The problem - got there eventually - is that two of the partitions are not
> recognised by the mount command, i.e. mount -t $type /dev/hda4 /mnt/tmp
> two others are. This is the potential partition layout:
>
> /dev/hda1 - not recognised
> /dev/hda2 - recognised, contains yaboot.conf
> /dev/hda3 - recognised, contains vmlinuz
> /dev/hda4 - not recognised
>
> I have attempted to use a number of partition types, as I can't remember
> exactly which file system I used as it was so long ago I initially built
> the machine.
>
> fdisk -l /dev/hda complains that there is a missing partition tables,
> which is unexpected, or possibly not: 'Disk /dev/hda doesn't contain a
> valid partition table'.
>
> I am currently running gpart overnight; gpart /dev/hda to see if I can
> glean some more information about the partitions on the disk.
>
> Does anyone have some idea about what may have happened here? I am
> wondering if the fact the disk was previously used in a Power PC format
> perhaps this has affected the state of the partition table.
>
> If there is no relatively simple resolution I will have to drop the HDD
> drive back into the mac-mini temporarily and go from there.
>
> Damian


Has your linux kernel been build to support non-x86 partitions?
Support for non-x86 partitions on a x86 kernel is normally not
included by default.
In your kernel source dir:
make menuconfig
->File systems->Partition Types

James