Clonezilla to make spare boot flash almost works..

Ask questions about Arch Linux ARM. Please search before making a new topic.

Clonezilla to make spare boot flash almost works..

Postby bandit1200 » Sun May 05, 2013 7:03 pm

Hi. First Post. Thanks for the great forum and hard work. You guys are great and I've learned a lot so far.

I have: Pogo E02/Kirkwood, set up with Arch Linux, using a 4GB usb flash (sandisk fit) in the usb port closest
to the ethernet port. Set up and running well.

So I tried to make a physical backup flash that I could boot in case something ever goes wrong.

Clonezilla almost worked. I tried to make a clone of my 4GB flash into a 8GB drive (both drives are sandisk fit)

I followed these directions exactly:

http://clonezilla.org/show-live-doc-con ... disk_clone


When I put the resulting 8GB into Pogo and booted, everythig appeared to work correctly -- booted fine, everything
appeared normal -- all good...

But, when I df -l, I get:
$this->bbcode_second_pass_code('', '
Filesystem Size Used Avail Use% Mounted on
/dev/root 3.7G 1023M 2.5G 29% /
devtmpfs 124M 0 124M 0% /dev
tmpfs 124M 0 124M 0% /dev/shm
tmpfs 124M 308K 123M 1% /run
tmpfs 124M 0 124M 0% /sys/fs/cgroup
tmpfs 124M 0 124M 0% /tmp
')
looks like /dev/root is still 4gb....

and, fdisk -lh
$this->bbcode_second_pass_code('', 'Disk /dev/sda: 8004 MB, 8004304896 bytes, 15633408 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Device Boot Start End Blocks Id System
/dev/sda1 51 7820951 3910450+ 83 Linux')

Shows the drive as 8GB, and the only partition is 3910450+

Questions:

(1) What did I do wrong? Clonezilla did execute a resize2fs command. I thought that would give me all 8GB.

(2) Why is there a "+" in 3910450+ ? Havent' seen that before.

(3) Do I need to do anything to use all 8GB in this /dev/sda1 partion? How to fix?



-Bandit.
bandit1200
 
Posts: 2
Joined: Sun May 05, 2013 2:15 pm

Re: Clonezilla to make spare boot flash almost works..

Postby WarheadsSE » Mon May 06, 2013 2:17 am

The partition was resized, not the filesystem.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Clonezilla to make spare boot flash almost works..

Postby bandit1200 » Mon May 06, 2013 8:48 pm

Thanks Warheads,

So that seems to mean Clonezilla defaults are a fail for this use case - idiot proof backup. (Even if I could fix it, it would be an offline operation, right? Defeats the purpose...)

I'll try some other approaches, and live with the wrong size for now.

Its funny, if I knew what I was doing, I wouldn't be so worried about having a working backup (and losing all the work I did, most of which I didn't understand).

Moving on...
bandit1200
 
Posts: 2
Joined: Sun May 05, 2013 2:15 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 4 guests