Bug 1028881 - boot loader problem on dual boot systems windows /tumbleweed
Summary: boot loader problem on dual boot systems windows /tumbleweed
Status: RESOLVED DUPLICATE of bug 1076779
: 1028684 1072968 (view as bug list)
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: x86-64 SUSE Other
: P5 - None : Major (vote)
Target Milestone: ---
Assignee: Michael Chang
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-10 13:07 UTC by Forgotten User _3TOh92WgY
Modified: 2018-02-01 05:15 UTC (History)
3 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---
arvidjaar: needinfo? (forgotten__3TOh92WgY)


Attachments
grub.cnf (8.57 KB, text/plain)
2017-03-10 13:12 UTC, Forgotten User _3TOh92WgY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Forgotten User _3TOh92WgY 2017-03-10 13:07:33 UTC
User-Agent:       Mozilla/5.0 (X11; Linux x86_64; rv:51.0) Gecko/20100101 Firefox/51.0
Build Identifier: 

Hello,

since 2 weeks grub menu have not shown windows boot menu on dual boot system.
That why I have set boot windows first.

Meantime I cannot choose  boot  windows because under yast2 : it is not presented!!!!!!!!!!!!!!


Reproducible: Always

Steps to Reproduce:
1.boot the dual boot system
2.boot the dual boot system
3.boot the dual boot system
Actual Results:  
cannot choose windows

Expected Results:  
only tumbleweed is present

On the other computer with windows/tumbleweed also
Comment 1 Forgotten User _3TOh92WgY 2017-03-10 13:12:14 UTC
Created attachment 717053 [details]
grub.cnf

That my grub.cnf
Comment 2 Andrei Borzenkov 2017-03-12 08:12:39 UTC
Run as root

START=$(data +%s)
os-prober
journalctl --since=@$START

and attach full output.
Comment 3 Forgotten User _3TOh92WgY 2017-03-15 17:54:23 UTC
Hello,

windoes 10 disappeared again(from boot menu and yast2 boot-options 

# os-prober
/dev/sda1:Windows 10:Windows:chain

 # journalctl --since=@$START
Failed to parse timestamp: @

cat grub.cfg | grep windows

no line of windows.



Regards,

Hans


P.S. On this notebook I want to make my tax declaration with elster < get data form last tax declaration)
Comment 4 Andrei Borzenkov 2017-03-15 17:58:11 UTC
(In reply to Hans Greif from comment #3)
>  # journalctl --since=@$START
> Failed to parse timestamp: @
> 

You forgot the very first command.
Comment 5 Forgotten User _3TOh92WgY 2017-03-15 18:19:02 UTC
Hello,

I have made #jurnalctl > joural.log:
Comment 6 Forgotten User _3TOh92WgY 2017-03-15 18:23:56 UTC
But how to upload ?
Comment 7 Michael Chang 2017-03-16 08:11:05 UTC
I think there's a typo in comment#2. s/data/date/. The corrected one should be:

 START=$(date +%s)
 os-prober
 journalctl --since=@$START

You should know how to upload the log using attachment, as you have successfully done that in comment#1 for grub.cnf ..
Comment 8 Andrei Borzenkov 2017-03-16 08:18:34 UTC
Actually, os-prober already returns Windows, so from this side it looks OK. If it missing in grub.cfg, may be for some reasons grub.d script does not run. Additional output of "grub2-mkconfig -o /boot/grub2/grub.cfg" and "ls -l /etc/grub.d" would be useful.
Comment 9 Michael Chang 2017-03-16 08:24:43 UTC
(In reply to Andrei Borzenkov from comment #8)
> Actually, os-prober already returns Windows, so from this side it looks OK.
> If it missing in grub.cfg, may be for some reasons grub.d script does not
> run. Additional output of "grub2-mkconfig -o /boot/grub2/grub.cfg" and "ls
> -l /etc/grub.d" would be useful.

I've tried use that result in the grub scripts (/etc/grub.d/30_os-prober) and the Windows 10 entry was created, so it looks not likely a grub2 script problem either. (Then where's problem ?). But anyway lets wait feedback from Hans. Thanks.

> ### BEGIN /etc/grub.d/30_os-prober ###
> menuentry 'Windows 10 (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-/dev/sda1' {
>       insmod part_msdos
>       parttool ${root} hidden-
>       drivemap -s (hd0) ${root}
>       chainloader +1
> }
> ### END /etc/grub.d/30_os-prober ###
Comment 10 Forgotten User _3TOh92WgY 2017-03-16 18:56:28 UTC
Hello,

on one computer Windows 10/opensuse-tumbleweed I have made

#zypper update

and now windows 10 shows it self as first boot windows 10.

But now the normal updater does not function any more.

Regards,

Hans
Comment 11 Michael Chang 2017-03-20 09:28:46 UTC
(In reply to Hans Greif from comment #10)

> and now windows 10 shows it self as first boot windows 10.

It appears that the problem has been fixed somehow ?

> But now the normal updater does not function any more.

What is normal updater ?

Thanks.
Comment 13 Andreas Stieger 2017-06-01 07:30:30 UTC
*** Bug 1028684 has been marked as a duplicate of this bug. ***
Comment 14 Andreas Stieger 2017-12-14 22:26:35 UTC
*** Bug 1072968 has been marked as a duplicate of this bug. ***
Comment 15 Michael Chang 2018-02-01 05:15:35 UTC
Dup of 1076779

*** This bug has been marked as a duplicate of bug 1076779 ***