Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

  1. #1

    Default Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

    Hello,

    I've tried to installed on a Windows 10 based Lenovo X1 Carbon partitioned SSD the OpenSuse Leap 42.2. The Boot UEFI options were changed to Legacy and the installation started normally until I hit the partitioning page on the OpenSuse installation. The option to delete the Windows partition did not satisfy me so I've tried to change the configuration only to have a message that it was not possible to access the /dev/sda disk.

    Note that from Windows I have already partitioned the 256SSD to 2 partitions one that holds Windows and one (NTFS) that supposed to be destined for linux. The disk is not encrypted.

    Are there any suggestions on what am I doing wrong? I suspect the BIOS options though I cannot figure out what might be the problem.

    Thanks in advance

  2. #2
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,904

    Default Re: Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

    Please (re)check if your Win10 is installed in "legacy" mode on a MBR formatted disk (unlikely on such a new ultrabook), or if the disk is GPT partitioned and W10 boots in UEFI mode.
    If the latter is true, you must start the installer in UEFI mode, maybe with SecureBoot disabled (you may re-enable it after install): you must never mix UEFI and "legacy" if you want to be able to dual-boot.

    Then be aware that OpenSUSE doesn't install on a NTFS partition and it is better to leave free (unallocated) space on the disk and let the installer use it at best.

    Please also check if you really intend to install Leap 42.TWO which is currently in Alpha 3 test phase, or if you are referring to the current Leap 42.1.
    Leap 15.1 Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.2

  3. #3

    Default Re: Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

    @OrsoBruno I'll start with the last proposal of yours. I've noticed that the 42.2 is in alpha3 state when I have almost downloaded the DVD iso image. I will try today to download and install the 42.1 stable version instead and let you know. I have already deleted the D: volume and let it be as unallocated for future use. As for the UEFI boot options I suppose that this is not the problem as it does let me start the installation for the OpenSuse linux distribution. If I have the same luck with the above changes I will try to mess around with the BIOS settings once more. Thank you

  4. #4
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,904

    Default Re: Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

    Quote Originally Posted by markman8 View Post
    As for the UEFI boot options I suppose that this is not the problem as it does let me start the installation for the OpenSuse linux distribution. If I have the same luck with the above changes I will try to mess around with the BIOS settings once more. Thank you
    OK, a few additional notes might be helpful.

    The installer starts even in legacy mode, but then expects an MBR formatted disk and if it finds a GPT disk it tries to wipe everything (Windows or not) and reformat the disk as legacy MBR. So, if you want to keep a GPT/UEFI Win10, you MUST start the installer in UEFI mode.

    If you have an X1 Carbon with an i# 6xxx (Skylake) processor, you are better off with a kernel version 4.4.x and above, as in Leap 42.2; that's why I asked to check.
    With the 4.1.x kernel currently on Leap 42.1 you are likely to see graphics glitches with integrated graphics.
    Should this be the case, you may install 42.1 and then upgrade the kernel one way or the other; feel free to ask if you need help.
    Should you dare to install 42.2, please be aware that the next Beta1 should be released in a week or so. It is already useable, but not ready for production work yet.
    Leap 15.1 Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.2

  5. #5

    Default Re: Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

    No luck The machine I am running is an i7 4600. The message that parted o/ps is: "Error Operation not permitted on disk /dev/sda. The partitioning on your disk /dev/sda is either not readable or not supported by the partitioning tool parted used to change the partition table ..." I've downloaded and made bootable a usb-flash with 42.1 opensuse version. Half of the SSD disk was unallocated. Yet I get the same error message as before. Now as far as the UEFI settings from BIOS I have tried to change it to reboot to windows only using the UEFI mode (so I imagine it looked for GPT partitioned disk) and the pc did not manage to boot. I suppose that means that Windows installation took part on an MBR formated SSD. Changing back the BIOS to Legacy it managed to boot normally. The installation of OpenSuse 42.1 took part while the BIOS was set to legacy. I have tried earlier with 42.2 to install them in UEFI mode but installation stuck at the same partitioning section. Better this way as I would not be able to dual boot any more. Finally I used Diskpart from Windows just to try to verify if the current partitioning is MBR or GPT based but I came out with no results. I did not feel comfortable playing with it to be honest.

  6. #6
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,904

    Default Re: Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

    Chances are that this is indeed an MBR formatted disk. Please be careful with Win Diskpart, you might loose everything on the disk if you don't know what you are doing. But you can safely issue the following commands and post results:
    Code:
    LIST DISK
    
    SELECT DISK 0 (assuming you have only one disk installed)
    
    LIST PARTITION
    If you have an OpenSUSE (or other GNU Linux) live or rescue CD, you might use parted or gparted to get more information on your disk.
    I think that booting the installer, at the partitioning stage, if you choose the "Expert Partitioner" and double click on "Hard Disks", then "sda" and look in the "Overview" tab for "Disk Label" you can see if it is a GPT disk or not.
    The "Partitions" tab should also reveal info equivalent to the Diskpart commands above.

    With the above info maybe we are able to understand why you see "Error Operation not permitted on disk /dev/sda."
    Leap 15.1 Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.2

  7. #7

    Default Re: Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

    Ok, I did what you suggested and I came back with some results:

    Code:
    DISKPART> list partition
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Primary            500 MB  1024 KB
      Partition 2    Primary            113 GB   501 MB
      Partition 3    Primary            109 GB   114 GB
    And the results from OpenSuse installation are:
    Code:
    Hard Disk: /dev/sda
    ...
    Hard Disk
    
    • Vendor: INTEL
    • ....
    • Disk Label: GPT
    So I suppose I do have the format in GPT mode.

    Any suggestions from now on? Thank you!

  8. #8
    Join Date
    Oct 2014
    Location
    Italy
    Posts
    1,904

    Default Re: Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

    OK, let's assume that your system has:
    - a GPT formatted disk (so it has almost no limit on the number of partitions available)
    - Win10 is installed and booted in "legacy" (or MBR) mode (unusual, but still possible).

    Apparently (from Lenovo web site) your laptop seems to be equipped with a 256 GB SSD.
    Your 3 partitions span about 223 GB, contrary to your statement in post #5 that "half of the SSD was UNALLOCATED".
    When the OpenSUSE installer sees a situation like that, it cannot go ahead without DELETING or RESIZING a partition to make room for the new OS to be installed; hence the "operation not permitted" warning.

    Now my guess is:
    - Partition 1 is a Win10 boot partition (or might be a UEFI boot partition, but apparently you boot in "legacy" mode, so I'm not sure);
    - Partition 2 is the Win10 System partition; be absolutely sure not to delete partitions 1 and 2;
    - Partition 3 is still an NTFS partition you created for OpenSUSE (an "empty" partition is not "unallocated" space on the disk).
    Please double check if this is the actual setup on the disk and DO NOT COMMIT ANYTHING TO DISK if you are not absolutely sure.

    In a situation like that, I would do the following.
    1) Delete the empty partition (let's assume it is Partition 3);
    2) setup a 20 GB partition, formatted as EXT4, to be mounted as /root for OpenSUSE; (note: I prefer EXT4 on SSD installs, use a 40GB partition formatted as BTRFS if you prefer the standard OpenSUSE install);
    3) setup a swap partition just larger that your RAM (4 - 8 GB?) if you plan on using "suspend to disk" AKA "hibernate";
    4) fill the remaining space with an EXT4 (or XFS if you prefer the standard OpenSUSE install) partition to be mounted as /home for your user files in OpenSUSE.
    I think you can do all that with the "Expert Partitioner" during install, but I don't have an installer image to check at the moment. Use GParted on a LiveCD or Linux rescue disk if you have one.
    It is generally safe to play with the installer UNTIL YOU PRESS THE "INSTALL" button when you are warned that "if you go ahead you will overwrite the content on your disk" or similar...
    Please ask here before doing that if you are not absolutely sure.
    Leap 15.1 Gnome on i7 4720HQ + Geforce GTX960M
    testing Leap 15.2

  9. #9

    Default Re: Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

    Yes you are right:
    I have once more removed the unallocated space to NTFS when I saw that it was not possible to install OpenSuse and then executed Diskpart. Hence the Partition 3 appears to be NTFS.

    I will turn it back to unallocated and try the manual installation using the steps you have suggested and let you know.

    Thank you very much for everything!

  10. #10

    Default Re: Lenovo X1 Carbon: Partitioned Not possible to install OpenSuse

    Nope!

    Here is the o/p from Diskpart right at this moment:
    Code:
    DISKPART> list partition
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Primary            500 MB  1024 KB
      Partition 2    Primary            113 GB   501 MB
    
    DISKPART>
    So it dos not "see" any more the Partition 3 which is now Unallocated.

    I have tried to install OpenSuse manually and the message I get when I try to Add a new partition (or assign something to the unallocated space) I get the same error message which I will provide bellow almost complete:
    Code:
    Error
     Operation not permitted on disk /dev/sda.  
    
    The partitioning on  your disk /dev/sda is either not readable or not supported by the  partitioning tool parted used to change the partition table
    
    You can use the partitions on disk /dev/sda as thy are or format them and assign mount points, but you cannot add, edit, resize, or remove partitions from tat disk here
    Then it says that I can select Expert ->Create New Partition Table but I will loose any data on the disk.

    What I saw on the expert settings partitioning by selecting from Disks the /sda the two partitions as in Diskpart as
    /dev/sda1 500.00 MiB
    /dev/sda2 113.93 GB
    and only the Unallocated space in graphic form on top in red showing the correct space as 109.14GB. The Add button on this stage produced the message above.

    I suppose the only option I have left is to format the whole disk and start over. Or is there another?

Page 1 of 2 12 LastLast

Posting Permissions

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