Might have a bit of a problem

So I’ve wanted to try linux for awhile and I decided to choose OpenSUSE and wanted to dual-boot it with windows 10 (so I could first get comfortable with it).

I found and used this guide: https://tweakhound.com/2015/11/04/dual-boot-opensuse-leap-and-windows-10-uefi/ and i’m certain I followed the instructions to the T (I think I might have created a new partition instead of adding one, but I couldn’t add one to my drive) but now when I turn on my laptop after a shutdown, there is no option for windows 10 to boot. It just loads straight into OpenSUSE. Did I overwrite windows 10? And if so what are possible solutions for retrieving it?
I also checked my BIOS and under the “boot” option the OS manager (I think that’s what its called) says OpenSUSE. Also what about my main partition? is that just not accessible anymore? I only allocated 30/900 gb for openSUSE (originally i was 140 but I reinstalled to make sure there was no issue).

I’ve also tried looking around in YAST and i’ve tried to switch to Grub2 and switch to custom boot partition but it changes right back after I click next (also gets stuck on 66 percent). Is there anyway to fix any of this?

On 18/07/16 14:16, dis4questions wrote:
>
> So I’ve wanted to try linux for awhile and I decided to choose OpenSUSE
> and wanted to dual-boot it with windows 10 (so I could first get
> comfortable with it).
>
> I found and used this guide: http://tinyurl.com/j8a3hln and i’m
> certain I followed the instructions to the T (I think I might have
> created a new partition instead of adding one, but I couldn’t add one to
> my drive) but now when I turn on my laptop after a shutdown, there is
> no option for windows 10 to boot. It just loads straight into OpenSUSE.
> Did I overwrite windows 10? And if so what are possible solutions for
> retrieving it?
> I also checked my BIOS and under the “boot” option the OS manager (I
> think that’s what its called) says OpenSUSE. Also what about my main
> partition? is that just not accessible anymore? I only allocated 30/900
> gb for openSUSE (originally i was 140 but I reinstalled to make sure
> there was no issue).
>
> I’ve also tried looking around in YAST and i’ve tried to switch to Grub2
> and switch to custom boot partition but it changes right back after I
> click next (also gets stuck on 66 percent). Is there anyway to fix any
> of this?

Well, I hope you made a backup of important data (and your installed
system for good measure), before you did the install.

There are experts on these forums that will pinpoint exactly what your
issue/s is/are and how to solve it/them in due course. Since I am no
expert, I can help you to ease some of your curiosity and worry by
advising you to run ‘fdisk -l’ command in a terminal (as root) and post
the output here. That should tell you what partitions you have on your
disk and if you have formatted some by accident. You can also view your
system disks/partitions in GUI mode via Yast2—>System–>Partitioner.

Cheers

thanks, I did that a couple of times and everything seems to be fine (the other ~700 gigs is still allocated to windows). Worst comes to worst, I just re-install windows 10 right (or re-allocate as much space as possible to opensuse)? This laptop is less than a month old so I don’t really have any extremely important data/information that I would need to part with.

here’'s what I got when I ran fdisk:

isk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: CCABD33D-47C7-42AE-816D-508E6A4B2366

Device Start End Sectors Size Type
/dev/sda1 2048 534527 532480 260M EFI System
/dev/sda2 534528 567295 32768 16M Microsoft reserved
/dev/sda3 567296 1594437631 1593870336 760G Microsoft basic data
/dev/sda4 1594437632 1897420799 302983168 144.5G Microsoft basic data
/dev/sda5 1901637632 1903077375 1439744 703M Windows recovery environment
/dev/sda6 1903077376 1953513471 50436096 24.1G Microsoft basic data
/dev/sda7 1897420800 1901637631 4216832 2G Microsoft basic data

Just a heads up, I ran into some other minor issues and had to re-install so I just gave it ~140 gb’s again.

On 18/07/16 15:46, dis4questions wrote:
>

>> Well, I hope you made a backup of important data (and your installed
>> system for good measure), before you did the install.
>>
>> There are experts on these forums that will pinpoint exactly what your
>> issue/s is/are and how to solve it/them in due course. Since I am no
>> expert, I can help you to ease some of your curiosity and worry by
>> advising you to run ‘fdisk -l’ command in a terminal (as root) and post
>> the output here. That should tell you what partitions you have on your
>> disk and if you have formatted some by accident. You can also view your
>> system disks/partitions in GUI mode via Yast2—>System–>Partitioner.
>>
>>
>> Cheers
>
> thanks, I did that a couple of times and everything seems to be fine
> (the other ~700 gigs is still allocated to windows). Worst comes to
> worst, I just re-install windows 10 right (or re-allocate as much space
> as possible to opensuse)? This laptop is less than a month old so I
> don’t really have any extremely important data/information that I would
> need to part with.
>
> here’'s what I got when I ran fdisk:
>
>
> isk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
> Units: sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 4096 bytes
> I/O size (minimum/optimal): 4096 bytes / 4096 bytes
> Disklabel type: gpt
> Disk identifier: CCABD33D-47C7-42AE-816D-508E6A4B2366
>
> Device Start End Sectors Size Type
> /dev/sda1 2048 534527 532480 260M EFI System
> /dev/sda2 534528 567295 32768 16M Microsoft reserved
> /dev/sda3 567296 1594437631 1593870336 760G Microsoft basic data
> /dev/sda4 1594437632 1897420799 302983168 144.5G Microsoft basic data
> /dev/sda5 1901637632 1903077375 1439744 703M Windows recovery
> environment
> /dev/sda6 1903077376 1953513471 50436096 24.1G Microsoft basic data
> /dev/sda7 1897420800 1901637631 4216832 2G Microsoft basic data
>
>
>
>
>
> Just a heads up, I ran into some other minor issues and had to
> re-install so I just gave it ~140 gb’s again.
>

Hi,
I have not yet used a system with UEFI (or Win 8/10) and the fdisk -l
output is not as it was on legacy bios systems (see below for output
example of my multi-boot system):

fdisk -l

Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: dos
Disk identifier: 0xb2bfd126

Device Boot Start End Sectors Size Id Type
/dev/sda1 2048 206847 204800 100M 7 HPFS/NTFS/exFAT
/dev/sda2 206848 210012159 209805312 100G 7 HPFS/NTFS/exFAT
/dev/sda3 * 210014208 1935908863 1725894656 823G 5 Extended
/dev/sda4 1935910912 1953523711 17612800 8.4G 7 HPFS/NTFS/exFAT
/dev/sda5 210016256 218562559 8546304 4.1G 82 Linux swap /
Solaris
/dev/sda6 218564608 230494207 11929600 5.7G 7 HPFS/NTFS/exFAT
/dev/sda7 230496256 332894207 102397952 48.8G 7 HPFS/NTFS/exFAT
/dev/sda8 332896256 537694207 204797952 97.7G 7 HPFS/NTFS/exFAT
/dev/sda9 537696256 599134207 61437952 29.3G 83 Linux
/dev/sda10 599136256 660574207 61437952 29.3G 83 Linux
/dev/sda11 660576256 865374207 204797952 97.7G 83 Linux
/dev/sda12 865376256 947294207 81917952 39.1G 83 Linux
/dev/sda13 947296256 988254207 40957952 19.5G 83 Linux
/dev/sda14 988256256 1039454207 51197952 24.4G 83 Linux
/dev/sda15 1039456256 1090654207 51197952 24.4G 83 Linux
/dev/sda16 1090656256 1152098303 61442048 29.3G 83 Linux
/dev/sda17 1152100352 1213542399 61442048 29.3G 83 Linux
/dev/sda18 1213544448 1254506495 40962048 19.5G 83 Linux
/dev/sda19 1254508544 1295454207 40945664 19.5G 83 Linux
/dev/sda20 1295456256 1930334207 634877952 302.8G 7 HPFS/NTFS/exFAT

Partition table entries are not in disk order.

Have a look in the Yast GUI Partitioner and list which partitions are
being used for what (e.g which is the windows 10 OS partition, the
openSUSE /, /swap (and /home, if separate partition is used). Otherwise
‘arvidjaar’ is the best person to sort you out on issue like these (and
you could investigate his recent postings in the forum where he has
dealt with similar issues).

Cheers

That is odd why so many Linux partitions??

If you re install you must tell the installer where to install to. If you don’t it thinks it is a totally new install and simply adds more partitions. Always pay attention to all screens when you install a new OS don’t just accept things blindly like you may do with Windows program installs.

A little about Linux disk usage. default usage uses 3 partitions. swap/root/home. Again default root should be about 40gig if using the BTRFS file system home is where your personal files and settings are stored. You need to use the space you want to devote to your personal storage needs. Keeping home on a separate partition helps when upgrading or changing Linux distros. since only the stuff on root needs to change you personal stuff does not get touched.

and the boot partition, since the OP uses UEFI…

That last table is DOS partitioning not GPT

THE OP showed a GPT format with EFI boot

peter_abc has jumped into the thread with a completely different set up

If you did so, you deleted your Windows bootloader. Please show output of “ls -lR /boot/efi” in tags code.

this what I got when I ran that.

drwxr-xr-x 20  users  4096 Jul 18 01:31 ./
drwxr-xr-x  3 root     root     22 Jul 18 01:27 ../
-rw-------  1  users    12 Jul 18 01:33 .bash_history
-rw-r--r--  1  users  1177 Jul 18 01:27 .bashrc
drwxr-xr-x  2  users     6 Jul 18 01:27 bin/
drwxr-xr-x  6  users   276 Jul 18 12:23 .cache/
drwx------  7  users  4096 Jul 18 01:41 .config/
drwx------  3  users    25 Jul 18 01:29 .dbus/
drwxr-xr-x  2  users    65 Jul 18 01:30 Desktop/
drwxr-xr-x  2  users     6 Jul 18 01:29 Documents/
drwxr-xr-x  2  users     6 Jul 18 01:29 Downloads/
-rw-r--r--  1  users  1637 Jul 18 01:27 .emacs
-rw-------  1  users    16 Jul 18 01:30 .esd_auth
drwxr-xr-x  2  users    81 Jul 18 01:30 .fontconfig/
drwxr-xr-x  2 users    23 Jul 18 01:29 .fonts/
-rw-r--r--  1  users   350 Jul 18 01:30 .gtkrc-2.0
-rw-r--r--  1  users   305 Jul 18 01:27 .i18n
-rw-r--r--  1  users   861 Jul 18 01:27 .inputrc
drwx------  3  users   105 Jul 18 01:31 .kde4/
drwx------  3  users    19 Jul 18 01:29 .local/
drwx------  4  users    39 Jul 18 01:31 .mozilla/
drwxr-xr-x  2  users     6 Jul 18 01:29 Music/
drwxr-xr-x  2  users     6 Jul 18 01:29 Pictures/
-rw-r--r--  1  users  1028 Jul 18 01:27 .profile
drwxr-xr-x  2  users     6 Jul 18 01:29 Public/
drwxr-xr-x  2  users    24 Jul 18 01:27 public_html/
drwxr-xr-x  2  users     6 Jul 18 01:29 Templates/
drwxr-xr-x  2  users     6 Jul 18 01:29 Videos/
-rw-------  1  users    60 Jul 18 01:29 .Xauthority
-rw-r--r--  1  users  1952 Jul 18 01:27 .xim.template
-rwxr-xr-x  1  users  1112 Jul 18 01:27 .xinitrc.template*
-rw-------  1  users     0 Jul 18 01:29 .xsession-errors
-rw-------  1 users 58048 Jul 18 12:25 .xsession-errors-:0


you re install you must tell the installer where to install to. If you don’t it thinks it is a totally new install and simply adds more partitions. Always pay attention to all screens when you install a new OS don’t just accept things blindly like you may do with Windows program installs.

I made sure I used the exact same set-up as in the tutorial that I looked at, not sure where I went wrong.

No, you did not run what I asked. Please, paste exact command and its output as well as “df -h” (exact command and its output).