Page 1 of 2

Edit bootloader settings ?

PostPosted: Thu Dec 02, 2010 3:13 pm
by ADPdirty
Installed ubuntu on a separate HDD
It still detected Windows 7 installed on another HDD and messed up its bootloader
So thank god i did full HDD Image backup before that and was able to restore, so i can boot to Windows 7 or Ubuntu by selecting which HDD to boot from instead of having bootloader to pop with the menu. That way i can keep one OS on its own hard drive and not to worry about it effecting the other (Ubuntu seemed to ignore this even by being on a totaly separate hard drive).
Anyhow.
Ubuntu loader pops everytime and asking me which OS i want to boot and i dont want that.
Anyway to edit its settings so it wont even know Windows 7 exist ?

Thanks in advance.

Re: Edit bootloader settings ?

PostPosted: Thu Dec 02, 2010 3:20 pm
by pclinuxguru
confused

how would windows 7 being loaded threw Grub effect Ultimate Edition in the slightest?

Might just be my lack of seeing the point here, but seems to me your complicating matters 100 fold.

Anything that would take windows down will not effect linux EVER.

The only way linux would take windows 7 down is if grub was lost, but that is easy enough to rebuild as needed.

For what it is worth, that correct approach was to unplug the windows 7 HDD entirely from the motherboard and reattach once linux was installed. Then boot via bios boot menu.

Re: Edit bootloader settings ?

PostPosted: Thu Dec 02, 2010 3:34 pm
by ADPdirty
i got 6 HDD's
1st for WIndows 7
2nd for Ubuntu
3-6 stuff

Windows 7 was installed prior to Ubuntu
When installing Ubuntu i chose to install it all on 2nd HDD thinking 1st will not be effected and yet it was.
BIOS default boot HDD is 1st and when after Ubuntu installed and computer booted for the first time instead of Windows 7 it loader Ubuntu Grub with option to load windows 7.
So i thought regardless of the installation directory, Grub took over Windows 7 Loader because it is selfish just like windows loader.
I had to restore 1st HDD to make Windows 7 load by default, and it being on 1st HDD that what was suppose to happen anyway, but with that restored and both OS's work fine Ubuntu still giving me an option which OS to boot from and i want that option GONE

Isnt there a Grub Editor or some sort that i can make it forget that Windows 7 even exist ? And why would it even care if its on a separate HDD (not partition).

Thanks

And sorry for being confusing. I want separate OS on a separate HDD not effecting any other OS's that mught be installed on any of my 6 HDD's

Re: Edit bootloader settings ?

PostPosted: Thu Dec 02, 2010 3:43 pm
by pclinuxguru
grub will seek out any boot loader and install grub to the HDD housing the current boot loader.

Remove the windows 7 HDD from the motherboard and then install linux.

this is the ONLY way to prevent grub from detecting windows 7 loader.

Re: Edit bootloader settings ?

PostPosted: Thu Dec 02, 2010 10:46 pm
by ADPdirty
pc-trends wrote:grub will seek out any boot loader and install grub to the HDD housing the current boot loader.
Remove the windows 7 HDD from the motherboard and then install linux.
this is the ONLY way to prevent grub from detecting windows 7 loader.

I chose to install Grub to the same hard drive where Ubuntu was, that way i thought my 1st in boot sequence HDD will not be effected yet it was.
Windows 7 Loader got screwed up by Grub so i restored Windows 7 HDD Image and everything was back to normal but Grub still thinks it replaced Windows 7 Boot loader and i want that information removed from Grub.
Is there a Grub editor of some sort where i can erase any Windows 7 Boot loader Info so it will boot to its self normally without asking me how or where i want to boot it up ?

I didnt have to unplug any HDD's to install 2 OS's on same machine, i simply have to chose which HDD boots what OS (usually its own) so by selecting HDD to boot from it boots up to an OS installed on that HDD. No physical interaction required (as for unplug/plug HDD's from main board and this trick is just not very practical)

Thanks

Re: Edit bootloader settings ?

PostPosted: Fri Dec 03, 2010 1:36 am
by sambolinux
First like pc trends said unplug the hardrive then open a terminal and paste this

Code: Select all
sudo update-grub

it should get rid of win7 entry.

Re: Edit bootloader settings ?

PostPosted: Fri Dec 03, 2010 10:36 am
by JOHNNYG
sudo update-grub should resolve the issue without having to unplug the drive, this command will find any instance of installed OS's and load them as per your set up in BIOS (the default drive you boot from) if you have the loader installed on a different drive the command will not update the bios drive, so check BIOS , boot to that drive then run the command, I have screwed the pooch on this before! and ended up reinstalling for no good reason other than my own lack of knowledge,only to find that it was there all along, I just didn't know it ! DAMN bios ! ;) :ugeek:

Re: Edit bootloader settings ?

PostPosted: Fri Dec 03, 2010 10:55 am
by pclinuxguru
Just tried this. Didn't work.

Grub was on the windows 7 install drive.

Re: Edit bootloader settings ?

PostPosted: Sun Mar 13, 2011 10:38 am
by Arny006
I know to be very late in the topic, but i solve all boot-problems wit EasyBCD installed under Windows. In you case I would suggest following:
1) Reset/erase all entries. Notice: Don't reboot before you have not made at leasr one Entry.
2) Setup on each HDD one MBR (Master Boot Record)
2) New bootloader (Add new Entry) for Windows on big HDD, I suppose C:\
3) New bootloader (Add new Entry) for Linux (Grub 2) on smaller HDD

It's mean you setup two MBR on two different HHD's on each one you install one bootloader.
Some motherboard (e.g. Asus p5b Deluxe) have the option to can choice the boot-HDD by pressing "F8" just after using start-button, to not be confused with windows "F8" that come alittle bit later.
In this case you can start the desidered OS by selecting HDD. On my machine works it fine.

Greeetings

Re: Edit bootloader settings ?

PostPosted: Sun Mar 13, 2011 11:15 am
by jslick1jim
As a side note, when installing it will install grub or windows boot loader too the boot drive set in bios. unless you change the boot order in bios for windows or select the right drive during install of linux of which you have that choice. Just my two cents. Jim :)