2008-05-09 12:14:44 +01:00
|
|
|
# This configuration has / on a LVM volume. Since Grub
|
|
|
|
# doesn't know about LVM, a separate /boot is therefore
|
2009-12-16 18:57:02 +00:00
|
|
|
# needed.
|
2008-05-09 12:14:44 +01:00
|
|
|
#
|
|
|
|
# In this example, labels are used for file systems and
|
|
|
|
# swap devices: "boot" might be /dev/sda1, "root" might be
|
|
|
|
# /dev/my-volume-group/root, and "swap" might be /dev/sda2.
|
|
|
|
# In particular there is no specific reference to the fact
|
|
|
|
# that / is on LVM; that's figured out automatically.
|
|
|
|
|
|
|
|
{
|
2009-12-16 18:57:02 +00:00
|
|
|
boot.loader.grub.device = "/dev/sda";
|
|
|
|
boot.initrd.kernelModules = ["ata_piix"];
|
2008-05-09 12:14:44 +01:00
|
|
|
|
|
|
|
fileSystems = [
|
|
|
|
{ mountPoint = "/";
|
|
|
|
label = "root";
|
|
|
|
}
|
|
|
|
{ mountPoint = "/boot";
|
|
|
|
label = "boot";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
swapDevices = [
|
|
|
|
{ label = "swap"; }
|
|
|
|
];
|
|
|
|
}
|