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

Thread: boot problem with Leap 42.2 - can I install open SUSE 15.2

  1. #1

    Default boot problem with Leap 42.2 - can I install open SUSE 15.2

    Hello!

    I am a beginner when it comes to Linux installation. I run into boot problems with Linux installation I had (Leap 42.2) while trying to install python and fixing some libraries inconsistencies (not very successfully obviously). I have some limited support and I think there was an attempt to go back to the previous installation to undo the python mess I created. But right now I have a boot problem.

    The error i see on screen is the following:

    failed to create mount unit file /run/systemd/generator/home.mount duplicate entry


    According to some online posts this is a ‘cosmetic problem’ and not a cause for the boot errors. Following the post advice I hit Esc to see more information that could identify the problem and the hang happens after:

    [ OK ] Started Getty on tty1.
    [ OK ] Started target Login Prompts.
    [ OK ] Started /etc/init.d/after.local Compatibility
    Starting X Display Manager
    Starting Locale Service



    So perhaps this is the windows manager that crashes since there is no ‘OK’ there? I dont get to the point where I can log or use command line to see something more.


    I am wondering what should I do now. And specifically if I can simply try to download the open suse 15.2 and try to boot from a DVD


    http://download.opensuse.org/distribution/leap/15.2/iso/openSUSE-Leap-15.2-DVD-x86_64.iso


    Forgive my ignorance but can you point me to some reading or posts where I could learn more to about how to upgrade without possibly loosing the existing files? I guess normally you make a backup and then just run an upgrade, but I can not boot.
    I have two disks mounted. Not that much I worry about on the main disk that contained all the main partitions in the current install. And en extra disk with quite a lot I would like to still have access too. I am not sure I understand/explain this properly.

    Any advice much appreciated!

    Kasia




  2. #2
    Join Date
    Aug 2010
    Location
    Chicago suburbs
    Posts
    14,416
    Blog Entries
    3

    Default Re: boot problem with Leap 42.2 - can I install open SUSE 15.2

    I'm not sure what caused your problem. Support for 42.2 ended some time ago (several years ago). Yes, I would recommend that you install Leap 15.2.
    openSUSE Leap 15.2; KDE Plasma 5.18.5;

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    12,735
    Blog Entries
    2

    Default Re: boot problem with Leap 42.2 - can I install open SUSE 15.2

    Answering your question about accessing and preserving your files...
    You should make a backup or better yet a copy of all your personal files (recommend an external hard drive as easiest).
    If you download the most recent LEAP 15.2 DVD, you cannot simply run LEAP 15.2 like a LiveCD, the DVD can only be used for installing and upgrading.

    Regarding any attempt to upgrade preserving all your applications and personal files...
    I wouldn't advise that because upgrades are supported from one version to the next. You would have to download and upgrade
    42.2 > 42.3 > 15.0 > 15.1 > 15.2

    I would install ask you to inventory which applications you've installed and are using. More than likely you can replace and re-install rather than upgrade.
    As for your personal files, once you've identified their location (most will be a subdirectory of /home) you can simply copy them elsewhere and back again to minimize any risk to your files.

    So, to review since an upgrade strategy is likely your best way forward (and keep updated on a weekly or monthly basis)...
    Unless you ahve an extra hard drive or an extraordinary amount of unused disk space, you'll have to invest in an external disk drive. You might be able to buy a smaller drive, but typically the "sweet spot" where you get best value for money spent is about $100 US dollars... give or take a little bit each way. If you know someone who is willing to lend you this, that's great, otherwise you can continue to make good use of your purchase after you've used it to safeguard your files during your upgrade.

    You'll need to inventory what apps you're using.
    As a home user, it's unlikely any apps can't be replaced, but to be certain you need to either evaluate or post a list of your apps so others can confirm your apps aren't worth upgrading and don't pose special problems.

    You'll want to copy any important data to a safe place, I've recommended an external hard drive.

    Only after you've prepared thoroughly, you should be able to re-install with LEAP 15.2, install any apps you need brand new, copy your personal files to their usual locations in your system and... You'll be good moving forward.

    HTH,
    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

  4. #4

    Default Re: boot problem with Leap 42.2 - can I install open SUSE 15.2

    Hej guys!

    Thank you so much for all the responses and detailed information =)
    I actually dont mind trying to do the updates the way you described going through all the versions. If I can learn to better understand Linux administration along the way. I need better control over my workstation and being more self-sufficient.

    CURRENT ISSUE: open SUSE 42.3 upgrade and a GUI 'Login Failed' problem.
    I have just upgraded to openSUSE 42.3

    root login and starts in terminal works. The same root and password combination in any GUI I have available now (IceWM, KDE Plasma Workspace, Plasma 5, User/System Default) give me 'Login Failed'. Same for my user.

    Q1. does one create new posts for each problem like this? Since I am no longer trying to install 15.2....?
    Perhaps not.

    Briefly in connection to the advice I got before:
    I could not boot the computer or ssh to it from elsewhere, so with the unresolved boot problem I could not access any files.
    I realized I did not try booting from previous system snapshots systematically to find the one that was still working. Sorry I am learning all this as I go along.
    I went back one by one, to identify a snapshot that did not hang and allowed me to log into the computer, missed that I needed to 'rollback' and started doing updates, created more snapshots, went back again to last working snapshot, did the rollback. It seems to take back all these unfortunate python libraries that created the problem in the first place.
    From there I followed a very easy step-by-step instruction on upgrading 42.2. --> 42.3
    https://kamarada.github.io/en/2017/0.../#.X2tvty3USjQ
    I did the upgrade, I can log into both root and my account from terminal after accusing it thought Ctrl-Alt-F1.

    But I can not log into the GUI.

    That seems to be a fairly common problem I found several suggestions. I actually seem to have the same problem as described here
    https://forums.opensuse.org/showthre...esktop-Problem

    now that I realized I can start GUI from command line login by doing as root
    # init 3
    # startx

    FINE!

    but if I login as myself I can no longer startx getting some of the following error messages:

    Please check the log file "/home/kasia/.local/share/xorg/Xorg.0.log" for additional information"
    VGA Arbitration: Cannot restore default device
    Server terminated with error
    (...)
    /usr/bin/Xorg is not setuid, maybe that is the reason? Use display manager (or something about /etc/permissions.local)

    Following the advice from the post I tried
    systemctl status display-manager
    Q2. How can I show the output to you guys? I have a crappy phone photo of the screen and dont want to re-type all the lines from that.
    It seems I also lack from skills for writing the outputs in the posts properly.
    I just thought maybe I output the commands to a file and log into the forum from the workstation root account where GUI works to paste it all...?

    Further:
    Is auto-login configured?
    Code:
    grep "AUTO" /etc/sysconfig/displaymanager


    No, auto login is empty "" so that is good.

    There was a helpful description to try simpler graphical interfaces for example "IceWM". That does not seem to help.

    Q3. Is it possible that keyboard setup is different in terminal and GUI?
    I was wondering if it is possible that when I type the special character in password in terminal it is not the same as what I type in GUI. Since I can not see them. In terminal I can check by typing password as login if the password is right. In GUI I can not type and see, only * appear, so I can not even check if the special character is what it should be.

    Q4. Is using 'zypper dup' the problem?
    It seems some people dont recommend using zypper dup to upgrade
    Why do you use 'dup' on Leap? It might even cause your issues. Leap needs 'zypper up'.
    from
    https://forums.opensuse.org/showthread.php/529691-Cannot-login-to-GUI-after-zypper-dup

    but that seems to be exact same command that the official system upgrade is using
    https://doc.opensuse.org/documentation/leap/startup/html/book-opensuse-startup/cha-update-osuse.html

    Q5.
    I saw some suggestions to try downgrading plasma and see if it helps. I am guessing using IceWM which seems a simple GUI is sort of checking that this will not help? I dont want to start blindly playing around with GUIs.

    Q6.
    There is a list of commands that I pasted at the end mentioned in other posts. However I dont know what to look for.
    Let me know if it would be helpful to post any of that and from which user, or maybe it does not make a difference for most fo them.

    so I am not sure what is a good direction to follow now.

    I appreciate a pointer on what might be helpful, and any other comments you might have.

    THANKS A LOT!

    Kasia

    COMMANDS I HAVE NOT TRIED
    because I dont know what to look for and currently did not figure out how to paste outputs here:


    more information about your graphics hardware/drivers
    Code:
    /sbin/lspci -nnk|egrep -iA3 "vga|graphics"

    Code:
    inxi -Gxx

    To get an overview of the execution tree of systemd units (current init system) doCode:
    sudo systemd-analyze critical-chain

    You'll see that display-manager.service is triggered by graphical.target
    Code:
    cat /usr/lib/systemd/system/display-manager.service

    When you installed, which did you choose, Gnome, KDE, or one of the others? Such choice would affect which login manager was installed.

    Code:
    zypper se -si dm

    will list installed dm package gdm, kdm, lightdm, lxdm or sddm plus xdm, and

    Code:
    ps -A | grep dm

    will show which, if any, is running.

  5. #5

    Default Re: boot problem with Leap 42.2 - can I install open SUSE 15.2

    Sorry for the messy editing! I tried to change it later on but there is only 10min to do it. And I am experiencing a lot of hanging of this page right now.

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,138

    Default Re: boot problem with Leap 42.2 - can I install open SUSE 15.2

    A few things.

    First about posting computer code:
    There is an important, but not easy to find feature on the forums.

    Please in the future use CODE tags around copied/pasted computer text in a post. It is the # button in the tool bar of the post editor. When applicable copy/paste complete, that is including the prompt, the command, the output and the next prompt.

    An example is here: Using CODE tags Around your paste.

    Then about the versions of openSUSE. You have indicated with the prefix above that you use openSUSE Leap 15.2. But you are all the time talking about 42.n versions, which are not supported for a long time already. Not many people will have a 42 version to see if they can follow all what you say, they can not look anymore in e.g. configuration files to compare with what you have, etc.

    Best is to save your user data (and probably other data like databases) and install openSUSE Leap 15.2. Then it will be an easier concversation with your fellow openSUSE users here, because all are then talking about the same.
    Henk van Velden

  7. #7

    Default Re: boot problem with Leap 42.2 - can I install open SUSE 15.2

    Hej!

    Thanks for the comments. I will use the code tag!

    Some of the questions I thought are general (not connected to the version) and come not enough knowledge of Linux administration. But I am learning.

    15.2 is exactly what I want.
    I thought I had no choice but to re-install the system because of boot problems.
    But if possible, isn't it better to do the upgrades from version to version (skipping versions is not supported) and not touch the files and programs? This in my intuition perhaps I am wrong.
    If I re-install the system directly to 15.2 then the main partition/disk where root directory / is located is wiped - am I wrong? I need to create partitions on that disk again, copy all the files from backups, install all programs again, perhaps mount other disks again(?). That is how I understand it. Am I wrong?

    I skipped solving the GUI problem since it did not prevent me from doing the next upgrade.
    Currently I have en error with double lines in /etc/fstab and trying to figure out how is that file created, and why two things (disks...?) are mounted under /home.
    One more upgrade and we are speaking about the same version finally and I can shoot my issues hopefully, hopefully I get there.

    thanks!

  8. #8
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    27,138

    Default Re: boot problem with Leap 42.2 - can I install open SUSE 15.2

    When you have now 42.2 and want to go to 15.2 then a fresh install is the best.

    You can upgrade from one version to another, but that is only supported one step at a time. And such an upgrade should be done on fully up-to date versions In this case that would involve four (4!) steps. And how to get each of them fully updated where most of them are out of support? And it would be best to run each of them for some time to iron out some differences that might show up. I do not think that is a clever path to go.

    And yes, a fresh install will start from a clean system part. Most people save there (user) data, e.g. by having a separate partition for /home that will then of course be left as it is.

    And when you talk about having two lines for mounting /home in your /etc/fstab, that is certainly wrong. You have to find out which one is correct and remove the other.
    Henk van Velden

  9. #9

    Default Re: boot problem with Leap 42.2 - can I install open SUSE 15.2

    Hej!

    Thanks a lot or the explanation with the upgrades! I do see your point now.
    I have been reading up about the fstab. Especially that on top of the double /home mount in fstab, I also have one more issue with a RAID0 that does not want to assemble (whatever that means). Apparently due to some error between Linux kernel changes where an array size have been unintentionally changed and one has to set a number now (default_layout) to make sure the correct value is used. Way over my head!
    Do I want to do an open heart operation while reading up about it on the Internet? No thanks ;-)
    Silly joke to diffuse the nerves. Obviously this is pretty easy and I can roll anything back, haha!
    At least for now. Back to square 1.

    OK!
    I do have a separate /home partition.
    I am still not sure what about the tools but that is a smaller issue since there are not many of them. (/bin is overwritten but anything installed in /home is not?)
    So when I do a fresh install I need to create the partitions and decide their sizes, or keep default. And create users again, right?

    If I do

    Code:
    df -h
    I see sizes of the / and /home

    /dev/sda2 27G /
    /dev/sda3 71G /home
    Here is also a whole bunch of folders like /var, /tmp on /dev/sda2 - not sure who re-created that (do I need to do something or the system creates that?)

    I can see where are my other two disks that I need to be able to access
    /dev/sdd1
    /dev/md0
    and some folders mounted over network from another machine, that dont care about that much.

    1. Does that mean that if I do not create /home again?
    and then the old one simply stays where it was...? How do I make sure that the new files in root paritition / are not written where the /home partition is now?

    2. What about the users?
    I setup root user again, separate it from my user that I need to create again....?

    Sorry for asking about the same things over and over but I am still not sure about this.
    And I get this open-heart-operation feeling that I do not want to mess this up and then think what to do.

    thanks so much for Linux-babysitting me =)

    Kasia

  10. #10
    Join Date
    Oct 2014
    Location
    Switzerland
    Posts
    746

    Default Re: boot problem with Leap 42.2 - can I install open SUSE 15.2

    Easiest option that I see is to fresh-install LEAP 15.2 replacing the Leap 42.2 "/" partition and use the same /home partition during installation. The important step is that you create a new user with a different name.

    This way, you can have an up to date system with the ability to move things over from old home.

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
  •