bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

strange behaviour :-)


From: Francesco Lamonica
Subject: strange behaviour :-)
Date: Mon, 26 Aug 2002 12:25:48 +0200
User-agent: KMail/1.4.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello, i wanted to report a strange issue i am experiencing

i have 3 disks
hda 20 gb
hdb 9 gb
hdc 30 gb

u can see the layout of my hda in the fdisk printout that follows

- --------------------
here is output of:
fdisk /dev/hda

address@hidden:/home/franci# fdisk /dev/hda

The number of cylinders for this disk is set to 2498.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)

Command (m for help): p

Disk /dev/hda: 255 heads, 63 sectors, 2498 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1          2082      2498   3349521   83  Linux
/dev/hda2   *         1      1020   8193118+   7  HPFS/NTFS
/dev/hda3          1250      2081   6683040   83  Linux

Partition table entries are not in disk order

Command (m for help):

- -------------------

i wanted to copy hda1 to hda3 then rseize hda3 to occupy the space of hda1
 but i got the following (confusing?) result from parted

here is the output of:
parted
select /dev/hda
print

GNU Parted 1.6.3
Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
This program is free software, covered by the GNU General Public License.

This program is distributed in the hope that it will be useful, but WITHOUT 
ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 
A
PARTICULAR PURPOSE.  See the GNU General Public License for more details.

Using /dev/hdc
Information: The operating system thinks the geometry on /dev/hdc is
3649/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
(parted) select /dev/hda
Using /dev/hda
Information: The operating system thinks the geometry on /dev/hda is
2498/255/63.  Therefore, cylinder 1024 ends at 8032.499M.
(parted) print
Disk geometry for /dev/hda: 0.000-19595.948 megabytes
Disk label type: loop
Minor    Start       End     Filesystem  Flags
1          0.000  19595.948  fat16
(parted)


so i had to copy the partition doing a backup of the files present and then 
restoring

now i need to create a new partition on hda and move my current / partitition 
in it. How can i do it?

is this issue due to the NTFS of windows 2000 present on hda?

thank u indeed for the support

PS is there a way to 'reorder' partition table entries? e.g.

/dev/hda1          2082      2498   3349521   83  Linux
/dev/hda2   *         1      1020   8193118+   7  HPFS/NTFS
/dev/hda3          1250      2081   6683040   83  Linux

becomes

/dev/hda3          2082      2498   3349521   83  Linux
/dev/hda1   *         1      1020   8193118+   7  HPFS/NTFS
/dev/hda2          1250      2081   6683040   83  Linux


- -- 
 ---------------------------------------------------------------
|   Francesco Lamonica    | E-Mail: address@hidden           |
|      Student of         | E-Mail: address@hidden      |
| Information Engineering |                                     |
|   University of Pisa    | Web: http://pharma.unime.it/~franci |
|-------------------------|                                     |
|         LINUX           | PGP: Finger the mail addresses      |
|  the choice for a GNU   |                                     |
|      generation         | ICQ UIN: 20095811                   |
 ---------------------------------------------------------------
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE9agIsRuxVBXxkTvERAuPNAJ9d/eZoINZE5n1tlGudn705m46x5QCeNcfx
y4PJ4g0FxxzfAEYTjb5XBMU=
=ksFQ
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]