Problem: XBian Transfer to larger card
|
26th Feb, 2014, 09:39 AM
Post: #1
|
|||
|
|||
XBian Transfer to larger card
Software
XBian version: 1.0 Beta 2 XBMC version: default Overclock settings: default Hardware Power supply rating: 500mA RPi model (model A/B 256mb/512mb): Model B SD card size and make/type: 2 GB (and 4 GB) MicroSD with adapter Network (wireless or LAN): LAN Connected devices (TV, USB, network storage, etc.): USB hub with USB hard drive I tried to use the XBian copier tool to create an image file (to "file:/a/path") to write to a new SD card, but it seemed to fail after creating 1 GiB of data. Perhaps I will open a thread for that, but I mention this just to explain my reasons for using the alternate methods I will describe. Since I couldn't create an image of my currently running XBian system, I eventually caved in and powered off the system, and extracted the current SD card image with Win32 Disk Imager. Then, I wrote this image to the new SD card. I had already seen the notification in the Resize SD option saying "Resize is automatically provided by initramfs helpers.", so I figured that my Pi would resize the partitions in the new SD card at boot. But, it didn't resize the image at all. After a bit of research, I thought that the swap partition (/dev/mmcblkp3) after the main partition (/dev/mmcblk0p2) was causing the resize to fail, so I deleted that partition and rebooted. Unfortunately, things started to get screwy here. I noticed that not only was the Pi not resizing the SD card, the space in the main partition was vanishing, as if XBian was trying to use the main partition for swap space, too. Using df -h, I started to see things like Code: Filesystem Size Used Avail Use% Mounted on Code: Filesystem Size Used Avail Use% Mounted on At this time, running XBian on the larger card, but seeing these issues, I tried to resize the partition from within XBian, with both parted and xbian-resize, but neither would successfully resize the partition. Tab completion stopped working, but I was able to create a new swap partition and run mkswap and reboot, and that left my installation with something stable along the lines of: Code: Filesystem Size Used Avail Use% Mounted on I would like to know how to resize my partition to fill the extra space I have, and also how to reconcile the discrepancy between my used and available space. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
XBian Transfer to larger card - palswim - 26th Feb, 2014 09:39 AM
RE: XBian Transfer to larger card - belese - 26th Feb, 2014, 10:57 AM
RE: XBian Transfer to larger card - palswim - 27th Feb, 2014, 06:07 AM
RE: XBian Transfer to larger card - belese - 27th Feb, 2014, 10:11 AM
RE: XBian Transfer to larger card - palswim - 28th Feb, 2014, 08:42 AM
RE: XBian Transfer to larger card - mk01 - 16th Mar, 2014, 12:41 PM
RE: XBian Transfer to larger card - IriDium - 1st Mar, 2014, 06:19 AM
RE: XBian Transfer to larger card - timoleon - 2nd Apr, 2015, 08:57 AM
RE: XBian Transfer to larger card - IriDium - 2nd Apr, 2015, 10:41 PM
RE: XBian Transfer to larger card - IriDium - 3rd Apr, 2015, 01:09 AM
|