FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 07-31-2008, 06:54 PM
Nigel Henry
 
Default No space for new partition on SATA drive, but 61GBfreespace

On Thursday 31 July 2008 19:51, Anders Karlsson wrote:
> * Nigel Henry <cave.dnb2m97pp@aliceadsl.fr> [20080731 19:24]:
> > This is the first time that I've used SATA harddrives on this new machine
> > that I've built, so am a bit in the dark.
> >
> > Fedora 8 is using sda1 for / , and sda2 for /home. sda3 is swap
> >
> > sda4 (the 4th primary is the extended partition)
> >
> > sda5, and 6, are / , and /home for another linux distro
> > sda7, and 8, are / , and /home for another linux distro
> > sda9, and 10, are / , and /home for yet another linux distro
> > sda11, and 12, are / , and /home for another linux distro
>
> So you have used up all four primary partitions available, making the
> fourth the container for extended partitions. You've then proceeded to
> allocate most of your 15 possible partitions.
>
> > There is still showing 61020 MB of free space on the drive, but trying to
> > create a new partition for the install of Fedora 9, with 10000MB for / I
> > get the following output. Written in freehand.
> >
> > Error Partitioning
> >
> > ould not allocate requested partitions: Partitioning failed: Could not
> > allocate partitions as primary partitions. Not enough space left to
> > create partition for /.
>
> Yeah, you're trying to create it as a primary partition, but you
> already have used up all those slots.

Actually this is a bit strange, because the Fedora 9 partitioning tool when
you want to create a new partition from freespace, doesn't give options for
primary, or logical partitions. All there was was a checkbox which said
"force as primary partition", which obviously I didn't check, because I knew
that all primaries were used up.
>
> > I'm sure I've seen some stuff about partition limits on SATA drives, but
> > can't remember where. If there are limits, are there any workarounds so
> > that I can use this 61+GB of freespace.
>
> man fdisk

I'll have a look at that again, because logically there still should be 3
useable logical partitions within the extended partition, which would enable
me to use this 16GB of freespace.
>
> It'll tell you most of what you need to know.
>
> > Thanks for any suggestions.
>
> Create the partition as an extended partition, instead of primary
> partition.
>
> HTH,
>
> /Anders

Temporarily, I've installed Fedora 9 on the other drive which I wanted to keep
just for data

Thanks for the reply, and suggestions.

Nigel.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 07-31-2008, 07:04 PM
"Mikkel L. Ellertson"
 
Default No space for new partition on SATA drive, but 61GBfreespace

Roger Heflin wrote:

Nigel Henry wrote:
This is the first time that I've used SATA harddrives on this new
machine that I've built, so am a bit in the dark.


Fedora 8 is using sda1 for / , and sda2 for /home. sda3 is swap

sda4 (the 4th primary is the extended partition)

sda5, and 6, are / , and /home for another linux distro
sda7, and 8, are / , and /home for another linux distro
sda9, and 10, are / , and /home for yet another linux distro
sda11, and 12, are / , and /home for another linux distro

There is still showing 61020 MB of free space on the drive, but trying
to create a new partition for the install of Fedora 9, with 10000MB
for / I get the following output. Written in freehand.


Error Partitioning

ould not allocate requested partitions: Partitioning failed: Could not
allocate partitions as primary partitions. Not enough space left to
create partition for /.


I'm sure I've seen some stuff about partition limits on SATA drives,
but can't remember where. If there are limits, are there any
workarounds so that I can use this 61+GB of freespace.


Thanks for any suggestions.

Nigel.




It is not a SATA thing.

You only get 4 primary partitions, usually the last of the primaries is
an extended partition containing *all* of the rest of the space, if the
last partition does not contain all of the rest of the space, well, you
cannot use it without repartitioning.


There does not seem to be a limit on the number of the partitions in an
extended partition, but there could be limits in some of the tools to
deal with things.


There is a limit of the total number of partitions that a single disk
can have and I think that was 16 so your aren't quite there yet.


I would suggest not creating /home for each installation (just for the
first one) and then changing fstab to mount a shared home, the only
steps that would need to be done to properly do this would be to make
sure the UID/users on all distributions are the same, and make sure
fstab on each distribution has it added as an entry.


Roger

I would also suggest not using a primary partition for swap. For
that matter, I have drives that are formatted with /boot as the only
primary partition (except the extended partition) and everything
else as a logical partition in the extended partition. One thing to
keep in mind is that you are going to run into problems if you have
more then 16 partitions on the drive. (Not counting the extended
partition.) I think this is a limit in the SCSI drivers, and allmost
all drives are now handled as SCSI drives now.


Mikkel
--

Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 07-31-2008, 07:06 PM
Rick Stevens
 
Default No space for new partition on SATA drive, but 61GBfreespace

Nigel Henry wrote:

On Thursday 31 July 2008 19:51, Anders Karlsson wrote:

* Nigel Henry <cave.dnb2m97pp@aliceadsl.fr> [20080731 19:24]:

This is the first time that I've used SATA harddrives on this new machine
that I've built, so am a bit in the dark.

Fedora 8 is using sda1 for / , and sda2 for /home. sda3 is swap

sda4 (the 4th primary is the extended partition)

sda5, and 6, are / , and /home for another linux distro
sda7, and 8, are / , and /home for another linux distro
sda9, and 10, are / , and /home for yet another linux distro
sda11, and 12, are / , and /home for another linux distro

So you have used up all four primary partitions available, making the
fourth the container for extended partitions. You've then proceeded to
allocate most of your 15 possible partitions.


There is still showing 61020 MB of free space on the drive, but trying to
create a new partition for the install of Fedora 9, with 10000MB for / I
get the following output. Written in freehand.

Error Partitioning

ould not allocate requested partitions: Partitioning failed: Could not
allocate partitions as primary partitions. Not enough space left to
create partition for /.

Yeah, you're trying to create it as a primary partition, but you
already have used up all those slots.


Actually this is a bit strange, because the Fedora 9 partitioning tool when
you want to create a new partition from freespace, doesn't give options for
primary, or logical partitions. All there was was a checkbox which said
"force as primary partition", which obviously I didn't check, because I knew
that all primaries were used up.

I'm sure I've seen some stuff about partition limits on SATA drives, but
can't remember where. If there are limits, are there any workarounds so
that I can use this 61+GB of freespace.

man fdisk


I'll have a look at that again, because logically there still should be 3
useable logical partitions within the extended partition, which would enable
me to use this 16GB of freespace.


Actually, we're all assuming that you have /dev/sda4 soaking up all of
the space not used by sda1, sda2 and sda3. If you didn't make sda4 use
all the space, you'll need to grow sda4 to suck it up, THEN you can
create sda13, sda14 and sda15.

I'm not sure about F9's disk utility, but it may only grow the extended
partition big enough to contain the partitions inside it. If that's
the case, you may need to use the command-line version of fdisk rather
than a GUI version to grow sda4 and put sda13, sda14 and sda15 in the
additional space.

In fact, a nice "fdisk -l /dev/sda" might be useful here to see if
indeed sda4 is occupying all the space.


It'll tell you most of what you need to know.


Thanks for any suggestions.

Create the partition as an extended partition, instead of primary
partition.

HTH,

/Anders


Temporarily, I've installed Fedora 9 on the other drive which I wanted to keep
just for data


Thanks for the reply, and suggestions.

Nigel.




--
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer rps2@nerd.com -
- Hosting Consulting, Inc. -
- -
- Hard work has a future payoff. Laziness pays off now. -
----------------------------------------------------------------------

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 08-01-2008, 12:39 PM
Nigel Henry
 
Default No space for new partition on SATA drive, but 61GBfreespace

