Grub problem

Status
Not open for further replies.

rajeshgovindan

Beta member
Messages
3
I had recently tribooted XP Ubuntu & SUSE.
For some reasons I had to remove SUSE.
So I had formatted the drive containing SUSE(and lost grub too)
Then I had done "fixmbr" thu DOS mode
So now i am able to access only XP and not Ubuntu
Is there any way to install grub seperately


my menu.lst file is attached
 

Attachments

  • menu.zip
    2.6 KB · Views: 4
Download Knoppix and burn it to a disc, boot to it.

Mount your Ubuntu drive and chroot into it...
Code:
mount /dev/whatever /mnt/ubuntu
mount -t proc none /mnt/ubuntu/proc
mount -o bind /dev /mnt/ubuntu/dev
chroot /mnt/ubuntu
This will put you into a command line as if you were booted into Ubuntu. First you need to understand how grub labels disks and partitions... (hd0,0) is the first partition on the first drive, (hd0,1) is the second partition on the first drive and (hd1,3) would be the 4th partition on the 2nd drive. Basically it's (hd<drive>,<partition>).

Actually, I need to know your partition layout before I can help give you exact instructions, so boot to Knoppix and run
Code:
cat /proc/partitions
and paste the output here. Once you do that I'll be able to give you step by step instructions.
 
If you are using Ubuntu 6.06, you can boot from the CD and choose the option "Repair Broken System" and reinstall the Grub boot loader through there as well.
 
Sorry for the late reply .......actually had an assigment at college....i needed ubuntu for it...so reinstalled it

Still i have read all your replies and feel i can solve the problem(if it comes again)

Thank you guys for all your replies
 
Status
Not open for further replies.
Back
Top Bottom