Operating Systems > Linux and UNIX

partition question

<< < (2/2)

rtgwbmsr:
Did you try one of the methods outlined in the two links?

I think they show how to use FDISK in Linux

Master of Reality:

quote:Originally posted by Stryker:
in fdisk (linux) you could delete the second partition, and change the ending cylinder of the first partition to where the last of the second was at. that should work (although i'd backup your stuff just in case)
--- End quote ---

thatts not quite right i think....i dont think you can change the ending cylinder??

use fdisk to delete both partitions, then creat a partition that start from the same starting point as the first partition. Then make the endind point the same as the ending point on the second partition.
Then you must do resize2fs and make the filesystem the same size as the whole partition.

voidmain:
If the partition you want to merge immediately follows the good Linux partition you can use fdisk to delete the second partition and set the ending cylinder to the end of where the second partition was as mentioned in the previous post.

Once that is done you would use either the "resize2fs" or "resize_reiserfs" depending on what file system you are running. But if you have no problems with reinstalling you can certainly do it that way as well.

Of course this is all in the links that m0r gave you.

[ October 26, 2002: Message edited by: void main ]

mobrien_12:
Go get GNU parted.  Use the resize function on your partition.  

This WILL work, I have done it at least four times so far.  

You must reinstall the boot loader after doing this.

Navigation

[0] Message Index

[*] Previous page

Go to full version