Skip to content

aryklein/mkinitcpio-growrootfs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mkinitcpio-growrootfs

The package is intended to use for ArchLinux cloud images to detect the size of the underlying block device, resize the root partition to fill it, and then resize the root filesystem.

The mkinitcipio hook and the install files were taken from the GregSutcliffe's repository (https://github.com/GregSutcliffe/aur-projects/tree/master/mkinitcpio-growrootfs) The growpart code is exactly the same as the Ubuntu cloud-guest-utils package but adapted to work with sfdisk 2.26. sfdisk does not longer provide any functionality for CHS (Cylinder-Head-Sector) addressing. This growpart takes care about the sfdisk 2.26.1 bug: https://bugzilla.redhat.com/show_bug.cgi?id=1211405

How to use it

Install the package and add growfs to the HOOK list in the /etc/mkinitcpio.conf file. It must be after the fsck hook. After this create the initial ramdisk environment:

# mkinitcpio -p linux

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages