LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   how to avoid '+' in fdisk partitioning (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-avoid-in-fdisk-partitioning-121383/)

devershetty 11-30-2003 06:09 PM

how to avoid '+' in fdisk partitioning
 
Hi guys,

How to avoid '+' in fdisk partitioning ??
Below is my output of fdisk ...

root@dummy killer]# /sbin/fdisk /dev/hdc

The number of cylinders for this disk is set to 8940.
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/hdc: 4325 MB, 4325529600 bytes
15 heads, 63 sectors/track, 8940 cylinders
Units = cylinders of 945 * 512 = 483840 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 * 1 2223 1050336 83 Linux
/dev/hdc2 2224 4443 1048950 83 Linux
/dev/hdc3 4444 8940 2124832+ 5 Extended
/dev/hdc5 4444 6560 1000251 83 Linux
/dev/hdc6 6561 8677 1000251 83 Linux
-----------------------------------------------------------------------

HOW to avoid '+' in extendend partition in above case( bad partition) ..i
tried trial & error with varying sizes
and i could able to avoid it ..but with lot of effort...
Even i tried with /sbin/parted ..but /sbin/fdisk shows again '+'.
IS there any easy tips to avoid it ..any easy way to partition disk using
fdisk with out '+' ????
let me know...
I want something partitions like this below
------------------------------- fdisk good case ---------------

[root@dummy killer]# /sbin/fdisk /dev/hdc

The number of cylinders for this disk is set to 8940.
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/hdc: 4325 MB, 4325529600 bytes
15 heads, 63 sectors/track, 8940 cylinders
Units = cylinders of 945 * 512 = 483840 bytes

Device Boot Start End Blocks Id System
/dev/hdc1 1 2117 1000251 83 Linux
/dev/hdc2 2118 4185 977130 83 Linux
/dev/hdc3 4186 6253 977130 5 Extended
/dev/hdc5 4186 5186 472941 83 Linux
/dev/hdc6 5187 6187 472941 83 Linux

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

Tinkster 11-30-2003 07:19 PM

What exactly is the problem with that '+'?
It just inidcates that the partition is just an
indication of "wasting" 1 block on that
partition.


Cheers,
Tink

devershetty 11-30-2003 11:14 PM

Thanks for info...
i have problem like this
my fdisk shows

# /sbin/fdisk -l /dev/hda

Disk /dev/hda: 20.4 GB, 20416757760 bytes
255 heads, 63 sectors/track, 2482 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 13 104391 83 Linux
/dev/hda2 14 144 1052257+ 83 Linux
/dev/hda3 145 275 1052257+ 83 Linux
/dev/hda4 276 2482 17727727+ f Win95 Ext'd (LBA)
/dev/hda5 276 1058 6289416 83 Linux
/dev/hda6 1059 1580 4192933+ 83 Linux
/dev/hda7 1581 1645 522081 82 Linux swap
/dev/hda8 1646 1707 497983+ 8e Linux LVM
/dev/hda9 1708 1832 1004031 83 Linux
/dev/hda10 1833 1957 1004031 83 Linux
/dev/hda11 1958 2082 1004031 83 Linux
/dev/hda12 2083 2207 1004031 83 Linux
/dev/hda13 2208 2482 2208906 8e Linux LVM


when i do dd as follows , I get IO error.

# dd if=/dev/hda9 of=/dev/hda10 bs=512
dd: reading `/dev/hda9': Input/output error
2008056+0 records in
2008056+0 records out

I think the problem of this error is somewhere '+' in partitioning.

any help I greatly appreciate.


All times are GMT -5. The time now is 04:07 AM.