LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora > Fedora - Installation
User Name
Password
Fedora - Installation This forum is for the discussion of installation issues with Fedora.

Notices

Reply
 
LinkBack Search this Thread
Old 05-14-2010, 08:38 AM   #1
digitsm
LQ Newbie
 
Registered: May 2010
Distribution: Ubuntu (& a little Fedora)
Posts: 11

Rep: Reputation: 1
Question Can not make root partition for fedora 12 x86_64


Hello
Recently I tried to install Fedora 12 x86_64 to my laptop.
I ran the live fedora image from my cooldisk and then pressed "Install to Hard Drive" from live desktop.
Then I went forward until I reached the partitioning section. Though I had ~28GB free space in my Harddrive, but it says:
"Could not allocate requested partitions:
not enough free space on disks."
You can see my steps until reaching this problem in these 3 pics:
step1: http://spfulq.bay.livefilestore.com/y1psZbdfNKkTHsF2e5BWUQoO2amy1HBgKwQp1Ox9sR1n8IR3sfx3RQewFr5nUoIEkiPnHY6AcoYRDhxRsYDfa6mgYzGIBB6BzS2/Fedora12-NoPartitioning1.png
step2: http://spfulq.bay.livefilestore.com/y1pYyxQFXPOqU4yIK1d4oTd17qg5PO4KmKod8JOBN4NyOAxKRQ9BcGLQRSYNBwVaJTo4VcuVgUz4H4fvGIBjwwLK9u77PKVoOHU/Fedora12-NoPartitioning2.png
step3: http://spfulq.bay.livefilestore.com/...titioning3.png
I captured these steps by using Fedora 12 Live printscreen tool.

So there's only 2 situations:
1. I did something wrong -> So please someone help me to install Fedora and use its partitioning tool.
2. There's a bug in Fedora -> So please someone confirm that this is a bug and say me an alternative way to install fedora.

TNX
 
Old 05-14-2010, 08:53 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 11,809

Rep: Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923Reputation: 923
That free space is unreachable. Best long-term solution would be to incorporate it into the extended. Don't know if the installer will allow that or not.
The answer for your immediate problem is to select the extended partition and add logical partitions for what you need - a root and swap at a minimum I would venture.

Cancel that - I see a sda5 there in the graphic at the top. Hmmm. Something doesn't add up.
From a terminal, (outside of the installer) try this and post the output - all of it
Code:
/sbin/fdisk -l

Last edited by syg00; 05-14-2010 at 08:56 AM.
 
Old 05-14-2010, 09:25 AM   #3
digitsm
LQ Newbie
 
Registered: May 2010
Distribution: Ubuntu (& a little Fedora)
Posts: 11

Original Poster
Rep: Reputation: 1
Question My partition table

Quote:
Originally Posted by syg00 View Post
That free space is unreachable. Best long-term solution would be to incorporate it into the extended. Don't know if the installer will allow that or not.
The answer for your immediate problem is to select the extended partition and add logical partitions for what you need - a root and swap at a minimum I would venture.

Cancel that - I see a sda5 there in the graphic at the top. Hmmm. Something doesn't add up.
From a terminal, (outside of the installer) try this and post the output - all of it
Code:
/sbin/fdisk -l
I did it, but you forgot to say to use "su" to becoming a superuser. I tried it many times till I could guess that!
As you can see I have two ext4 partitions for my root and home of my Ubuntu.
Plus a swap partition for that Ubuntu; and I wanna install Fedora beside it in a new ext4 partition (but with shared /home partition with ubuntu).

Code:
[liveuser@localhost ~]$ su
[root@localhost liveuser]# /sbin/fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x1fd71cde

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1          11       88326   16  Hidden FAT16
/dev/sda2   *          12       10454    83883397+   7  HPFS/NTFS
Partition 2 does not end on cylinder boundary.
/dev/sda3           10455       22203    94373842+   7  HPFS/NTFS
/dev/sda4           22204       57128   280535032    5  Extended
/dev/sda5           22204       52228   241175781    7  HPFS/NTFS
/dev/sda6           52229       52751     4200966   82  Linux swap / Solaris
/dev/sda7           52752       54575    14651248+  83  Linux
/dev/sda8           54576       57128    20506941   83  Linux

Disk /dev/sdb: 8011 MB, 8011120640 bytes
247 heads, 62 sectors/track, 1021 cylinders
Units = cylinders of 15314 * 512 = 7840768 bytes
Disk identifier: 0x00026d29

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1        1021     7817766    c  W95 FAT32 (LBA)

Disk /dev/dm-0: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-0 doesn't contain a valid partition table

Disk /dev/dm-1: 3221 MB, 3221225472 bytes
255 heads, 63 sectors/track, 391 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/dm-1 doesn't contain a valid partition table
[root@localhost liveuser]#
 
Old 05-14-2010, 09:41 AM   #4
johnsfine
Senior Member
 
Registered: Dec 2007
Distribution: Centos
Posts: 4,968

Rep: Reputation: 1074Reputation: 1074Reputation: 1074Reputation: 1074Reputation: 1074Reputation: 1074Reputation: 1074Reputation: 1074
Quote:
Originally Posted by syg00 View Post
That free space is unreachable. Best long-term solution would be to incorporate it into the extended.
Correct. That means the OP needs to go into some partitioning tool while booted from a CD and tell it to extend sda4, which is the extended partition. Extend it the maximum amount. Then the free space can be used as new logical partitions inside the extended partition.

Quote:
Don't know if the installer will allow that or not.
I don't know either (whether the partitioning tool inside the Fedora installer will let you select and extend sda4 or whether you need to boot some other Linux CD to get the right partitioning tool).

Quote:
The answer for your immediate problem is to select the extended partition and add logical partitions for what you need - a root and swap at a minimum I would venture.

