Alternative subject lines: Ooops Oh Shit! ARRRRGGGHHHH!!!!!!!!!!! I want my mummy
Initial situation Drive 1 20GB, with Linux installation and 8GB for Win98. Drive 2 8GB, with Windows partition containing Flight Sim and Linux backup. Various problems with Windows were traced to 'D' drive which was proved when scandisk lock up the PC every time it checked 'D'. I shut down to dos, reformatted 'D' and rebooted windows. Scandisk started complaining about the last block on 'D' not being available. From Linux I did some checks and all looked fine, so using the linux FDISK I deleted /dev/hdb1. I them rebooted Windows to fdisk/reformat 'D' Windows wouldn't boot., complaining that the OS was missing - I called in some help. It turned out that /dev/hdb1 was actually drive 'C' and /dev/hda5 was actually drive 'D'. So that's 'C' on the second drive and 'D' on the first - something I've never seen before and something I was unaware of. I'd removed the wrong partition but it didn't really matter as there was not much on Windows that I needed to keep and what there was I'd got a copy of on Linux. 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) I've actually done the drive swap, so the affected drive is now hdb, and I've got a full Linux install on what used to be the windows disk so that I've got all the tools available (hdb was disconnected while I did the install so I know it hasn't shagged it any more that it already was) -- 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 -- 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