LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-28-2013, 09:30 AM   #1
P.B
LQ Newbie
 
Registered: Feb 2013
Location: INDIA
Distribution: RHEL6
Posts: 26

Rep: Reputation: Disabled
Value out of range error - while creating new partition in RHEL6


the disk has enough free space

3 primary and 1 extended partitions are already there

i am trying to create a new logical partition through the following command:

fdisk -cu /dev/sda

but when i am giving size say +500M ..its saying ..value out of range...i have tried with different size but its not accepting any....please help.
 
Old 07-28-2013, 12:51 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
please post the output of this
Code:
su -
fdisk -l
also i have found that using a live cd like "Gparted" works much better that trying to use something installed on the operating system
 
Old 08-05-2013, 09:56 AM   #3
P.B
LQ Newbie
 
Registered: Feb 2013
Location: INDIA
Distribution: RHEL6
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
please post the output of this
Code:
su -
fdisk -l
also i have found that using a live cd like "Gparted" works much better that trying to use something installed on the operating system


attaching screen shot for your reference
Attached Thumbnails
Click image for larger version

Name:	untitled.jpg
Views:	171
Size:	175.0 KB
ID:	13139   Click image for larger version

Name:	err2.JPG
Views:	155
Size:	117.5 KB
ID:	13140  

Last edited by P.B; 08-05-2013 at 10:04 AM.
 
Old 08-05-2013, 01:22 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
When specifying a size you must use a + i.e. +500M
 
Old 08-05-2013, 02:44 PM   #5
P.B
LQ Newbie
 
Registered: Feb 2013
Location: INDIA
Distribution: RHEL6
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
When specifying a size you must use a + i.e. +500M
i have used +500M in reality, used 200M hust to take the screenshot...

please help me with some definite answer so that i can resolve the issue.
 
Old 08-05-2013, 03:26 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,675

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Your posted screen shot does not have a +.

What happens when you use the default value. Instead of entering a number just press the enter key. This should create a partition using up all of the existing space in the extended partition.
 
Old 08-05-2013, 03:51 PM   #7
rootboy
Member
 
Registered: Oct 2001
Distribution: Mint 15
Posts: 770

Rep: Reputation: 51
Yup, by entering in just the 2000M, you asked it to go to that literal sector. +2000M would have told fdisk to add 2000M (2 gigs).

Try it again while using +2000M and see if that works. If not please send us a screenshot of that.


Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Value out of range error - while creating new partition in RHEL6 P.B Linux - Newbie 1 07-28-2013 09:45 AM
Creating Cluster with RHEL6 for http jitesh.yadav Linux - Newbie 1 12-21-2011 04:08 AM
Freebsd creating partition error @ setup fatum112 *BSD 1 10-08-2006 07:59 PM
error in creating new linux partition newcomer4 Linux - General 2 04-29-2006 12:13 PM
Error creating shared FAT32 partition robalo Linux - Newbie 1 07-13-2004 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:53 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