LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-30-2003, 06:09 PM   #1
devershetty
LQ Newbie
 
Registered: Jun 2003
Location: Gangavathi, Karnataka(state), INDIA
Distribution: Redhat 7.3
Posts: 28

Rep: Reputation: 15
Question 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

------------------------------------------------------------------
 
Old 11-30-2003, 07:19 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928Reputation: 928
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
 
Old 11-30-2003, 11:14 PM   #3
devershetty
LQ Newbie
 
Registered: Jun 2003
Location: Gangavathi, Karnataka(state), INDIA
Distribution: Redhat 7.3
Posts: 28

Original Poster
Rep: Reputation: 15
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
weird fdisk problem (Fdisk unable to see winxp partitions) khidot Slackware - Installation 5 04-07-2007 09:26 PM
a quickie on fdisk and partitioning Hex29A Linux - General 4 09-06-2004 04:52 AM
Gentoo dual boot, fdisk partitioning. Nz_Boy_2004 Linux - Software 7 09-06-2004 02:13 AM
Partitioning a windows drive for Slack 9.1 using cfdisk or fdisk sxa Linux - Newbie 2 02-06-2004 09:01 PM
fdisk/partitioning in general question weedwacker Linux - Newbie 2 08-13-2002 01:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration