PDA

View Full Version : Reinstall w/o losing data


piotr
2009-02-10, 12:00
Hi,

Messed up my lirc when changing from MCE remote to XBOX remote+modified dongle. Need to reinstall XBMC-live to HDD (again.....). Is there a way to do this w/o losing the data on the HDD ? (Tired of moving 300gb back and forth :) ).

Thnx !

l.capriotti
2009-02-10, 12:53
You may want to try the following:

Boot the system with XBMCLive CD (or USB disk) in safe mode (type "safe" at boot prompt)
log on as xbmc
mount the boot partition of the HDD
remove the file ext3fs.img on the boot partition of the HDD
recreate the file: dd if=/dev/zero of=ext3fs.img bs=1M count=<size> - where <size> is in MB
format the file: mkfs.ext3 ext3fs.img (answer y)

I have not tried it myself, so YMMV. Please confirm.

piotr
2009-04-20, 19:02
You may want to try the following:

Boot the system with XBMCLive CD (or USB disk) in safe mode (type "safe" at boot prompt)
log on as xbmc
mount the boot partition of the HDD
remove the file ext3fs.img on the boot partition of the HDD
recreate the file: dd if=/dev/zero of=ext3fs.img bs=1M count=<size> - where <size> is in MB
format the file: mkfs.ext3 ext3fs.img (answer y)

I have not tried it myself, so YMMV. Please confirm.

I can confirm this works !

Btw: can i do the same when I want to upgrade to a newer XBMClive version ?

MartijnKooi
2009-04-21, 20:51
I can confirm this works !

Btw: can i do the same when I want to upgrade to a newer XBMClive version ?

Just make a copy of your .xbmc folder.
You can use WinSCP to connect from Windows machine to your XBMC.
Works for me!

piotr
2009-04-22, 09:43
Just make a copy of your .xbmc folder.
You can use WinSCP to connect from Windows machine to your XBMC.
Works for me!

Not sure what you mean. Reinstalling XBMClive to HDD wipes your hdd. The method described above let's you reinstall xbmclive without wiping the disk.

@Luigi: no that I have things up and running again, what is the best way to upgrade to a newer build ? (last time upgrading to a newer SVN broke my install). Thanks.

l.capriotti
2009-04-22, 10:06
boot from livecd as above, remove/recreate the ext3fs and copy the new files (*.img, vmlinuz) over the boot partition. Theoretically it's all you need but I have not tested it, YMMV

piotr
2009-04-22, 12:36
boot from livecd as above, remove/recreate the ext3fs and copy the new files (*.img, vmlinuz) over the boot partition. Theoretically it's all you need but I have not tested it, YMMV

Ok, will try that. SVN upgrade is not advisable ? (or, install beta2 with method above and then upgrade to svn ?).

l.capriotti
2009-04-22, 14:40
wait for next beta, then upgrade to svn

piotr
2009-04-23, 08:52
wait for next beta, then upgrade to svn

What's the E.T.A ?