LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 03-25-2012, 12:32 AM   #1
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
To Format Partition for Fedora or USB


Hi
At the present I have Ubuntu 10.04 dual booted with Windows XP and need about 10GB for Fedora but my attempt at using:
Code:
sudo fdisk -1
Was very confusing to me and I didn't understand the output-

I went to www.fedoraproject.org and educated myself and saw exactly where I could download Fedora.

I also went to www.howtogeek.com and learned about formatting new partitions with a file system before you can use it and using the
Code:
mkfs
Command to do so. I found out that the USB has to be formatted properly as well.

This is a little overwhelming for me.

I need Fedora to complete the exercises in Chapter 2 of the "Linux Certification" Textbook.

I am learning at my own pace not that of the expectations of a college professor....so I have time....I just need help.

Any help would be greatly appreciated. It is my hope to to complete the Certification.

Coracat
 
Old 03-25-2012, 03:58 AM   #2
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
Have you considering installing VirtualBox, and then using Fedora in a virtual machine?
 
Old 03-25-2012, 09:59 AM   #3
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
Was very confusing to me and I didn't understand the output-
That being the case, you might post the output of sudo fdisk -l here and someone would be able to explain it in detail. Do you have any free space on the drive? Do you have only one drive? How many partitions on the drive?

You can do the partitioning and formatting with the Fedora tool during the installation. Not having the information mentioned above, it would not be possible for anyone to give accurate advice at this point.
 
Old 03-27-2012, 07:51 PM   #4
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by yancek View Post
That being the case, you might post the output of sudo fdisk -l here and someone would be able to explain it in detail. Do you have any free space on the drive? Do you have only one drive? How many partitions on the drive?

You can do the partitioning and formatting with the Fedora tool during the installation. Not having the information mentioned above, it would not be possible for anyone to give accurate advice at this point.
I have one drive but 2 partitions: Windows XP is dual booted with Ubuntu 10.04: Ultimate Edition 2.7
Not sure if I have room.

Glad to hear that Fedora has a tool to help me...just need your and other members help on the "How To"
Don't want to make any mistakes and jeopardize (put at risk or cause havoc) to the OSs I do have-

I'd like the help; Thank You

at@ztcat:~$ sudo fdisk
[sudo] password for cat:

Usage:
fdisk [options] <disk> change partition table
fdisk [options] -l <disk> list partition table(s)
fdisk -s <partition> give partition size(s) in blocks

Options:
-b <size> sector size (512, 1024, 2048 or 4096)
-c switch off DOS-compatible mode
-h print help
-u <size> give sizes in sectors instead of cylinders
-v print version
-C <number> specify the number of cylinders
-H <number> specify the number of heads
-S <number> specify the number of sectors per track
 
Old 03-27-2012, 11:20 PM   #5
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
You didn't enter the command correctly, left off the "-l". Lower case Letter L, not a number one. Copy and paste from below;

Code:
sudo fdisk -l
 
Old 03-28-2012, 02:18 AM   #6
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by yancek View Post
You didn't enter the command correctly, left off the "-l". Lower case Letter L, not a number one. Copy and paste from below;

Code:
sudo fdisk -l
Got it....thought it was a # one-

@ztcat:~$ sudo fdisk -l
[sudo] password for cat:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xcf58cf58

Device Boot Start End Blocks Id System
/dev/sda1 1 463 3719016 12 Compaq diagnostics
/dev/sda2 * 464 18273 143052491+ 7 HPFS/NTFS
/dev/sda3 18273 60800 341604033 f W95 Ext'd (LBA)
/dev/sda5 30633 60800 242324428+ e W95 FAT16 (LBA)
/dev/sda6 18273 30124 95197184 83 Linux
/dev/sda7 30124 30632 4080640 82 Linux swap / Solaris

Partition table entries are not in disk order
@ztcat:~$
 
Old 03-28-2012, 09:43 AM   #7
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Based on your fdisk output, I would expect the best thing to do would be to either resize/shrink sda5 or sda6. sda5 is a windows partition. Don't know what you have there or how much data is on the partition. sda6 would be your Ubuntu and again, don't know how much data your have there. You can go to the terminal and run this command: df -h

That will show you the size, amount used and available for each partition in GB.

When you begin the installation of Fedora, you will have the option to select Basic or Specialized storage, select Basic. Several steps later, you will have 5 options for type of installation. Select Custom as that will give you more control and you will be able to select a specific partition.

It would be a good idea for you to go online and read some tutorials on installing Fedora 16 before you begin.
 
Old 03-29-2012, 08:06 PM   #8
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Wink

Quote:
Originally Posted by yancek View Post
Based on your fdisk output, I would expect the best thing to do would be to either resize/shrink sda5 or sda6. sda5 is a windows partition. Don't know what you have there or how much data is on the partition. sda6 would be your Ubuntu and again, don't know how much data your have there. You can go to the terminal and run this command: df -h

