Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
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.
|
|
04-19-2006, 12:58 PM
|
#1
|
LQ Newbie
Registered: Apr 2006
Posts: 3
Rep:
|
Removing GRUB from a previous installation
Ok, so here is the problem:
My second foray into the linux world was with Kubuntu, which I hated. I installed Kubuntu and used GRUB as my bootloader (installing it into the MBR). I recently decided Mandriva Linux is better and wanted to switch, but when I installed Mandriva (which has its own graphical version of LILO) GRUB did not go away. Naturally I could not boot any os because GRUB was configured to boot Kubuntu and Windows and the ndldr was replaced with Mandriva's LILO, so nothing worked. I managed to load Knoppix and modify the menu.lst file and restore ntldr so that GRUB was used to load windows and Mandriva, but now the need to erase that drive and reinstall Mandriva and I would really like to be rid of GRUB.
Additional Info
There are 2 hds:
The master is the one I want Linux on and the slave is where windows already is and I cannot remove the data on the windows drive.
Thank you for any help you can give
|
|
|
04-19-2006, 01:08 PM
|
#2
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
What you should have to do is install lilo to the master boot record of the first disk (which I assume contains Mandriva). Your windows section of lilo.conf should just look like
Code:
other=/dev/hdb1
label=win
Then /sbin/lilo and it should all work fine.
|
|
|
04-19-2006, 01:10 PM
|
#3
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
Look at B3 for how to install lilo from your Mandriva partition to the MBR of /dev/hda.
|
|
|
04-19-2006, 01:10 PM
|
#4
|
LQ Newbie
Registered: Apr 2006
Posts: 3
Original Poster
Rep:
|
I have tried installing lilo into the MBR of the first disk during the mandriva install. The thing that gets me is that I have tried formatting the disk multiple times. Does formatting not erase the MBR?
|
|
|
04-19-2006, 01:19 PM
|
#5
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
I don't think formating does anything except wipe out the partition table (in fact, all the data you had on the drive is still there).
I'm not sure I understand the problem correctly though. You said you used knoppix to edit the menu.lst to make NTLDR be bootable. Grub should be unable to find the menu.lst because it should have been deleted when you wiped the Kubuntu partition.
At the time of Windows installion, was the windows drive the first hard drive or the second? (i.e. did you buy a second hard drive and put the new one as master and the second one as slave?)
|
|
|
04-19-2006, 01:22 PM
|
#6
|
LQ Newbie
Registered: Apr 2006
Posts: 3
Original Poster
Rep:
|
When I originally bought the comp. the windows drive was master.
I restored ntldr using the windows recovery console. And the thing about not wiping out the /boot/grub folder is what puzzles me. The folder and data is still there (though I misspoke earlier, I had to create a new menu.lst, but that was it)
|
|
|
04-19-2006, 01:27 PM
|
#7
|
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094
|
Okay. Is there anything else on the linux drive?
What I would do is:
1) unplug the linux drive completely and plug the windows drive into the master slot.
2) Make sure it boots, you should only see NTLDR. No grub, no lilo.
3) shutdown and plug the linux drive into master and the windows drive into slave
4) install Mandriva, be sure to put lilo into the MBR
5) Make sure Mandriva boots up, see if there's a windows option at boot time.
6) if so, reboot and try windows (I have a funny feeling it won't work because windows will think it is master, but that's fixable)
|
|
|
All times are GMT -5. The time now is 10:41 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
|
|