Cancel that - I see a sda5 there in the graphic at the top. Hmmm. Something doesn't add up.
Seems to me it adds up. The extended partition is already full of logical partitions, so growing the extended partition is the only way to partition more space.

You cannot add logical partitions inside the extended until after growing the extended partition.

Edit: I missed the following detail on first read of this thread:

Quote:
Originally Posted by digitsm View Post
I ran the live fedora image from my cooldisk
1) I don't know what a cooldisk is, but I'll assume it is being used the way a CD would be used more commonly. So anything I said above about booting from CD, could be translated to cooldisk.

2) Some live images of Linux automatically recognize and enable swap partitions on the hard drive. But the partitioning tool can't extend sda4 while sda6 is in use as swap space for the booted copy of Linux. So if the swap space has been enabled then before running the partitioning tool disable the swap space. As root give the command
/sbin/swapoff -a

Last edited by johnsfine; 05-14-2010 at 09:50 AM.
 
Old 05-14-2010, 09:58 AM   #5
digitsm
LQ Newbie
 
Registered: May 2010
Distribution: Ubuntu (& a little Fedora)
Posts: 11

Original Poster
Rep: Reputation: 1
Exclamation

Quote:
I don't know either (whether the partitioning tool inside the Fedora installer will let you select and extend sda4 or whether you need to boot some other Linux CD to get the right partitioning tool).
I tested the Fedora-Installer. It can not extend and change the size of my extended partition. I must use another tool.
I can use my other OSes for making a new ext4 partitions but I don't like to do so, because I must present Fedora installation (without any other OS) for many other people in a Fedora Linux Workshop at our university!
I'm trying to make use of g-parted in Live-Fedora!

Quote:
1) I don't know what a cooldisk is, but I'll assume it is being used the way a CD would be used more commonly. So anything I said above about booting from CD, could be translated to cooldisk.
cooldisk = a portable flash media storage

Last edited by digitsm; 05-14-2010 at 10:02 AM.
 
Old 05-14-2010, 10:05 AM   #6
johnsfine
Senior Member
 
Registered: Dec 2007
Distribution: Centos
Posts: 4,968

Rep: Reputation: 1074Reputation: 1074Reputation: 1074Reputation: 1074Reputation: 1074Reputation: 1074Reputation: 1074Reputation: 1074
Quote:
Originally Posted by digitsm View Post
I tested the Fedora-Installer. It can not extend and change the size of my extended partition.
Are you sure? Did you disable swap before trying?

Obviously I don't know whether it should work, but my guess is it would work, but only if you first disable swap.
 
Old 05-14-2010, 10:09 AM   #7
digitsm
LQ Newbie
 
Registered: May 2010
Distribution: Ubuntu (& a little Fedora)
Posts: 11

Original Poster
Rep: Reputation: 1
Red face Palimpsest Disk Utility: a partitioning tool in Fedora Live

Quote:
I'm trying to make use of g-parted in Live-Fedora!
Oh I didn't know. Fedora Live has a partition utility named Palimpsest Disk Utility; available at "Applications->System Tools->Disk Utility"
It's even no need of installing g-parted. (Though g-parted is a more powerfull tool, which can resize partitions too!).
 
Old 05-14-2010, 10:24 AM   #8
digitsm
LQ Newbie
 
Registered: May 2010
Distribution: Ubuntu (& a little Fedora)
Posts: 11

Original Poster
Rep: Reputation: 1
Lightbulb

Quote:
Originally Posted by johnsfine View Post
Are you sure? Did you disable swap before trying?

Obviously I don't know whether it should work, but my guess is it would work, but only if you first disable swap.
Thanks for your attention Johnsfine; but it didn't work. I try it again also with swapoff, but it also take no different.
I had same problem when tried to install fedora from its non-bootable DVD (which off course reserves nothing of swap).
You can see the image below, in which the "Resize" option of "Edit" of sda4 is disabled:

http://public.bay.livefilestore.com/y1p98FOMBICeYMvd5zzgqPm48xjot6tWNPFWcmI1EnDUsAE2Iz-qhrcCxC105zew5_LBxfnlpI96VPG1MMAnSZB_g/Fedora12-NoPartitioning4.png
 
Old 05-15-2010, 12:59 PM   #9
digitsm
LQ Newbie
 
Registered: May 2010
Distribution: Ubuntu (& a little Fedora)
Posts: 11

Original Poster
Rep: Reputation: 1
Thumbs up Solution = Using g-parted in Fedora Live

Hello again to all

At last I solved this problem.
As you said before I needed to extend my extended partition, but how (in a Live Fedora)?
Fortunately Fedora 12 recognized my WIFI driver and so I could download and install gparted on my Live Fedora (g-parted is not included even in Fedora DVD), and with its help I could resize my extended partition and continue my installation process.
Palimpset Disk Utility, the default disk utility of Fedora Live was not enough for this job.
U can see the image of this process below (after resizing):
http://spfulq.bay.livefilestore.com/...titioning5.png
 
  


Reply

Tags
fedora, partioning


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
I installed GRUB on root partition. Anyway to access fedora? L_Masoumi Linux - General 3 03-15-2008 05:25 AM
Fedora and XFS root partition stumpedguy_frustrate Fedora 2 11-18-2007 06:52 PM
Make MySQL faster (Fedora Core 5 x86_64) GATTACA Linux - Software 2 07-21-2006 06:44 PM
Make Gentoo use read only root partition BuckRogers01 Linux - Distributions 4 03-05-2006 02:30 PM
How do I make a command run as root at boot up under Fedora 3? versaulis Linux - Software 5 02-10-2005 06:22 PM


All times are GMT -5. The time now is 05:20 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration