Page 1 of 2 12 LastLast
Results 1 to 10 of 20

Thread: cfdisk and extended primary option (0x05)

  1. #1
    Member registered user
    Join Date
    Dec 2005
    Posts
    41

    cfdisk and extended primary option (0x05)

    I was trying to use cfdusk to create partition within a hard disk,,,,I could not create extended primary partition, though the tag (label) 0x05 for extended is available.

    How can I do that ? Is 05 is for this purpose or for something else ?

  2. #2
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    Any idea ?

  3. #3
    Senior Member registered user
    Join Date
    Jan 2006
    Posts
    135

    cfdisk and extended primary option (0x05)

    You need to create an extended partition first and then a logical partition within. This excersie is moot unless you are acting as root. Also, manipulating a mounted drive is dangerous.

    Please post the output of: parted /dev/designation print

  4. #4
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    You need to create an extended partition
    How can I creat this,,,this is my origin thread about it ?

  5. #5
    Senior Member registered user
    Join Date
    Jan 2006
    Posts
    135

    cfdisk and extended primary option (0x05)

    We need more information regarding your current disk structure and your exact actions in order to assist you.

  6. #6
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    I have already created two primary partitions on a hard disk and I want to create extended primary on this hard disk as well.
    How can I do that ?

  7. #7
    Senior Member registered user
    Join Date
    Jan 2006
    Posts
    135

    cfdisk and extended primary option (0x05)

    In a terminal window shell, enter the command: parted /dev/your_hard_drive_here print . Please post the output.

    We need more information regarding your current disk structure and your exact actions in order to assist you.

  8. #8
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    I created the partitions on both hard disks by using system commander V9.0 utility,,,,then I used knoppix cfdisk utility to check both hard diks and the output was :

    [root@0[knoppix]# parted /dev/hdb 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.
    Ignore/Cancel? ignore

    Code:
    Disk geometry for /UNIONFS/dev/hdb: 0.000-38166.679 megabytes
    Disk label type: msdos
    Minor    Start       End     Type      Filesystem  Flags
    2       9536.625  12397.710  primary               lba
    3      12401.741  38162.219  extended              lba
    5      12401.771  12605.690  logical   ext3        boot
    6      12605.722  21603.032  logical   ext3
    7      21603.063  21861.892  logical   linux-swap
    Information: Don't forget to update /etc/fstab, if necessary.
    [root@0[knoppix]# parted /dev/hda 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.
    Ignore/Cancel? ignore

    Code:
    Disk geometry for /UNIONFS/dev/hda: 0.000-38162.250 megabytes
    Disk label type: msdos
    Minor    Start       End     Type      Filesystem  Flags
    1          0.031  14998.183  primary   ntfs        boot
    2      14998.184  17994.682  primary   fat32       lba
    3      17994.683  38162.219  primary   ntfs
    Information: Don't forget to update /etc/fstab, if necessary.
    Note: Since I failed to create extended partition on the above PC, and I am looking to use cfdisk to partition another HD on another PC , therefore I raised my thread here.

    Why did I receive the above warning message ?

  9. #9
    Member registered user
    Join Date
    Dec 2005
    Posts
    41
    Any idea or help ?

  10. #10
    Member registered user
    Join Date
    Jun 2005
    Location
    etherworld
    Posts
    92
    Quote Originally Posted by zillah
    Any idea or help ?
    Let's see the output of your
    $ sudo cfdisk

    Code:
                                      cfdisk 2.12p
    
                                  Disk Drive: /dev/hda
                            Size: 82348277760 bytes, 82.3 GB
                 Heads: 255   Sectors per Track: 63   Cylinders: 10011
    
        Name        Flags      Part Type  FS Type          [Label]        Size (MB)
     ------------------------------------------------------------------------------
        hda1        Boot        Primary   W95 FAT32 (LBA)                  10487.24
        hda5                    Logical   W95 FAT32                        15734.97
        hda6                    Logical   W95 FAT32                         7871.60
        hda7                    Logical   Linux ext3       [/]              5502.72
        hda8                    Logical   Linux swap / Solaris              1497.01
        hda9                    Logical   Linux ext3       [/home]          5000.98
        hda10                   Logical   Linux ext3       [/usr]          10001.95
        hda11                   Logical   Linux ext3       [/var]          10001.95
                                Pri/Log   Free Space                       16244.93
    
    
    
         [Bootable]  [ Delete ]  [  Help  ]  [Maximize]  [ Print  ]
         [  Quit  ]  [  Type  ]  [ Units  ]  [ Write  ]
    
                     Toggle bootable flag of the current partition
    Which HDD are you having trouble with ???
    Any other partitioning tool will not use the same scheme and cause errors
    For where NTFS is installed and active, use QTparted

    and also post the output of

    $ sudo fdisk -l /dev/hda (or hdb, whichever the prob is)

    you ARE doing this from a LiveCD....yes ?
    If not - boot to LiveCD using Knoppix26 1
    then leave off 'sudo' in the commands above - you'll be root already (pretty sure)

    OH.....BTW -- if you're trying for a Win95/98 Extended partition, the ID = 0x0F (Partition hda2 below)
    $ sudo cfdisk
    then select -> Print
    then select -> Table
    anyfilename (leave it blank)
    Code:
    Partition Table for /dev/hda
    
             ---Starting---      ----Ending----    Start     Number of
     # Flags Head Sect Cyl   ID  Head Sect Cyl     Sector    Sectors
    -- ----- ---- ---- ---- ---- ---- ---- ---- ----------- -----------
     1  0x80    1    1    0 0x0C  254   63 1023          63    20482812
     2  0x00  254   63 1023 0x0F  254   63 1023    20482875   108615465
     3  0x00    0    0    0 0x00    0    0    0           0           0
     4  0x00    0    0    0 0x00    0    0    0           0           0
     5  0x00  254   63 1023 0x0B  254   63 1023          63    30732282
     6  0x00  254   63 1023 0x0B  254   63 1023          63    15374142
     7  0x00  254   63 1023 0x83  254   63 1023          63    10747422
     8  0x00  254   63 1023 0x82  254   63 1023          63     2923767
     9  0x00  254   63 1023 0x83  254   63 1023          63     9767457
    10  0x00  254   63 1023 0x83  254   63 1023          63    19534977
    11  0x00  254   63 1023 0x83  254   63 1023          63    19534977

Page 1 of 2 12 LastLast

Similar Threads

  1. Problem installing Knoppix v5.1.1 on a Extended partition
    By seskanda in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 03-24-2007, 08:52 PM
  2. No Primary Hard Drive
    By tgjb007 in forum Hardware & Booting
    Replies: 2
    Last Post: 09-15-2005, 02:18 AM
  3. Primary partitions for linux.....
    By rrfish72 in forum General Support
    Replies: 3
    Last Post: 10-30-2004, 02:17 PM
  4. How to create an extended DOS partition with cfdisk?
    By bigboss97 in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-12-2004, 02:44 AM
  5. extended Keyboard doesn't work
    By Thomas Bettler in forum General Support
    Replies: 0
    Last Post: 07-26-2003, 09:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


HYUNDAI -- HY HYbook 14 inch Laptop, Intel Celeron N4020, 4GB RAM UHD 600 picture

HYUNDAI -- HY HYbook 14 inch Laptop, Intel Celeron N4020, 4GB RAM UHD 600

$95.00



A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3 picture

Crucial DDR3L 16GB 1600 2x 8GB PC3-12800 Laptop SODIMM Memory RAM PC3 16G DDR3

$21.50



Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM picture

Crucial 16GB (2x 8GB) Kit DDR3L 1600MHz PC3-12800 UDIMM Desktop 240-Pin CL11 RAM

$23.33



Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand picture

Lot of 2 32GB DDR4 2666 PC4-21300 SODIMM RAM Modules Mixed Brand

$60.00



8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A picture

8GB PC3L-12800S 1600MHz SODIMM DDR3 RAM | Grade A

$12.00



HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM picture

HyperX FURY RAM DDR4 16GB 8GB 32GB 4GB 3200 2666 2400 2133 Desktop Memory DIMM

$9.64



HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins picture

HyperX FURY DDR4 8GB 16GB 32GB 3200MHz PC4-25600 Desktop RAM Memory DIMM 288pins

$72.93



Lot of 50 4GB DDR3 PC3 Sticks Desktop Ram - mixed speeds and brands picture

Lot of 50 4GB DDR3 PC3 Sticks Desktop Ram - mixed speeds and brands

$88.00