Faq to support our supporters - grub2@ubuntu

Most of our new users do have ubuntu and boot their systems using grub2

A)
Editing the cmdline when boot (not permanent though), at boot screen (in grub2):

  • up/down to your wanted entry
  • one keystroke: e
  • inserting for example: “init=/bin/sysvinit”
  • Keystrokes to end editing and directly boot up: Ctrl+x

B)
grub2 config file is not grub.lst, but:
/boot/grub/grub.cfg
But configuration of grub2 is done indirectly, as the update-grub tool owns grub.cfg. Example of a grub2 config with an openSUSE entry. It takes effect after an update-grub in ubuntu!

(ubuntu example) /etc/grub.d/40_custom:

#!/bin/sh
exec tail -n +3 $0                                                                                                          
# This file provides an easy way to add custom menu entries.  Simply type the                                               
# menu entries you want to add after this comment.  Be careful not to change                                                
# the 'exec tail' line above.                                                                                               
#  
menuentry "openSUSE on partition3" {                                                                                                         
        insmod gzio
        insmod part_msdos
#      insmod part_gpt       
        insmod ext2       
#      set root='(hd0,3)'
        search --no-floppy --label --set suse
        linux /boot/vmlinuz root=/dev/disk/by-label/suse
        initrd /boot/initrd 
}

The “search” command is a more user friendly replacement of “set root” - in this example if you have set up a label “suse” of your openSUSE partition. The use of softlinks of initrd and vmlinuz enables users to ever boot into new openSUSE kernels - no further update-grub is required. But remember this all takes effekt after one initial update-grub in ubuntu.

On 11/26/2011 10:36 PM, ulenrich wrote:
>
> Most of our new users do have ubuntu and boot their systems using grub2

i do not know if that is a factual statement or not (but i do know that
Ubuntu is forcing a lot out by switching to Unity, and i also know)
there is another thread in this how-to forum
<http://forums.opensuse.org/showthread.php?t=459700> also with the
purpose of helping those Ubuntu folks along the openSUSE path…

what i don’t know is if this new post is redundant in that it repeats
info in the previous thread, or if it is new information which should
have been added to the existing thread, or maybe it is so totally new it
should be in a separate thread (as it was originated)…

so, i leave the answering of those unknowns to the Ubuntu Switching to
openSUSE Crowd … but, i think it a pity to have split the effort into
two threads…


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

@DenverD,
grub2 is the new grub!
Mentioning ubuntu was just for emphazising the importance of grub2, my guess is 95 percent of all first time linux users trying ubuntu or mint.

A FAQ for our most active supporters in the forum is needed. I saw tons of poor advice in the Boot-Forum. And also openSUSE grub2 has the file /etc/grub.d/40_custom. I don’t expect beginners who don’t know well the cli (ubuntu switchers, but these are not real switchers if there are people wanting to try linux and installing ubuntu and openSUSE a day later) to understand my FAQ. But the more importance our supporters do have some background knowledge of this.

On 11/30/2011 01:26 PM, ulenrich wrote:
> grub2 is the new grub!

OH! i didn’t realize openSUSE 12.1 has grub2 as default…i totally
missed that fact, somehow…

or, maybe i didn’t realize the point of your how-to was to help those
who understand grub transition to grub2…

or, is that the purpose? (if so, why the reference to Ubuntu?)

i guess i’m confused what your how-to is supposed to do:

-help Ubuntu users transition to openSUSE while retaining grub2

-help Ubuntu users transition to openSUSE by reverting to grub

-help openSUSE users transition from grub to grub2

maybe a clear purpose statement would be useful. (at least it would be
for me)


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

On 2011-11-30 15:49, DenverD wrote:
> On 11/30/2011 01:26 PM, ulenrich wrote:
>> grub2 is the new grub!
>
> OH! i didn’t realize openSUSE 12.1 has grub2 as default…i totally missed
> that fact, somehow…

Certainly not! 12.1 installs grub-0.97 by default.


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

On 11/30/2011 10:58 PM, Carlos E. R. wrote:
> Certainly not! 12.1 installs grub-0.97 by default.

so, now i REALLY wonder what is the purpose of this thread is…

and, think probably would be best if incorporated into the other ubuntu
thread here, and then the ‘finished’ product moved to one of the
‘reviewed’ FAQ fora…and, someone keep it up to date by monitoring this
thread, and when new info is ‘reviewed’ then, adding it into the final
version…


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

On 2011-11-30 23:56, DenverD wrote:
> so, now i REALLY wonder what is the purpose of this thread is…

Me too :slight_smile:


Cheers / Saludos,

Carlos E. R.
(from 11.4 x86_64 “Celadon” at Telcontar)

At least it’s not a thread about Win 7. :smiley:

@DenverD, much ado about nothing, possibly? However, we agree on the dubious opening statement re new users.

On 12/01/2011 11:56 AM, consused wrote:

> much ado about nothing

i do not consider the efforts of a user trying to help other users to be
“nothing”…even i’m not smart enough to understand in what way which
users are trying to be helped…

let me say that a different way: i think it is good to help the current
and former users of Ubuntu, Windows, Mac, X-Box, Android, iPhone,
Blackberry (and every other system you can name) smoothly slide into my
operating system of choice!


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!

lol! I wasn’t referring to the OP or his efforts, but to the comments/criticisms in response to the OP.

On 12/01/2011 03:16 PM, consused wrote:
> lol! I wasn’t referring to the OP or his efforts, but to the
> comments/criticisms in response to the OP.

OH! then, are you saying i’m wasting my time?

i should just ignore it?

shouldn’t try to understand the why of the post?

do you understand it?
if so, i love to hear…


DD
openSUSE®, the “German Engineered Automobiles” of operating systems!