OK, let's go safe first. Before doing ANYTHING more make a partition table copy just in case it gets even worse: 1) Boot a linux (for example th rescue cd you have). 2) Insert a spare floppy disk 3) (As root) dd if=/dev/hda of=/dev/fd0 bs=512 count=64
Fine, so you have now a copy of your harddisk boot and table partition (the damaged one). Now let's start playing.... Write down in a paper sheet the guessed partitions and then run parted from the rescue linux: parted /dev/hda To see what you have rigth now type: print then remove every partition you have except 1 and 2 (Windows and extended one): rm minor_number where minor_number is the number in the first column of the partition to erase. When you are done, just create the new ones with guessed starts and ends: mkpart ext2/ext3/reiserfs/what-ever-you-had guessed_start guessed_stop mkpart linux-swap guessed_swap_start guessed_swap_stop To exit just type: quit To know more about parted type man parted or just type help inside parted. Good luck. El mar, 25-02-2003 a las 17:40, antonio rodriguez escribió: > Dear All, > > I've downloaded and run gpart, but I'm not getting the results I > expected. By the moment lilo works. I've enterede in rescue mode with > cd1. So I'm able to work in rescue mode, but gpart gives to me: > > *Waarning partition (Extended DOS, LBA) ends beyond disk end,. > Number of inconsistencies found: 1 > > Guessed primary parttion table: > Primary partition(1): > DOS or Windows > > Primary partition(2): > Extended DOS > > Primary partition(unused): > > Primary partition(unused): > > So what's the following? > > Cheers, > > Antonio > > go to freshmeat grab gparted put it on a floppy and let it try and > > "rediscover" your partitions again. Then replace your winME with 2000 > > *grin*...... > > > > James > > > > > > On Tue, 2003-02-25 at 01:46, antonio rodriguez wrote: > > > Dear All, > > > > > > I have Mandrake Linux 8.1 installed on a Duron sharing the hard disk > > > with WinMe. After defrag WinMe I found that I couldn't boot Linux > > > because of a kernel panic. Entering in rescue mode I've ran fdisk so > my > > > new partition table has only two sections: > > > > > > /dev/hda1/ Win95 FAT32 (LBA) > > > /dev/hda2/ Extended > > > > > > How do I could fix this problem in order to have my old 3 partitions > (W, > > > Linux and Linux swap)? > > > > > > Any hints appreciated > > > > > > THanks in advance > > > > > > Antonio Rodriguez > > > > > > > > > --- > > > Outgoing mail is certified Virus Free. > > > Checked by AVG anti-virus system (http://www.grisoft.com). > > > Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03 > > > > > > > > > > > > > ______________________________________________________________________ > > > > > > Want to buy your Pack or Services from MandrakeSoft? > > > Go to http://www.mandrakestore.com > > > > > > > > > ------------------------------------------------------------------------ > -------- > > > > Want to buy your Pack or Services from MandrakeSoft? > > Go to http://www.mandrakestore.com > > > > > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.455 / Virus Database: 255 - Release Date: 13/02/03 > > > ---- > > Want to buy your Pack or Services from MandrakeSoft? > Go to http://www.mandrakestore.com ___________________________________________________ Yahoo! Móviles Personaliza tu móvil con tu logo y melodía favorito en http://moviles.yahoo.es
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com