There are major differences between legacy GRUB and the new GRUB2 bootloaders, so the last thing you want to do is run commands specific to one version on the other, as this could render your system unbootable (which you could fix, but with some time spent fiddling). If unsure of your GRUB version, enter the following command in a terminal:
grub-install -V
The output will look like:
grub-install (GNU GRUB 1.98-1ubuntu6)
In the case of the example, it is showing that GRUB2 is the bootloader. Don’t be fooled by the “1” in the version number, as legacy GRUB will be reported as 0.97 (or earlier).
↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓
Here are some more GRUB-related posts:
“Error 15″ Bootup Problem After Failed Upgrade to GRUB 2? Boot Ubuntu with Super Grub Disk!
☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻☻
Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!
Thanks bro
Thank you – helps
My version report reads after a ‘sudo grub-insall -v’ is ‘grub-install.real (GRUB) 2.00-7ubuntu11’ So does this mean I have grub2 installed? I have chimera installed on another drive for OSX and want to delete the chimera partition on the other drive, and hopefully use grub2 as my bootloader for both OSes. Will this work?
Yes, that is GRUB2 – it’s progressed beyond the 1.97 or whatever. OK, as for Chameleon, which is a bootloader like GRUB, I’d say do some serious Googling on this, or even ask at a Chameleon and/or Mac user forum (like http://chameleon.osx86.hu/). Or if wanting to totally get rid of that and only have GRUB as the bootloader, perhaps go to the Mac users section at http://www.ubuntuforums.org and ask there. Unfortunately, I have never used a Mac, but there are plenty of Ubuntu users who have at that part of the Ubuntu forum who will be glad to give you help. All the best.
Correction on above post it is ‘chameleon’ I have installed, not chimera…
Just to update , maybe someone else is looking for info. the grub2 loader was not seeing my Mac OSX on the other drive. I did some googling and found that for grub2 to see other OS’s on your computer you need to run ‘sudo update-grub’ for Deb/ubuntu/mint distros. Then reboot. You will get a choice of options if the Linux Drive is listed as your first boot device. You will get Linux as the default, or you can down arrow to Mac OSX 32 or 64 bit. My problem is after OSX loads the resolution is all off, the reading of the cpu is off, it is not reading a DSDT file that tells OSX what to use. Chameleon somehow passes off to the DSDT file for the loading of OSX
If I set the OSX drive as the first drive in the boot priority, it will NOT show Linux at ALL, it wont even mount the drive, after OSX loads up it says there is a drive it dont recognize, and gives you a choice to initialize (clean wipe, lose everything), ignore, or eject. I always choose ignore then Mac OSX will load with the right DSDT file and all the drivers and setting are correct and OSX runs fine.
I don’t wan’t to have to go into my BIOS everytime I need to run an app in OSX to change boot priority. I would love a solution. Also every website I go on, when I even mention OSX they treat me like the plague everyone is so deathly afraid of big brother apple coming to get them and shut them down. I paid for Mac OSX, I have the original disks and my receipt to prove it.
Yep, Apple sure like to make things difficult, especially since they prefer you to just use their OS the whole time. As for the drive not showing up at all in OS X, not sure if that has to do with it being Linux or not, but I know Windows is too primitive and useless to be able to mount it, because it can only handle Microsoft-friendly filesystems, which EXT4 isn’t. I’d still keep Googling for the answer, to see if there is some way around this with what you have, and perhaps also see if a good 3rd-party bootloader like Acronis OS Selector (which I actually use) can do the trick for you (it can handle OS X).
It’s capital V
-V, –version print program version
Lower case v does a verbose install
Thanks. But that’s weird, as I could have sworn that worked as-is back when I wrote the article (hence the terminal output listed under the command, which was copied straight from the terminal after running the command). Anyway, thanks again – now I just have to wait for WordPress to let me edit the article.