UbuntuThis forum is for the discussion of Ubuntu Linux.
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.
Hello- I just installed Kubuntu - Hardy Heron last night. Previously I had my computer dual booted with Ubuntu Dapper on my 80 gig HD and Windoze XP on the other, 20 gig HD. Last night I decided to do away with my windoze partition altogether because I never use it (besides I have a mac laptop anyway) but I did not know how to manually set the partitions so I just installed Kubuntu on the 80 gig one. The 20 gig mounts as /media/hdb1 and has a bunch of my old windows files on it. I would like to reformat this HD to be a logical drive - extension of my Kubuntu, but again, don't know how to do that.
Will gparted do this reliably in Kubuntu? Or, how do I do this with the command line? I have been trying to RTFM but am not having much luck deciphering what I am reading. Any help is greatly appreciated. THANK YOU!
Apparently all you want is to "format that partition"
#sudo mkfs.jfs /dev/hdb1
DONE
----------------------
Otherwise,
Install gparted or parted
#sudo parted /dev/hdb
> p
you will see the list of partitions
> help
Why do you want hdb1 to be logical (within an extended)?
You can make up to 4 primaries on each drive... actually you cannot turn a primary into logical within extended without destroying all the data on the drive.
I had to install mkfs first, before I was able to sudo mkfs.jfs /dev/sdb1. (Oh yeah, it's sdb1, not hdb1. I could have sworn it did say hdb1 before though...)
Successfully erased all data on that drive. Then typed in kdesu kate /etc/fstab to edit /etc/fstab.
about mounting linux partitions in Ubuntu. I followed those instructions and now that other drive just looks like another folder. Since I just wanted to clear out all the Windows junk and be able to have that space available for Linux files, I guess this will work. Anyways, thanks for the help. Gparted worked great.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.