RSS: Blog | Wiki | Forum

Partitioning

From Easyneufenglish

Jump to: navigation, search

[edit] Flash memory partitioning

For the Linux kernel, the flash memory are viewed as an IDE hard-disk.

[edit] Old partitions list

Image:Easygate partition.png

Partitions:

  • boot : This partition (/boot directory) contains the various kernel images, the boot ramdisk (or not if inittramfs are used), and the check sum (md5) files. He contains the failsafe too. This partition will not see by the system in permanently. Only during the system update time, this partition switches in a writing mode. In this way, the error risk will be limited at the time of power cut. The switch between 2 kernel version will use symbolical links and not a rewritting of the grub configuration file. The expected size of this partition will be approximately 32 Mo. 16 Mo will be used by the rescue system, 3Mo for the kernel images and 8Mo for the ramdisks.
  • root filesystem 1 : contains the first system image file. Size:~96Mo
  • root filesystem 2 : contains the second system image file. Size:~96Mo
  • data : It's an optional partition to contain files between each reboot of the system. For examples, the home directory, the configuration files(/etc/passwd,...), photos and musics. Size:~12Mo

Note: For the read only file systems, the format squashfswould be used. For the read-write file system, EXT2 will be use. The file system will be configured to disable the automatic fsck launch at the boot and the space memory booking for the root user.

At the first time, to enable the writting in the squashfs partition, the unionfs file system will be used.

[edit] New partition format

Easier, more supple and more safety

  • /dev/hda1: boot partition (4Mo)
  • /dev/hda2: first system (164Mo)
  • /dev/hda3: second system (164Mo)
  • /dev/hda5: rescue system (24Mo)
  • /dev/hda6: user partition (135Mo)

Illustration : Image:Easygate partition2.png