View Full Version : XBMC Live Upgrade Path
Hi,
I've been using Atlantis Beta 1 with good results (except the mouse cursor chokes up after a couple minutes), but now I'm wondering, what's the upgrade path to Beta2?
I've got Beta 1 all set up nicely on a USB drive, which is filled with a bunch of .img files, so I can't really access their contents easily (I wonder what each of those files contains?)
My xbmc settings and library are all on that USB drive somewhere, but I'm wondering how I'm going to transfer them over to Beta 2 and beyond?
Is there some cool automatic way that I just haven't noticed yet? Or maybe a posting/webpage somewhere that explains how to do the migration by hand?
Thanks,
Cory
CASHMON3Y
2008-09-24, 03:48
I was wondering this too. Theres needs to be an integrated updater. I dont know much about XBMC Live but the XBMC for xbox had a script to update t3ch releases.
wasn't it supposed to be upgradeable with ppa, so using apt-get update/upgrade?
i thought l.capriotti wrote something like this for the 'new' version after live-v2
l.capriotti
2008-09-24, 09:56
wasn't it supposed to be upgradeable with ppa, so using apt-get update/upgrade?
correct!
Is there any way to exit from XBMC Live to the console, or it has to be done via ssh, while XBMC Live is running on the machine?
alt+f1 will take you to console. alt+f7 will take you back to XBMC
You can ofc also go via ssh, whichever you choose.
Although in the end we would really want this to be done inside XBMC Preferably via python script. Or at the very least automated, the user shouldn't need to go out in the terminal for updates.
But this is only on the roadmap and it's not certain it will be done before Gold.
CASHMON3Y
2008-09-24, 13:59
Ok, so in xbmc to update I hit alt+f1 then type "apt-get update" wait for it to finish then alt+f7 back into xbmc? Also is there a way to slipstream updates and skins to the live CD for easy distribution?
alt+f1 is not working for me, there is nothing happen.
Could I do something in a wrong way (but it seems very simple), or XBMC Live is disallowing this?
Ok, so in xbmc to update I hit alt+f1 then type "apt-get update" wait for it to finish then alt+f7 back into xbmc? Also is there a way to slipstream updates and skins to the live CD for easy distribution?
'apt-get update' will check for updates. If there are any updates then you need to run 'apt-get upgrade'. This will actually install the updates.
althekiller
2008-09-24, 22:02
You need to hit ctrl+alt+f1 to drop from an X session to terminal. Once in terminal ctrl is optional so you can alt+fN to get to console N, N=7 is where your X session resides.
CASHMON3Y
2008-09-24, 22:39
'apt-get update' will check for updates. If there are any updates then you need to run 'apt-get upgrade'. This will actually install the updates.
Ok, thanks!
But can you really update the "livecd" ?
Can i add a ppa to get the most rescent svn livecd?
i don't know if you can, but you can update an usb stick image, which will be able to install on another usb stick the updated system, i guess
l.capriotti
2008-09-26, 18:12
i don't know if you can, but you can update an usb stick image, which will be able to install on another usb stick the updated system, i guess
doesn't work that way, sorry ;)
i don't know if you can, but you can update an usb stick image, which will be able to install on another usb stick the updated system, i guess
If you have the upcoming release or svn iso, you can upgrade your usb disk. Mount both the iso and your usb disk and then copy the following files from the iso
vmlinuz
rootfs.img
initrd0.img
restrictedDrivers.amd.img
restrictedDrivers.nvidia.img
to your usb disk.
In this method I suppose your usb disk was made using the Live CD's the build in makeusb script and their boot method has not been changed (kernel options for example).
doesn't work that way, sorry ;)
it's because the upgrades go to the 'filesystem' file, isn't it? and, if it's that way, would i be able to create another live-key (even with the old filesystem) from an upgraded key?
l.capriotti
2008-09-26, 22:48
not sure to get the point but today you can create a Live USB from the Live CD only.
Things may change in future releases.
i thought it could be done from a live-usb too, as at boot there is option '0' to install to an usb key...
btw, completely ot... i don't see many italians around here, am i wrong?
If you have the upcoming release or svn iso, you can upgrade your usb disk.
Is there any svn for the liveiso ?? I haven't found one.
Slightly (completely) offtopic for this thread, but is the plan for the foreseeable future sticking with ubuntu as a base for the live distro?
Gamester17
2008-09-27, 18:12
Slightly (completely) offtopic for this thread, but is the plan for the foreseeable future sticking with ubuntu as a base for the live distro?Yes that is off-topic, please start a new separate thread (in the feature suggestion forum).
Iīve got a strange problem. The first time I burned my beta 2 iso to cd and chose option zero to install to a flash disk, everything worked fine. However, when I recently tried to reinstall beta 2 to my flash disk, instead of the opportunity to choose media I came directly to the xbmc login prompt. Iīve tried several times and also with a new iso download, but always with the same result. I have also tried to copy the img-files mentioned earlier in this thread but then xbmc wouldnīt start.
Is there a way to start the "install to disk" from xbmc login prompt on beta 2 iso? Or can I upgrade to beta 2 via the upgrade command? (I donīt want the latest SVN though)
Snowflake
2008-12-13, 08:05
Here's a new question, related to the question about updating LiveUSB. I installed from Atlantis Live to an 8GB USB key, and then while trying to get some stuff to work tried apt-get update / apt-get upgrade. Unfortunately, dpkg fails at the end of the upgrade, and now I can't run apt-get [anything] because it says that I have to re-run dpkg to reconfigure.
It looks like it's trying to set up something in /boot, which Live doesn't use.
How can I get back to a working system? Do I have to re-install Live to my USB key and start over?
rodercot
2008-12-13, 14:51
Here's a new question, related to the question about updating LiveUSB. I installed from Atlantis Live to an 8GB USB key, and then while trying to get some stuff to work tried apt-get update / apt-get upgrade. Unfortunately, dpkg fails at the end of the upgrade, and now I can't run apt-get [anything] because it says that I have to re-run dpkg to reconfigure.
It looks like it's trying to set up something in /boot, which Live doesn't use.
How can I get back to a working system? Do I have to re-install Live to my USB key and start over?
This is exactly what I ran into the other day, I was trying to compile a custom kernel on a test bed. The upgrade update (updates 8:10) as well and it is looking for the .configure file which is normally in your /boot or /grub/boot directory which live does not use. So the update is trying to update the current config and cannot find it.
I just tried this as well and it creates an update to the intramfs.img or tried to and cannot find the file or directory as it is looking for it in the boot directory. I cannot get dpkg to work correctly either every time I get a error (2). I tried to purge it and reinstall but no dice.
Dave