Please I want to destroy two of my disk slices(partitions) and merge the two together so that I can have a bigger space assigned to one partition. Can any one direct me on how to go about this?
If this is a standalone disk (not managed by any volume manager), you can only do this if the slices are adjacent. You can find this out using [tt]format[/tt]. If you know the device names, unmount them and go into [tt]format[/tt], select the drive, then type [tt]part[/tt] to go to the partition menu, then type [tt]print[/tt] to print the current partition map. This will show you the drive's current partitioning.
I won't do into detail on how to do it, but if they are adjacent, you can delete them both and create a single partition in their place. Then, write the partition map and exit, then run the [tt]newfs[/tt] command to create a new file system on the newly created slice. Then update the [tt]/etc/vfstab[/tt] entries for the new file system and mount it.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.