Page 1 of 4 123 ... LastLast
Results 1 to 10 of 38

Thread: Cannot install Leap 42.1 after disk issues

  1. #1
    Join Date
    Jun 2008
    Location
    Akkrum, Netherlands
    Posts
    139

    Default Cannot install Leap 42.1 after disk issues

    Yesterday I saved the data from a friend's disk, of which the partition info had gone. With testdisk I could repair that, and make a backup of the user data, but the system would not boot from the disk.
    Setting the root partition as bootable, and, as last resort, letting testdisk write a new MBR, didn't help.

    The disk has three partitions, on swap, root and home. When connected to my Tumbleweed system, I see the original data in both root and home (well, otherwise I couldn't have made a back-up )

    So I decided to install leap 42.1 on it, but the install program sees a complete different partition scheme. Three partitions, but no swap seen, much smaller, and the main part of the disk as unpartitioned.
    And it finds no fstab to grab a partitioning scheme from.

    Of course I could simply repartition the disk, having a backup, but I'm curious to what goes wrong here...

    Any thoughts?

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,802
    Blog Entries
    14

    Default Re: Cannot install Leap 42.1 after disk issues

    Show us the relevant info of
    Code:
    fdisk -l
    and
    Code:
    gdisk -l
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,703

    Default Re: Cannot install Leap 42.1 after disk issues

    -l does not work with gdisk point it to the drive to show ie something like gdisk /dev/sda

  4. #4
    Join Date
    Jun 2008
    Location
    Akkrum, Netherlands
    Posts
    139

    Default Re: Cannot install Leap 42.1 after disk issues

    Code:
    fdisk -l /dev/sdg
    Schijf /dev/sdg: 931,5 GiB, 1000204886016 bytes, 244190646 sectoren
    Eenheid: sectoren van 1 * 4096 = 4096 bytes
    Sectorgrootte (logisch/fysiek): 4096 bytes / 4096 bytes
    In-/uitvoergrootte (minimaal/optimaal): 4096 bytes / 4096 bytes
    Schijflabeltype: dos
    Schijf-ID: 0x00000000
    
    Apparaat   Op.   Begin     Einde  Sectoren Grootte ID Type
    /dev/sdg1        40192    566271    526080      2G 82 Linux wisselgeheugen
    /dev/sdg2  *    566272   5809151   5242880     20G 83 Linux
    /dev/sdg3      5809408 244190463 238381056  909,4G 83 Linux
    Code:
    gdisk -l /dev/sdg
    GPT fdisk (gdisk) version 1.0.1
    
    Partition table scan:
      MBR: MBR only
      BSD: not present
      APM: not present
      GPT: not present
    
    
    ***************************************************************
    Found invalid GPT and valid MBR; converting MBR to GPT format
    in memory. 
    ***************************************************************
    
    Disk /dev/sdg: 244190646 sectors, 931.5 GiB
    Logical sector size: 4096 bytes
    Disk identifier (GUID): 3A11D696-D398-4311-BF3F-27D9A36955C9
    Partition table holds up to 128 entries
    First usable sector is 6, last usable sector is 244190640
    Partitions will be aligned on 256-sector boundaries
    Total free space is 40619 sectors (158.7 MiB)
    
    Number  Start (sector)    End (sector)  Size       Code  Name
       1           40192          566271   2.0 GiB     8200  Linux swap
       2          566272         5809151   20.0 GiB    8300  Linux filesystem
       3         5809408       244190463   909.4 GiB   8300  Linux filesystem

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,802
    Blog Entries
    14

    Default Re: Cannot install Leap 42.1 after disk issues

    Quote Originally Posted by gogalthorp View Post
    -l does not work with gdisk point it to the drive to show ie something like gdisk /dev/sda
    Right, I was too fast.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6
    Join Date
    Jun 2008
    Location
    Akkrum, Netherlands
    Posts
    139

    Default Re: Cannot install Leap 42.1 after disk issues

    Would write the partition data to disk with gdisk be a good idea?

  7. #7
    Join Date
    Jun 2008
    Location
    Akkrum, Netherlands
    Posts
    139

    Default Re: Cannot install Leap 42.1 after disk issues

    Quote Originally Posted by Knurpht View Post
    Right, I was too fast.
    But gdisk does not complain about -l, and gives more data.

    Without -l:

    Code:
    gdisk /dev/sdg
    GPT fdisk (gdisk) version 1.0.1
    
    Partition table scan:
      MBR: MBR only
      BSD: not present
      APM: not present
      GPT: not present
    
    
    ***************************************************************
    Found invalid GPT and valid MBR; converting MBR to GPT format
    in memory. THIS OPERATION IS POTENTIALLY DESTRUCTIVE! Exit by
    typing 'q' if you don't want to convert your MBR partitions
    to GPT format!
    ***************************************************************
    Why is it wrong?
    Last edited by Knurpht; 15-Oct-2016 at 06:53.

  8. #8
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,802
    Blog Entries
    14

    Default Re: Cannot install Leap 42.1 after disk issues

    Quote Originally Posted by jehojakim View Post
    But gdisk does not complain about -l, and gives more data. Why is it wrong?
    The -l option works without further parameters for fdisk, not for gdisk, which needs a device parameter
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  9. #9
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,802
    Blog Entries
    14

    Default Re: Cannot install Leap 42.1 after disk issues

    Could you post the same, when booted from the Leap install medium? BTW does that boot in EFI mode or non-EFI?
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  10. #10
    Join Date
    Jun 2008
    Location
    Akkrum, Netherlands
    Posts
    139

    Default Re: Cannot install Leap 42.1 after disk issues

    Quote Originally Posted by Knurpht View Post
    Could you post the same, when booted from the Leap install medium? BTW does that boot in EFI mode or non-EFI?
    Hmmm.. How do I know whether it boots in EFI- or non-EFI mode?

Page 1 of 4 123 ... LastLast

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
  •