Remove windows from duel boot

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read this

Remove windows from duel boot

Postby NumNuts on Thu Jul 10, 2008 4:13 pm

Hi,just reinstalled Mint, BBC iPlayer now works!.
I have two sata HDD one for linux and a small one for windows and other stuff, which when I need windows I select as primary boot in the bios.
However I left it plugged in when I reinstalled mint and I now get the duel boot menu at boot up.
How do I get rid of the windows selection when booting up?
NumNuts
Level 2
Level 2
 
Posts: 59
Joined: Wed Jul 25, 2007 10:04 am
Location: Sunny Scotland

Linux Mint is funded by ads and donations.
 

Re: Remove windows from duel boot

Postby AK Dave on Thu Jul 10, 2008 5:20 pm

So you reinstalled Mint, and by default unless told to NOT do this it installs grub if it sees another OS. You didn't want grub. You got it now.

You could get rid of it. I don't know how. Fred probably does.

But I'm guessing you'd be just as happy if it just "disappeared" and never popped up. Thats something I know how to do, but seeing as I'm at work on an XP box I can't give specific exact step-by-step instructions at the moment. So I'll simply ask:

Would it be "good enough" if grub had a zero-second delay, booted instantly and automatically to Mint, and never showed its menu for more than a split-second? But at the same time, you could still interrupt grub if you absolutely had to boot "safe mode"?

Also, wouldn't it be much easier to boot Windows from grub than by playing with your BIOS?
User avatar
AK Dave
Level 6
Level 6
 
Posts: 1042
Joined: Wed May 14, 2008 3:39 pm
Location: Anchorage, AK USA

Re: Remove windows from duel boot

Postby NumNuts on Fri Jul 11, 2008 6:07 am

Hi AK Dave thanks for the reply.
I hardly ever need windows these days only very occasionally for some work related stuff.
I know its only on screen for a few seconds, but I'd rather be rid of any Windows and boot straight into
mint. Can I edit grub to remove the windows bit?
NumNuts
Level 2
Level 2
 
Posts: 59
Joined: Wed Jul 25, 2007 10:04 am
Location: Sunny Scotland

Re: Remove windows from duel boot

Postby msuggs on Fri Jul 11, 2008 7:41 am

NumNuts wrote: Can I edit grub to remove the windows bit?


You can just edit out the Windows entry in the menu.lst by putting # at the start of the relevant lines

In a terminal

Code: Select all
sudo gedit /boot/grub/menu.lst
msuggs
Level 5
Level 5
 
Posts: 882
Joined: Thu Jul 10, 2008 8:25 am
Location: non-local

Re: Remove windows from duel boot

Postby AK Dave on Fri Jul 11, 2008 2:02 pm

You can also edit the delay in grub so that the screen doesn't stay up and goes to the default immediately.
User avatar
AK Dave
Level 6
Level 6
 
Posts: 1042
Joined: Wed May 14, 2008 3:39 pm
Location: Anchorage, AK USA

Re: Remove windows from duel boot

Postby NumNuts on Fri Jul 11, 2008 3:51 pm

Tried that but won't let me save my changes. How do I get permission to do that?
NumNuts
Level 2
Level 2
 
Posts: 59
Joined: Wed Jul 25, 2007 10:04 am
Location: Sunny Scotland

Re: Remove windows from duel boot

Postby AK Dave on Fri Jul 11, 2008 4:30 pm

Edit the grub menu:
Code: Select all
gksu gedit /boot/grub/menu.lst


Bypass the menu by default:
Code: Select all
## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
hiddenmenu


Decrease the grub delay:
Code: Select all
## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout 1


Remove XP from the grub menu options. Find this section and #comment every line:
Code: Select all
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title           Microsoft Windows XP Professional
root            (hd0,0)


Save the file. Reboot.
User avatar
AK Dave
Level 6
Level 6
 
Posts: 1042
Joined: Wed May 14, 2008 3:39 pm
Location: Anchorage, AK USA

Re: Remove windows from duel boot

Postby msuggs on Fri Jul 11, 2008 5:41 pm

NumNuts wrote:Tried that but won't let me save my changes. How do I get permission to do that?


You have to use gksu or sudo in a terminal.
msuggs
Level 5
Level 5
 
Posts: 882
Joined: Thu Jul 10, 2008 8:25 am
Location: non-local

Re: Remove windows from duel boot

Postby NumNuts on Sat Jul 19, 2008 1:41 pm

Hi, sorry it took so long to reply, I was on holiday for the week.
Have edited the grub and everything is as desired, thanks for the help.
It's another nugget of info learned.
NumNuts
Level 2
Level 2
 
Posts: 59
Joined: Wed Jul 25, 2007 10:04 am
Location: Sunny Scotland

Linux Mint is funded by ads and donations.
 

Return to Installation & Boot

Who is online

Users browsing this forum: Google Adsense [Bot], kush, nonymous, singinadam and 12 guests