Announcement

Collapse
No announcement yet.

[Finally Solved] About to give up on Kubuntu (many, many errors)

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

    [Finally Solved] About to give up on Kubuntu (many, many errors)

    First, I posted in this topic regarding an error I got with KPackageKit. I tried remedying that by using the suggestions from replies, and it worked for a little bit. Unfortunately, my Windows partitions starting failing (infinite "configuring updates" loop with Vista), so I opted to wipe the whole HDD clean, and revert to a simple dual-boot (rather than a triple).

    My computer is a Lenovo Thinkpad T61 6460-7EU. I'm now on my 5th reinstallation of Kubuntu, third burned disc. All of them pass the built-in integrity test. I've reformatted the partitions each time with either dban or the Kubuntu Installer. The reason I've done this so many times is that every time I complete the installation, a number of errors occur that result in Kubuntu not booting again.

    The first thing I do is connect to my wireless network with WPA encryption by adding it to the networking manager. After a few moments, the gear with the green arrow "Updates Available" notifier appears in the system tray, so I double click it to launch KPackageKit. It begins downloading and updating, the bluetooth utility crashes (as it will from this point onward), and by the end, it'll complete with an error. After that, the manager thinks that it doesn't have exclusive access and refuses to update. When I refresh, it returns "Waiting for service to start." Multiple restarts in the past did not remedy this. I have also tried "sudo apt-get dist-upgrade" instead of the GUI, but it also returns errors.

    So, to try and fix the problems, I ran "sudo dpkg --configure -a" to configure the unconfigured packages listed in the error report. (Also, sorry I can't provide copies of all these things to show you guys-- the OS not booting sort of precludes it.)

    Finally, I try the usual troubleshooting step of restarting. During boot-up, it comes to a screen that says a disk error was found and fsck was begun automatically, but the automatic check failed and I need to run it manually. Doing so for my "/" partition, it comes up with a gazillion "imode" errors or something to that effect. Finally, when it finishes, I reboot.

    Of course, once Kubuntu starts back up, any number of things are screwy. One installation, the mouse just didn't move. Not that it mattered-- attempting to log in just flashed the screen and returned me to the same damn screen. Another installation, nothing launched. Nothing-- not even terminal.

    Could this all be a result of a faulty HDD? I recently replaced an old Hitachi 160 GB 5400rpm with a newer Seagate 320GB 7200rpm (literally only a couple weeks old). Could it maybe be my partitioning (below)? I switched from ext4 to ext3 thinking that might be the problem, but it didn't change much.

    Long story short: I can't install Kubuntu, run updates, and have it restart without any errors. What am I doing wrong?

    Edit1: I can boot into recovery mode finally and get a root prompt, if that helps. Let me know what you want typed in/returned.

    Edit2: "root:~# dpkg --configure -a" returns this:
    Code:
    dpkg: failed to open package info file '/var/lib/dpkg/status' for reading: No such file or directory
    Partitioning:
    Code:
    [------------320GB HDD (297GB formatted)-------------]
    [Primary][Primary][Primary][--------Extended---------] <--type
    [--sda1-][--sda2-][--sda3-][--sda5-][--sda6-][--sda7-] <--partition notation
    [ 50  ][ .1  ][ 25  ][ 25  ][ 190 ][  8  ] <-- in GB
    
    sda1	Vista		50 GB		ntfs
    sda2	/boot		100 MB	ext3
    sda3	/		25 GB		ext3
    sda5	/home		25 GB		ext3
    sda6	/storage	190 GB	ntfs
    sda7	swap		8 GB

    #2
    Re: About to give up on Kubuntu (many, many errors)


    Doing so for my "/" partition, it comes up with a gazillion "imode" errors or something to that effect. Finally, when it finishes, I reboot.
    inode errors indicate a serious problem with your filesystem (on the hard drive).

    You may have a hard drive going bad, or a faulty installation CD, or some other hardware issue -- your problem is not software, yet.

    Comment


      #3
      Re: About to give up on Kubuntu (many, many errors)

      Thanks for the response. Do you have any suggestions for how I might test the HDD? Any utilities you particularly like? I think I'll start with the Seagate ones.

      Comment


        #4
        Re: About to give up on Kubuntu (many, many errors)

        Yep, your Seagate utilities should work. You need to do an extended surface test -- inode errors means the filesystem format is not surviving very many re-writes, or something like that.

        For Linux, here's the method:

        http://kubuntuforums.net/forums/inde...opic=3097029.0

        Comment


          #5
          Re: About to give up on Kubuntu (many, many errors)

          Edit: SeaTools - passed both the long and short tests with no errors.

          I'll try the smartmontools short test, but something tells me the long test on that won't tell me much different than the manufacturer's utility.

          So if the hard drive is good, what else could be causing all these errors? Should I do a more thorough erasure with dban and start over with a different arrangement of partitions and installation parameters? (i.e. Could that be it?)

          Comment


            #6
            Re: About to give up on Kubuntu (many, many errors)

            lol so much for that.
            Code:
            root:~#apt-get install smartmontools
            Reading package lists... Error!
            E: Could not open file /var/lib/dpkg/status - open (2 No such file or directory)
            E: The package lists or status file could not be parsed or opened.

            Comment


              #7
              Re: About to give up on Kubuntu (many, many errors)

              Your computer's motherboard could be failing. It's only a guess, but nothing you've posted in this thread eliminates that possibility. I have experienced motherboard failure which caused file system corruption, and the things you've written here remind me of that bad experience.
              Welcome newbies!
              Verify the ISO
              Kubuntu's documentation

              Comment


                #8
                Re: About to give up on Kubuntu (many, many errors)

                Well, that would be uh really bad :P, but given that BIOS is still operating, GRUB still loads, and Windows seems to work fine (not to mention that it was humming right along before I swapped the HDD and reinstalled things), I have a feeling it has to do with hardware incompatibilities rather than a mobo failure. And since I don't have the capabilities to swap it out or test it without shelling out major $$$ to Lenovo, I'd like to exhaust all other possibilities first. Thank you for the idea, though. (I think lol. Not exactly a comforting thought to have floating through a tech's head. ...just kidding, I do appreciate it.)

                I'm tempted to try an Ubuntu disc or the 32-bit version of Kubuntu. I've been using 64-bit-- probably should've mentioned that (although the CPU is a Core 2 Duo T7300-- perfectly 64-bit compatible).

                I'm secretly hoping a T61 user floats past this topic via google for similar problems, but the more ideas the better.

                I'm going to flatten the HDD again tonight, and I think I'll do just a flat re-install of Kubuntu; no dual-boot, just Kubuntu. I'm sure I'll have more to update with by tomorrow afternoon. Thanks for the replies, you two. I'll be back with more later. (Haven't given up quite yet. )

                Comment


                  #9
                  Re: About to give up on Kubuntu (many, many errors)

                  Have you checked the MD5sum of the CD image before burning the CD? This is more reliable than the integrity check after the CD is burned.
                  HP Compaq nc6400, 2Gi, 100Gi, ATI x1300 with 512M

                  Comment


                    #10
                    Re: About to give up on Kubuntu (many, many errors)

                    Originally posted by kevinc
                    Have you checked the MD5sum of the CD image before burning the CD? This is more reliable than the integrity check after the CD is burned.
                    Yes, I already have, and the SHA1 and CRC-32 hashes. They all match, every time. In addition, torrent files contain the hash of the original file, and utorrent automatically hashes the downloaded file and compares it.

                    Good idea, though!

                    Edit: Also, while checking the sum prior to burning is a good idea, checking the integrity after the burn is somewhat different, kind of like the data verification step after burning (which also passed). The image could have been perfect, but that still doesn't account for errors in the burn. I say this less for you and more for other novices like me who might read this. Still a good idea to be sure. =)

                    Comment


                      #11
                      Re: About to give up on Kubuntu (many, many errors)

                      Edit: I babble, so important stuff is in blue.

                      OK, so here's the update: I flattened the HD last night with dban. (I was curious how long dban would take on a 320 GB 7200rpm drive for the DoD short wipe (excessive, I know, but just look what I've been dealing with lol); since no google search could tell me, I'll make my contribution to say it took 6.5 hours.)

                      I reinstalled Kubuntu this afternoon with no special partitioning options-- just "Use the entire disk." And like magic, everything worked great. Bluetooth still crashed applying the updates, but a simple restart did the trick. I even installed the ubuntu-desktop, just 'cause I was curious. Of course, then I couldn't get rid of all the ubuntu packages once I wanted it gone, but no matter. I read that I was supposed to use "sudo apt-get autoremove," but it didn't do anything.

                      After farting around with everything, I formatted again (this HDD's getting quite the "break-in" period). I have a feeling that all along it really had to do with my crazy partitioning. I'm really not going to experience that big of a boost from separate partitions for everything-- I'm not running a server. The default install made only two partitions of the entire space: an ext3 primary partition for the root, and a memory-capacity-equivalent logical partition (which I thought was interesting) for the swap. That's it. I have a sneaking suspicion that it was my 100MB boot partition in particular that was causing a good deal of the problems.

                      Anyway, I still want my data files on different partitions from the OS files, so I created a total of 5 this time: a primary for Vista, a primary for "/", a primary for "/home", a logical for swap, and a logical for storage. Currently reinstalling everything, starting with Windows (I know there's at least one of you rolling your eyes, and I understand, but I still have to teach Vista to others and I'm just not ready to let go of MS Office).

                      I'll post if there are any more errors. At least I finally got some good news.

                      Here are some interesting links (for novices) I came across while frantically trying to fix this problem:
                      The perfect Linux distro
                      How to not have to type sudo for everything (the aliasing method)

                      Comment


                        #12
                        Re: About to give up on Kubuntu (many, many errors)

                        Glad you got it working
                        Welcome newbies!
                        Verify the ISO
                        Kubuntu's documentation

                        Comment


                          #13
                          Re: [Quasi-solved] About to give up on Kubuntu (many, many errors)

                          yeah, for the bluetooth crash...my system does the same thing when it updates any bluetooth file. I think it just doesn't handle changes to the bluetooth system very well...but like your last attempt, it always works fine once I reboot.

                          Not sure why your partitioning scheme didn't work...can you give us a rundown of what you were trying (or did I miss it in the original post...i didn't read it all)...I can say that I used to run a small boot partition with no issues. But once I moved from JFS to EXT4, I didn't need it anymore.

                          mm0
                          Dell Inspiron 1720 Laptop<br />Intel T9300 Core2Duo Processor @ 2.5Ghz<br />4 GB Ram | 1920 X 1200 Resolution<br />2 X 160 GB SATA HD Internal<br />Nvidia GeForce 8600M Graphics Adapter<br />Using Kubuntu 9.10

                          Comment


                            #14
                            Re: [Quasi-solved] About to give up on Kubuntu (many, many errors)

                            ok, I went back to look at the partitioning scheme...don't see any problems...but I'm not really a linux guru.

                            mm0
                            Dell Inspiron 1720 Laptop<br />Intel T9300 Core2Duo Processor @ 2.5Ghz<br />4 GB Ram | 1920 X 1200 Resolution<br />2 X 160 GB SATA HD Internal<br />Nvidia GeForce 8600M Graphics Adapter<br />Using Kubuntu 9.10

                            Comment


                              #15
                              Re: [Quasi-solved] About to give up on Kubuntu (many, many errors)

                              Originally posted by muzicman0
                              yeah, for the bluetooth crash...my system does the same thing when it updates any bluetooth file. I think it just doesn't handle changes to the bluetooth system very well...but like your last attempt, it always works fine once I reboot.
                              Glad to see I'm not the only one. Not that I'm very concerned, however, as I... well... don't really use it. Bluetooth mouse in the future perhaps? :P

                              I can say that I used to run a small boot partition with no issues. But once I moved from JFS to EXT4, I didn't need it anymore.
                              If I may ask, why didn't you need it anymore? Speed improvements in ext4 rendered it obsolete or something? I'm just curious.

                              I went back to look at the partitioning scheme...don't see any problems...but I'm not really a linux guru.
                              Yeah, I didn't think there were any, either, originally. I'm sort of banking on Kubuntu working this time since it worked perfectly with a full install, but honestly, I haven't installed it yet on the newest partitions (Vista updates... lol Ubuntu can load an entire desktop on a 10mbps connection in 10 minutes, Vista updates now onto hour #2... so sad ).

                              We'll see... I might not be out of the woods, yet. Thanks for the response!

                              Comment

                              Working...
                              X