On Sunday 14 January 2007 17:33, Steve Holdoway wrote:
> On Sun, 14 Jan 2007 17:11:53 +1300
>
> Volker Kuhlmann <[EMAIL PROTECTED]> wrote:
> > > Testdisk can't see anything. The gpart program sees the
> > > partition, but it will not write back to the disk, or to the iso
> > > ( needs a physical disk device ), or ( surprisingly ) to the .iso
> > > written back to another disk.
> >
> > Not particularly clever, but does it show you the block numbers of
> > the partition starts? That's all you need to make a new partition
> > table with fdisk or cfdisk, or to copy out the individual
> > filesystems.
>
> Yes, unfortnately it states that it starts at cyl 0, head 1, sector
> 1. can't mount it as a loop. Have been looking for a list of magic
> numbers to try and manually locate and chop out the partition, but no
> luck yet.
That's what gpart purports to do. 
Have you been able to dup. the entire disk to a known good one using 
dd_rescue?

How big is the crook source disk?

> > If fdisk doesn't want to operate on disk image files, create the
> > table on a real disk (preferably same model) and transplant the
> > first block with dd.
>
> Tried that, but it won't actually update the disk. Does Knoppix do
> some weird write protect??
Yes, it mounts the partitions read-only, but I'm not sure about the mbr.

mount -o remount,rw ...  ...
is the incantation to enable writing to a partition.

[ ... ]

--
CS

Reply via email to