View previous topic :: View next topic |
Author |
Message |
TheMisterC n00b
Joined: 15 Dec 2007 Posts: 2
|
Posted: Sat Dec 15, 2007 8:10 pm Post subject: Help - Copying root partition increased used size by 80MB |
|
|
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 |
|
|
nixnut Bodhisattva
Joined: 09 Apr 2004 Posts: 10974 Location: the dutch mountains
|
Posted: Sat Dec 15, 2007 9:12 pm Post subject: |
|
|
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 |
|
|
TheMisterC n00b
Joined: 15 Dec 2007 Posts: 2
|
Posted: Sun Dec 16, 2007 2:11 am Post subject: |
|
|
Thanks,
MrC |
|
Back to top |
|
|
|