Mailinglist Archive: opensuse (880 mails)

< Previous Next >
Re: [opensuse] grub2 enigma
В Wed, 21 Aug 2013 16:23:41 +1000
Basil Chupin <blchupin@xxxxxxxxxxxx> пишет:


I have REMed out the second reference to that UUID (sda1) and reran
grub2-mkconfig in 12.2 but of course I am still stuck with the (Ubuntu)
Boot Repair Disk menu. I need to get rid of it and to do so I am
proposing to do the following and would appreciate comment if what I
want to do is the way to do it.

In YaST>Bootloader I will alter the time delay figure which will trigger
the replacement of the bootoader

Current openSUSE has a bug - it is impossible to reinstall grub2 (I
cannot say to which extent it applies to other bootloaders) using
YaST. It *never* reinstalls it, only changes grub.cfg

https://bugzilla.novell.com/show_bug.cgi?id=819517

I wish it were fixed for 13.1 but judging by the total lack of activity
it is unlikely.

-- but here do I also rewrite the MBR
or leave this alone? And I will use /boot where to boot from - correct?


No idea. It is up to you. I'm not sure I understand your current or
intended boot architecture so I'm not going to give advice what you
need to do.

After doing the above I will run:

grub2-install --root-directory=/mnt/btldr /dev/sda


This should install grub2 on MBR of /dev/sda using filesystem on /mnt
as module and configuration repository.

then (after mounting /sda1 [/btldr] and creating a blank grub.cfg in
/mnt/btldr/grub2/) run:

grub2-mkconfig -o /mnt/btldr/grub2/grub.cfg

to populate the empty grub.cfg with the data for all the installed systems.

Am I am on the right track, please, to get things back on track with
getting rid of the Ubuntu menu, getting back to openSUSE boot time menu
and having all the systems correctly listed for access?


The obvious thing to check - whether /dev/sda your actual boot drive.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >