Ask a Question related to Linux Setup, Configuration & Administration, Design and Development.
-
Peter T. Breuer #1
Re: partitions and fdisk
Alex Kendrick <alex_6136@yahoo.co.uk> wrote:
There isn't one. fdisk is a partition table editor, not a partition> I'm trying to create a new partition on my (one) hard disk. At the moment
> there are 3, boot, swap, and linux and all my data itself. My partition
> program is fdisk but I can't get it to create a new partition. To anyone
> familiar with the program, when i use the 'n' command it just replies that
> there are no spare sectors avaliable. Which is right, they are all used up.
> I can't find the command on fdisk to free up some sectors and then use these
> as my new partition, even when in exit mode.
resizer.
Use a partition resizer first, or whatever. Backup software. Something.
Anything.
Peter
Peter T. Breuer Guest
-
New Partitions
On 14 Aug 2003 04:06:36 GMT, Kissi5559 wrote: You can set the drive as extented and have both dos and linux partitions. When you install, you... -
Windoze 2k Partitions
Aloha all, I have just installed Mandrake 9.1 in "high" security mode. This is important because I didn't have the problem that I am having now... -
where are the partitions?
> Sorry for the "why"...should have been removed. Unfortunately, M$ in one view has a versatility that none of all Linux can match...languages.... -
Informix & raw partitions
On Tue, 15 Jul 2003 08:58:05 -0400, "Seweryn" <pietruszewski@att.com> wrote: Glad to have you aboard . . . Yes. -
From Two Partitions to One
On one of my computer I have Windows 98 with one hard drive and two partitions. I want to upgrade from Windows 98 to Windows XP Home Edition. I... -
Alex Kendrick #2
Re: partitions and fdisk
"Peter T. Breuer" <ptb@oboe.it.uc3m.es> wrote in message
news:fk3rib.79s.ln@news.it.uc3m.es...moment> Alex Kendrick <alex_6136@yahoo.co.uk> wrote:> > I'm trying to create a new partition on my (one) hard disk. At thethat> > there are 3, boot, swap, and linux and all my data itself. My partition
> > program is fdisk but I can't get it to create a new partition. To anyone
> > familiar with the program, when i use the 'n' command it just repliesup.> > there are no spare sectors avaliable. Which is right, they are all usedthese> > I can't find the command on fdisk to free up some sectors and then useso much for fdisk, by the way, i meant to say 'even when in expert mode' not>> > as my new partition, even when in exit mode.
> There isn't one. fdisk is a partition table editor, not a partition
> resizer.
>
> Use a partition resizer first, or whatever. Backup software. Something.
> Anything.
>
> Peter
'exit mode' if that was causing any confusion
Alex Kendrick Guest
-
Andreas Janssen #3
Re: partitions and fdisk
Hello
Alex Kendrick (<alex_6136@yahoo.co.uk>) wrote:
cfdisk, like fdisk, cannot resize partitions.> I'm trying to create a new partition on my (one) hard disk. At the
> moment there are 3, boot, swap, and linux and all my data itself. My
> partition program is fdisk but I can't get it to create a new
> partition. To anyone familiar with the program, when i use the 'n'
> command it just replies that there are no spare sectors avaliable.
> Which is right, they are all used up. I can't find the command on
> fdisk to free up some sectors and then use these as my new partition,
> even when in exit mode.
>
> I could only create a new partition in my original linux partition, i
> mean a partition within a partition. I don't even know if this counts
> as a feasable solution. The new partition i made dosent appear in the
> /dev directory. And when I try to mount it, bash tells me this device
> does not exist. In frustration I've deleted this old partition.
>
> If heard of a program called cfdisk but I don't have it. Thanks in
> advance for your replies. P.S any info on hard drive geometry (sectors
> cylinders etc would be usefull, as well as the precise definition of
> megabyte, kilobyte etc, (every school kid knows this but i've
> forgotten!))
You may want to try parted to resize your partitions. And as Peter said,
make a backup.
bets regards
Andreas Janssen
--
Andreas Janssen
[email]andreas.janssen@bigfoot.com[/email]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976
Andreas Janssen Guest
-
Stefan Patric #4
Re: partitions and fdisk
Alex Kendrick on Saturday 30 August 2003 13:53 wrote:
fdisk told you why you can't create another new partition: "no spare> I'm trying to create a new partition on my (one) hard disk. At the
> moment there are 3, boot, swap, and linux and all my data itself. My
> partition program is fdisk but I can't get it to create a new
> partition. To anyone familiar with the program, when i use the 'n'
> command it just replies that there are no spare sectors avaliable.
> Which is right, they are all used up. I can't find the command on
> fdisk to free up some sectors and then use these as my new
> partition, even when in exit mode.
sectors available"; that is, there is no unpartitioned space
available, the disk is fully partitioned, etc.
fdisk can only "free up" sectors by deleting existing partitions,
which I don't think you want to do. What you need is a utility to
"shrink" an existing partition without destroying its contents to
provide space for more partitions. Parted, partition editor, will do
that, among other things. Some distros include it. For the others,
you'll have to download it. (Sorry, I can't post a link to where you
can download it. Start with a Yahoo search.)
In addition, you'll have to consider the type of partitions that you
now have. If they are all Primary types, you can only make ONE more
Primary partition, the maximum permitted -- 4 Primary partitions. Or
you can make an Extended partition of that last available Primary,
and then put as many Logical partitions on it that you like.
--
Stefan Patric
[email]tootek2@yahoo.com[/email]
Stefan Patric Guest



Reply With Quote

