LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 05-18-2007, 10:05 AM   #1
fitzov
Member
 
Registered: Dec 2003
Distribution: debian, knoppix
Posts: 80

Rep: Reputation: 15
cannot create 1MB ext2 partition on HDD


I'm attempting to use fdisk or GParted here, but these programs will not allow me to create a 1MB ext2 partition at the beginning of the disk (not able to apply partition "constraints" error). If I use fdisk, it will default to an 8MB partition.

DiskLabel type: MSDOS
Heads:255
sectors/track 63
cylinders 38913
 
Old 05-18-2007, 10:20 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,050

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
Cylinder rounding I would bet.
 
Old 05-18-2007, 11:27 AM   #3
fitzov
Member
 
Registered: Dec 2003
Distribution: debian, knoppix
Posts: 80

Original Poster
Rep: Reputation: 15
unchecked

In Gparted there is an option for cylinder rounding--I unchecked it. If you leave the option checked it will not allow you to enter 1MB for a size. I will try using fdisk again, but specifying the number of cylinders manually rather than the size of the partition.
 
Old 05-18-2007, 01:06 PM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
What on earth are you going to do with a 1MB partition??

This aside, is it not possible to tell fdisk to work in sectors? I believe that is the way partitions are described in the actual data in the table.

PS: specifying the number of cylinders is not going to work--you need a fraction of a cylinder.

Last edited by pixellany; 05-18-2007 at 01:07 PM.
 
Old 05-18-2007, 02:40 PM   #5
fitzov
Member
 
Registered: Dec 2003
Distribution: debian, knoppix
Posts: 80

Original Poster
Rep: Reputation: 15
what difference does it make...

why I want to do it? If you know how to do it then that's fine. I have my reasons.

Anyway, I found that the difficulty is with the geometry of the drive.

Thanks anyhow.
 
Old 05-18-2007, 05:04 PM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,050

Rep: Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971Reputation: 971
If you really *had* to do it, you could run the drive non-LBA. Should work then.
The drive would be limited to 8 Gig (there-abouts) total allocation.

Probably do-able, but wasteful.
 
  


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
HDD partition recovery - HDD works but no partitions are accessible? stevod333 Linux - Software 6 10-01-2009 05:24 AM
purposely create noncontiguous blocks in ext2 j0hn_galt Linux - General 6 05-15-2007 05:38 AM
Can Mac OS X create & mount ext2 image? deoren Other *NIX 1 05-23-2005 09:31 PM
hdd-related download problem(upload 4-5MB/s, download ~1MB/s) tine Linux - Hardware 4 09-15-2004 03:06 PM
upload 4-5MB/s, download ~1MB/s, redhat 9.0 2.4.20-8 (maybe hdd-related problem) tine Linux - Networking 0 09-13-2004 07:44 AM


All times are GMT -5. The time now is 12:53 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration