LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 05-07-2006, 10:07 PM   #1
Wheat_Thins
Member
 
Registered: Nov 2005
Location: Michigan
Distribution: Primary: Ubuntu 8.10
Posts: 94

Rep: Reputation: 15
Formatting and Mounting Left Over Partition


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)
 
Old 05-07-2006, 10:20 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
In the terminal as root...

Use fdisk or cfdisk to partition.

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).
 
Old 05-07-2006, 10:27 PM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
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"
 
Old 05-08-2006, 02:53 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
Quote:
Originally Posted by Wheat_Thins
Well I am starting a change over from Fedora to Ubuntu. So I wipe my HD clean Windows and Fedora in all.

I have this 20 gigs of unpartitioned space laying out on my HD.
Please clarify: You said you wiped the disk and then you said 20G of unpartitioned space. What is the total size of the disk and what is on it?

When you install (anything) you should have the option of deleting and creating partitions.
 
Old 05-21-2006, 10:26 PM   #5
Wheat_Thins
Member
 
Registered: Nov 2005
Location: Michigan
Distribution: Primary: Ubuntu 8.10
Posts: 94

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by Arow
In the terminal as root...

Use fdisk or cfdisk to partition.

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.
 
Old 05-21-2006, 11:56 PM   #6
linmix
Senior Member
 
Registered: Jun 2004
Location: Spain
Distribution: FC5
Posts: 1,993
Blog Entries: 1

Rep: Reputation: 46
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition formatting TurboChicken Linux - Hardware 3 03-07-2006 10:16 AM
ntfsresize: enlarge to the left of partition help venkman Linux - Newbie 7 09-16-2005 07:11 PM
Formatting and mounting hard drives Fear Linux - Hardware 1 01-23-2005 02:37 PM
easiest way to know how much disk space is left on partition el jue Linux - Newbie 2 04-07-2004 09:19 PM
floppy mounting/formatting drama PLEASE help me thisismadness Linux - Newbie 2 02-29-2004 05:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration