Reply to comment

re: Re: Any chances you could.... (take 2)

OK, I've been working on the Automated Installer, and I've got the UUIDs working for both encrypted and non-encrypted installs. It was a little more complicated than I initially believed but it works.

For fstab, you can use the UUID for /boot but you need to use /dev/mapper/rootfs for / (root).

For grub, you need to add root=/dev/mapper/rootfs to the kernel options.

And in crypttab, you need to use /dev/disk/by-uuid/≶UUID> instead of UUID=<UUID>.

Also keep in mind that UUIDs will only work for XFS, Ext2/3 and LUKS enabled Dm-Crypt formated partitions. Also, you should use '/lib/udev/vol_id -u <dev>' or 'cryptsetup luksUUID <dev>' to lookup the UUIDs. For some reason, /sbin/blkid doesn't get the right UUID from the LUKS header.

Reply

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. Beside the tag style "<foo>" it is also possible to use "[foo]".

More information about formatting options