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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-26-2009, 09:39 AM
|
#1
|
LQ Newbie
Registered: Nov 2009
Posts: 4
Rep:
|
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?
|
|
|
11-26-2009, 09:46 AM
|
#2
|
Member
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 707
Rep:
|
Quote:
Originally Posted by bhamid
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
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 09:48 AM.
|
|
|
11-26-2009, 10:34 AM
|
#3
|
LQ Newbie
Registered: Nov 2009
Posts: 4
Original Poster
Rep:
|
I tried this, all it says is root/chainloader/rootnoverify is not a recognized command
|
|
|
11-26-2009, 01:50 PM
|
#4
|
LQ Newbie
Registered: Jun 2005
Distribution: Fedora
Posts: 15
Rep:
|
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.
|
|
|
11-26-2009, 04:55 PM
|
#5
|
LQ Guru
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 11,048
|
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.
|
|
|
11-27-2009, 09:09 AM
|
#6
|
LQ Newbie
Registered: Nov 2009
Posts: 4
Original Poster
Rep:
|
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 .
|
|
|
All times are GMT -5. The time now is 06:14 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|