Announcement

Collapse
No announcement yet.

KDM hangs on normal boot

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

    #16
    Re: KDM hangs on normal boot

    OK, again we will use fdisk and blkid outputs to analyze the situation. From fdisk:

    Code:
    Disk /dev/sdb: 160.0 GB, 160041885696 bytes
    255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
    Units = sectors of 1 * 512 = 512 bytes
    Disk identifier: 0x08380838
    
      Device Boot   Start     End   Blocks  Id System
    /dev/sdb1  *     63  303467849  151733893+ 83 Linux
    /dev/sdb2    303467850  312576704   4554427+  5 Extended
    /dev/sdb5    303467913  312576704   4554396  82 Linux swap / Solaris
    So fdisk says it is NOT sdb2, it is sdb5 that is set to swap.

    From blkid, we get a matching story:

    Code:
    /dev/sdb5: UUID="a25c3b30-7bcb-4b1b-b4a1-d5cf83c4f066" TYPE="swap"
    So your system is telling you the truth, and you have it correctly identified in /etc/fstab (except for the part where it used to be sda5):

    Code:
    # /dev/sda5
    UUID=a25c3b30-7bcb-4b1b-b4a1-d5cf83c4f066 none swap sw 0 0
    There is no apparent problem with swap on your system. The only problem is in your perception of where it is.

    Comment


      #17
      Re: KDM hangs on normal boot

      Yep, sorry. I got a bit confused there. QTParted says sdb2 is my swap file though

      Storage is listed twice though with the same UUID as both sda2 and sdb2.

      Should I ignore this and just carry on mounting the partitions back into fstab?

      Comment


        #18
        Re: KDM hangs on normal boot

        Hmmmmmmmm.

        QTParted does not have the greatest reputation with me (and others) -- I trust that kind of function to GParted. Apparently sdb5 is a LOGICAL partition in the sdb2 PRIMARY partition, so maybe QTParted isn't seeing sdb5. Because the LOGICAL partition sdb5 is exactly the same size as the PRIMARY partition sdb2, as reported by fdisk, we know that it is actually the same disk space, so QTParted is not entirely wrong. BTW, you could have just stopped when you made sdb2, if the only thing you needed it for was the swap space.

        Storage .... OK, now I think I'm getting confused! I just now noticed that while fdisk says /dev/sdb2 is an extended partition (which means it has no filesystem type), blkid says it is NTFS formatted. Hmmmmmmm.

        I think maybe you need to boot the Live CD (if you have it), or else make a GParted Live CD, and boot that, so your drives are not mounted, and just fix that partitioning problem. Delete the LOGICAL partition /dev/sdb5, so all that is left is /dev/sdb2 (and of course /dev/sdb1), then set the /dev/sdb2 filesystem type as "swap", and "Apply" the change. That may fix the problem with KDM not wanting to start automatically.

        Download the GParted Live CD image from here:

        http://sourceforge.net/project/showf...roup_id=115843

        Get the version 0.3.4-10 of the Live CD image -- there have been bugs reported for the -11 version.

        Comment


          #19
          Re: KDM hangs on normal boot

          Thanks for all your help so far. I have been considering moving all my data onto one partition which, considering all this pain, is now a great idea!! I'll do that, delete all the old unnecessary partitions and go from there. Once I've done that, I hope all will be much simpler and easy to set up correctly. Cheers!

          Comment


            #20
            Re: KDM hangs on normal boot

            Cheers, indeed!

            And, now I recommend the GParted Live CD even more, since it appears you will need it for your plan.

            Comment


              #21
              Re: KDM hangs on normal boot

              Hello again,
              Thanks for getting me this far. I have nice clean partitions now..much simpler.

              However, it hasn't fixed the problem.

              I didn't remove the extended partition as you suggested, simply because that is the default method the Kubuntu installation follows. I confirmed this before doing anything as I didn't want to be locked out of Linux. I did rebuild both the extended and the swap partitions though. Anyway, now the extended partition is not listed as type ntfs. Good start!

              I also reverted to vesa drivers again, just to rule the NVidia drivers out of the equation. Same problem there, recovery boot only!

              Anyway, I've posted all the new drive info again...

              Code:
              sudo fdisk -lu
              Disk /dev/sda: 20.4 GB, 20404101120 bytes
              255 heads, 63 sectors/track, 2480 cylinders, total 39851760 sectors
              Units = sectors of 1 * 512 = 512 bytes
              Disk identifier: 0x0d5c0d5c
              
                Device Boot   Start     End   Blocks  Id System
              /dev/sda1  *     63  39825134  19912536  7 HPFS/NTFS
              
              Disk /dev/sdb: 160.0 GB, 160041885696 bytes
              255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
              Units = sectors of 1 * 512 = 512 bytes
              Disk identifier: 0x40b540b4
              
                Device Boot   Start     End   Blocks  Id System
              /dev/sdb1       63  312576704  156288321  7 HPFS/NTFS
              
              Disk /dev/sdc: 160.0 GB, 160041885696 bytes
              255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
              Units = sectors of 1 * 512 = 512 bytes
              Disk identifier: 0x08380838
              
                Device Boot   Start     End   Blocks  Id System
              /dev/sdc1  *     63  303467849  151733893+ 83 Linux
              /dev/sdc2    303467850  312576704   4554427+  5 Extended
              /dev/sdc5    303467913  312576704   4554396  82 Linux swap / Solaris
              
              Disk /dev/sdd: 160.0 GB, 160041885696 bytes
              255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
              Units = sectors of 1 * 512 = 512 bytes
              Disk identifier: 0x26d126d0
              
                Device Boot   Start     End   Blocks  Id System
              /dev/sdd1  *     63  312576704  156288321  7 HPFS/NTFS
              
              
              
              
              
              stuart@re-entity:~$ blkid
              /dev/sda1: UUID="EAE47852E47822CD" TYPE="ntfs"
              /dev/sdd1: UUID="524CD63F4CD61D93" LABEL="Delta" TYPE="ntfs"
              /dev/sdb1: UUID="8098187098186746" LABEL="Programs" TYPE="ntfs"
              /dev/sdc5: TYPE="swap" UUID="7f0de5b7-4b79-4cfa-9d58-260e634e8a2b"
              /dev/sdc1: UUID="24cdf5ae-bfae-4257-926c-a8e2a1bc7679" SEC_TYPE="ext2" TYPE="ext3"
              
              
              
              
              
              stuart@re-entity:~$ cat /etc/fstab
              # /etc/fstab: static file system information.
              #
              # <file system> <mount point>  <type> <options>    <dump> <pass>
              proc /proc proc defaults 0 0
              # /dev/sda1
              UUID=24cdf5ae-bfae-4257-926c-a8e2a1bc7679 / ext3 nouser,defaults,errors=remount-ro,atime,auto,rw,dev,exec,suid 0 1
              # /dev/sda5
              UUID=a25c3b30-7bcb-4b1b-b4a1-d5cf83c4f066 none swap sw 0 0
              /dev/hdc /media/cdrom0 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
              /dev/hdd /media/cdrom1 udf,iso9660 user,atime,noauto,rw,dev,exec,suid 0 0
              What next?

              Comment


                #22
                Re: KDM hangs on normal boot

                Looking through the normal boot loading output I was asked the following:

                Code:
                Begin: Running /scripts/local-premount...
                resume: libcrypt version 1.2.4
                resume: Could not stat the resume device file '/dev/sda5'
                Please type in the full path name to try again or press ENTER to boot the system.
                I entered /dev/sdb5 and it gave the same message.
                I entered /dev/sdc5 and it booted normally!

                So I restarted to see how things went. Failed again. I guess it didn't save what it needed. So I booted in normal text mode once more, this time I entered /dev/sdc5 again, and it was rejected! But /dev/sdb5 was successful!

                Is my system nuts?!!!

                Comment


                  #23
                  Re: KDM hangs on normal boot

                  Hi all,

                  I've tried Ubuntu for a month or so, but haven't got used to Gnome and so yesterday I DELETED Ubuntu and installed Kubuntu 7.10 from the DVD release, my Video card is also a GeForce with NVIDIA driver.

                  Like in Ubuntu, upon first boot, Kubuntu tells me that I need the NVIDIA driver that is not "officially" supported and bla-bla-bla, I downloaded it, installed, restarted the system and it was all OK, then Kubuntu started a HUGE update, that runned for HOURS. After that, I used the system a bit and when restarting, I had the SAME problem, KDM hangs, the blue bar starts and, after some seconds, I get stuck in front of a black screen >

                  I reformated the partition and started al over again, many hours again for the huge upload and, again, the same problem. Please, any ideas ? Gnome in Ubuntu runs nice;

                  Thanks,

                  Mongo

                  Comment


                    #24
                    Re: KDM hangs on normal boot

                    HOWTO: Install and use the Envy script installer for video drivers
                    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


                      #25
                      Re: KDM hangs on normal boot

                      Thanks Snowhog, I'll try this later and will write back here,

                      Mongo

                      Comment


                        #26
                        Re: KDM hangs on normal boot

                        Worked like a charm, wonderful, THANKS !

                        Mongo

                        Comment

                        Working...
                        X