On Thursday 31 July 2008 21:06, Rick Stevens wrote:
> Nigel Henry wrote:
> > On Thursday 31 July 2008 19:51, Anders Karlsson wrote:
> >> * Nigel Henry <cave.dnb2m97pp@aliceadsl.fr> [20080731 19:24]:
> >>> This is the first time that I've used SATA harddrives on this new
> >>> machine that I've built, so am a bit in the dark.
> >>>
> >>> Fedora 8 is using sda1 for / , and sda2 for /home. sda3 is swap
> >>>
> >>> sda4 (the 4th primary is the extended partition)
> >>>
> >>> sda5, and 6, are / , and /home for another linux distro
> >>> sda7, and 8, are / , and /home for another linux distro
> >>> sda9, and 10, are / , and /home for yet another linux distro
> >>> sda11, and 12, are / , and /home for another linux distro
> >>
> >> So you have used up all four primary partitions available, making the
> >> fourth the container for extended partitions. You've then proceeded to
> >> allocate most of your 15 possible partitions.
> >>
> >>> There is still showing 61020 MB of free space on the drive, but trying
> >>> to create a new partition for the install of Fedora 9, with 10000MB for
> >>> / I get the following output. Written in freehand.
> >>>
> >>> Error Partitioning
> >>>
> >>> ould not allocate requested partitions: Partitioning failed: Could not
> >>> allocate partitions as primary partitions. Not enough space left to
> >>> create partition for /.
> >>
> >> Yeah, you're trying to create it as a primary partition, but you
> >> already have used up all those slots.
> >
> > Actually this is a bit strange, because the Fedora 9 partitioning tool
> > when you want to create a new partition from freespace, doesn't give
> > options for primary, or logical partitions. All there was was a checkbox
> > which said "force as primary partition", which obviously I didn't check,
> > because I knew that all primaries were used up.
> >
> >>> I'm sure I've seen some stuff about partition limits on SATA drives,
> >>> but can't remember where. If there are limits, are there any
> >>> workarounds so that I can use this 61+GB of freespace.
> >>
> >> man fdisk
> >
> > I'll have a look at that again, because logically there still should be 3
> > useable logical partitions within the extended partition, which would
> > enable me to use this 16GB of freespace.
>
> Actually, we're all assuming that you have /dev/sda4 soaking up all of
> the space not used by sda1, sda2 and sda3. If you didn't make sda4 use
> all the space, you'll need to grow sda4 to suck it up, THEN you can
> create sda13, sda14 and sda15.
>
> I'm not sure about F9's disk utility, but it may only grow the extended
> partition big enough to contain the partitions inside it. If that's
> the case, you may need to use the command-line version of fdisk rather
> than a GUI version to grow sda4 and put sda13, sda14 and sda15 in the
> additional space.

It's interesting that you say that, as even though Fedora 9's disk utility
showed the more that 16GB of freespace, create new in the freespace, only
showed 100MB in the box where you put the size of the new partition. I
thought that it normally showed the total space available, then you just
changed it to whatever you wanted.
>
> In fact, a nice "fdisk -l /dev/sda" might be useful here to see if
> indeed sda4 is occupying all the space.
>
> >> It'll tell you most of what you need to know.
> >>
> >>Rick

The fdisk -l /dev/sda output is below, but in the meantime I tried installing
Kubuntu Hardy Heron 8.04 on the same drive, and had no problems creating
sda13 for /, and sda14 for /home, as you can see below, and HH is installed
ok.

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000b82a

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1402 11261533+ 83 Linux (F8 /)
/dev/sda2 1403 2549 9213277+ 83 Linux (F8 /home)
/dev/sda3 2550 2804 2048287+ 82 Linux swap / Solaris
/dev/sda4 2805 13988 89835480 5 Extended
/dev/sda5 2805 4020 9767488+ 83 Linux (Kubuntu GG /)
/dev/sda6 4021 5114 8787523+ 83 Linux (Kubuntu /home)
/dev/sda7 5115 6330 9767488+ 83 Linux (Archlinux /)
/dev/sda8 6331 7424 8787523+ 83 Linux (Arch /home)
/dev/sda9 7425 8761 10739421 83 Linux (Kubuntu DD /)
/dev/sda10 8762 9855 8787523+ 83 Linux (Kubuntu /home)
/dev/sda11 9856 10949 8787523+ 83 Linux (Debian Etch /)
/dev/sda12 10950 11678 5855661 83 Linux (Etch /home)
/dev/sda13 11679 12894 9767488+ 83 Linux (Kubuntu HH /)
/dev/sda14 12895 13988 8787523+ 83 Linux (Kubuntu /home)

And the same for sdb, which is supposed to be just for data, but F9 is also
there at the mo.

Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000d51e

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3824 30716248+ b W95 FAT32 (No OS )
/dev/sdb2 3825 7471 29294527+ b W95 FAT32 (No OS )
/dev/sdb3 7472 8746 10241437+ 83 Linux (Fedora 9 /)
/dev/sdb4 8747 30401 173943787+ 5 Extended
/dev/sdb5 8747 9766 8193118+ 83 Linux (Fedora 9 /home)

sdb1, and sdb2 have no Win OS on them, and just so that I can store data
easily from any of the Linux OS's easily, and retrieve it again to whichever
Linux OS happens to be booted at the time.

Can't login to either KDE or Gnome on F9 though. Firstboot ran on the reboot,
entered user name, and password, then Firstboot decided to crash. The login
screen on a reboot shows my realname, and hovering the mouse over it says
logging in using my user name, which it shows. So I enter the password, but
nothing from Gnome, just back to the login. Trying a KDE session, it displays
an error box top left, saying something like "check installation". Anyway
that problem if I can't fix it is for a new thread.

Thanks for all the replies.

Nigel.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 08-01-2008, 03:12 PM
"Kevin J. Cummings"
 
Default No space for new partition on SATA drive, but 61GBfreespace

Nigel Henry wrote:


The fdisk -l /dev/sda output is below, but in the meantime I tried installing
Kubuntu Hardy Heron 8.04 on the same drive, and had no problems creating
sda13 for /, and sda14 for /home, as you can see below, and HH is installed
ok.


Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000b82a

Device Boot Start End Blocks Id System
/dev/sda1 * 1 1402 11261533+ 83 Linux (F8 /)
/dev/sda2 1403 2549 9213277+ 83 Linux (F8 /home)
/dev/sda3 2550 2804 2048287+ 82 Linux swap / Solaris
/dev/sda4 2805 13988 89835480 5 Extended
/dev/sda5 2805 4020 9767488+ 83 Linux (Kubuntu GG /)
/dev/sda6 4021 5114 8787523+ 83 Linux (Kubuntu /home)
/dev/sda7 5115 6330 9767488+ 83 Linux (Archlinux /)
/dev/sda8 6331 7424 8787523+ 83 Linux (Arch /home)
/dev/sda9 7425 8761 10739421 83 Linux (Kubuntu DD /)
/dev/sda10 8762 9855 8787523+ 83 Linux (Kubuntu /home)
/dev/sda11 9856 10949 8787523+ 83 Linux (Debian Etch /)
/dev/sda12 10950 11678 5855661 83 Linux (Etch /home)
/dev/sda13 11679 12894 9767488+ 83 Linux (Kubuntu HH /)
/dev/sda14 12895 13988 8787523+ 83 Linux (Kubuntu /home)

And the same for sdb, which is supposed to be just for data, but F9 is also
there at the mo.


Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0000d51e

Device Boot Start End Blocks Id System
/dev/sdb1 * 1 3824 30716248+ b W95 FAT32 (No OS )
/dev/sdb2 3825 7471 29294527+ b W95 FAT32 (No OS )
/dev/sdb3 7472 8746 10241437+ 83 Linux (Fedora 9 /)
/dev/sdb4 8747 30401 173943787+ 5 Extended
/dev/sdb5 8747 9766 8193118+ 83 Linux (Fedora 9 /home)

sdb1, and sdb2 have no Win OS on them, and just so that I can store data
easily from any of the Linux OS's easily, and retrieve it again to whichever
Linux OS happens to be booted at the time.


I can think of better fielsystems to use instead of FAT32 for that.
Ext2 comes to mind first....


Can't login to either KDE or Gnome on F9 though. Firstboot ran on the reboot,
entered user name, and password, then Firstboot decided to crash. The login
screen on a reboot shows my realname, and hovering the mouse over it says
logging in using my user name, which it shows. So I enter the password, but
nothing from Gnome, just back to the login. Trying a KDE session, it displays
an error box top left, saying something like "check installation". Anyway
that problem if I can't fix it is for a new thread.


Thanks for all the replies.

Nigel.




--
Kevin J. Cummings
kjchome@rcn.com
cummings@kjchome.homeip.net
cummings@kjc386.framingham.ma.us
Registered Linux User #1232 (http://counter.li.org)

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 08-01-2008, 03:56 PM
Nigel Henry
 
Default No space for new partition on SATA drive, but 61GBfreespace

