Mailinglist Archive: opensuse (1231 mails)

< Previous Next >
Re: [opensuse] Grub2 and installing multiple distros on same computer - *ADDENDUM*
On 02/03/13 16:27, Basil Chupin wrote:
A while back I had a bit of a gripe about grub2 (vs grub) because it wasn't clear how I would be able to install other distros on my computer apart from my main openSUSE. At that time I wished that I had used grub when I installed 12.2.

Well, earlier today I took the plunge and decided to create the situation whereby I could install Tumbleweed and openSUSE RC2 later today - or, if I failed, to re-install 12.2 from scratch using grub.

With my heart in my mouth I started the procedure - only to find that I still had a working 12.2 but now with the ability to install more distros.

In fact the whole process was "a piece of cake" so to speak.

If others are contemplating doing same I recommend reading which is where I got my "inspiration" from:

http://www.linuxidentity.com/us/index.php?name=CmodsDownload&file=index&req=getit&lid=38

use Okular to view it, and save it.

The article is titled, "Installing Multiple Distributions on the same computer".

Read this article SEVERAL+ times before doing anything.

I read the article before I installed 12.2 and chose to go the Case #3 way when installing 12.2. 12.2 was installed, but then I got stuck with working out what to do next - and only found the stomach to "take the plunge" today.

However, just before the end of the process I broke out in a profuse sweat because on page #16 of the article it states, "Then run the command sudo grub-mkconfig -o ..........". When doing so I got the error message that I was way up there with the fairies as the command "grub-mkconfig" is something I dreamt up after being sprinkled with Tinker Bell's pixie dust.

Well, the answer was that the command should read "grub2-mkconfig". Once I found this out everything worked to its finality as expected.

One more thing:

go into YaST2>Bootloader and make sure that it is sited as described in the article. If not, adjust and save the changes.

BC

Following the above I installed os 12.3 RC2. All went well and I could booth into either 12.2 or 12.3 -- but with some "fiddling" re booting into 12.2 because I upgraded the kernel in 12.2 from 3.8.1-1 to 3.8.1-2 but this new kernel was not being recognised at boot time (details about this on request, if you want to know about this).

The problem with booting into 12.2 was caused by not having the grub.cfg recognised in the setup #3 as described in the article (above).

I already gave a correction to what is stated in the article: on page 16 it states to use-

grub-mkconfig -o /media/btldr/boot/grub/grub.cfg[*]

to have a new, updated, grub.cfg generated.

I mentioned that the beginning of this command should read "grub2-mkconfig....".

Well, the other command - to setup /media/btldr - as the master boot partition, namely

grub-install -root-directory=/media/btldr /dev/sda

should ALSO read

grub2-install........

And when you do this, this command creates a GRUB2 folder in btldr; and in the command 'grub2-mkconfig...' the reference to '.../boot/grub/.....' should therefore read '..../boot/grub2/.....'.

Now, what is so damn annoying about this new grub2 thingie is that when one goes to do either 'info/man grub2-install or grub2-mkconfig' you told that you are out of your skull and that there are no such commands! :-( MOST annoying!

[*] You need to create a blank file called 'grub.cfg' for this command to work.

BC

--
Using openSUSE 12.2 x86_64 KDE 4.10.00 & kernel 3.8.1-2 on a system with-
AMD FX 8-core 3.6/4.2GHz processor
16GB PC14900/1866MHz Quad Channel Corsair "Vengeance" RAM
Gigabyte AMD3+ m/board; Gigabyte nVidia GTX550Ti 1GB DDR5 GPU

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References