On Sun, 14 Jan 2007 17:45:54 +1300
Christopher Sawtell <[EMAIL PROTECTED]> wrote:

> 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?
I've been using dd with =conv=noerror,sync to copy disks, but am coming to the 
conclusion that the second hdd in this machine is of no use whatsoever. It's 
one of tose horrible single platter things Maxtor came out with a few years 
ago. I've got a 60GB I can sacrifice, and I'll try that next.
> 
> How big is the crook source disk?
40GB.
> 
> > > 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.
Not got that far. As in dd'ing a single block to the start of /dev/hda, etc.
> 
> [ ... ]
> 
> --
> CS
I think the problem was actually caused when the owner decided to vacuum out 
the insides of the computer. Said individual had been warned of the 
disadvantages of placing the computer on a mylon carpet... why, with all these 
sheep!

Cheers, 

Steve

Reply via email to