10th Jul, 2013, 09:28 AM
Hello.
This is my first posting, so be forgiving. =)
I have Xbian running on my Raspberry PI and setup just right, so I want to backup this guy. I'm no Linux newbie, as I've been using Ubuntu for years, so I went ahead and enabled root, changed the PW, and setup a simple script to run in cron to backup xbian using dd:
dd bs=4M if=/mnt/150GB/pi-os/backup/xbian-xbmc.img of=/dev/mmcblk0p2
My problem is xbian automatically resizes the partition to use the entire card. I don't want this, because then I end up with a 16GB dd image! I want to shrink the working xbian/xbmc portion to say a 4GB partition, so the dd image is around 4GB.
If I turn off my PI, and boot my laptop up with a gparted boot cd, and try to resize the xbian partition it fails. I've tried on multiple cards, so I don't think it's a card issue. Is there a way to disable re-sizing of the entire card in Xbian?
This is my first posting, so be forgiving. =)
I have Xbian running on my Raspberry PI and setup just right, so I want to backup this guy. I'm no Linux newbie, as I've been using Ubuntu for years, so I went ahead and enabled root, changed the PW, and setup a simple script to run in cron to backup xbian using dd:
dd bs=4M if=/mnt/150GB/pi-os/backup/xbian-xbmc.img of=/dev/mmcblk0p2
My problem is xbian automatically resizes the partition to use the entire card. I don't want this, because then I end up with a 16GB dd image! I want to shrink the working xbian/xbmc portion to say a 4GB partition, so the dd image is around 4GB.
If I turn off my PI, and boot my laptop up with a gparted boot cd, and try to resize the xbian partition it fails. I've tried on multiple cards, so I don't think it's a card issue. Is there a way to disable re-sizing of the entire card in Xbian?