I have changed the motherboard to my main computer for an used one I had here, keeping everything else, including the CPU. More details here, if necessary: https://forums.opensuse.org/showthread.php/537733-Constant-plasma-segfault-Leap-42-3-possible-hardware-fault?p=2916114#post2916114 This box dualboot oS 42.3 and windows 10, just the same as the other box I took the MB from. Both boxes are gpt/uefi and have nvidia cards with the proprietary blob. After the change, however, it’s booting directly to windows, although all drives are seen correctly in BIOS/UEFI. BIOS/UEFI boot device option only show 1) windows on sda and 2) sda. Both windows and oS are installed on sda partitions, a gpt SSD. Both options boot to windows. It’s almost as if one OS was installed as MBR and the other as UEFI, but it doesn’t mater if CSM support is enabled or not in BIOS/UEFI. I don’t think it is a UEFI settings issue as this MB dual booted OK on the old box. I’m considering to install 15.1 (with CSM disbled, so it will be UEFI, I think), but I’m afraid to make things worse. Any ideas? Thanks a lot.
I’m posting this from firefox in windows, and it seems to strip all line feeds form paragraphs, so sorry for the running text above.
That makes it harder to read. But I’m managing.
For “1) Windows on sda” it is presumably using the NVRAM entry defined for Windows.
For “2 sda” it is probably using the default fallback choice ("\EFI\Boot\bootx64.efi" in EFI partition) which is likely a duplicate of the Windows boot file.
Can you check the EFI partition to see if there is a directory “\EFI\opensuse”, and see what that contains? If there is, then the trick would be to copy some of those files to “\EFI\Boot” so that the default (your option 2) becomes an opensuse boot.
Ah, back to openSUSE on a netbook. What a relief!
I tried to boot from a 15.1 install pendrive, and from the BIOS option it seems that somehow windows reverted to MBR, if this is even possible? I explain:
Boot option are:
- Windows Boot Manager (P0: Samsung SSD …)
- UEFI: Kingston Data Traveler 3.0
30 Enter Setup
Note the absence of the UEFI prefix in the option to boot from windows.
So from the installation disk (pendrive) I tried to boot installed system - none was found.
There is an option to choose the partition to boot from, I chose oS 42.3 root partition. It gives the following error message:
error: not a correct XFS inode.
error: not a correct XFS inode.
...
error: not a correct XFS inode.
error: nosuch device: /efi/boot/fallback.efi.
Tried to boot from a TW liveCD. It also gave the same error messages with a different one at the end (too fast to read) and then the liveCD menu. I tried to start TW but after some seconds the system froze, can’t even switch to a terminal.
I don’t know. That did not work in the past. But I have seen another recent thread suggesting that it might now work. Microsoft may have made some changes to make this possible.
Booted with partedmagic liveCD, disk info:
(parted) print all
Model: ATA Samsung SSD 850 (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 524MB 523MB ntfs Basic data partition hidden, diag
2 524MB 629MB 105MB fat32 EFI system partition boot, esp
3 629MB 646MB 16.8MB Microsoft reserved partition msftres
4 646MB 177GB 177GB ntfs Basic data partition msftdata
5 177GB 181GB 4298MB linux-swap(v1) primary msftdata
6 181GB 235GB 53.7GB btrfs primary msftdata
7 235GB 500GB 265GB xfs primary msftdata
Model: ATA WDC WD30EZRX-32D (scsi)
Disk /dev/sdb: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 8595MB 8594MB xfs msftdata
2 8595MB 10.7GB 2147MB xfs msftdata
3 10.7GB 225GB 215GB ntfs msftdata
4 225GB 440GB 215GB ext4 msftdata
5 440GB 1729GB 1288GB ext4 msftdata
6 1729GB 3001GB 1272GB ext4 msftdata
Model: ATA WDC WD30EZRX-32D (scsi)
Disk /dev/sdc: 3001GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2464GB 2464GB ext4 primary msftdata
2 2464GB 3001GB 537GB ext4
Model: ATA TOSHIBA DT01ACA2 (scsi)
Disk /dev/sdd: 2000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 2000GB 2000GB ext4 primary msftdata
fsck’d all partitions on sda, notice the error in dev/sda2 that seems to be a limitation of parted, not a real issue.
GParted 0.28.1 --enable-libparted-dmraid --enable-online-resize
Libparted 3.2
| **Check and repair file system (btrfs) on /dev/sda6** 00:01:58 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] calibrate /dev/sda6 00:00:00 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] *path: /dev/sda6 (partition)
start: 354426880
end: 459282431
size: 104855552 (50.00 GiB)* |
[/TD]
[/TR]
[/TABLE]
| check file system on /dev/sda6 for errors and (if possible) fix them 00:01:58 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] ***btrfsck /dev/sda6*** 00:01:58 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] *Checking filesystem on /dev/sda6
UUID: a742dc5c-fd13-4d54-bc89-94940e7e0443
Counts for qgroup id: 1/0 are different
our: referenced 21848535040 referenced compressed 21848535040
disk: referenced 21442818048 referenced compressed 21442818048
diff: referenced 405716992 referenced compressed 405716992
our: exclusive 10824105984 exclusive compressed 10824105984
disk: exclusive 10824704000 exclusive compressed 10824704000
diff: exclusive -598016 exclusive compressed -598016
found 25930522624 bytes used err is 0
total csum bytes: 24344700
total tree bytes: 714276864
total fs tree bytes: 648986624
total extent tree bytes: 34275328
btree space waste bytes: 122080580
file data blocks allocated: 330163703808
referenced 33964720128
* |
| *checking extents
|
checking free space cache
checking fs roots
checking csums
checking root refs
checking quota groups
Qgroup are marked as inconsistent.
* |
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
| grow file system to fill the partition 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] ***mkdir -v /tmp/gparted-IXWM93*** 00:00:00 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] Created directory /tmp/gparted-IXWM93 |
[/TD]
[/TR]
[/TABLE]
| ***mount -v -t btrfs /dev/sda6 /tmp/gparted-IXWM93*** 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] *mount: /dev/sda6 mounted on /tmp/gparted-IXWM93.
* |
|
|
|
[/TD]
[/TR]
[/TABLE]
| ***btrfs filesystem resize 1:max /tmp/gparted-IXWM93*** 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] *Resize '/tmp/gparted-IXWM93' of '1:max'
* |
|
|
|
[/TD]
[/TR]
[/TABLE]
| ***umount -v /tmp/gparted-IXWM93*** 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"]
|
| *umount: /tmp/gparted-IXWM93 (/dev/sda6) unmounted
|
* |
[/TD]
[/TR]
[/TABLE]
| ***rmdir -v /tmp/gparted-IXWM93*** 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] Removed directory /tmp/gparted-IXWM93 |
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
========================================
| **Check and repair file system (xfs) on /dev/sda7** 00:00:01 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] calibrate /dev/sda7 00:00:00 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] *path: /dev/sda7 (partition)
start: 459282432
end: 976773119
size: 517490688 (246.76 GiB)* |
[/TD]
[/TR]
[/TABLE]
| check file system on /dev/sda7 for errors and (if possible) fix them 00:00:01 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] ***xfs_repair -v /dev/sda7*** 00:00:01 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"]
|
| *Phase 1 - find and verify superblock...
|
- block cache size set to 251888 entries
Phase 2 - using internal log
- zero log...
zero_log: head block 243377 tail block 243377
- scan filesystem freespace and inode maps...
- found root inode chunk
Phase 3 - for each AG...
- scan and clear agi unlinked lists...
- process known inodes and perform inode discovery...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- process newly discovered inodes...
Phase 4 - check for duplicate blocks...
- setting up duplicate extent list...
- check for inodes claiming duplicate blocks...
- agno = 0
- agno = 2
- agno = 1
- agno = 3
Phase 5 - rebuild AG headers and trees...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- reset superblock...
Phase 6 - check inode connectivity...
- resetting contents of realtime bitmap and summary inodes
- traversing filesystem ...
- agno = 0
- agno = 1
- agno = 2
- agno = 3
- traversal finished ...
- moving disconnected inodes to lost+found ...
Phase 7 - verify and correct link counts...
XFS_REPAIR Summary Fri Oct 4 22:22:58 2019
Phase Start End Duration
Phase 1: 10/04 22:22:57 10/04 22:22:57
Phase 2: 10/04 22:22:57 10/04 22:22:57
Phase 3: 10/04 22:22:57 10/04 22:22:58 1 second
Phase 4: 10/04 22:22:58 10/04 22:22:58
Phase 5: 10/04 22:22:58 10/04 22:22:58
Phase 6: 10/04 22:22:58 10/04 22:22:58
Phase 7: 10/04 22:22:58 10/04 22:22:58
Total run time: 1 second
done
* |
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
| grow file system to fill the partition 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] ***mkdir -v /tmp/gparted-J4KsnE*** 00:00:00 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] Created directory /tmp/gparted-J4KsnE |
[/TD]
[/TR]
[/TABLE]
| ***mount -v -t xfs /dev/sda7 /tmp/gparted-J4KsnE*** 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] *mount: /dev/sda7 mounted on /tmp/gparted-J4KsnE.
* |
|
|
|
[/TD]
[/TR]
[/TABLE]
| ***xfs_growfs /tmp/gparted-J4KsnE*** 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] *meta-data=/dev/sda7 isize=512 agcount=4, agsize=16171584 blks
= sectsz=512 attr=2, projid32bit=1
= crc=1 finobt=0 spinodes=0
data = bsize=4096 blocks=64686336, imaxpct=25
= sunit=0 swidth=0 blks
naming =version 2 bsize=4096 ascii-ci=0 ftype=1
log =internal bsize=4096 blocks=31585, version=2
= sectsz=512 sunit=0 blks, lazy-count=1
realtime =none extsz=4096 blocks=0, rtextents=0
* |
|
|
|
[/TD]
[/TR]
[/TABLE]
| ***umount -v /tmp/gparted-J4KsnE*** 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"]
|
| *umount: /tmp/gparted-J4KsnE (/dev/sda7) unmounted
|
* |
[/TD]
[/TR]
[/TABLE]
| ***rmdir -v /tmp/gparted-J4KsnE*** 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] Removed directory /tmp/gparted-J4KsnE |
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
========================================
| **Check and repair file system (ntfs) on /dev/sda4** 00:00:03 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] calibrate /dev/sda4 00:00:00 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] *path: /dev/sda4 (partition)
start: 1261568
end: 346032127
size: 344770560 (164.40 GiB)* |
[/TD]
[/TR]
[/TABLE]
| check file system on /dev/sda4 for errors and (if possible) fix them 00:00:03 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] ***ntfsresize -i -f -v /dev/sda4*** 00:00:03 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] *ntfsresize v2017.3.23 (libntfs-3g)
Device name : /dev/sda4
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 176522523136 bytes (176523 MB)
Current device size: 176522526720 bytes (176523 MB)
Checking for bad sectors ...
Checking filesystem consistency ...
100.00 percent completed
Accounting clusters ...
Space in use : 72709 MB (41.2%)
Collecting resizing constraints ...
Estimating smallest shrunken size supported ...
File feature Last used at By inode
Multi-Record : 114636 MB 85318
$MFTMirr : 1 MB 1
Compressed : 116088 MB 616465
Sparse : 50419 MB 87179
Ordinary : 118805 MB 85332
You might resize at 72708825088 bytes or 72709 MB (freeing 103814 MB).
Please make a test run using both the -n and -s options before real resizing!
* |
|
|
|
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
| grow file system to fill the partition 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] run simulation 00:00:00 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] ***ntfsresize --force --force --no-action /dev/sda4*** 00:00:00 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] *ntfsresize v2017.3.23 (libntfs-3g)
Device name : /dev/sda4
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 176522523136 bytes (176523 MB)
Current device size: 176522526720 bytes (176523 MB)
New volume size : 176522523136 bytes (176523 MB)
Nothing to do: NTFS volume size is already OK.
* |
|
|
|
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
| real resize 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] ***ntfsresize --force --force /dev/sda4*** 00:00:00 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] *ntfsresize v2017.3.23 (libntfs-3g)
Device name : /dev/sda4
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 176522523136 bytes (176523 MB)
Current device size: 176522526720 bytes (176523 MB)
New volume size : 176522523136 bytes (176523 MB)
Nothing to do: NTFS volume size is already OK.
* |
|
|
|
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
========================================
| **Check and repair file system (fat32) on /dev/sda2** 00:00:00 ( ERROR ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] calibrate /dev/sda2 00:00:00 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] *path: /dev/sda2 (partition)
start: 1024000
end: 1228799
size: 204800 (100.00 MiB)* |
[/TD]
[/TR]
[/TABLE]
| check file system on /dev/sda2 for errors and (if possible) fix them 00:00:00 ( SUCCESS ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] ***fsck.fat -a -w -v /dev/sda2*** 00:00:00 ( SUCCESS ) |
| | [TABLE]
[TR]
[TD="colspan: 2"] *fsck.fat 3.0.28 (2015-05-16)
Checking we can access the last sector of the filesystem
Boot sector contents:
System ID "MSDOS5.0"
Media byte 0xf8 (hard disk)
512 bytes per logical sector
1024 bytes per cluster
6654 reserved sectors
First FAT starts at byte 3406848 (sector 6654)
2 FATs, 32 bit entries
393728 bytes per FAT (= 769 sectors)
Root directory start at cluster 2 (arbitrary size)
Data area starts at byte 4194304 (sector 8192)
98304 data clusters (100663296 bytes)
63 sectors/track, 255 heads
1024000 hidden sectors
204800 sectors total
Reclaiming unconnected clusters.
Checking free cluster summary.
/dev/sda2: 189 files, 30326/98304 clusters
* |
|
|
|
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
| grow file system to fill the partition 00:00:00 ( ERROR ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] using libparted |
[/TD]
[/TR]
[/TABLE]
| libparted messages ( INFO ) |
|---|
| | [TABLE]
[TR]
[TD="colspan: 2"] *GNU Parted cannot resize this partition to this size. We're working on it!* |
[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]
========================================
| **Check and repair file system (ntfs) on /dev/sda1** |
|---|
========================================
Sorry, nrickert, I didn’t see your post until now.
The EFI partition (sda2) has the following files/directories:
root@PartedMagic:~# tree /media/sda2
/media/sda2
└── EFI
├── Boot
│ └── bootx64.efi
├── Microsoft
│ ├── Boot
│ │ ├── BCD
│ │ ├── BCD.LOG
│ │ ├── BCD.LOG1
│ │ ├── BCD.LOG2
│ │ ├── bg-BG
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── bootmgfw.efi
│ │ ├── bootmgr.efi
│ │ ├── BOOTSTAT.DAT
│ │ ├── boot.stl
│ │ ├── cs-CZ
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── da-DK
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── de-DE
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── el-GR
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── en-GB
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── en-US
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── es-ES
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── es-MX
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── et-EE
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── fi-FI
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── Fonts
│ │ │ ├── chs_boot.ttf
│ │ │ ├── cht_boot.ttf
│ │ │ ├── jpn_boot.ttf
│ │ │ ├── kor_boot.ttf
│ │ │ ├── malgun_boot.ttf
│ │ │ ├── malgunn_boot.ttf
│ │ │ ├── meiryo_boot.ttf
│ │ │ ├── meiryon_boot.ttf
│ │ │ ├── msjh_boot.ttf
│ │ │ ├── msjhn_boot.ttf
│ │ │ ├── msyh_boot.ttf
│ │ │ ├── msyhn_boot.ttf
│ │ │ ├── segmono_boot.ttf
│ │ │ ├── segoen_slboot.ttf
│ │ │ ├── segoe_slboot.ttf
│ │ │ └── wgl4_boot.ttf
│ │ ├── fr-CA
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── fr-FR
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── hr-HR
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── hu-HU
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── it-IT
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── ja-JP
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── kd_02_10df.dll
│ │ ├── kd_02_10ec.dll
│ │ ├── kd_02_1137.dll
│ │ ├── kd_02_14e4.dll
│ │ ├── kd_02_15b3.dll
│ │ ├── kd_02_1969.dll
│ │ ├── kd_02_19a2.dll
│ │ ├── kd_02_1af4.dll
│ │ ├── kd_02_8086.dll
│ │ ├── kd_07_1415.dll
│ │ ├── kd_0C_8086.dll
│ │ ├── kdstub.dll
│ │ ├── ko-KR
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── lt-LT
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── lv-LV
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── memtest.efi
│ │ ├── nb-NO
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── nl-NL
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── pl-PL
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── pt-BR
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── pt-PT
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── qps-ploc
│ │ │ └── memtest.efi.mui
│ │ ├── Resources
│ │ │ ├── bootres.dll
│ │ │ └── pt-BR
│ │ │ └── bootres.dll.mui
│ │ ├── ro-RO
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── ru-RU
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── sk-SK
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── sl-SI
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── sr-Latn-RS
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── sv-SE
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── tr-TR
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ ├── uk-UA
│ │ │ ├── bootmgfw.efi.mui
│ │ │ └── bootmgr.efi.mui
│ │ ├── winsipolicy.p7b
│ │ ├── zh-CN
│ │ │ ├── bootmgfw.efi.mui
│ │ │ ├── bootmgr.efi.mui
│ │ │ └── memtest.efi.mui
│ │ └── zh-TW
│ │ ├── bootmgfw.efi.mui
│ │ ├── bootmgr.efi.mui
│ │ └── memtest.efi.mui
│ └── Recovery
│ ├── BCD
│ ├── BCD.LOG
│ ├── BCD.LOG1
│ └── BCD.LOG2
└── opensuse
├── boot.csv
├── grub.cfg
├── grub.efi
├── grubx64.efi
├── MokManager.efi
└── shim.efi
45 directories, 144 files
root@PartedMagic:~#
EFI/Boot and EFI/opensuse files:
root@PartedMagic:~# ls -alR /media/sda2/EFI
/media/sda2/EFI:
total 5
drwxr-xr-x 5 root root 1024 Jan 10 2018 .
drwxr-xr-x 3 root root 1024 Dec 31 1969 ..
drwxr-xr-x 2 root root 1024 Jan 10 2018 Boot
drwxr-xr-x 4 root root 1024 Jan 10 2018 Microsoft
drwxr-xr-x 2 root root 1024 Jan 10 2018 opensuse
/media/sda2/EFI/Boot:
total 1494
drwxr-xr-x 2 root root 1024 Jan 10 2018 .
drwxr-xr-x 5 root root 1024 Jan 10 2018 ..
-rwxr-xr-x 1 root root 1527608 Sep 28 12:40 bootx64.efi
.
. (stripped a gazillion files in /media/sda2/EFI/Microsoft)
.
media/sda2/EFI/opensuse:
total 3446
drwxr-xr-x 2 root root 1024 Jan 10 2018 .
drwxr-xr-x 5 root root 1024 Jan 10 2018 ..
-rwxr-xr-x 1 root root 58 Jul 4 20:16 boot.csv
-rwxr-xr-x 1 root root 155 Jul 4 20:16 grub.cfg
-rwxr-xr-x 1 root root 1010552 Jul 4 20:16 grub.efi
-rwxr-xr-x 1 root root 180736 Jul 4 20:16 grubx64.efi
-rwxr-xr-x 1 root root 1166552 Jul 4 20:16 MokManager.efi
-rwxr-xr-x 1 root root 1164376 Jul 4 20:16 shim.efi
root@PartedMagic:~#
So I suppose I should copy opensuse/grubx64.efi to Boot/bootx64.efi ?
For testing I booted Leap 15.1 install iso, with the following results:
Upgrade option: IIRC installation freeze on “starting udev”.
New install option, importing mount points: this proceed OK but I cancelled at the warning:
·Missing device for /boot/efi with size equal or bigger than 256 MiB and filesystem vfat
Now, EFI/Boot (/dev/sda2) is listed as fat32, not vfat. The partition size is 100 MiB with only 30 MiB used.
I understand that the size is usually not a problem, but don’t know about vfat x fat32.
That didn’t work, no change in UEFI boot device list (only windows listed) and system boot directly to windows.
Then your UEFI firmware has a Microsoft bias. Some systems are like that.
That is so with a HP laptop we have here, but this box is a desktop AND it dualbooted correctly before. Even if not so, I should be able to boot to openSUSE from the UEFI boot options.
Is secure-boot enabled?
If it is, then you need to copy different files.
Copy “opensuse/shim.efi” to “Boot/bootx64.efi”
and also copy “opensuse/grub.cfg” and “opensuse/grub.efi” to “Boot/.” (keep the same file names).
For reference Motherboard is a Gigabyte H81M-H (LGA 1150), BIOS version F9 dated 08/11/2015.
What is the result from efibootmgr on vtty2 when you boot any live media or installation media in UEFI mode? As long as the needed /boot/efi/opensuse/* files are present, you should be able to create an openSUSE entry if there isn’t one, and set opensuse default if there already is one.
This is from my multiboot UEFI Gigabyte PC with 2018 BIOS, and 15.0, 15.1 and TW among the installed distros:
# tree /boot/efi/ | grep -A1 suse
│ ├── opensuse
│ │ └── grubx64.efi
│ ├── opensuse01
│ │ └── grubx64.efi
│ ├── opensusetw
│ │ └── grubx64.efi
│ ├── opensusetw01
│ │ └── grubx64.efi
│ ├── opensusetw02
│ │ └── grubx64.efi
# efibootmgr
BootCurrent: 0000
Timeout: 1 seconds
BootOrder: 0000,0001,0003,0004
Boot0000* opensusetw
Boot0001* opensuse
Boot0003* Hard Drive
Boot0004* CD/DVD Drive
# efibootmgr -v | grep suset
Boot0000* opensusetw HD(1,GPT,5b2a...,0x800,0xa0000)/File(\EFI\OPENSUSETW\GRUBX64.EFI)
# grep DISTR /etc/default/grub
GRUB_DISTRIBUTOR="opensusetw"
If I hit F12 during POST, the opensusetw entry is third from top, with no mention among any of the boot selection entries of EFI. In that menu opensusetw is listed as on P5 because it’s on an M.2 card and there are MBR HDs on P0 and P2, which are the last listed entries.
From a console (ALT+CTRL+F2) in partedmagic liveCD
# efibootmgr
No bootload order is set; firmware will attempt recover
This repeats every time I run the command.
Tree appear a bit different here because partedmagic mounts /dev/sda under /media/sda2:
root@PartedMagic:~# tree /media/sda2 /media/sda2
└── EFI
├── Boot
│ └── bootx64.efi
There where no other files under EFI/Boot/, no opensuse folder.
I’ll try to set the secure mode files as nrickert suggested in post #15.
What do you see from the UEFI boot menu. Do you see the openSUSE entry and the Windows???
Problem with the UEFI flash memory maybe???
No change, still boot directly to windows, no new option in bios.
I’m considering restoring the /boot to it’s initial config and installing 15.1. But first, backup of config and home files.