That will show you the size, amount used and available for each partition in GB.

When you begin the installation of Fedora, you will have the option to select Basic or Specialized storage, select Basic. Several steps later, you will have 5 options for type of installation. Select Custom as that will give you more control and you will be able to select a specific partition.

It would be a good idea for you to go online and read some tutorials on installing Fedora 16 before you begin.
To find out how much data I have I'll use
Code:
df -h
Like you advised me to. Also I need to research the how to shrink/resize the Windows partition.

I'll choose Basic installation as you mentioned and Select Custom as you advised-

I will if not today; tomorrow go on line and watch tutorials on the install of Fedora to familurize myself with the install process.

I wrote down all you advised me as a guide to help me.

Thank you for good advise and instructions....I appreciate your time as I'm doing this only with this thread.

Have a good weekend

Last edited by Ztcoracat; 03-29-2012 at 08:07 PM. Reason: Spelling
 
Old 03-29-2012, 09:18 PM   #9
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
After you find out how much space you have available and decide on which partition to shrink, you can resize it during the installation of Fedora. You could also download GParted or PartedMagic, burn either to a CD and boot it and do pretty much anything you need with partitions. I've never really used xp, but my understanding is that it doesn't have the tools needed by default as vista and windows 7 do.

If you use Fedora to resize, after selecting Create Custom Layout, you should see a window with your partitions listed. All you would need to do is click on the partition you selected in the main window to highlight it then click the Edit tab below the window. A new window will open and you will see Resize as an option. Click the check box next to resize and enter a size in MB in the box to the right and click the OK tab at the bottom of the window. You should then see the new size of the partition.

Quote:
I wrote down all you advised me as a guide to help me
Taking notes during an installation is always a good idea. That way you can write them up and save it to a file for future reference. Also, if you have problems you will have some useful information on what worked and where a problem occurred.
 
Old 04-02-2012, 09:16 PM   #10
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Wink

I was able to find 2 good video's on how to resize the Windows XP partition.

Though I understand it I am very skittish to follow through; somewhat nervous that I could make a mistake and wipe out all or a portion of the operating systems that I do have. But I have your instruction-
" Click the check box to resize and enter in MB in the box to the right"

Before I do anything I'm thinking it would be wise for me to plug in my external and do a backup and re- organize or delete any files that are no longer an interest.


I think I will be more confident to go through the shrink/resize process of the partition ( after reading more info. online, watch more video, etc. I may just seriously consider the deletion of Windows altogether.

Either way this will be a good learning experience working with partitions and installing a new operating system.

Code:
enter a size in MB
I remember reading that Fedora needs about 768MB; memory : 10GB for the hard drive.

The " Ubuntu Linux Bible" by: Wm. Von Hagen has pretty much been my guide for the last 2-3 months. It's been a very good textbook for a new user like me-

Looking forward to learning and installing Fedora!

Thank You for your advise, instruction and help.

Last edited by Ztcoracat; 04-02-2012 at 09:25 PM. Reason: Additional info.
 
Old 04-02-2012, 11:29 PM   #11
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: Slackware, Ubuntu, PCLinux,
Posts: 10,502

Rep: Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489Reputation: 2489
Quote:
I was able to find 2 good video's on how to resize the Windows XP partition.
If you can resize xp from xp, it would probably be better but I've never used xp so I have no idea what software is available. There really should be no problem resizing during the installation but I would definitely recommend backing up any valuable data from xp and Ubuntu before beginning.

Quote:
I remember reading that Fedora needs about 768MB; memory : 10GB for the hard drive
Sounds right. The link to Fedora with hardware requirements is below:

http://docs.fedoraproject.org/en-US/...dware_Overview

Watching installation videos or reading tutorials is definitely a good idea as is keeping notes while watching/reading.
 
Old 04-03-2012, 06:09 PM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by yancek View Post
If you can resize xp from xp, it would probably be better but I've never used xp so I have no idea what software is available. There really should be no problem resizing during the installation but I would definitely recommend backing up any valuable data from xp and Ubuntu before beginning.



Sounds right. The link to Fedora with hardware requirements is below:

http://docs.fedoraproject.org/en-US/...dware_Overview

Watching installation videos or reading tutorials is definitely a good idea as is keeping notes while watching/reading.
Thank You
 
  


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
[SOLVED] Multi partition USB key - unable to format partitions jorgehumberto Linux - General 8 03-16-2011 04:34 AM
in fedora trying to format ntfs partition using ntfsprogs mkntfs mrj Linux - Software 4 12-15-2007 08:44 PM
How to format a partition on an external USB drive robbbert Linux - Hardware 8 08-17-2006 02:31 PM
format and partition USB disk Steve Riley SUSE / openSUSE 4 06-16-2005 12:37 PM
format partition again in fedora 3??? kelthuzad Linux - Newbie 6 04-21-2005 05:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 08:16 PM.

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