Compdigitec Labs

« | Home | »

Dynamically upgrade LiveCD packages

By admin | July 10, 2009

If you attempt to follow APCMAG’s dual boot tutorial with an older version of the Ubuntu Live CD, you may unknowingly install an old version of GRUB. This is fine if yournewer Ubuntu installation uses paritions that an older version of GRUB will recognize, but with new partitions like ext4 the old Ubuntu Live CD may cause problems.

Old Ubuntu Live CD

In orderto solve this problem, you need to dynamically upgrade the packages on your Live CD. However, you do not need to butn a new version of the CD or modify the CD. This is because a “LiveCD system” is just really a regular Ubuntu system loaded onto a CD and memory and then booted from. Note that upgraded LiveCD packages only last the current session – they are eased from memory after a restart.

  1. Boot the Live CD (or make sure you are in the Live CD environment).
  2. Open a terminal.
  3. Type in “sed ‘s/cdversion/newversion/’ /etc/apt/sources.list > /tmp/sources.list“. (Replace cdversion with the codename of the Ubuntu CD – e.g. hardy) (Replace newversion with the codename of the version of the packages you want to upgrade to – typically the latest Ubuntu version – e.g. jaunty)
  4. Type in “sudo /bin/cp /tmp/sources.list /etc/apt/sources.list
    ” No password is required.
  5. Type in “sudo apt-get update” to update packages.
  6. Now you can upgrade whatever packages you want to upgrade. For example, to upgrade GRUB, type in “sudo apt-get install grub“. To upgrade GParted, type in “sudo apt-get install gparted“. Simply replace “grub” or “gparted” with the package you want to upgrade.

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Linux | 65 Comments »

65 Responses to “Dynamically upgrade LiveCD packages”

  1. 상무지구안마 Says:
    August 30th, 2026 at 06:51

    I am curious to find out what blog system you are using?
    I’m having some small security problems with my
    latest site and I’d like to find something more risk-free.
    Do you have any suggestions?

  2. v3game Says:
    August 31st, 2026 at 15:58

    Hmm is anyone else encountering problems with the pictures on this blog loading?
    I’m trying to figure out if its a problem on my end or if it’s
    the blog. Any suggestions would be greatly appreciated.

  3. v3game Says:
    August 31st, 2026 at 18:57

    I do trust all the concepts you’ve presented to your post.
    They’re really convincing and will definitely work.
    Still, the posts are too short for newbies. Could you please lengthen them a little from subsequent time?
    Thanks for the post.

  4. Bei Binance registrieren Says:
    September 1st, 2026 at 07:16

    What a data of un-ambiguity and preserveness of precious
    familiarity concerning unexpected emotions.

  5. More about the author Says:
    September 1st, 2026 at 10:53

    First of all I want to say awesome blog! I had a
    quick question in which I’d like to ask if you do not mind.
    I was interested to know how you center yourself and clear your mind before writing.
    I have had a hard time clearing my mind in getting
    my thoughts out. I truly do take pleasure in writing however it
    just seems like the first 10 to 15 minutes are generally wasted just trying to figure
    out how to begin. Any recommendations or tips? Thank you!

  6. home Says:
    September 2nd, 2026 at 10:48

    Your mode of describing all in this piece of writing is in fact good, all can simply
    know it, Thanks a lot.

  7. bad credit loans Says:
    September 7th, 2026 at 14:19

    Hi, I do think this is an excellent web site. I stumbledupon it
    😉 I may return yet again since i have saved as a favorite it.
    Money and freedom is the best way to change, may you be
    rich and continue to help others.

    Here is my web site … bad credit loans

  8. site web Says:
    September 8th, 2026 at 10:21

    I have read so many articles about the blogger lovers however this paragraph is truly a good article, keep it up.

  9. see here now Says:
    September 9th, 2026 at 08:36

    Thank you a bunch for sharing this with all
    folks you actually recognize what you’re speaking approximately!
    Bookmarked. Kindly also visit my site =).
    We may have a link exchange agreement among us

  10. Lizzie Says:
    September 12th, 2026 at 00:45

    Vielen Dank für den Artikel! Ich stimme zu. Mehr dazu: https://nachhilfe-westerwald.de/ (Lizzie).
    Bis bald

  11. read what he said Says:
    September 13th, 2026 at 15:02

    My partner and I absolutely love your blog and find many of your post’s to be just what I’m looking for.
    Do you offer guest writers to write content available for you?
    I wouldn’t mind composing a post or elaborating on a lot of the subjects you write about here.
    Again, awesome web site!

  12. click now Says:
    September 14th, 2026 at 07:39

    Please let me know if you’re looking for a article author for your site.
    You have some really great posts and I believe I would
    be a good asset. If you ever want to take some of the load off, I’d
    absolutely love to write some articles for your blog in exchange for a link back to mine.
    Please shoot me an email if interested. Thanks!

  13. family loan agreement UK Says:
    September 15th, 2026 at 22:55

    Hey! I’m at work browsing your blog from
    my new iphone! Just wanted to say I love reading your blog and
    look forward to all your posts! Carry on the outstanding work!

  14. a knockout post Says:
    September 16th, 2026 at 05:59

    What’s up, this weekend is fastidious for me, as this occasion i am reading this wonderful educational
    post here at my home.

  15. zplatform.Ai Says:
    September 16th, 2026 at 20:04

    We stumbled over here coming from a different web address and thought I should check things out.
    I like what I see so now i’m following you. Look forward to
    looking into your web page again.

Comments