On Friday 01 August 2008 17:12, Kevin J. Cummings wrote:
> Nigel Henry wrote:
> > The fdisk -l /dev/sda output is below, but in the meantime I tried
> > installing Kubuntu Hardy Heron 8.04 on the same drive, and had no
> > problems creating sda13 for /, and sda14 for /home, as you can see below,
> > and HH is installed ok.
> >
> > Disk /dev/sda: 160.0 GB, 160041885696 bytes
> > 255 heads, 63 sectors/track, 19457 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> > Disk identifier: 0x0000b82a
> >
> > Device Boot Start End Blocks Id System
> > /dev/sda1 * 1 1402 11261533+ 83 Linux (F8 /)
> > /dev/sda2 1403 2549 9213277+ 83 Linux (F8 /home)
> > /dev/sda3 2550 2804 2048287+ 82 Linux swap /
> > Solaris /dev/sda4 2805 13988 89835480 5 Extended
> > /dev/sda5 2805 4020 9767488+ 83 Linux (Kubuntu
> > GG /) /dev/sda6 4021 5114 8787523+ 83 Linux
> > (Kubuntu /home) /dev/sda7 5115 6330 9767488+ 83
> > Linux (Archlinux /) /dev/sda8 6331 7424 8787523+
> > 83 Linux (Arch /home) /dev/sda9 7425 8761 10739421
> > 83 Linux (Kubuntu DD /) /dev/sda10 8762 9855
> > 8787523+ 83 Linux (Kubuntu /home) /dev/sda11 9856 10949
> > 8787523+ 83 Linux (Debian Etch /) /dev/sda12 10950
> > 11678 5855661 83 Linux (Etch /home) /dev/sda13 11679
> > 12894 9767488+ 83 Linux (Kubuntu HH /) /dev/sda14 12895
> > 13988 8787523+ 83 Linux (Kubuntu /home)
> >
> > And the same for sdb, which is supposed to be just for data, but F9 is
> > also there at the mo.
> >
> > Disk /dev/sdb: 250.0 GB, 250059350016 bytes
> > 255 heads, 63 sectors/track, 30401 cylinders
> > Units = cylinders of 16065 * 512 = 8225280 bytes
> > Disk identifier: 0x0000d51e
> >
> > Device Boot Start End Blocks Id System
> > /dev/sdb1 * 1 3824 30716248+ b W95 FAT32 (No OS
> > ) /dev/sdb2 3825 7471 29294527+ b W95 FAT32 (No
> > OS ) /dev/sdb3 7472 8746 10241437+ 83 Linux
> > (Fedora 9 /) /dev/sdb4 8747 30401 173943787+ 5
> > Extended /dev/sdb5 8747 9766 8193118+ 83 Linux
> > (Fedora 9 /home)
> >
> > sdb1, and sdb2 have no Win OS on them, and just so that I can store data
> > easily from any of the Linux OS's easily, and retrieve it again to
> > whichever Linux OS happens to be booted at the time.
>
> I can think of better fielsystems to use instead of FAT32 for that.
> Ext2 comes to mind first....

This has nothing to do with the problem I am having with installing Fedora 9
on sda1, but I think the reason I'm still using FAT32 filesystems to save and
retrieve data from various Linux distros, is that I started my computer
experience using Windows (soon changed to Linux), and having a data drive on
the Windows machine with FAT32 partitions on it, I found there were no
problems writing files from Linux distro's to it. the only very small
problem, is that if you have files with filenames that have uppercase
characters, saving to FAT32 changes them to lowercase.

I don't want this thread of mine to drift off from the subject, but is it as
easy to set up ext2 partitions, as read/write, so that no matter which Linux
distro I have booted at the time, I can write/read data to them?


>
> > Can't login to either KDE or Gnome on F9 though. Firstboot ran on the
> > reboot, entered user name, and password, then Firstboot decided to crash.
> > The login screen on a reboot shows my realname, and hovering the mouse
> > over it says logging in using my user name, which it shows. So I enter
> > the password, but nothing from Gnome, just back to the login. Trying a
> > KDE session, it displays an error box top left, saying something like
> > "check installation". Anyway that problem if I can't fix it is for a new
> > thread.
> >
> > Thanks for all the replies.
> >
> > Nigel.
>
> --
> Kevin J. Cummings
> kjchome@rcn.com
> cummings@kjchome.homeip.net
> cummings@kjc386.framingham.ma.us
> Registered Linux User #1232 (http://counter.li.org)

Nigel.

--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 
Old 08-01-2008, 04:50 PM
Anne Wilson
 
Default No space for new partition on SATA drive, but 61GBfreespace

On Friday 01 August 2008 16:56:44 Nigel Henry wrote:
> I don't want this thread of mine to drift off from the subject, but is it
> as easy to set up ext2 partitions, as read/write, so that no matter which
> Linux distro I have booted at the time, I can write/read data to them?

You shouldn't have any problems for data partitions - as long as there is no
system access it's fine. My main data partitions are on my CentOS box and I
frequently open and write to files from my Mandriva laptop as well as an F9
box.

I'd recommend ext3 rather than ext2, though.

Anne
--
fedora-list mailing list
fedora-list@redhat.com
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
 

Thread Tools




All times are GMT. The time now is 02:33 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org