Kodi Community Forum

Full Version: [LIVE] HOW-TO manually update an existing XBMC Live on HDD installation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Once the newer Live CD is booted in "Safe mode" (doesn't matter if NVIDIA,AMD or Intel), log on at the console prompt and type:

Code:
mkdir /tmp/livecd
mkdir /tmp/hdd
sudo mount -o ro -t iso9660 /dev/scd0 /tmp/livecd
sudo mount -t vfat /dev/sda1 /tmp/hdd

cp /tmp/livecd/*.img /tmp/hdd
cp /tmp/livecd/vmlinuz /tmp/hdd

rm /tmp/hdd/ext3fs.img

dd if=/dev/zero of=/tmp/hdd/ext3fs.img bs=1M count=600
mkfs.ext3 -F /tmp/hdd/ext3fs.img

sudo umount /tmp/livecd
sudo umount /tmp/hdd

where 600 is the size in MB of the permanent storage file.

The above steps should be taken as a template only, YMMV.
Some modifications to the existing syslinux.cfg or grub's menu.lst may be needed, depending on the preinstalled version.
This Example is not working to update from an install of XBMC Live 9.04.

sudo mount -t vfat /dev/sda1 /tmp/hdd --------Causing error.

When I get the image to the drive and then reboot the XBMC isn't updated. Im sure I'm doing it wrong.

Could we have a line by line example for, XBMC Live users in N00bz form ?

Thanks
These instructions are referring to a pre-9.04 type of hdd installation, where the HDD contained the same file layout of the flash drive.

From 9.04 if you install to hard disk by default you have the "XBMCbuntu" kind of system and you cannot manually update it (use apt-get), unless you chose to treat the HDD as a removable media during installation.
That makes scence.

Thank you! Smile
So I just tried this, going from XBMC Live 8 installed on an HDD going to XBMC Live 9.04 from a CD. Pretty much exactly what's above right?

I followed all the steps, made my extfs3.img file 2GB, and rebooted. One big question, the first 'cp' doesn't have a '-r' and so won't copy the /tmp/livecd/boot folder. Was that supposed to be in there as well?

It booted fine into what seems like 9.04 (because it says Ubuntu 9.04 XBMCLive) at the top of the console) but none of my users seem to work so I can't log in. It's on the network, but as the IP that I had statically set for it. I'm assuming some settings didn't come across?

Did I do something wrong?

THanks all.
Well, I tried putting the '/tmp/livecd/boot' directory in there and no luck. XBMC starts, but none of my settings are there and I can't log in from another tty or ssh.
Yeah, so I must have ran right over myself.

I can log in with 'root' and no password because everything is reset it seems.

Any idea if I can get that stuff back?
Well, I'll just tell you guys everything little thing that happens as I discover it...

So, as I'm sure you all knew well before me, my home partition is still there.

Did I miss something that said this was not a "config-preserving" upgrade?