After installation of OpenSuse 13.2 beta (KDE) on ASUS VivoPC, Grub2 does not show a choice for Windows. In the Bios I could set the preferences so that Windows started, and after setting back, OpenSuse started. But I would rather have that choice in Grub. In Yast I could not add a Windows entry in Grub.
I hope this will be repaired.
Wolde
Is this a UEFI system?
If Windows is using EFI for booting, and opensuse is using legacy MBR methods for booting, then it can’t be done. If you booted with CSM (compatibility support module), you cannot switch to EFI. Instead, you need to switch opensuse to using grub2-efi.
I’m not sure if that is your problem, but it seems likely from your description.
Maybe post (with code tags) the output from:
# parted -l
# df
Thank you,
This gives the following output.
Wolde
linux:/home/erwin # parted -l
Model: ATA WDC WD5000AAKX-2 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 840MB 839MB ntfs Basic data partition hidden, diag
2 840MB 1113MB 273MB fat32 EFI system partition boot
3 1113MB 1247MB 134MB Microsoft reserved partition msftres
4 1247MB 162GB 161GB ntfs Basic data partition
5 162GB 270GB 107GB ntfs Basic data partition
7 270GB 272GB 2147MB linux-swap(v1) primary
8 272GB 315GB 43,0GB btrfs primary boot, legacy_boot
9 315GB 484GB 169GB xfs primary
6 484GB 500GB 16,4GB ntfs Basic data partition hidden, diag
linux:/home/erwin #
Bestandssysteem 1K-blokken Gebruikt Beschikbaar Geb% Aangekoppeld op
/dev/sda8 41946112 5881172 34508236 15% /
devtmpfs 1757140 0 1757140 0% /dev
tmpfs 1761856 76 1761780 1% /dev/shm
tmpfs 1761856 1224 1760632 1% /run
tmpfs 1761856 0 1761856 0% /sys/fs/cgroup
/dev/sda8 41946112 5881172 34508236 15% /.snapshots
/dev/sda8 41946112 5881172 34508236 15% /var/tmp
/dev/sda8 41946112 5881172 34508236 15% /var/spool
/dev/sda8 41946112 5881172 34508236 15% /var/opt
/dev/sda8 41946112 5881172 34508236 15% /var/lib/mailman
/dev/sda8 41946112 5881172 34508236 15% /var/log
/dev/sda8 41946112 5881172 34508236 15% /var/lib/pgsql
/dev/sda8 41946112 5881172 34508236 15% /var/lib/named
/dev/sda8 41946112 5881172 34508236 15% /usr/local
/dev/sda8 41946112 5881172 34508236 15% /var/crash
/dev/sda8 41946112 5881172 34508236 15% /srv
/dev/sda8 41946112 5881172 34508236 15% /tmp
/dev/sda8 41946112 5881172 34508236 15% /opt
/dev/sda8 41946112 5881172 34508236 15% /boot/grub2/i386-pc
/dev/sda9 165013788 83800 164929988 1% /home
I’m requoting that, but between code tags, to improve readability.
I a bit surprised by the output of the second of those commands. It looks like “df” output, except it is showing too much. Perhaps on “btrfs” it shows all subvolumes.
In any case, my guess seems to have been correct. You have a UEFI system, but you appear to be booting with traditional MBR style booting. That’s because you booted the install media that way (instead of UEFI booting it).
I’m pretty sure that you can fix this without reinstalling.
Step 1: Mount “/dev/sda2” as “/boot/efi”. You also need to add an entry to “/etc/fstab” so that this is automatic on future boots.
You can probably use Yast partitioner to do that (both mount and make automatic).
Step 2: Use Yast bootloader to switch to using grub2-efi for booting.
That will probably leave you with three boot options in your BIOS – booting opensuse the way you currently are booting it, booting opensuse with UEFI (and the BIOS will use the name “opensuse” or perhaps “opensuse-secureboot” for that), or booting Windows. And that should also give you a grub menu item for Windows. But that grub menu item for windows will only work if you boot opensuse with UEFI. It is likely to fail if you boot opensuse with traditional MBR booting.
I have done step 1, but in Yast/Bootloader there is only GRUB2, no grub2-efi. Probably, I could install that, but I think I will start with a new installation when OpenSuse 13.2 is there. I know now of the uefi pitfall.
Thank you for your help.
Then my best guess is that you have a 32-bit install. Assuming that you have 64-bit UEFI, your best option will be to install 64-bit. If you have 32-bit EFI (some systems with Intel Atom processor), you might be out of luck.
Looking at Yast Bootloader on a non-UEFI box, I see a choice between:
ELILO
GRUB
GRUB2
GRUB2-EFI
LILO
Do Not Install Any Boot Loader
On Wed, 08 Oct 2014 14:16:46 GMT
nrickert <nrickert@no-mx.forums.opensuse.org> wrote:
>
> wolde;2668405 Wrote:
> > I have done step 1, but in Yast/Bootloader there is only GRUB2, no
> > grub2-efi.
>
> Then my best guess is that you have a 32-bit install. Assuming that
> you have 64-bit UEFI, your best option will be to install 64-bit. If
> you have 32-bit EFI (some systems with Intel Atom processor), you
> might be out of luck.
>
> Looking at Yast Bootloader on a non-UEFI box, I see a choice between:
> ELILO
> GRUB
> GRUB2
> GRUB2-EFI
> LILO
> Do Not Install Any Boot Loader
>
>
–
Graham P Davis, Bracknell, Berks.
openSUSE 13.2-m0 (64-bit); KDE 4.14.1; AMD Phenom II X2 550 Processor;
Kernel: 3.16.2; Video: nVidia GeForce 210 (using nouveau driver);
Sound: ATI SBx00 Azalia (Intel HDA)
On Wed, 08 Oct 2014 14:16:46 GMT
nrickert <nrickert@no-mx.forums.opensuse.org> wrote:
>
> wolde;2668405 Wrote:
> > I have done step 1, but in Yast/Bootloader there is only GRUB2, no
> > grub2-efi.
>
> Then my best guess is that you have a 32-bit install. Assuming that
> you have 64-bit UEFI, your best option will be to install 64-bit. If
> you have 32-bit EFI (some systems with Intel Atom processor), you
> might be out of luck.
>
> Looking at Yast Bootloader on a non-UEFI box, I see a choice between:
> ELILO
> GRUB
> GRUB2
> GRUB2-EFI
> LILO
> Do Not Install Any Boot Loader
>
That looks like what you get for 13.1, not 13.2. GRUB and LILO do not
appear in 13.2. Oddly enough, on my one machine that has EFI in the
BIOS, I just get GRUB2 but on this non-EFI machine I also have the
option of GRUB2-EFI. Go figure!
(Sorry for previous dummy reply. This dummy had finger trouble.)
–
Graham P Davis, Bracknell, Berks.
openSUSE 13.2-beta (64-bit); KDE 4.14.1; AMD Phenom II X2 550 Processor;
Kernel: 3.16.3; Video: nVidia GeForce 210 (using nouveau driver);
Sound: ATI SBx00 Azalia (Intel HDA)
Yes, you are right. I had forgotten that this thread was about 13.2, so I looked at a 13.1 system. Booting the same computer to factory, I see that lilo, elilo and legacy grub are gone. They are still in the repos, but the Yast support is gone.
In any case, it still seems likely that the OP installed 32-bit, which does not come with grub2-efi support in a default install.