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.
Well I am starting a change over from Fedora to Ubuntu. So I wipe my HD clean Windows and Fedora in all. I normally install XP first so Grub can take over. Well I went to install XP on just the 20 gigs of free space I left over, and the XP installer wont let me because of the partition setup.
So screw it, I have hit a point where I am comfortable enough to go strictly Linux, even though I wont be able to play many of my windows only games.
I have this 20 gigs of unpartitioned space laying out on my HD. How do I go about partitioning it, formating it and mounting it? (I am not using LVM, just plain partions for /, /home, and swap)
Use mke2fs to format as ext2, mke2fs -j for ext3, mkreiserfs for reiser, mkfs.xfs for xfs, and mkfs.jfs for jfs.
Create a mount point with mkdir /whatever and then use mount /dev/hd?? /whatever to mount it. Edit the file /etc/fstab to automatically mount the new partition(s).
XP would have required a primary partition.
Usually using logicals is fine for Linux.
Depending on how your current setup is structured, you may not be able to use that space at all.
Let's see the output from "fdisk -l"
Use mke2fs to format as ext2, mke2fs -j for ext3, mkreiserfs for reiser, mkfs.xfs for xfs, and mkfs.jfs for jfs.
Create a mount point with mkdir /whatever and then use mount /dev/hd?? /whatever to mount it. Edit the file /etc/fstab to automatically mount the new partition(s).
How do I do the syntax for mke2fs, I try this:
Code:
mke2fs /dev/hda4
and I get no such file or directory.
Sorry for taking FOREVER guys, but work has been hell that last few weeks with having catastrophic error happening on our comm equipement.
Did you try to run mke2fs as root or as normal user? You should be root to do this.
If you get this error as root try
# whereis mke2fs
which will probably return something like /sbin/mke2fs
Try running it with the full path.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.