All times are UTC-06:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Fri Mar 04, 2011 2:17 am 
Offline

Joined: Fri Feb 11, 2011 8:52 am
Posts: 4
Location: San Antonio
Hi:

new smartbook 3g running Maverick.
linux noob.

I am wanting to clone the ssd to an sd card. (and restore)

I assume that I should create a bootable usb stick and use it to store and restore the internal ssd to (and from) an sd card.

It looks like Remastersys might create the stick.
But alas I found no man page entry for it, and the command was not found in my path.

Given this build, what might be the proper approach for me to investigate?

Thanks


Top
   
PostPosted: Mon Mar 07, 2011 6:19 pm 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Hi:

new smartbook 3g running Maverick.
linux noob.

I am wanting to clone the ssd to an sd card. (and restore)

I assume that I should create a bootable usb stick and use it to store and restore the internal ssd to (and from) an sd card.

It looks like Remastersys might create the stick.
But alas I found no man page entry for it, and the command was not found in my path.

Given this build, what might be the proper approach for me to investigate?

Thanks
Hi Terry,

You cannot boot from a USB stick on the Efika MX Smarttop or Smartbook as this relies on firmware support which is, as of yet, not implemented.

You may boot from an SD card and use a USB SD card adapter to put your "target" SD card into, however.

What you may do, and this is far easier than trying it yourself, is download the installer from the Platform Support links down on the front of this site's homepage.

If you have an SD card bigger than 2GB: awesome. Image the installer SD to it as per the instructions, eject and reinsert the card and then:
Code:
sudo parted /dev/mmcblk0
where the device name is your SD card. Use the command
Code:
mkpart primary 1700M 100%
.. and create yourself a second partition on the SD card. "quit" to exit parted, and you should be able to format your new partition with ..
Code:
mkfs.ext4 /dev/mmcblk0p3
Keeping the SD in the system, shutdown your Efika, and boot your system with it.

It will ask you if you want to trash the system: say "N" here and it will give you a console.

Log in as oem, with password oem.
Code:
sudo mount /dev/sda2 /mnt
sudo mount /dev/sda1 /mnt/boot
sudo mount /dev/mmcblk0p3 /media
cd mnt
sudo ~/maketarball /media gz
It will compress your entire system as a gzip file and place it on the 3rd partition of the SD card. You may take it off whenever you like, or you may simply go into the second partition of the card and note the directory "home/oem" which is where the installer runs from. There is a tar.xz file in here which is the original filesystem. Delete it. Copy your tar.gz file from the 3rd partition here. Edit "oem-installer" (I use nano for this) to change the filename to the one you just generated, and now you have an installable SD card which will copy everything back to the system exactly the way we install systems from scratch.

You will need a 2GB SD card at least, and if you only have a 2GB SD card you may use a USB stick with at least 1GB of space on it to mount as /media in place of the 3rd partition.

It's technical but there is no really cute GUI way of imaging a system right now, this is the method we use in-house.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Tue Mar 08, 2011 9:41 am 
Offline

Joined: Fri Feb 11, 2011 8:52 am
Posts: 4
Location: San Antonio
Neko:

Thanks for your response. It sounds like what you suggest may work fine for me.

It is good to know that booting from USB is unimplemented.

The lack of a gui tool does not bother me. My lack of knowledge about the structure of linux and ubuntu and the efika_mx_port_implementation definitely limits me right now more than I would like. I am still in a mode of spending 4 hours looking around to do 5 minutes of work. For even the simplest of things.

Last night I had finally decided I needed to grab a current installation image put it on an sd card and try to modify it to boot into a console. Then write a few scripts for storing the ssd to an sd and restoring the sd to the ssd. This way I could recover whatever OS and/or environment that I backed. So your response helps immensely.


Top
   
 Post subject:
PostPosted: Tue Mar 08, 2011 10:01 am 
Offline
Site Admin

Joined: Fri Sep 24, 2004 1:39 am
Posts: 1589
Location: Austin, TX
Quote:
Last night I had finally decided I needed to grab a current installation image put it on an sd card and try to modify it to boot into a console. Then write a few scripts for storing the ssd to an sd and restoring the sd to the ssd. This way I could recover whatever OS and/or environment that I backed. So your response helps immensely.
Those scripts are already on the card, so you should have an easy task (they are all in the oem user's home directory). You may want to simply update the "maketarball" script to automatically mount your partitions, I do this by hand.

_________________
Matt Sealey


Top
   
 Post subject:
PostPosted: Wed Mar 09, 2011 11:50 pm 
Offline

Joined: Fri Feb 11, 2011 8:52 am
Posts: 4
Location: San Antonio
Neko:

Thanks so much!

Your instructions worked perfectly.
I successfully backed up and restored my current environment.

So now when I really screw things up, I can always recover to the last backup.

Thanks,
-Terry-


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group