Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Help - Copying root partition increased used size by 80MB
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
TheMisterC
n00b
n00b


Joined: 15 Dec 2007
Posts: 2

PostPosted: Sat Dec 15, 2007 8:10 pm    Post subject: Help - Copying root partition increased used size by 80MB Reply with quote

Is this typical?

Ok. I've been using Gentoo for several years, and yes I this is my first post.

I decided to start using jfs on my laptop instead for reiserfs and resize the root partition from 4 gb to 16 gb. Here is what I did to convert it.

1. Boot the system using a different root partition (actually I used a ubuntu partition running coLinux)

2. Create an image file of the old partition - dd if=/dev/hda(the Gentoo Partition) of=/(a place with 4 gb free)

3. Delete and create a 16 gb partition (while resizing the other partitions on the harddrive)

4. Boot the system in ubuntu under coLinux again

5. mkfs -t jfs /dev/hda(gentoo)

6. mount /dev/hda(gentoo) as /mnt/gentoo

7. mount the old gentoo image file using loop0

8. cp -ax (the img file) /mnt/gentoo

After doing all that there is a size increase of 80 MB.

Did I do something wrong? Does jfs allocate space differently than reiserfs? Did /dev get copied?

Help

Thanks

--MrC
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Dec 15, 2007 9:12 pm    Post subject: Reply with quote

reiserfs uses allocates space differently from jfs. And if you increased the size of the partition jfs may have chosen a larger blocksize as well (but probably not in this case).
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
TheMisterC
n00b
n00b


Joined: 15 Dec 2007
Posts: 2

PostPosted: Sun Dec 16, 2007 2:11 am    Post subject: Reply with quote

Thanks,

MrC
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum