2010/07/15

Linux with no primary partitions left

I got a new company PC, an Acer Aspire 5372ZG, nothing to say about it, just yet another consumer notebook with a 15.6" 16/9 gloss display, very big and quite heavy, nice keyboard if you don't mind having the home and end key on the keypad only.

The problem is, the 320GB HD is partitioned into three partitions, two of them are hidden. All are primary partitions. No primary partition left to install linux. So I did my homework and discovered that unlike the lilo of old, Grub is able to boot quite nicely from any filesystem it is compiled to support.


So, I created an extended partition and some logical ones with this schema:


Device Boot      Start         End      Blocks   Id  System          Mount      FS
/dev/sda1               1        1567    12586896   27  Unknown                
/dev/sda2   *        1568        1580      104422+   7  HPFS/NTFS
/dev/sda3            1581        5757    33551752+   7  HPFS/NTFS
/dev/sda4            5758       38913   266325570    5  Extended
/dev/sda5            5758        5822      522081   83  Linux        /boot      Ext3
/dev/sda6            5823        7910    16771828+  83  Linux        /          Ext4
/dev/sda7            7911        8432     4192933+  82  Linux swap   swap       swap
/dev/sda8            8433       38913   244838601   83  Linux        /mnt/data  Ext2

Of course the DATA partition is mounted under windows too, so I preferred not to have journals to reply in case of a linux unclean shutdown. It has an inode size of 128 too to be compatible with IFS tools.
I could have partitioned the system more (by creating /home for instance) but I think this setup is reasonable enough.

No comments:

Post a Comment