Karol Pietrzak wrote: -------------------> On 7 Sep 2001, Patrick Nelson wrote:
This system current HD configuration is:
/dev/hda DOS /dev/hdb Me trusty Linux system
I never boot into windows anymore so I want to grab the hdisk space for Linux. The current partition tables for the system are as follows:
Device Boot Start End Blocks ID System /dev/hda1 * 1 518 2088544+ 6 FAT16 /dev/hda2 519 874 1435392 1b Hidden Win95 FAT32
Device Boot Start End Blocks ID System /dev/hdb1 1 50 201568+ 83 Linux /dev/hdb2 51 875 3326400 5 Extended /dev/hdb5 51 396 1395040+ 83 Linux /dev/hdb6 397 545 600736+ 83 Linux /dev/hdb7 546 644 399136+ 83 Linux /dev/hdb8 645 743 399136+ 83 Linux /dev/hdb9 744 842 399136+ 83 Linux /dev/hdb10 843 874 128992+ 82 Linux Swap>
Output of df -h
Filesystem Size Used Avail Use% Mounted on /dev/hdb1 191M 99M 86M 55% / /dev/hdb6 568M 131M 408M 24% /home /dev/hdb8 377M 1.2M 357M 0% /tmp /dev/hdb5 1.6G 818M 432M 65% /usr /dev/hdb7 377M 120M 238M 33% /usr/src /dev/hdb9 377M 130M 228M 36% /var
So my question is... What would be the best way to convert and utilize the windows hdisk for my Linux system? Opinions appreciated!
I very highly recommend you place Linux's swap partition on /dev/hda. Having the swap on another partition as / will increase performance, especially if the swap is used often (make sure you optimize the hard drive using 'hdparm'... try all the "risky" settings as data corruption, if it were actually to occur, will not do any harm). So... I recommend you delete both /dev/hda1 and /dev/hda2 and create two Linux partitions, a swap partition (can't recommend a size since I don't know how much RAM you have) and the rest as a Reiserfs partition. If you use /home a lot, place it there as /dev/hda2. If you really wanna sit on the bleeding-edge, set up /dev/hda2 and some of the partitions in /dev/hdb as a single "partition" using LVM. :) -- noodlez: Karol Pietrzak PGP KeyID: 0x3A1446A0 -------------------> Thanks for you advice. I hadn't thought about the swap file but yes that will now go on hda. I was thinking about moving /usr to hda1 creating a hda that would look like: /dev/hda1 128M Swap /dev/hda2 1.9G Extended /dev/hda5 1.9G /usr Then changing hdb to: /dev/hdb1 1.3G / /dev/hdb6 1.2G /home /dev/hdb8 377M /tmp /dev/hdb7 377M /usr/src /dev/hdb9 377M /var Have Partition Magic that I can increase sizes, but I figure it may be tricky... Oh well never learn if you don't try...