OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Resize Root Partition And Keep File System Intact, **resulted in a serious error**
dougeeebear
post Jan 28 2007, 09:11 AM
Post #1





Group: Members
Posts: 551
Joined: 8-July 04
From: Mid-South, USA
Member No.: 3,959



Content of this post removed.
The procedure resulted in a serious error.

This post has been edited by dougeeebear: Jan 29 2007, 05:44 AM
Go to the top of the page
 
+Quote Post
speculatrix
post Jan 28 2007, 02:38 PM
Post #2





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



I think this must work down to pure luck, that the parts of the file system you chopped off weren't used!
I'm not too sure that if you added to the file sys then it wouldn't corrupt the rest of the card or crash as it might try and write outside of the partition.

I think you'd be much better off copying the files to a flash card or to another machine.


you can copy the entire file system to a remote machine using rsync or tar + ssh... e.g.

cd /xyz
tar cf - . | gzip | ssh xyz.example.com "mkdir /tmp/xyz ; cd /tmp/xyz ; tar xf -"


or backup thus

cd /xyz
tar cf - . | gzip | ssh xyz.example.com "cat > /tmp/xyz.tar.gz"
Go to the top of the page
 
+Quote Post
dougeeebear
post Jan 28 2007, 02:54 PM
Post #3





Group: Members
Posts: 551
Joined: 8-July 04
From: Mid-South, USA
Member No.: 3,959



QUOTE(speculatrix @ Jan 28 2007, 04:38 PM)
I think this must work down to pure luck, that the parts of the file system you chopped off weren't used!
*
I didn't chop anything off.
I think you're misunderstanding what I did here.
I just reduced the size of / and increased the size of /home.
It worked similar to the way Partition Magic works on Windows.
But maybe you're right... maybe I was lucky.
Go to the top of the page
 
+Quote Post
dougeeebear
post Jan 28 2007, 03:54 PM
Post #4





Group: Members
Posts: 551
Joined: 8-July 04
From: Mid-South, USA
Member No.: 3,959



I made a NAND BACKUP of the new partitioning scheme, then I did a NAND RESTORE of the original.
It came back as it was originally.
Then I tried to do a NAND RESTORE of the new partitioning scheme, and I got the following error:

Restore Error... Bad Format

So I guess the resizing process must have messed something up.
Oh, well *nuts*
Back to the original.

speculatrix,
Looks like you were right.
Go to the top of the page
 
+Quote Post
Antikx
post Jan 28 2007, 08:12 PM
Post #5





Group: Members
Posts: 1,156
Joined: 5-January 05
From: Winnipeg, Manitoba
Member No.: 6,127



It was probably a good learning experience though hey?
Hope you keep at it.
Go to the top of the page
 
+Quote Post
Snappy
post Jan 28 2007, 09:30 PM
Post #6





Group: Members
Posts: 793
Joined: 28-November 04
From: NM, US, sometimes Asia
Member No.: 5,633



yeah ... keep at it!

hey, looks like we got a couple/few of us who own the c1000! We could have a Akita club if it don't already exist! wink.gif
Go to the top of the page
 
+Quote Post
speculatrix
post Jan 29 2007, 03:01 AM
Post #7





Group: Admin
Posts: 3,281
Joined: 29-July 04
From: Cambridge, England
Member No.: 4,149



QUOTE(dougeeebear @ Jan 28 2007, 11:54 PM)
QUOTE(speculatrix @ Jan 28 2007, 04:38 PM)
I think this must work down to pure luck, that the parts of the file system you chopped off weren't used!
*
I didn't chop anything off.
I think you're misunderstanding what I did here.
I just reduced the size of / and increased the size of /home.
It worked similar to the way Partition Magic works on Windows.
But maybe you're right... maybe I was lucky.
*



I don't think the resize partition is intelligent, I think it just changes the numbers in the partition table, and doesn't move any data in the "chopped-off" areas.

I remember when PM first came out, and it was an amazing idea, that such a thing was possible at all.

Seeing your follow-up confirmed my suspicions. sorry, it would have been neat if it had worked.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 14th September 2014 - 06:03 PM