Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20

Thread: Unable to install windows alongside openSUSE

  1. #11

    Default Re: Unable to install windows alongside openSUSE

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Easy enough to check..
    Code:
    parted /dev/sda 'print'
    parted /dev/sdb 'print'
    I pre-prepare my disks for dual/multibooting so I'm pretty sure I formatted to fat32 (which it is on my windows 10/tumbleweed).
    Hi, Thanks both of you So indeed, that's the case...

    parted /dev/sda 'print'
    Code:
    Model: ATA WDC WD20EZRX-22D (scsi)
    Disk /dev/sda: 2000GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags:  
    
    Number  Start   End     Size    File system     Name                          Flags
     1      1049kB  316MB   315MB   ntfs            Basic data partition          hidden, diag
     2      316MB   420MB   105MB   fat32           EFI system partition          msftdata
     3      420MB   555MB   134MB   ntfs            Microsoft reserved partition  msftres
     4      555MB   258GB   257GB   ntfs            Basic data partition          msftdata
     5      258GB   795GB   537GB   xfs             primary                       msftdata
     6      795GB   902GB   107GB   btrfs           primary                       msftdata
     7      902GB   1976GB  1074GB  xfs             primary                       msftdata
     8      1976GB  2000GB  24.3GB  linux-swap(v1)  primary                       msftdata
     9      2000GB  2000GB  447MB   fat16           primary                       boot, esp
    So, what can we do to change it?

    Also, the output of

    mount /dev/sda2 /mnt
    ls /mnt
    Code:
    RecoveryRecovery.txt
    
    umount /mnt



    efibootmgr -v
    Code:
    BootCurrent: 0000
    Timeout: 1 seconds
    BootOrder: 0000,0004,0001,000A,000C,0008
    Boot0000* opensuse-secureboot   HD(9,GPT,c5bcad96-f2ed-4f4a-a219-dd7760643d36,0xe8d33800,0xd5000)/File(\EFI\opensuse
    \shim.efi)
    Boot0001* Windows Boot Manager  HD(1,GPT,1e03ad32-79bb-45fc-b628-84e449ebfb77,0x800,0x4e000)/File(\EFI\Microsoft\Boo
    t\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4
    .4.d.4.7.9.5.}...o................
    Boot0004* opensuse      HD(1,MBR,0x571148304,0x800,0x201cc2)/File(\EFI\opensuse\grubx64.efi)
    Boot0008  Hard Drive    BBS(HD,,0x0)AMGOAMNO..........S.A.T.A. . .P.S.:. .W.D.C. .W.D.2.0.E.Z.R.X.-.2.2.D.8.P.B.0...
    ......................rN.D+..,.\...........R..Gd-.;.A..MQ..L.S.A.T.A. . .P.S.:. .W.D.C. .W.D.2.0.E.Z.R.X.-.2.2.D.8.P
    .B.0......AMBOAMNO.........S.A.T.A. . .S.S.:. .W.D.C. .W.D.1.0.E.A.R.S.-.0.0.Y.5.B.1.........................rN.D+..
    ,.\...........P..Gd-.;.A..MQ..L.S.A.T.A. . .S.S.:. .W.D.C. .W.D.1.0.E.A.R.S.-.0.0.Y.5.B.1......AMBO
    Boot000A* UEFI: WDC WD20EZRX-22D8PB0    PciRoot(0x0)/Pci(0x1f,0x2)/Ata(0,1,0)/HD(2,GPT,c176f7a1-f6da-4c53-8615-e9a0f
    f12898f,0x96800,0x32000)AMBO
    Boot000C* CD/DVD Drive  BBS(CDROM,,0x0)AMGOAMNO........m.T.S.S.T.c.o.r.p. .C.D.D.V.D.W. .S.H.-.2.2.2.B.B............
    ........A.........................>..Gd-.;.A..MQ..L.8.R.T.S.G.6.C.G.0.6.D.0.V.W. . . . . . ......AMBO
    
    

  2. #12
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,005

    Default Re: Unable to install windows alongside openSUSE

    What version of Windows? 7 does not work with secure boot

  3. #13
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,704
    Blog Entries
    15

    Default Re: Unable to install windows alongside openSUSE

    Quote Originally Posted by gogalthorp View Post
    What version of Windows? 7 does not work with secure boot
    Hi
    It's 10 preview....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  4. #14
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    16,005

    Default Re: Unable to install windows alongside openSUSE

    Missed that. hard to tell then

  5. #15
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,704
    Blog Entries
    15

    Default Re: Unable to install windows alongside openSUSE

    Quote Originally Posted by feb8born View Post
    Hi, Thanks both of you So indeed, that's the case...

    parted /dev/sda 'print'
    Code:
    Model: ATA WDC WD20EZRX-22D (scsi)
    Disk /dev/sda: 2000GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: gpt
    Disk Flags:  
    
    Number  Start   End     Size    File system     Name                          Flags
     1      1049kB  316MB   315MB   ntfs            Basic data partition          hidden, diag
     2      316MB   420MB   105MB   fat32           EFI system partition          msftdata
     3      420MB   555MB   134MB   ntfs            Microsoft reserved partition  msftres
     4      555MB   258GB   257GB   ntfs            Basic data partition          msftdata
     5      258GB   795GB   537GB   xfs             primary                       msftdata
     6      795GB   902GB   107GB   btrfs           primary                       msftdata
     7      902GB   1976GB  1074GB  xfs             primary                       msftdata
     8      1976GB  2000GB  24.3GB  linux-swap(v1)  primary                       msftdata
     9      2000GB  2000GB  447MB   fat16           primary                       boot, esp
    So, what can we do to change it?

    Also, the output of

    mount /dev/sda2 /mnt
    ls /mnt
    Code:
    RecoveryRecovery.txt
    
    umount /mnt



    efibootmgr -v
    Code:
    BootCurrent: 0000
    Timeout: 1 seconds
    BootOrder: 0000,0004,0001,000A,000C,0008
    Boot0000* opensuse-secureboot   HD(9,GPT,c5bcad96-f2ed-4f4a-a219-dd7760643d36,0xe8d33800,0xd5000)/File(\EFI\opensuse
    \shim.efi)
    Boot0001* Windows Boot Manager  HD(1,GPT,1e03ad32-79bb-45fc-b628-84e449ebfb77,0x800,0x4e000)/File(\EFI\Microsoft\Boo
    t\bootmgfw.efi)WINDOWS.........x...B.C.D.O.B.J.E.C.T.=.{.9.d.e.a.8.6.2.c.-.5.c.d.d.-.4.e.7.0.-.a.c.c.1.-.f.3.2.b.3.4
    .4.d.4.7.9.5.}...o................
    Boot0004* opensuse      HD(1,MBR,0x571148304,0x800,0x201cc2)/File(\EFI\opensuse\grubx64.efi)
    Boot0008  Hard Drive    BBS(HD,,0x0)AMGOAMNO..........S.A.T.A. . .P.S.:. .W.D.C. .W.D.2.0.E.Z.R.X.-.2.2.D.8.P.B.0...
    ......................rN.D+..,.\...........R..Gd-.;.A..MQ..L.S.A.T.A. . .P.S.:. .W.D.C. .W.D.2.0.E.Z.R.X.-.2.2.D.8.P
    .B.0......AMBOAMNO.........S.A.T.A. . .S.S.:. .W.D.C. .W.D.1.0.E.A.R.S.-.0.0.Y.5.B.1.........................rN.D+..
    ,.\...........P..Gd-.;.A..MQ..L.S.A.T.A. . .S.S.:. .W.D.C. .W.D.1.0.E.A.R.S.-.0.0.Y.5.B.1......AMBO
    Boot000A* UEFI: WDC WD20EZRX-22D8PB0    PciRoot(0x0)/Pci(0x1f,0x2)/Ata(0,1,0)/HD(2,GPT,c176f7a1-f6da-4c53-8615-e9a0f
    f12898f,0x96800,0x32000)AMBO
    Boot000C* CD/DVD Drive  BBS(CDROM,,0x0)AMGOAMNO........m.T.S.S.T.c.o.r.p. .C.D.D.V.D.W. .S.H.-.2.2.2.B.B............
    ........A.........................>..Gd-.;.A..MQ..L.8.R.T.S.G.6.C.G.0.6.D.0.V.W. . . . . . ......AMBO
    
    
    Hi
    What you could do is copy the contents of /dev/sda9 to a tar file, then restore it after formating /dev/sda9 to fat32.

    Code:
    pwd
    /root
    tar -C /boot/efi -cvzf temp_efi.tgz EFI
    ls -la *.tgz
    -rw-r--r-- 1 root root 13357841 Jul  5 18:06 temp_efi.tgz
    If you see the files created in the verbose output, and check the archive, in theory format the partition fat32, then replace the files via;

    Code:
    tar -C /boot/efi -xvzf temp_efi.tgz EF
    You would then need to ensure /dev/sda2 is not set to type ef00.

    Else, just let windows 10 use sda2 to install it's efi files, all should be good as the entries in nvram (efibootmgr output) point at the different mounts anyway....
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #16

    Default Re: Unable to install windows alongside openSUSE

    Quote Originally Posted by malcolmlewis View Post
    Hi
    What you could do is copy the contents of /dev/sda9 to a tar file, then restore it after formating /dev/sda9 to fat32.

    Code:
    pwd
    /root
    tar -C /boot/efi -cvzf temp_efi.tgz EFI
    ls -la *.tgz
    -rw-r--r-- 1 root root 13357841 Jul  5 18:06 temp_efi.tgz
    If you see the files created in the verbose output, and check the archive, in theory format the partition fat32, then replace the files via;

    Code:
    tar -C /boot/efi -xvzf temp_efi.tgz EF
    You would then need to ensure /dev/sda2 is not set to type ef00.

    Else, just let windows 10 use sda2 to install it's efi files, all should be good as the entries in nvram (efibootmgr output) point at the different mounts anyway....
    Thanks! I converted the EFI partition to FAT32 and deleted all other windows created partitions at the time of install. So windows 10 was not trying to create any other partitions this time, but then, it still failed to install with the same error message.. "We couldn't create a new partition or locate an existing one. For more information, see the Setup log files." Note sure what is causing this...

  7. #17
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,704
    Blog Entries
    15

    Default Re: Unable to install windows alongside openSUSE

    Hi
    Then I would try setting the type of /dev/sda2 to ef00 with gdisk and then format to fat32 and see what occurs.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #18

    Default Re: Unable to install windows alongside openSUSE

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Then I would try setting the type of /dev/sda2 to ef00 with gdisk and then format to fat32 and see what occurs.
    Windows was being quite stubborn :-) That also didn't work.. and as a last resort, i had to backup my data and deleted all the partitions on sda and then windows easily installed on the unallocated space which I later adjusted and now TW is running well with Windows 10 :-)

    However, I first installed openSUSE TW on sdb, then installed windows 10 on sda (windows used the EFI on sdb automatically). Until then, dual booting worked well.. Then I installed another instance of TW on sda using a different EFI on sda (as the earlier one would have been overwritten), but now, I can only boot between TW on sda and windows 10.. how do I boot on TW on sdb (which I later want to use for openSUSE 42)?

  9. #19
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    29,704
    Blog Entries
    15

    Default Re: Unable to install windows alongside openSUSE

    Quote Originally Posted by feb8born View Post
    Windows was being quite stubborn :-) That also didn't work.. and as a last resort, i had to backup my data and deleted all the partitions on sda and then windows easily installed on the unallocated space which I later adjusted and now TW is running well with Windows 10 :-)

    However, I first installed openSUSE TW on sdb, then installed windows 10 on sda (windows used the EFI on sdb automatically). Until then, dual booting worked well.. Then I installed another instance of TW on sda using a different EFI on sda (as the earlier one would have been overwritten), but now, I can only boot between TW on sda and windows 10.. how do I boot on TW on sdb (which I later want to use for openSUSE 42)?
    Hi
    Use the efibootmgr to create an nvram entry pointing to the sdb esp, eg;

    Code:
    efibootmgr -c -d /dev/sdb -L "openSUSE Tumbleweed secure" -l "\\EFI\\opensuse\\shim.efi"
    efibootmgr -c -d /dev/sdb -L "openSUSE Tumbleweed" -l "\\EFI\\opensuse\\grubx64.efi"
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #20

    Default Re: Unable to install windows alongside openSUSE

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Use the efibootmgr to create an nvram entry pointing to the sdb esp, eg;

    Code:
    efibootmgr -c -d /dev/sdb -L "openSUSE Tumbleweed secure" -l "\\EFI\\opensuse\\shim.efi"
    efibootmgr -c -d /dev/sdb -L "openSUSE Tumbleweed" -l "\\EFI\\opensuse\\grubx64.efi"
    Thank you, it worked and I could boot into the sdb partition. However, Once again I noticed the peculiar issue that I always notice when installing two versions of openSUSE, like in this case... the one installed later works well, like it is now. However, the previous one (the one on sdb in this case) goes to emergency boot and then I am able to boot it using sddm, but even then, internet doesn't work and many of the things also don't work as expected.
    And despite not making any changes, from the last 2-3 times, the sdb system doesn't even boot to emergency mode.. it remains stuck at the messages which show that the disk has been found (the sdb disk)...

Page 2 of 2 FirstFirst 12

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •