|
|
PartitionsSummary:
ConsiderationsIn most cases, you'll want to keep your old operating system(s). Use your remaining space for a Mandriva installation. Coexistence isn't a problem for Mandriva. Please keep in mind the amount of disk space needed by Mandriva. RepartitioningMandriva comes with its own graphical free repartitioner, '~DiskDrake' , which allows you to create, delete and resize Linux and Windows partitions without losing data during installation. It also has an 'automatic mode' which requires no user intervention at all. As with all repartitioning tools, however, you are advised to backup your data first. You can avoid repartitioning by using other tools such as VMWare or Lin4Win. These tools will create a virtual partition on top of your existing MS-Windows partition. Even though these virtual tools provide different options for running Microsoft Windows, you may notice performance and stability are improved if you decide to run Mandriva in its own file system. If you happen to have a proprietary program like Partition Manager , Partition Magic or the Ranish Partition Manager , you can create, move and resize ntfs, fat32 and ext2 partitions non-destructively. Please review the manufacturers notes as to whether these applications support journaled file systems (i.e. ReiserFS, JFS or XFS). Ext3 is a file system type. Ext3 is compatible with ext2 and you can resize it (see below). Resizing of your hard drive contains a risk of loss of data. When resizing partitions, please make a backup of all data that you do not want to risk losing. Which File system To ChooseStarting with 8.1, Mandriva offers quite an array of file systems: the traditional ext2 as well as the journaling file systems ~ReiserFS, ext3, JFS and XFS. A journaling file system keeps a log ('journal') of all data transactions. In case of hardware failure, no data on the disk will be lost. By default, 8.1 uses ~ReiserFS, by some regarded as the most mature journaling file system. ~ReiserFS however still has problems with exporting NFS shares, and some people object to the policies and philosophy of Hans Reiser and his company. Both JFS and XFS have big companies behind them: IBM for JFS and SGI for XFS. XFS will be of special interest for all SAMBA users, since it is currently the only file system which allows the implementation of Windows ACLs. The goal of 'ext3' is maximum compatibility with the traditional ext2 file system. In fact, it is possible to switch between ext2 and ext3 without losing data, which is a unique feature, since changing a file system usually involved formatting a partition. Ext3 might be the best if you want a journaling file system with high compatibility. But there isn't anything wrong with staying with the well-proven ext2 file system, either. It still is the best supported file system, and you can switch to ext3 and back at any time. 'Which file system is the best' is poised to become another of those pointless, but fun community in-fights ... Partition SchemesCompared to operating systems like MS-Windows, partitions only play a minor role in Mandriva. During runtime you won't recognize their existence at all, since the Mandriva file system does not depend on them. Basically, you need but two partitions: one mounted at '/' (the 'root' partition), which holds all the data, programs, libraries etc and one for the 'swap file' which serves as virtual system memory. Traditionally, '/home', which contains the home directories of all users on the system (except 'root') is also on a partition of its own. This comes in handy when upgrading the system: you can tell the installer to format all partitions except '/home' and thus you'll keep your personal files. It's also handy when you do experimental stuff on your box: just unmount '/home' and your personal files are safe. It also has some advantages for making backups since you can use the 'do not traverse file systems' switch most synchronizing / backup tools offer. The size for '/home' depends on various factors: number of users, amount and size of emails you want to save, etc. On a single user system 2000 MB should be enough. You should be fine with this basic setup in most situations. This is also the setup the installer applies to your machine when running in non-interactive mode. Of course you can go on from here: many people put '/usr', '/var' and '/tmp' on separate partitions. The reasoning here is that the '/' partition which contains all the system critical data like configuration file in '/etc' or programs needed by 'init' in '/bin' and '/sbin' should be accessed as little as possible by a running system, thus minimizing the risk of data or disk corruption. It also makes mounting '/' in system repair mode easier. How large should a swap partition be? The vast majority of Linux system will do just fine with a 100 MB swap partition, regardless of the amount of RAM in the machine. On machines with a large amount of RAM (more than 256 MB), swap will hardly be used, machines with a small amount of RAM (less than 64 MB) will stay slow even you assign 500 MB to swap. Resizing Windows Partitions Using 'Fips 2.0'(Note: Since Mandriva now comes with its own lossless partitioning tool, this paragraph is only of interest for users of pre-7.0 Mandriva releases.) M comes with the free DOS based non-destructive partition re-sizer 'fips' ('dosutilsfips20'). Fips will split existing primary FAT16 and FAT32 (DOS, Windows 3.x, Windows 9x) partitions and create a new primary partition. It is a console program, but really easy to handle. The whole process usually doesn't take more than 15 minutes. Restrictions'Fips' will only split primary partitions. If you want to split your 'C:' drive, this restriction is of no importance to you, since C: always resides on a primary partition. PreparationsRun Windows' own defragmentation program on the drive you want to split: Open 'My Computer', get the right-click context menu for the drive, choose 'Properties' - 'Extras' - 'Optimize'. Now prepare a boot-diskette. Put a diskette into your diskette drive and choose 'format' from the context menu in 'My Computer'. Copy 'fips.exe', 'restorrb.exe' and 'errors.txt' from the 'Fips20' directory of your Mandrake CD to your new boot-diskette. Running 'Fips'Note: You can stop 'Fips' at any time by hitting CTRL-c. Also note that there is no key table loaded. You might have to hit 'z' to get 'y'.
The left value shows you the minimum size that will be reserved for your 'old' partition, the right value the maximum size your new partition will have. The 'Cylinder' value isn't really important here.
Related Resources:Partition mini-HOWTO Revision / Modified: Sep. 20, 2001 Legal: This page is covered by the GNU Free Documentation License . Standard disclaimers of warranty apply. Copyright LSTB and Mandriva SA. |