[LIVE] HOW-TO manually update an existing XBMC Live on HDD installation

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
lcapriotti Online
a.k.a Luigi, Team-XBMC XBMCbuntu Dev
Posts: 791
Joined: Jan 2008
Reputation: 12
Location: Italy
Post: #1
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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
newb2linux Offline
Member
Posts: 98
Joined: May 2009
Reputation: 0
Post: #2
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

HTPC SPECS:Samsung Series 850 58" PDP
1920x1080@60.00Hz (full Screen)
XBMCLive : 10.00
HDD: 500GB WD Blue MOBO:P5n7a-VM
GPU: Geforce 9300/nforce 730i/PCI/SSE2
MEMORY: 2 GIG 1066MHZ DDR3 (single)
CPU: Intel® Core™2 Duo CPU E7500 @ 2.93GHz
find quote
lcapriotti Online
a.k.a Luigi, Team-XBMC XBMCbuntu Dev
Posts: 791
Joined: Jan 2008
Reputation: 12
Location: Italy
Post: #3
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.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


[Image: badge.gif]
find quote
newb2linux Offline
Member
Posts: 98
Joined: May 2009
Reputation: 0
Post: #4
That makes scence.

Thank you! Smile

HTPC SPECS:Samsung Series 850 58" PDP
1920x1080@60.00Hz (full Screen)
XBMCLive : 10.00
HDD: 500GB WD Blue MOBO:P5n7a-VM
GPU: Geforce 9300/nforce 730i/PCI/SSE2
MEMORY: 2 GIG 1066MHZ DDR3 (single)
CPU: Intel® Core™2 Duo CPU E7500 @ 2.93GHz
find quote
krugster Offline
Junior Member
Posts: 27
Joined: Jan 2009
Reputation: 0
Post: #5
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.
find quote
krugster Offline
Junior Member
Posts: 27
Joined: Jan 2009
Reputation: 0
Post: #6
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.
find quote
krugster Offline
Junior Member
Posts: 27
Joined: Jan 2009
Reputation: 0
Post: #7
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?
find quote
krugster Offline
Junior Member
Posts: 27
Joined: Jan 2009
Reputation: 0
Post: #8
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?
find quote