Computer Forums

Member Login

Remember Me? Sign Up! | Forgot Password
 
Slogan
 
Closed Thread
Old 10-23-2006, 11:39 AM   #1 (permalink)
 
Newb Techie

Join Date: Mar 2006

Posts: 3

rajeshgovindan

Default Grub problem

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
Attached Files
File Type: zip menu.zip (1.7 KB, 3 views)
rajeshgovindan is offline  
Old 10-23-2006, 12:54 PM   #2 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Default

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.
The General is offline  
Old 10-26-2006, 04:11 PM   #3 (permalink)
str8lazy's Avatar
 
Super Techie

Join Date: Jun 2004

Posts: 446

str8lazy

Send a message via ICQ to str8lazy Send a message via AIM to str8lazy Send a message via Yahoo to str8lazy
Default

You could also run a live disc of Ubuntu and follow all of the instructions on this
str8lazy is offline  
Old 10-26-2006, 11:13 PM   #4 (permalink)
Disillusion's Avatar
 
\m/ Metalhead \m/

Join Date: Nov 2005

Posts: 801

Disillusion

Default

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.
__________________
CPU: Intel Q6600 B3 @ 3.0 GHz
Cooler: Tuniq Tower 120
Mobo: Gigabyte GA-P35-DS3L
RAM: G.Skill 4 GB DDR2 800
GPU: EVGA 8800GT Superclocked 512 MB
HDD: 2 x Seagate Barracuda 160 GB
PSU: OCZ StealthXStream 600W
Case: Cooler Master Centurion 5
Disillusion is offline  
Old 10-27-2006, 02:42 AM   #5 (permalink)
 
Banned

Join Date: Sep 2005

Posts: 5,191

The General

Default

Somehow I don't think he's coming back.
The General is offline  
Old 10-29-2006, 08:13 AM   #6 (permalink)
 
Newb Techie

Join Date: Mar 2006

Posts: 3

rajeshgovindan

Default

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
rajeshgovindan is offline  
 
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On