Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: [SOLVED] Boot hangs after creating a new /boot partition and upgrading to Intrepid

  1. #11
    Join Date
    Aug 2008
    Location
    Paris, France
    Beans
    37
    Distro
    Ubuntu

    Re: Boot hangs after creating a new /boot partition and upgrading to Intrepid

    OK, I'm so glad you help me ! This "chroot" thing is just amazing. In fact, correct me if I'm wrong, it's as if I were in my system at the command-line ?
    I did what you suggested and here's the answer
    Code:
    root@Knoppix:/# apt-get install linux-headers-2.6.24-21-generic linux-image-2.6.24-21-generic linux-restricted-modules-2.6.24-21-generic linux-ubuntu-modules-2.6.24-21-generic
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Package linux-headers-2.6.24-21-generic is not available, but is referred to by another package.
    This may mean that the package is missing, has been obsoleted, or
    is only available from another source
    E: Package linux-headers-2.6.24-21-generic has no installation candidate
    Did I forget to say I had played with my /etc/apt/sources.list ? But I'm surprised though, cause I thought I had put things back in order...

  2. #12
    Join Date
    Aug 2008
    Location
    Paris, France
    Beans
    37
    Distro
    Ubuntu

    Re: Boot hangs after creating a new /boot partition and upgrading to Intrepid

    Code:
    root@Knoppix:/# apt-get update
    Hit http://fr.archive.ubuntu.com intrepid Release.gpg
    Hit http://fr.archive.ubuntu.com intrepid-updates Release.gpg
    Hit http://fr.archive.ubuntu.com intrepid-security Release.gpg
    Hit http://fr.archive.ubuntu.com intrepid-proposed Release.gpg
    Hit http://fr.archive.ubuntu.com intrepid Release
    Hit http://fr.archive.ubuntu.com intrepid-updates Release
    Hit http://fr.archive.ubuntu.com intrepid-security Release
    Hit http://fr.archive.ubuntu.com intrepid-proposed Release
    Hit http://fr.archive.ubuntu.com intrepid/main Packages
    Hit http://fr.archive.ubuntu.com intrepid/restricted Packages
    Hit http://fr.archive.ubuntu.com intrepid/universe Packages
    Hit http://fr.archive.ubuntu.com intrepid/multiverse Packages
    Hit http://fr.archive.ubuntu.com intrepid-updates/main Packages
    Hit http://fr.archive.ubuntu.com intrepid-updates/restricted Packages
    Hit http://fr.archive.ubuntu.com intrepid-updates/universe Packages
    Hit http://fr.archive.ubuntu.com intrepid-updates/multiverse Packages
    Hit http://fr.archive.ubuntu.com intrepid-security/main Packages
    Hit http://fr.archive.ubuntu.com intrepid-security/restricted Packages
    Hit http://fr.archive.ubuntu.com intrepid-security/universe Packages
    Hit http://fr.archive.ubuntu.com intrepid-security/multiverse Packages
    Hit http://fr.archive.ubuntu.com intrepid-proposed/main Packages
    Hit http://fr.archive.ubuntu.com intrepid-proposed/restricted Packages
    Hit http://fr.archive.ubuntu.com intrepid-proposed/universe Packages
    Hit http://fr.archive.ubuntu.com intrepid-proposed/multiverse Packages
    Reading package lists... Done

  3. #13
    Join Date
    Aug 2008
    Location
    Paris, France
    Beans
    37
    Distro
    Ubuntu

    Re: Boot hangs after creating a new /boot partition and upgrading to Intrepid

    Should I revert my repos to hardy to ensure I can install this old kernel ?
    Edit : I'm trying !
    Last edited by bela83; November 1st, 2008 at 10:08 PM.

  4. #14
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: Boot hangs after creating a new /boot partition and upgrading to Intrepid

    Yes, you could revert your sources.list (repos) back to Hardy, and I think that would solve the problem of installing those kernel packages. But I'm wondering if that 2.6.24-21 kernel is not available in Intrepid for a good reason; I don't know at this point. Another option is to download those 4 kernel packages from packages.ubuntu.com, and then install them with "dpkg -i <packages>.deb" instead of going through the repos. Let me know if you need more specifics, but that's the general idea.

  5. #15
    Join Date
    Aug 2008
    Location
    Paris, France
    Beans
    37
    Distro
    Ubuntu

    Re: Boot hangs after creating a new /boot partition and upgrading to Intrepid

    It works !! I mean the old kernel works so I'm back on my machine. So it's partly solved cause there's this new kernel 2.6.27 still not working...
    But thanks anyway ! Do a "apt-get install" through a "chroot" is so... new to me ! And instructive of course

  6. #16
    Join Date
    Mar 2008
    Location
    California, USA
    Beans
    8,111

    Re: Boot hangs after creating a new /boot partition and upgrading to Intrepid

    That's great news the old kernel works for you. And I agree, that "chroot" trick can really come in handy, because if you set up the environment right first by mounting some of the system directories (/dev, /proc, etc), then chrooting into your Ubuntu partition is basically like booting into it.

    And just for my own information, after you ran the "update-grub" after post #5, how accurate was your menu.lst? Did it get the kernel/initrd lines right about not having the /boot directory in front of them? Were there any other problems? And did the update-grub make a "uuid" line rather than the "root (hd0,0)" line? It would help me to know since I'm not yet running the Intrepid version of Grub.

  7. #17
    Join Date
    Aug 2008
    Location
    Paris, France
    Beans
    37
    Distro
    Ubuntu

    Re: Boot hangs after creating a new /boot partition and upgrading to Intrepid

    Quote Originally Posted by caljohnsmith View Post
    And just for my own information, after you ran the "update-grub" after post #5, how accurate was your menu.lst?
    Quite good !
    Did it get the kernel/initrd lines right about not having the /boot directory in front of them?
    Yes there was no /boot in front of them.
    Were there any other problems? And did the update-grub make a "uuid" line rather than the "root (hd0,0)" line?
    No it made the "root (hd0,0)" line, just like before. Grub is supposed to adopt the uuid too ?
    It would help me to know since I'm not yet running the Intrepid version of Grub.
    Glad I can help back !

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •