Sridhar G wrote:
> ----- Original Message -----
> From: Civileme <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Saturday, December 04, 1999 12:46 AM
> Subject: Re: [expert] root partition
>
> > Sridhar G wrote:
> >
> > > Hi,
> > >
> > > I had trashed my root partition, and now unable to boot my system.
> > >
> > > My root partition was hda11 and SWAP hda10. I removed hda10 so that I
> could
> > > expand my root partition.
> > >
> > > When I boot the kernel cannot mount my root partition.
> > >
> > > Can I pass any parameters to LILO to select any other partition as root?
> > >
> > > Is it possible to recover my root partition intact?
> > >
> > > I tried to use my rescue disk, but to no avail.
> > >
> > > Please advive me what to do?
> > >
> > > Thanks for ur help
> > >
> > > Cheers
> > > Sridhar
> >
> > finish your repartitioning, then reinstall *without* formatting any
> partitions
> > except root and swap
> >
> > THen send me email when you are done and I'll send you my own HOWTO on
> > partitions
> >
> > Civileme
> >
> >
>
> If I format my root, won't the entries in root be blown away?
>
> Cheers
> Sridhar
If, as you described, you repartitioned the size of root without Partition
Magic 4 at a minimum, your root entries have already earned a one-way ticket to
Nirvana. I do seem to remember an OLD OLD dos tool called diskedit that might
be used to save your entries, but right now I doubt it. The inodes are likely
inconsistent with the physical size, etc.
You might try
e2fsck -c -b 8193 /dev/hda11
but don't hold much hope for it.
Civileme
But wait, after reading your text again, I see that you might simply define
your swap back in and rescue the other partition. It does not need to be the
same size, just the same minor number /dev/hda10.... It is even possible to
make another partition there as well as hda10 as long as it has a proper minor
number (picking up the sequence where it ended before you started.
Email me privately.... This is tricky...
Civ