Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
You can create and delete partitions using the fdisk command. type 'fdisk /dev/hda' as root, replacing /dev/hda with the hard drive the partition you want to delete is on. If your system uses IDE, hda is the primary master, hdb is the primary slave, hdc is the secondary master, and hdd is the secondary slave. If your system is SCSI based then use /dev/sda, etc.
So, once you have fdisk running you can press m for a list of commands. 'p' prints the partition table, 'd' deletes a partition, but be warned, there's no turning back and you'll lose all the data on you partition.
edit: when you are done making changes, pressing 'w' saves the changes and exits. If you decide not to change anything press 'q' to quit without saving.
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Open a terminal session. Issue the command ' su - ' to change to root and use root's enviroment variables. Now run the command ' fdisk /dev/hda ' if you wish to modify the first IDE harddrive. The First USB or SATA drive will be /dev/sda.
In a console. The window manager you are using (KDE, Gnome, xfce4, etc..) probably has one installed. Check your applications menu for a terminal or console program and run that. This will open a box which looks a bit like a MS-DOS prompt but is much more powerful.
If you aren't already the root user (type 'whoami' to find out) then type 'su'. You'll be asked to enter the root password so do so. now you can type the fdisk command.
Check out www.tldp.org. It is an excellent source of linux documentation. There is also a google linux search which is pretty useful. www.google.com/linux
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.