bug-parted
[Top][All Lists]
Advanced

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

parted bootdisk 1.2.12, mkpart and logical partition table


From: Fabio
Subject: parted bootdisk 1.2.12, mkpart and logical partition table
Date: Wed, 22 Nov 2000 21:41:39 +0100

Dear Parted's team,
I don't know if it is a bug or a no implementation (partition not
aligned to cylinder boundaries), but note the problem at hda5. (in
particular where i have signed with ****)
I have used parted bootdisk 1.2.12.

- Stage 0: before
with sfdisk -l -x /dev/hda

Disk /dev/hda: 1869 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from
0

   Device Boot Start     End   #cyls   #blocks   Id  System
/dev/hda1   *      0+   1516    1517- 12185271    c  Win95 FAT32 (LBA)
/dev/hda2       1517    1804     288   2313360   85  Estesa linux
/dev/hda3       1805    1868      64    514080   eb  BeOS fs
/dev/hda4          0       -       0         0    0  Empty

/dev/hda5       1517+   1528      12-    96358+  83  Linux
    -           1529    1788     260   2088450    5  Estesa
    -           1517    1516       0         0    0  Empty
    -           1517    1516       0         0    0  Empty

/dev/hda6       1529+   1788     260-  2088418+  83  Linux
    -           1789    1804      16    128520    5  Estesa
    -           1529    1528       0         0    0  Empty
    -           1529    1528       0         0    0  Empty

/dev/hda7       1789+   1804      16-   128488+  83  Linux
    -           1789    1788       0         0    0  Empty
    -           1789    1788       0         0    0  Empty
    -           1789    1788       0         0    0  Empty

or, with print in Parted:

Minor  Start     End      Type      Filesystem   Flags
  1    0.0       11899.7  primary   FAT          boot
  2    11899.7   14158.8  extended 
  5    11899.7   11993.8  logical   ext2
  6    11993.9   14033.3  logical   ext2
  7    14033.4   14158.8  logical   linux-swap
  3    14158.9   14660.9  primary

- Stage 1: what i have do

parted /dev/hda
rm 5
mkpart logical ext2 11899.7 11993.8
( ....
  7    11899.8   11993.8  logical                             *******
  ....                               )
rm 5
mkpart logical ext2 11993.9 14033.3
rm 5
mkpart logical ext2 14033.4 14158.8 

- Stage 2: after

Disk /dev/hda: 1869 cylinders, 255 heads, 63 sectors/track
Units = cylinders of 8225280 bytes, blocks of 1024 bytes, counting from
0

   Device Boot Start     End   #cyls   #blocks   Id  System
/dev/hda1   *      0+   1516    1517- 12185271    c  Win95 FAT32 (LBA)
/dev/hda2       1517    1804     288   2313360   85  Estesa linux
/dev/hda3       1805    1868      64    514080   eb  BeOS fs
/dev/hda4          0       -       0         0    0  Empty

/dev/hda5       1517+   1528      12-    96327   83  Linux   ******
    -           1529    1804     276   2216970    5  Estesa  ******      
    -           1517    1516       0         0    0  Empty
    -           1517    1516       0         0    0  Empty

/dev/hda6       1529+   1788     260-  2088418+  83  Linux
    -           1789    1804      16    128520    5  Estesa
    -           1529    1528       0         0    0  Empty
    -           1529    1528       0         0    0  Empty

/dev/hda7       1789+   1804      16-   128488+  82  Linux swap
    -           1789    1788       0         0    0  Empty
    -           1789    1788       0         0    0  Empty
    -           1789    1788       0         0    0  Empty


Now it's all ok in my hard disk: i have used fdisk d and n.
Sorry for my english.
Goodbye.
Fabio Ballari.




reply via email to

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