Jump to content

Ubuntu Server Disk Partition Tool


Phil K.
 Share

Recommended Posts

Does anyone know if its possible to use the disk partitioning tool from the ubuntu server installer after you have installed ubuntu server? Obviously I would want to use it from the command line. I figure you can since 'tasksel' works.

Link to comment
Share on other sites

Does anyone know if its possible to use the disk partitioning tool from the ubuntu server installer after you have installed ubuntu server? Obviously I would want to use it from the command line. I figure you can since 'tasksel' works.

clip_image020.jpg

this formatting utility that you use when you install ubuntu server?

Link to comment
Share on other sites

Did it work?

Lol nope.

heres what I did:

1. Fresh install of Ubuntu 11.04.

2. apt-get update && apt-get dist-upgrade && apt-get autoremove

3. apt-get install ubiquity

4. partman

-> this looked like it was going to launch the partitioner but it ended up quitting.

5. dropped to root and ran it again. It actually launched and asked if it should unmount the partitions that are in use. I didnt continue any further because I assume that as soon as I unmount the OS partition which would therefore break partman because it was just running off of said partition.

6. Selected no to NOT unmount used partitions.

7. Here it gets tricky, the utility thinks its still part of the installer so it will ask you to auto partition your disk.

8. select manual, and heres what happened:

partman.png

Edited by Phil K.
Link to comment
Share on other sites

Lol nope.

heres what I did:

1. Fresh install of Ubuntu 11.04.

2. apt-get update && apt-get dist-upgrade && apt-get autoremove

3. apt-get install ubiquity

4. partman

-> this looked like it was going to launch the partitioner but it ended up quitting.

have to run it as root, or you will have a permission error and it won't work.

Link to comment
Share on other sites

Why would you want to format the disk you are currently using?

I would assume it would work fine if you are trying to format disks that don't contain the operating system.

Because i was testing this in a VM with only one disk. But yeah I would assume this tool would work as long as it doesn't unmount the drive that the OS is install on.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...