[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problems when creating partitions
From: |
Jimmy Hedman |
Subject: |
Problems when creating partitions |
Date: |
Thu, 04 Sep 2003 17:01:05 +0200 |
Hi,
I'm trying to automaticly create partitions of all the awaiable space on
a disc that could have a partition and my problem shows when all the
disc allready is full of partitions it still creates a small partition
that is one cylinder large.
This is what im trying to do:
testmachine:~# parted /dev/discs/disc0/disc print
Disk geometry for /dev/ide/host0/bus0/target0/lun0/disc: 0.000-19623.515
megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 964.841 primary ext2
Information: Don't forget to update /etc/fstab, if
necessary.
testmachine:~# parted -s /dev/discs/disc0/disc mkpart pri 1 19623.516
testmachine:~# parted -s /dev/discs/disc0/disc mkpart pri 1 19623.516
Warning: Unable to align partition properly. This probably means that
another partitioning tool generated an incorrect partition table,
because it didn't have the correct BIOS geometry. It is safe to
ignore,but ignoring may cause (fixable) problems with some boot loaders.
Warning: You requested to create a partition at 1.000-19623.515Mb. The
closest Parted can manage is 19618.440-19623.515Mb.
testmachine:~# parted -s /dev/discs/disc0/disc print
Warning: Unable to align partition properly. This probably means that
another partitioning tool generated an incorrect partition table,
because it didn't have the correct BIOS geometry. It is safe to
ignore,but ignoring may cause (fixable) problems with some boot loaders.
Disk geometry for /dev/ide/host0/bus0/target0/lun0/disc: 0.000-19623.515
megabytes
Disk label type: msdos
Minor Start End Type Filesystem Flags
1 0.031 964.841 primary ext2
2 964.841 19618.439 primary
3 19618.440 19623.515 primary
Shouldn't the first parted mkpart create a partition that fills the
entire disc?
// Jimmy
--
Jimmy Hedman South Pole AB
Phone: +46 8 51420420 Gelbjutarvägen 5
Fax: +46 8 51420429 SE - 17148 Solna
e-mail: address@hidden www.southpole.se
- Problems when creating partitions,
Jimmy Hedman <=