[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: My Linux partitions are lost.




I've tried to reinstall GRUB but couldnt' do so. I booted from FC1 CD in rescue mode, but it could not find any linux partitions on my machine and just gives me a shell prompt. This is why i couldn't execute next two commands;

chroot /mnt/sysimage        -- /mnt/sysimage does not exist.
grub-install                -- command does not exist.

Regards,
Vikas




Please respond to For users of Fedora Core releases <fedora-list redhat com>

Sent by:        fedora-list-bounces redhat com

To:        For users of Fedora Core releases
cc:        
bcc:        
Subject:        Re: My Linux partitions are lost.


Uttered Vikas Bhasin 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.


--
fedora-list mailing list
fedora-list redhat com
To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list



-------------------------------------------------------------------------------------------------
Get the best from British Airways at ba.com
http://www.ba.com


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]