LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-26-2009, 08:39 AM   #1
bhamid
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Rep: Reputation: 0
Problem with Grub


I used to dual-boot Kubuntu with Vista, but i wanted to delete Kubuntu, so in Vista I right clicked Computer and clicked on manage ->disk management, deleted the two linux partitions (swap and the main one) and extended the Vista one. I restarted (to make sure I could boot properly -_-) and grub complains that it can't find the Linux one and come up with grub rescue. I've searched the threads and all of them say to use a recovery disk, which I don't have. Is there any way to get rid of grub without one?
 
Old 11-26-2009, 08:46 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707

Rep: Reputation: 55
Quote:
Originally Posted by bhamid View Post
I used to dual-boot Kubuntu with Vista, but i wanted to delete Kubuntu, so in Vista I right clicked Computer and clicked on manage ->disk management, deleted the two linux partitions (swap and the main one) and extended the Vista one. I restarted (to make sure I could boot properly -_-) and grub complains that it can't find the Linux one and come up with grub rescue. I've searched the threads and all of them say to use a recovery disk, which I don't have. Is there any way to get rid of grub without one?
try
Code:
root (hd0,0)
and paste the output...If it can find the partition...If it recognizes the partition execute

Code:
rootnoverify (hd0,0) 
chainloader +1
Also try other possibilities like

Code:
root (hd0,1)
root (hd0,2)
etc...
Cheers !!!

Last edited by vinaytp; 11-26-2009 at 08:48 AM.
 
Old 11-26-2009, 09:34 AM   #3
bhamid
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
I tried this, all it says is root/chainloader/rootnoverify is not a recognized command
 
Old 11-26-2009, 12:50 PM   #4
atotomex
LQ Newbie
 
Registered: Jun 2005
Distribution: Fedora
Posts: 15

Rep: Reputation: 0
Hi vinaytp,

grub was loaded in the MBR, in order to get rid of it, you have to use your windows cd, get in the repair system and then use the risky command fixmbr and fixboot.

You should understand and read very carefully what is involved with those windows commands.

I hope everything goes fine.
 
Old 11-26-2009, 03:55 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,487

Rep: Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488Reputation: 2488
You did this backwards. You should have installed vista bootloader to the master boot record before you deleted your Linux partitions. Grub has its stage1 file in the master boot record and it points to the rest of the Grub bootloader files to boot your system. These other files were on the partition you deleted.

fixmbr and fixboot commands don't work for vista/win 7 as it uses a different bootloader. Best thing to do if you can, download EasyBCD from neosmart technologies and use it to reinstall vista bootloader to the mbr. The first thing you do with a windows system is create a Recovery disk.
 
Old 11-27-2009, 08:09 AM   #6
bhamid
LQ Newbie
 
Registered: Nov 2009
Posts: 4

Original Poster
Rep: Reputation: 0
Ok, I've fixed this now, I reinstalled kubuntu so grub worked, then booted into Vista and uninstalled grub from there, thanks everyone for the suggestions .
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing GRUB in another disk problem, GRUB Hangs in boot caosxxi Linux - General 7 08-26-2009 01:55 PM
installing GRUB 2, grub-install problem r00tb33r Linux - Software 1 02-26-2007 09:42 PM
Booting my new ubuntu install = "GRUB GRUB GRUB GRUB GRUB" etc. dissolved soul Ubuntu 2 01-13-2007 12:55 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
Grub setup problem (/boot/grub/stage1 not found) davidas Debian 2 04-28-2004 08:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration