Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 11-01-2004, 05:17 PM   #1
Lupin III.
LQ Newbie
Registered: Nov 2004
Posts: 2

Rep: Reputation: 0
Problems with HD-Geometry

(This is partly a Windows Problem, too.)

I have a 80GB harddisk, first partitioned (3 partitions) and formatted (ext2 and reiserfs) under Linux. Now I need some part of it formatted in FAT to exchange data with a Windows system (it's a swappable drive). I have enough free space to reduce the size of the last partition accordingly.

My problem is, that Windows seems to have some problems with the C/H/S-Settings of this drive (158816/16/63), as the program I want to use to resize the partition (7tools partition manager) shows me 70GB of free space although I already have 80GB allocated in partitions. It somehow miscalculates the size maybe resulting from the geometry.

As I have seen, all other drives (80, 40 and 20GB) on the Windows-computer use a setting of 255 heads and have a much lower cylinder count. Maybe this is where my problem comes from.

Could it be a solution to set the heads to 255? Is this at all possible without loosing data? And most important how can I do it (with Linux or Windows)?

Old 11-02-2004, 03:55 AM   #2
Registered: Apr 2004
Location: Pakistan
Distribution: RedHat
Posts: 46

Rep: Reputation: 15
You should repartition your disk using linux tool like fdisk ( or cfdisk or sfdisk) or parted. Than you should see whether the new partition is visible in windows or not.

You should probably backup the data in your last partition, than either

1. Delete it. and make 2 partitions in the resulting free space. ( using fdisk or parted)
2. Format the partitions ( one should be formatted by mkfs.vfat)
3. Copy the data back to one of the patitions.

1. Resize the partition using parted.

In any case you should backup the data first.

Old 11-02-2004, 03:07 PM   #3
Lupin III.
LQ Newbie
Registered: Nov 2004
Posts: 2

Original Poster
Rep: Reputation: 0
The reason for going for resizing the partitions, was that I didn't have another harddisk to make a backup to, so I wanted to resize -> move -> resize -> move to get the data to the other filesystem (the risky way). As said, didn't work the way I wanted it to (by the way, a test of resizing a reiser-partition with Partition Manager didn't work without failure, too, although the description said it should).
I finally found someone who could lend me a harddisk to copy the data. So at this was solved.

The other thing seems to be a problem of "Partition Manager" (or maybe Windows). As long the head-count was set to 16, I had false reports of space unallocated in partitions (maybe an overflow or something, since the cylindercount was approx. 160.000). After copying the data I repartitioned the drive with linux fdisk using 255 as setting for heads resulting in 10.000 cylinders. Now everything seems right in Windows, too (Linux, as usual, never had a problem). Never thought I would ever have to change the C/H/S parameters myself. (I also thought about recalculating the partitions data for the different head/cylinder setting, but I already had enough "fun" with Windows)

Nevertheless thanks for the answer.



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
Drive Geometry Problems jcmalc Debian 1 09-23-2005 03:13 AM
-geometry <geometry> reitzell Linux - Newbie 2 09-10-2005 01:13 PM
Firefox geometry lp449 Linux - Software 2 03-14-2005 05:46 AM
Xfree config problems - desktop geometry seasidebaz SUSE / openSUSE 1 12-06-2004 04:08 AM
drive geometry problems artofluke Linux - Hardware 1 11-22-2003 04:40 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:52 AM.

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