Announcement

Collapse
No announcement yet.

Karmic freezing on boot

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Karmic freezing on boot

    I am quite new to linux but have had the system working fine for about 4 months till today.
    I turned the computer on, selected Kubuntu 9.10 'something ending in 17', went into the graphical interface, typed in my password, got three out of the four icons appear and then it just sits there.

    Really confused cos I've not changed anything recently

    Anyone know what's occurring?

    System is Asus AM2 motherboard, Phenom 3core, 2GB RAM, nvidia graphics card

    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # / was on /dev/sda1 during installation
    UUID=a22b7deb-f9cc-480f-85f6-3a6e0a1ba182 / ext4 errors=remount-ro 0 1
    # swap was on /dev/sda5 during installation
    #UUID=d03782bd-d22e-400f-ad5f-1826c99d23c0 none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    /dev/mapper/cryptswap1 none swap sw 0 0
    /swap_file none swap sw 0 0

    #2
    Re: Karmic freezing on boot

    Hi

    Do you have another user account to test? Otherwise, just login using a Failsafe session (not a KDE session, look for the option in the login manager). Inside the window type this

    sudo adduser visitor

    After this, try to login as "visitor", and see if it works. We'll take it from there

    Comment


      #3
      Re: Karmic freezing on boot

      Thanks lmilano

      I tried that and got the following:

      Swap: waiting for /dev/mapper/cryptswap1
      mountall: Cancelled
      GEneral error mounting filesystems
      A maintenance shell will now be started
      CONTROL-D will terminate this shell and re-try

      This gave a prompt so I typed in 'sudo adduser visitor' and it got as far as:
      Copying files from '/etc/skel'
      Enter new UNIX password:

      I typed in a short password and nothing happened on screen, not even my typing

      Comment


        #4
        Re: Karmic freezing on boot

        ah! there is an issue strange with that swap partition. Can you reboot and choose the recovery mode, choose the "root" shell option, and type "nano /etc/fstab"

        This will allow you to open the fstab file. Then go to the line

        /dev/mapper/cryptswap1 none swap sw 0 0

        And add a preceding "#":
        # /dev/mapper/cryptswap1 none swap sw 0 0

        After that, please try another reboot. Hope this helps, keep us posted!

        Comment


          #5
          Re: Karmic freezing on boot

          Thanks for the reply lmilano

          I tried that, had to do it from the Live CD, and no change still locks up at the third icon

          Comment


            #6
            Re: Karmic freezing on boot

            Between the time you last booted okay, and this 'freeze', did you have an external USB HD attached that is not attached now? A thumb drive?
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              Re: Karmic freezing on boot

              Yes a 4GB USB stick I use for my college work

              Comment


                #8
                Re: Karmic freezing on boot

                Can you try the suggestion above one more time? (adding the user, presumably now you should be fine, that swap error should be gone ... also, pls make sure that you saved your changes to fstab, silly as it sounds)

                Comment


                  #9
                  Re: Karmic freezing on boot

                  My thanks Imilano and Snowhog for spending time on this problem of mine.

                  OK, I tried the suggested - plugged in the USB stick, booted into recovery mode and created a visitor user account successfully.
                  I checked fstab and the 'dev/mapper/cryptswap1' line is commented out.
                  Rebooted selecting normal mode from the grub boot list. Logged in as visitor - works fine. Switched user to my original user account and locks up as before. I get the hard disk, tools and globe icon then nothing so not getting to desktop and into KDE

                  Looking at the fstab file and running 'sudo blkid' and 'sudo fdisk -l' I got to say my drives are all over the place and the system is completely avoiding the original swap partition setup on /dev/sde5.

                  Comment


                    #10
                    Re: Karmic freezing on boot

                    Apparently it's two issues: your user accound and fstab. Let's do one at a time. Login as the visitor user, open konsole and run "kdesudo dolphin" to get a filemanager that can edit system files. Now, you have two options:

                    1. To reset ALL the KDE settings in your user accound, navigate to /user/YOURNAME, and rename the ".kde" folder into something else (it is a hidden folder, you can enable viewing these from the menu). To undo this, you could rename back the same folder to ".kde".

                    2. A little more work: navigate into /user/YOURNAME/.kde/share/config, and remove any file whose name starts with "plasma". This will only reset some of the settings, and some times is enough.

                    You do this for the original user of couse, from the temporary user you created, then you login as your regular user. I would try option 2. first.

                    Once we get this going, we'll need more info to fix the filesystem.

                    It's a pleasure to help people who appreciate the help they get Cheers!
                    Leo

                    Comment


                      #11
                      Re: Karmic freezing on boot

                      Thanks Leo but...

                      renamed .kde nothing changed
                      looked for the plasma files in that folder and it was empty

                      I have completely wiped the drive now and re-installed, going to take an age to get everything the way I had it but couldn't spend more time now trying to get it working.

                      Thanks again

                      Comment


                        #12
                        Re: Karmic freezing on boot

                        I know the pain, sorry I couldn't help. At least you learned a few tricks in case things go south next time.

                        I always recommend installing a second desktop (lxde in my case) and a second user, in case things go wrong. you may want to consider doing that now that you are getting a fresh install.

                        Best!

                        Comment


                          #13
                          Re: Karmic freezing on boot

                          I will certainly bare that in mind Leo

                          I'm nearly done reinstalling all the apps now (slow download speed in this area) but have one more little question

                          Any idea why the accessories menu would disappear?

                          Kubuntu may not be simple but its way better than Microsoft's pitiful offerings. lol

                          Comment

                          Working...
                          X