Phil K. Posted August 27, 2011 Share Posted August 27, 2011 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. Quote Link to comment Share on other sites More sharing options...
int0x80 Posted August 29, 2011 Share Posted August 29, 2011 Do you mean fdisk and/or parted? Quote Link to comment Share on other sites More sharing options...
mdc4115 Posted August 29, 2011 Share Posted August 29, 2011 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. this formatting utility that you use when you install ubuntu server? Quote Link to comment Share on other sites More sharing options...
Phil K. Posted August 31, 2011 Author Share Posted August 31, 2011 this formatting utility that you use when you install ubuntu server? Yeah thats what im talking about. Any way to use it after ubuntu server has been installed? Quote Link to comment Share on other sites More sharing options...
mdc4115 Posted August 31, 2011 Share Posted August 31, 2011 I finally found out what it is. After searching for a while I found out that it is called "partman" http://askubuntu.com/questions/25564/partition-tool-with-console-ui-as-in-server-installation Quote Link to comment Share on other sites More sharing options...
Phil K. Posted September 1, 2011 Author Share Posted September 1, 2011 I finally found out what it is. After searching for a while I found out that it is called "partman" http://askubuntu.com/questions/25564/partition-tool-with-console-ui-as-in-server-installation Thanks for the link, ill have to look into installing it. Im sure 'apt-get install partman' wont work. Quote Link to comment Share on other sites More sharing options...
mdc4115 Posted September 1, 2011 Share Posted September 1, 2011 Thanks for the link, ill have to look into installing it. Im sure 'apt-get install partman' wont work. I'm pretty sure that package is in ubiquity, so sudo apt-get install ubiquity would install it. Quote Link to comment Share on other sites More sharing options...
janjensen Posted September 1, 2011 Share Posted September 1, 2011 Did it work? Quote Link to comment Share on other sites More sharing options...
Phil K. Posted September 5, 2011 Author Share Posted September 5, 2011 (edited) 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: Edited September 5, 2011 by Phil K. Quote Link to comment Share on other sites More sharing options...
mdc4115 Posted September 5, 2011 Share Posted September 5, 2011 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. Quote Link to comment Share on other sites More sharing options...
Phil K. Posted September 5, 2011 Author Share Posted September 5, 2011 have to run it as root, or you will have a permission error and it won't work. See step 5 ;) Quote Link to comment Share on other sites More sharing options...
mdc4115 Posted September 6, 2011 Share Posted September 6, 2011 See step 5 ;) 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. Quote Link to comment Share on other sites More sharing options...
Phil K. Posted September 10, 2011 Author Share Posted September 10, 2011 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.