[SOLVED] Can not make root partition for fedora 12 x86_64
Fedora - InstallationThis forum is for the discussion of installation issues with Fedora.
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.
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.
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
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]#
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
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
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.
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!).
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.