Re-partioning & Re-partioning & Re-partioning & Re-partioning

Re-partioning & Re-partioning & Re-partioning & Re-partioning

Post by Paul Sherw » Thu, 08 Nov 2001 20:44:36



On Wed, 07 Nov 2001 11:25:08 GMT, Matthew Planchant


>I have Re-partioned my HD ~6 times. This as happened as I have tried out
>various linux distros. The windows partion has remained the same ~19.9Gb
>but the amount of space available to me on my linux partion seems to have
>got smaller. The sum of all my partions no longer adds up to the size of my
>HD (30Gb). I seem to have lost ~1Gb.

>Has the number of times I have re-partioned my HD caused me to loose some
>of my HD or was I more likely to have been one occasion where I made a
>mistake while partioning?

>Are there any other likely causes of this?

>Is there any way I can get this space back?

>My HD is as follows :

What does fdisk or cfdisk say about the partition table layout?

The amount of mounted usable space will vary depending on how the
filesystems are initialized, since the filesystem overhead will vary.

Best regards, Paul

Paul Sherwin Consulting     22 Monmouth Road, Oxford OX1 4TD, UK
Phone  +44 (0)1865 721438   http://www.psherwin.strayduck.com

 
 
 

Re-partioning & Re-partioning & Re-partioning & Re-partioning

Post by Matthew Planchan » Sat, 10 Nov 2001 04:53:39



> What does fdisk or cfdisk say about the partition table layout?

> The amount of mounted usable space will vary depending on how the
> filesystems are initialized, since the filesystem overhead will vary.

Your going to have to talk me through this one I haven't used fdisk. I'm
not worried about losing anything on my Linux partition as i'm going to do
a reinstall soon anyway. So if I could recover the lost space and end up
with a blank Linux partition then that would be fine.

This is the output from fdisk:

[matt]# fdisk /dev/hda
The number of cylinders for this disk is set to 3736.
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)

Disk /dev/hda: 255 heads, 63 sectors, 3736 cylinders
Units = cylinders of 16065 * 512 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/hda1   *         1      2549  20474811    c  Win95 FAT32 (LBA)
/dev/hda2          2550      3736   9534577+   5  Extended
/dev/hda5          2550      3368   6578586   83  Linux
/dev/hda6          3369      3466    787153+  82  Linux swap
/dev/hda7          3467      3736   2168743+  83  Linux

Any ideas?

Cheers,

Matt.

 
 
 

1. Re-partioning Extended partion

Hi all,
  My apologies if this is not entirely on-topic - please feel free to push
me in another direction if you wish. I would like to know what would happen
in this situation:
Current hard disk configuration:

Device    Start End
/dev/hda1 1     261   Win 95 Primary (C:)
/dev/hda2 262   1022  Extended
/dev/hda5 262   522   Win 95 (Logical) (D:)
/dev/hda6 523   783   Win 95 (Logical) (E:)
/dev/hda7 784   1022  Win 95 (Logical) (F:)

What if I now use Linux's fdisk (or cfdisk) to change the bounds of the
enclosing extended partition - ie: change /dev/hda2 to start at 262 and end
at 783? Would this leave D: and E: intact (including all their data), and
then exclude what used to be F: from the extended zone so that I can now
reformat it (as a Linux partition, say, or a Solaris one)? Or (more likely I
guess) will changing /dev/hda2's size just trash D: and E: (and F:)? Any
thoughts are much appreciated.

James.

2. nfsmount: ..program not registered..?

3. advice needed on re-partioning

4. solaris, laserjet and web jetadmin

5. Re-partioning 120gb drives

6. Installation of RH5 "No Primary Free"

7. Re-Partioning help..NEEDED

8. fwd: Linux in 2Mb?

9. disk partions (iI am installing 3 OS'es, need > then 4 partions)

10. partioning & FIPS

11. Previous Partions & Installing RedHat 4

12. Experiences With Partioned Hard Drives With Redhat & Windows?

13. &&&&----Looking for a unix shell------&&&&&