Dual boot openSUSE 15.6 - Windows 7

My first post was about the live system… the second is about… installing :slight_smile:

My first step back into Linux world (after leaving SuSe Linux 35 years ago)
was with Mint. But this doesn’t fit me, while openSUSE seems to.

As it is essential for me to use Win7 for some time, I need dual boot.
Paying attention to disable “secure boot”, and installing Mint with same
BIOS type as Windows (Legacy-BIOS) went fine with Mint.

But in openSUSE it seems to be different/ less “confortable”.
And the info about it mostly isn’t so fresh anymore, so I have to ask.

It’s at an Intel i7, 8GB RAM.
SSD (250GB, MBR): 108GB Win7 System (NTFS), 140GB Mint “/” (ext4)
HDD (16TB, GPT): 12TB Win7 user data (NTFS), 4TB Mint “/home” (ext4)

Now if I install openSUSE (in Legacy-Mode, right?) is there anything special
I have to pay attention to?
What do I have to do that at boot time I can choose between openSUSE and Win7?
(The installation guide says “openSUSE will boot by default

But the partitioning!
I would like to “fit” openSUSE in about the way/ space where Mint resides now (as ext4):
System at non windows partition of SSD (/dev/sdb) and
/home at non windows partition of HHD (/dev/sda)
I did like this:
(new users only one image allowed)
https://c.gmx.net/@1155842887640945833/fcSZZUCBTsCruTDwWhAosA

But the result worries me much:
suse6

As small partition /dev/sda1 is deleted on HDD… (Won’t this effect Win7 access etc.?)
The suggested partitioning seems to delete the whole SSD (/dev/sdb5 and /dev/sdb3)!
Also there is an “efi” subvolume…?
(Beside I would like to have swap at SSD (/dev/sdb) and not at HDD).
What am I doing wrong?

TIA

Your screenshot says “settings provided by the user” but you do not show these settings, only the final result. But I do not think installer can do what you want using simple workflow of guided setup. You need to enter expert partitioning and explicitly select partitions you want to use (and their usage) or create additional partitions.

I cannot access the link in your post. Better is to upload to https://paste.opensuse.org/

Strange you cannot access the link. It should be valid world-wide.
Try this

Moreover maybe the volume view of the current partitions may help:

Apart from the fact that screenshot is in German on English speaking forum which automatically reduces the number of users who can interpret it, it does not really provide any way to link Linux partitions to Windows partitions nor does it show partition table type (MBR or GPT). But as educated guess, the installer does exactly what you requested - it keeps Windows and deletes existing Linux partitions. I have no idea what /dev/sda1 is, it is not shown on your Windows screenshot.

No, it deletes extended partition /dev/sdb3 which automatically deletes logical partition /dev/sdb5 with Linux. Again, this is a guess. If you want to be sure, provide output of

fdisk -l
lsblk -f

from any live Linux. As preformatted text pasted in the post, not as picture.

You need to do it using Expert Partitioning, you cannot do it using Guided Setup. You can start Expert Partitioning with existing proposal though.

So, I have to go to some site wanting me to accept its cookies, download archive with unknown content … what’s wrong with uploading images to the link I gave you?

Maybe, but not “people wide”.

Not everybody likes it to access unknown web sites.

Here we go:
(Hope you don’t mind the language. Still the output is the same as in English).
Please keep in mind that (for some strange reason) the openSUSE installer
and my running Mint system have /dev/sda and /dev/sdb exchanged.

sudo fdisk -l
...          
Festplatte /dev/sda: 232,89 GiB, 250059350016 Bytes, 488397168 Sektoren
Festplattenmodell: Samsung SSD 850 
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 512 Bytes
E/A-Größe (minimal/optimal): 512 Bytes / 512 Bytes
Festplattenbezeichnungstyp: dos
Festplattenbezeichner: 0x1ee32918

Gerät      Boot    Anfang      Ende  Sektoren  Größe Kn Typ
/dev/sda1  *         2048    206847    204800   100M  7 HPFS/NTFS/exFAT
/dev/sda2          206848 226727935 226521088   108G  7 HPFS/NTFS/exFAT
/dev/sda3       226729982 488396799 261666818 124,8G  5 Erweiterte
/dev/sda5       226729984 488396799 261666816 124,8G 83 Linux


Festplatte /dev/sdb: 14,55 TiB, 16000900661248 Bytes, 31251759104 Sektoren
Festplattenmodell: ST16000NT001-3LV
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: B0DFD624-C0AE-4E5F-B684-9C54B1EACFC2

Gerät           Anfang        Ende    Sektoren Größe Typ
/dev/sdb1           34      262177      262144  128M Microsoft reserviert
/dev/sdb2       264192 22938861567 22938597376 10,7T Microsoft Basisdaten
/dev/sdb3  22938861568 31251757055  8312895488  3,9T Linux-Dateisystem

Partition 1 beginnt nicht an einer physikalischen Sektorgrenze.
(translation: partition 1 doesn't start at a physical sector bondary)

and

lsblk -f
NAME FSTYPE FSVER LABEL UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
sda                                                                         
├─sda1
│    ntfs         System Reserved
│                       FA042863042824DB                                    
├─sda2
│    ntfs         System-Laufwerk
│                       12A42CACA42C946F                                    
├─sda3
│                                                                           
└─sda5
     ext4   1.0         0be7603a-e337-46d3-b0f1-3bdd39a4411a   75,6G    33% /
sdb                                                                         
├─sdb1
│                                                                           
├─sdb2
│    ntfs         Daten-Laufwerk
│                       DC38E30F38E2E78A                        3,5T    67% /media/user42/Daten-Laufwerk
└─sdb3
     ext4   1.0         6d09012b-803e-4965-9a2e-8a766b53e74b    3,6T     0% /home
sr0           

Concerning “Expert Partitioning”
I’ve to admit I would like to avoid that, as I’m anything but an openSUSE expert,
actually having just basic knowledge.
But, if I get you right, the everything is OK with the Guided Setup (also that efi entry?).
Just the place of swap would need the Expert Partitioning? (Probably choosing the SSD
instead of HDD will change the other settings too…).

Remains the most important question for me:
Will I have the chance to choose between Win7 and openSUSE when booting
when installing this way?

That is an easy one. Prefix all your commands with LANG=C. E.g.

LANG=C fdisk -l

The disk order is reversed compared to installer, but yes - installer suggests removing two Linux partitions and /dev/sdb1. There is no known filesystem on /dev/sdb1, but partition type is “Microsoft reserved”, so it may be needed for your Windows instance. You better ask on Microsoft forums about it.

The partitions created by installer will not be in disk order (i.e. partition 1 will be after partition 2). It is not fatal, but sometimes may be confusing.

All this calls for using Expert Partitioning to leave /dev/sdb1, reuse /dev/sdb3 and create swap on /dev/sda.

I am not sure what you call “efi entry”. If it is subvolume for grub2 - it does not harm anything. It does not mean installer will setup bootloader for UEFI.

You should, make sure to enable “Probe for foreign OS” in bootloader settings.

Thank you very much :slight_smile:

Asking in a Microsoft forum about Windows 7?
You’re joking, aren’t you? :joy:

OK, I’ll do - at my own risk of course - the way you propose.

However, as this is important point and so I’ve to understand:

Which partitions do you mean?
In Suggested Partitioning installer creates 3 partitions: 2 at HDD and 1 at SSD (“/”).

And you suggest reusing /dev/sdb3 as it is and shall stay ext4 (for “/home”)?

It is entirely permissible.

Asked the other way round:
Should I make the installer “name” the partitions in disk order (and how) ?

I’ve found exactly 2 hits in the internet about that; and none in openSUSE doc.
Where and when shall I do that?
(Keep in mind I’m a beginner :slightly_smiling_face: ).

probe

1 Like

Just tell Expert Partitioning to use the existing partition /dev/sdb3 without changing other partitions in this disk.

You got me wrong with that.

I wonder if I should do (and what?) about the partition order you mentioned:

“Partition” naming is an option that can make identifying and managing multiple “partitions” easier. Once a partition has been created, it must be formatted before it can be used. As a part of the formatting process, or afterward, a volume LABEL can be assigned to the filesystem contained, which many refer to as a “name”. The admin can choose any LABEL he deems useful, memorable or otherwise appropriate. Mine usually are 9-10 characters made up from portions of disk identifier, partition number, and intended usage, so that they are unique, and remain unique, even when the disk is moved to a different computer or used externally. e.g. pt3p05home for a Patriot SSD’s 5th partition used for mounting on /home/.

So I finally don’t understand what was meant with @arvidjaar’s post (see above).

Maybe something more visual can be more helpful.

Yes, I know about partions’ name.
But that’s not what I’m talking about.
@arvidjaar said that way the openSUSE installer takes /dev/sda and /dev/sdb is the opposite order
as the disks’ order (the latter is what my actual Mint does: /dev/sda for SSD and /dev/s for HDD). And that this might give confusion.
It obviously already does, as openSUSE installer takes HDD for the quick drive and therefore
chooses HDD for swap (which is about the worst to do). So I - for one thing - have to change it manually in “Expert Partitioning”.

So my simple question: Is there anything I should about this order when installing?

OK, finally I dared to enter “Expert Partitioning”.
Still, things are not as expected there…

  • Starting the installer this time he take the SSD as /dev/sda. Fine.
  • Selecting hard disks this time I choose to “not modify” Windows systems,
    “remove even if not needed” Linux partitions and “remove if needed” for other partitions
  • Entering the “Expert Partitioning” it shows the swap partition at sdb (HDD). As I couldn’t move it I deleted it.The result:

    Please not that the Windows partitions sda1, sda2 and sdb2 are not mounted. Will they be accessable to me?
    I was told to reuse sdb3 (ext4 from Mint), but if I choose to “Don’t format” I’m not allowed to mount.
    OK, next I wanted to add a swap partition to sda, but that was “not possible”.
    So I didn’t hesitate to delete sda3, add a swap partition (of mem size) as sda3 and last but not least add sda4 as “/” (Btrfs).
    The final result… (oh… not allowed for me… see next post please)

BTW

I tried, but message “Something went wrong…”. Moreover 99% of pastes are SPAM.

This would be the final result:

Will this do?