Announcement

Collapse
No announcement yet.

Help! Can't load my Kubuntu

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

    Help! Can't load my Kubuntu

    I am relatively new to Linux although I've played with Kubuntu for the last year or so and learned to love it. My problem is that I cannot boot Kubuntu. I shut down my computer over the weekend (normal shutdown) and when I turned it back on I couldn't load the Kubuntu OS. It will progress normally until the Kubuntu logo and the blue progress bar comes on the screen. Then it will dump me into busybox. Also, I'm not sure if it's related or not, but I cannot access my computer's BIOS. I would appreciate any help that anyone could offer, but keep in mind that I am a newbie and don't do better with gui than command line unless it's spelled out step by step.

    #2
    Re: Help! Can't load my Kubuntu

    Hi,

    so you cannot get into the BIOS That seems indeed odd and points to a hardware problem rather than anything else. To confirm you may want to boot a live CD and see whether that comes up...

    If it does, we'll try to get your Kubuntu up and running again. If it doesn't it may that you got yourself an M$ root kit on board
    Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

    Comment


      #3
      Re: Help! Can't load my Kubuntu

      My BIOS is apparently set to boot first from the hard drive (can't get in to see), but I did disconnect my hard drive and then the live CD boots okay. I'm not sure what that tells you.

      Comment


        #4
        Re: Help! Can't load my Kubuntu

        Ah! There is hope

        When you next switch the computer on you will see the grub screen first with its three entries for kubuntu followed by whatever other OSs you have on your machine.

        When that screen appears press "e" for edit. The next screen should show you the entries for your standard OS, i.e. Kubuntu. Select the line beginning with "kernel" and find and delete the last two words, i.e. "quiet splash". Press enter and boot.

        The system should now come up without the graphic nonsense. Instead you (should) see the kernel at work. Please note where it stops, if it stops at all.

        FYI - deleting those couple of words is only valid for this one booting procedure.

        Let us know what happens.
        Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

        Comment


          #5
          Re: Help! Can't load my Kubuntu

          I fixed the BIOS (unrelated problem) but I still cannot boot Kubuntu. Toad, I followed the instructions in your last post. Something seemed to be working (non-graphical), and it eventually stopped after appearing to detect all the peripherals on my system. I'm assuming that it was doing what it should although how would I know (I don't understand too much code)? How do I get a normal boot into the graphical environment?

          Comment


            #6
            Re: Help! Can't load my Kubuntu

            Glad you got your BIOS sorted!

            In order to get your X (the graphical interface or in Kubuntu's case KDE) back on the road we need to know the exact result of the non-graphical boot. Please do it again. If you get a shell (name_of_your_computer:~$), we are back on track. In that case try the following:
            Code:
            sudo /etc/init.d/kdm start
            And report back.
            Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

            Comment


              #7
              Re: Help! Can't load my Kubuntu

              Okay, I tried it again it ran through a bunch of stuff but ended with this (these are the last few lines):


              Begin: Running /scripts/init-bottom ...
              Done.
              Target filesystem doesn't have /sbin/init

              BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu7) Built-in shell (ash)
              Enter 'help' for a list of built-in commands.

              (initramfs) _

              Comment


                #8
                Re: Help! Can't load my Kubuntu

                Right, my immediate guess is that perhaps you have done something to the partitioning before the weekend?

                I have read that if you replace the words "quiet splash" in the grub kernel line with "all_generic_ide --" the system will boot and bring you to at least the command line login. Is that the case?

                If so please log in and type
                Code:
                sudo /etc/init.d/kdm start
                to see whether kdm comes up. If it does, log in and stay in to post the output of the following commands:

                Code:
                sudo blkid
                Code:
                cat /etc/fstab
                Code:
                sudo fdisk -l
                If kdm does not come up we have to get the above output from a live CD. This is slightly more complicated, as you would have to jump through a couple more hoops, but still perfectly manageable.
                Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                Comment


                  #9
                  Re: Help! Can't load my Kubuntu

                  Okay, I replaced "quiet splash" with "all_generic_ide --" but I still ended up in BusyBox. And I don't recall doing anything to the partitioning since I installed Kubuntu about 6 months ago. I'll include the last dozen lines here for you:

                  Begin: Running /scripts/init-bottom ...
                  Done.
                  [ 71.037086] usb 1-2: new low speed USB device using uhci_hcd and address 3
                  Target filesystem doesn't have /sbin/init


                  BusyBox v1.1.3 (Debian 1:1.1.3-5ubuntu7) Built-in shell (ash)
                  Enter 'help' for a list of built-in commands.

                  (initramfs) [ 71.210209] usb 1-2: configuration #1 chosen from 1 choice
                  [ 71.452668] usb 8-1: new high speed USB device using ehci_hcd and address 2
                  [ 71.586860] usb 8-1: configuration #1 chosen from 1 choice
                  [ 71.601958] input: Logitech USB Mouse as /class/input/input2
                  [ 71.602027] input: USB HID v1.10 Mouse [Logitech USB Mouse] on usb-0000:00:1a
                  .0-2
                  [ 71.602158] usbcore: registered new interface driver usbhid
                  [ 71.602206] /build/buildd/linux-source-2.6.22-2.6.22/drivers/hid/usbhid/hid-c
                  ore.c: v2.6:USB HID core driver
                  _

                  Comment


                    #10
                    Re: Help! Can't load my Kubuntu

                    Have you inserted a usb stick or other device (flash disk) which could have switched the order of disks around? If so, please unplug it/them and try again.

                    If not, boot from a live CD, assume root of your Kubuntu install by opening a root shell in your live CD environment and type
                    Code:
                    chroot /dev/sda1
                    If you are using the Kubuntu live CD that should read
                    Code:
                    sudo chroot /dev/sda1
                    NOTE: in the above cases you are now root for /dev/sda1, i.e. the first partition of your master disk drive. If your Kubuntu / is on the slave disk then it should read sdb.
                    The same goes for the partition. If your Kubuntu / is on the third primary partition, the number should be 3 instead of 1. If it is on the first logical partition the number should be 5, the second logical = 6, etc.

                    Hope that is clear. If in doubt, please ask.

                    Once you have assumed root of your Kubuntu install please input the last three commands of my previous post and post them here in the forum.
                    Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                    Comment


                      #11
                      Re: Help! Can't load my Kubuntu

                      More bad news!!! I can't boot from my live cd. I tried several versions of Linux cds, but my Kubuntu live cd acts the same as if I boot from hard drive. The only thing that I can get to run on the computer is Puppy Linux (loads into ram). Any ideas? I appreciate any help.

                      Comment


                        #12
                        Re: Help! Can't load my Kubuntu

                        You could either proceed as in my previous post or save your home partition using the puppy live CD and then install puppy.
                        Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                        Comment


                          #13
                          Re: Help! Can't load my Kubuntu

                          Okay, I am running on a live puppy cd, and I tried "chroot /dev/sda1" in the terminal and it just returned with "chroot: cannot change root directory to /dev/sda1: Not a directory". I also tried "sudo chroot /dev/sda1" and the return was "bash: sudo: command not found".

                          I can access /dev/sda1 though, and I am wondering if I could just back up my home directory, format the hard drive, and do a reinstall of Kubuntu, although I am wondering how to do that if I can't get the Kubuntu live cd to work. I am also afraid that I'll lose data (how does it work? is everything in the home directory?).

                          Comment


                            #14
                            Re: Help! Can't load my Kubuntu

                            aldee, you are persistent. My hat is off to you!

                            Let's gather more info on your hard drive. Boot puppy and open a root shell (should be somewhere in the system menu). Type
                            Code:
                            fdisk -l
                            fdisk is THE partitioning programme and the -l (called l "flag") stands for "list". You are basically asking fdisk to list all partitions.

                            Please post the output. Could you also tell us about your computer (processor, RAM, hard disks, etc.) by posting the output of
                            Code:
                            cat /proc/cpuinfo
                            Code:
                            cat /proc/meminfo
                            and
                            Code:
                            cat /proc/diskstats
                            And any other info you fancy.
                            Once your problem is solved please mark the topic of the first post as SOLVED so others know and can benefit from your experience! / FAQ

                            Comment


                              #15
                              Re: Help! Can't load my Kubuntu

                              From the command "fdisk -l" here is the output:

                              Disk /dev/sda: 160.0 GB, 160040803840 bytes
                              255 heads, 63 sectors/track, 19457 cylinders
                              Units = cylinders of 16065 * 512 = 8225280 bytes

                              Device Boot Start End Blocks Id System
                              /dev/sda1 * 1 18701 150215751 83 Linux
                              /dev/sda2 18702 19457 6072570 5 Extended
                              /dev/sda5 18702 19457 6072538+ 82 Linux swap / Solaris

                              Disk /dev/sdb: 2011 MB, 2011168768 bytes
                              15 heads, 14 sectors/track, 18705 cylinders
                              Units = cylinders of 210 * 512 = 107520 bytes

                              Device Boot Start End Blocks Id System
                              /dev/sdb1 2 18706 1963908 6 FAT16



                              From the command "cat /proc/cpuinfo" here is the output:

                              processor : 0
                              vendor_id : GenuineIntel
                              cpu family : 15
                              model : 6
                              model name : Intel(R) Pentium(R) D CPU 3.00GHz
                              stepping : 5
                              cpu MHz : 3000.236
                              cache size : 2048 KB
                              fdiv_bug : no
                              hlt_bug : no
                              f00f_bug : no
                              coma_bug : no
                              fpu : yes
                              fpu_exception : yes
                              cpuid level : 6
                              wp : yes
                              flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
                              pat pse36 clfush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm contant-tsc pni
                              monitor de_cpl est cid cx16 xtpr lahf_lm
                              bogomips : 6005.06
                              clflush size : 64



                              From the command "cat /proc/meminfo" here is the output:

                              MemTotal: 2074976 kB
                              MemFree: 1767016 kB
                              Buffers: 31332 kB
                              Cached: 211900 kB
                              SwapCached: 0 kB
                              Active: 128308 kB
                              Inactive: 158100 kB
                              HighTotal: 1178496 kB
                              HighFree: 917592 kB
                              LowTotal: 896480 kB
                              LowFree: 849424 kB
                              SwapTotal: 6072528 kB
                              SwapFree: 6072528 kB
                              Dirty: 0 kB
                              Writeback: 0 kB
                              AnonPages: 43184 kB
                              Mapped: 24212 kB
                              Slab: 12108 kB
                              SReclaimable: 6764 kB
                              SUnreclaim: 5344 kB
                              PageTables: 700 kB
                              NFS_Unstable: 0 kB
                              Bounce: 0 kB
                              CommitLimit: 7110016 kB
                              Committed_AS: 182756 kB
                              VmallocTotal: 114680 kB
                              VmallocUsed: 5168 kB
                              VmallocChunk: 109248 kB



                              From the command "cat /proc/diskstats" here is the output:

                              2 0 fd0 21 0 38 255876 0 0 0 0 0 255876
                              1 0 ram0 0 0 0 0 0 0 0 0 0 0 0
                              1 1 ram1 0 0 0 0 0 0 0 0 0 0 0
                              1 2 ram2 0 0 0 0 0 0 0 0 0 0 0
                              1 3 ram3 0 0 0 0 0 0 0 0 0 0 0
                              1 4 ram4 0 0 0 0 0 0 0 0 0 0 0
                              1 5 ram5 0 0 0 0 0 0 0 0 0 0 0
                              1 6 ram6 0 0 0 0 0 0 0 0 0 0 0
                              1 7 ram7 0 0 0 0 0 0 0 0 0 0 0
                              1 8 ram8 0 0 0 0 0 0 0 0 0 0 0
                              1 9 ram9 0 0 0 0 0 0 0 0 0 0 0
                              1 10 ram10 0 0 0 0 0 0 0 0 0 0 0
                              1 11 ram11 0 0 0 0 0 0 0 0 0 0 0
                              1 12 ram12 0 0 0 0 0 0 0 0 0 0 0
                              1 13 ram13 0 0 0 0 0 0 0 0 0 0 0
                              1 14 ram14 0 0 0 0 0 0 0 0 0 0 0
                              1 15 ram15 0 0 0 0 0 0 0 0 0 0 0
                              7 0 loop0 0 0 0 0 0 0 0 0 0 0 0
                              7 1 loop1 0 0 0 0 0 0 0 0 0 0 0
                              7 2 loop2 0 0 0 0 0 0 0 0 0 0 0
                              7 3 loop3 0 0 0 0 0 0 0 0 0 0 0
                              7 4 loop4 0 0 0 0 0 0 0 0 0 0 0
                              7 5 loop5 0 0 0 0 0 0 0 0 0 0 0
                              7 6 loop6 0 0 0 0 0 0 0 0 0 0 0
                              7 7 loop7 0 0 0 0 0 0 0 0 0 0 0
                              8 0 sda 807 594 2444 832 28 17 360 32 0 764 864
                              8 1 sda1 0 0 0 0
                              8 2 sda2 0 0 0 0
                              8 5 sda5 113 120 0 0
                              11 0 cr0 982 34376 141432 75892 0 0 0 0 0 35604 75892
                              8 32 sdc 0 0 0 0 0 0 0 0 0 0 0
                              8 16 sdb 729 135 2025 484 0 0 0 0 0 448 484
                              8 17 sdb1 165 1089 0 0
                              8 48 sdd 0 0 0 0 0 0 0 0 0 0 0
                              8 64 sde 0 0 0 0 0 0 0 0 0 0 0
                              8 80 sdf 0 0 0 0 0 0 0 0 0 0 0

                              Comment

                              Working...
                              X