My Linux partitions are lost.
John T Nelson
developer at computation.com
Fri May 14 14:18:53 UTC 2004
What if his Windows partition was on hdb (the second disk)?
What would the boot entry in grub look like then?
-- John
On Thu, 13 May 2004, Tommy Reynolds wrote:
> Uttered Vikas.Bhasin at britishairways.com, spake thus:
>
> > Device Boot Start End Blocks Id System
> > /dev/hda1 * 1 1216 9767488+ 7
> > HPFS/NTFS
> > /dev/hda2 1217 4864 29302560 f Win95
> > Ext'd (LBA)
> > /dev/hda3 2433 4864 19535008+ 7 HPFS/NTFS
> > /dev/hda5 1217 1229 104359+ 83 Linux
> > /dev/hda6 1230 2302 8618841 83 Linux
> > /dev/hda7 2303 2432 1044193+ 82 Linux swap
> > sh-2.05b#
> >
> > There are linux partitions but i'm not sure why the start and end of
> > blocks are overlapping for different partitions. Looking at above output,
> > do you think previous linux installation can be saved.
>
> No, the overlapping Linux partitions are just occupants of an
> extended partition. Extended partitions let us get past the
> 4-partition limit endemic to living in a DOS-legacy world.
>
> Looks like to me that you've just lost the GRUB/lilo bootloader.
> That's easy to get round.
>
> Boot back into rescue mode. Run "fsck /dev/hda[56]" to make sure
> that the Linux partitions are undamaged. Then reinstall GRUB:
>
> # grub-install /dev/hda
>
> You should be able to boot Linux. If your GRUB doesn't already point
> to the Winders partitions, just add a clause like the following to
> your "/etc/grub.conf" file:
>
> title Windoze
> rootnoverify (hd0,0)
> chainloader +1
>
> Hope this helps. Cheery-bye.
>
>
>
More information about the fedora-list
mailing list