Results 1 to 10 of 10

Thread: Installation from live CD without reboot

  1. #1
    Join Date
    May 2006
    Beans
    Hidden!

    Installation from live CD without reboot

    It would be really nice to use a live CD to install Ubuntu and to switch into the new system without rebooting first. Any ideas about whether this is technically feasible?

  2. #2
    Join Date
    May 2006
    Location
    gippsland
    Beans
    354

    Re: Installation from live CD without reboot

    chroot?

  3. #3
    Join Date
    May 2006
    Beans
    Hidden!

    Re: Installation from live CD without reboot

    Quote Originally Posted by koshari View Post
    chroot?
    I meant continuing with the same X session

  4. #4
    Join Date
    Oct 2004
    Location
    Kingston, On
    Beans
    Hidden!

    Re: Installation from live CD without reboot

    man pivot_root


    You would have to copy the contents of the ramdisk to the hard disk. There probably are a few other things to clean up as well.

    Brainstorm?

    http://brainstorm.ubuntu.com
    I lost a "z". Anyone seen it around here?

  5. #5
    Join Date
    May 2006
    Beans
    379

    Re: Installation from live CD without reboot

    How long does a reboot take? 30secs - 1min? Maybe a bit longer?

    I'd much rather devs and others fixing bugs, rolling out updated programs etc rather than creating a feature which isn't really needed.
    Cya!

  6. #6
    Join Date
    Oct 2004
    Location
    Kingston, On
    Beans
    Hidden!

    Re: Installation from live CD without reboot

    I think this would be useful. So I put it on the brainstorm site:

    http://brainstorm.ubuntu.com/idea/7056/
    Last edited by az; April 15th, 2008 at 03:13 PM.
    I lost a "z". Anyone seen it around here?

  7. #7
    Join Date
    May 2006
    Beans
    379

    Re: Installation from live CD without reboot

    Quote Originally Posted by az View Post
    I think this would be useful. So I put it on the brainstorm site:

    http://brainstorm.ubuntu.com/idea/7056/
    While I do disagree with this idea, you do bring up a very good point:

    There are occasions where a user can run the live cd, install some applications and customize the desktop only to have to repeat these steps after the installation has taken place. This would avoid that; the user would not have to repeat the same steps again.
    This could help further improve the install / setup process *if* the 'skip reboot' was made very easy to do (i.e new user friendly)
    Cya!

  8. #8
    Join Date
    Mar 2007
    Location
    Ottawa, Ontario, Canada
    Beans
    142

    Re: Installation from live CD without reboot

    Is there a 'toram' cheatcode for the Ubuntu CD, like in Knoppix? if there was, then it would be easy to implement for people with enough RAM.

    EDIT: NVM, I see that there is not.

    This would be very difficult to implement, to umount your root directory (which would be the livecd) and then mount your newly installed root device. This would be difficult to juggle while keeping your X session alive.

    It kind of sounds like too much work for too little gain, but if there are some bored hackers sitting around... ?

  9. #9
    Join Date
    Oct 2004
    Location
    Kingston, On
    Beans
    Hidden!

    Re: Installation from live CD without reboot

    Quote Originally Posted by original_jamingrit View Post
    Is there a 'toram' cheatcode for the Ubuntu CD, like in Knoppix? if there was, then it would be easy to implement for people with enough RAM.

    EDIT: NVM, I see that there is not.

    This would be very difficult to implement, to umount your root directory (which would be the livecd) and then mount your newly installed root device. This would be difficult to juggle while keeping your X session alive.

    It kind of sounds like too much work for too little gain, but if there are some bored hackers sitting around... ?
    There is a toram boot prompt for Casper. It is currently broken. but it is there. Anyway, you wouldn't need it. Whether your cramfs is in memory on on cd/usb flash you wouldn't use it. You would use the root filesystem you just istalled. You would pivot_root into it.

    Your X session as well as all your apps are in memory. If they need to load shared libraries, they would get them from the root directory on the disk and not from the cramfs image on the cd/usb flash.

    It's a lot like going into hibernation. The main problems with suspend/hibernation are hardware - the software works fine. This is a lot less complicated. You would basically need to take a snapshot of some portions of your filesystem before transfering over to your root directory on disk.

    P.S. Please vote (for or against) the brainstorm idea. That keeps the discussion going.
    I lost a "z". Anyone seen it around here?

  10. #10
    Join Date
    Oct 2004
    Location
    Kingston, On
    Beans
    Hidden!

    Re: Installation from live CD without reboot

    This idea is the least popular today, with double-digit negative votes...
    I lost a "z". Anyone seen it around here?

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
  •