The sd card should be a device called /dev/mmcblk0 and you will want to
format and partition the SD card as using the FAT32 partition that is
already there is the best option.  Use dd if=/dev/zero of=/dev/mmcblk0 then
ctrl-c that after a few seconds.  This *will* delete everything on that sd
card, so make sure that you have your data backed up.

Next create a partition on the now blank sd card (I am a fan of cfdisk for
older devices, it will not work on large GUID drives like 3 TB and up).
 sudo cfdisk /dev/mmcblk0

Next format that new partition, likely called /dev/mmcblk0p1 with the ext2
file system (minimizes write wear over ext3/4 or any other modern file
system).  mkfs.ext2 /dev/mmcblk0p1

Next you want to find the UUID of this device:
ls -la /dev/disk/by-uuid

On my system I see something like this:
7e340f32-0cf1-4b5d-ab56-b301bdcd8376 -> ../../mmcblk0p1

Then you can mount this somewhere temporary:
sudo mkdir /mnt/newhome
sudo mount /dev/mmcblk0p1 /mnt/newhome

Copy your home folders to the new device (pay attention to the forward
slashes, they do matter):
sudo rsync -rvaP /home/  /mnt/newhome

Edit your fstab to add a line to mount the new partition automatically,
like on boot:
sudoedit /etc/fstab

UUID=7e340f32-0cf1-4b5d-ab56-b301bdcd8376    /home  ext2  defaults 0 0

Either create a root password (sudo passwd) and login to the shell (after
exiting the GUI environment) as root or use a live boot environment for
this next part.  We are moving the old home out of the way and creating a
new mount point so we cannot be logged in as a standard user.  Because we
are root we do not need sudo.

mv /home /old.home
mkdir /home
chmod 755 /home
mount -a

Verify that the data is there with "ls -l /home".  At this point you should
be able to log in nad have your home directory on the SD card.  It will be
very very slow as a class 10 only writes at 10 MB/sec, a high quality USB2
device can more than double that.  Of course the 8 GB SSD in these things
is pretty brutal anyway.

Once you have verified that everything is working, you should be able to
remove /old.home with a "sudo rm -fr /old.home"

There are many steps, many of which can lead to data loss.  Make sure that
you backup the data.  I would also verify the steps above to make sure that
I did not make a mistake.  It is 4 am after all.  I make no warranties or
guarantees that the steps above do not contain mistakes or errors that may
or may not eat all of your data.

If it were me, I would just buy a cheap Core i3 laptop instead.  I have a
strong dislike for the entire Atom series of processors (I have a lot of
painful experiences with them).  I have not tried the brand new "Bay
Trail/Silvermont" processor yet, supposedly it does not suck, but it
doesn't matter since there are few devices that have it.

Best of luck,


On Tue, Dec 31, 2013 at 8:09 PM, Chris Brake <chris.br...@gmail.com> wrote:

> Are you getting any error messages?
> Or just not sure where to start?
>
>
> On Tue, Dec 31, 2013 at 4:30 PM, TekBudda <tekbu...@gmail.com> wrote:
>
>> Hi All,
>>
>> In the interest of trying to breathing some new life into old tech I
>> have installed Xubuntu (With LXDE as well) on my wife's old 8 GB EEEPC
>> which was also upgraded to 1 GB of RAM.
>>
>> I picked up an inexpensive 32GB SD-Card in the hopes of moving the home
>> drive to their & allowing the 8 GB to be used for the system.  So far I
>> have been unable to do it & wondered if I cam missing something.
>>
>> I have DDG'd (DuckDuckGo'd) & so far anything I have found hasn't been
>> successful.  For example...changing the shortcut for the various folder
>> to a new location.
>>
>> Ideas?  Suggestions?
>>
>> _______________________________________________
>> clug-talk mailing list
>> clug-talk@clug.ca
>> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
>> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
>> **Please remove these lines when replying
>>
>
>
> _______________________________________________
> clug-talk mailing list
> clug-talk@clug.ca
> http://clug.ca/mailman/listinfo/clug-talk_clug.ca
> Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
> **Please remove these lines when replying
>
_______________________________________________
clug-talk mailing list
clug-talk@clug.ca
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to