LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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


Reply
  Search this Thread
Old 10-27-2005, 12:07 PM   #1
sureshot324
Member
 
Registered: Mar 2004
Posts: 49

Rep: Reputation: 15
How do I remove the windows boot loader?


I previously had win xp pro and win server 2003 installed on my computer, and the windows boot loader to choose between them. I just installed ubuntu linux, and it installed the grub boot loader. The problem is, there is only one windows option there, and it takes me to the windows boot loader, so it's a 2 step process to boot into windows.

I want to remove the windows boot loader from my system completely, and have an option for win xp pro and win server 2003 in the grub boot loader. Anyone know how to do this?
 
Old 10-27-2005, 12:21 PM   #2
Paul7
Member
 
Registered: Aug 2005
Location: Thailand
Distribution: Suse 10.2 / Win XP Home
Posts: 172

Rep: Reputation: 30
Maybe you have to edit /boot/grub/menu.lst and you have do remove the lines about windows. But I don't know how to remove the rest on windowsite
 
Old 10-27-2005, 01:29 PM   #3
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
Basically what you need to do is open grub.conf (menu.lst is a link to that file) and read the section where the windows boot procedure is described. It's something like:

windows
root (hd0,0)
chainload +1 (going from memory here)

now you should use this entry as a basis for creating two differnt entries something like this

Windows XP
root (hd0,1)
chainload +1

and

Windows NT
root (hd0,2)
chainload +1

where hd0,0 describes the first hard disk first partition (grub starts counting at 0), hd02 = 1st HD 3rd partition...

Save and close, you're ready.
 
  


Reply



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
Fedora Remove and restoring windows MBR boot loader eng_muhammad Fedora 3 12-03-2005 12:39 PM
remove boot loader mchitrakar Linux - Software 1 10-12-2005 05:22 AM
how to remove the winXP boot loader? Thinking Linux - Software 4 10-08-2005 07:43 PM
How can I remove Grub boot loader? TechSonic Linux - Newbie 7 08-06-2005 03:11 PM
How do I remove old kernels from boot loader? XryanX Fedora 7 04-26-2004 11:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:46 AM.

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