On Tuesday 07 May 2002 2:10 pm, Thierry ITTY wrote: > Gary, > > you should find somewhere the description of partition tables, there's a > difference between the primary partition entries and the logical volume > entries. for what I understand, you tried to create a primary partition > that would have had to map a logical volume, maybe this could explain why > you didn't find anything.
The basic problem is quite simple - the partitions ain't there no more. > > also, you're giving a layout which is I suppose in cylinder units. sometime > weird things happen if you allocate partitions (or logical volumes) giving > partitions extents in other units (MB). you should have to remember how you > initially allocated and use the same unit, if you want to have a chance > getting a good mapping. The initial allocation was done using Druid while perform the RH72 install, so knowing Druid anything could have happened. > > what I'd do just before cryin' for mum' whould be to write a script (you > said that you had an up'n running linux on hda) that would create a > partition on hdb from cylinder X to last one and call mount (-t e2fs), > looping from 3 to last - 1, and stop if the mount succeeds (this should > happen only for your old / and /home). I don't know if fdisk has some kind > of batch mode, but there are tools that can be command line driven (of > course I don't remember a name). This won't work because the mount would fail because the current and predefined sizes don't match. The script we did write simply called dumpe2fs which just looks at the superblock and returns information about the partition including the size. That script didn't find anything. However, I have downloaded testdisk which is a partition finder/undeleter so I'll try that one tonight. > > good luck > Ta, I need it > > > ... > > >We then decided to physically swap the drives making the Windows disk > > drive 1, and then re-install windows from scratch. Once again, scandisk > > compained about the last block being missing on drive 'D', so Andrew > > fired up fdisk (DOS version) and removed the vfat partition. > > Unfortunately, it proceeded > > to > > >remove all partitions in the extened partition -removing all of my Linux > >except the boot partition. > > > >So, now we have the situation that we have no partition table. I know > > that if you have the start and end cylinder numbers you can just > > re-create the partition table entry. I do know the layout (shown below), > > but do not know any start/end cylinder numbers. Has anyone got any ideas > > how I can find > > them? > > >Based on some info we found on the net, we have found that if you know the > >start number, you can create a partition bigger than the original, run > >dumpe2fs on the partition and it will give you the correct size and > > therefire > > >the end cylinder. We then set about starting at the end of the disk, > >creating a partition 2490-2491 and tried dumpe2fs, then repeated for > >partition 2489-2491 etc. until we got to creating the partition 3-2491. > >Unfortunately, we didn't find anything. > > > >Layout of disk > > > >hda1 1-2 boot /boot > >hda2 3-2491 extended > >hda5 3-? vfat /mnt/win_c (turned out it was actually 'D') > >hda6 ?-? linux / > >hda7 ?-? swap > >hda8 ?-? linux /home > > > >(I could live with just getting back /home) > > ... > > - * - * - * - * - * - * - > Bien sûr que je suis perfectionniste ! > Mais ne pourrais-je pas l'être mieux ? > Thierry ITTY > eMail : [EMAIL PROTECTED] FRANCE -- Gary Stainburn This email does not contain private or confidential material as it may be snooped on by interested government parties for unknown and undisclosed purposes - Regulation of Investigatory Powers Act, 2000 _______________________________________________ Redhat-list mailing list [EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list