特殊:Badtitle/NS100:EncryptedFilesystemsViaUbiquity:修订间差异
小 新页面: {{From|https://help.ubuntu.com/community/EncryptedFilesystemsViaUbiquity}} {{Languages|UbuntuHelp:EncryptedFilesystemsViaUbiquity}} #title LVM/luks-crypto support with the Ubuntu desktop ... |
(没有差异)
|
2008年12月16日 (二) 18:27的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/EncryptedFilesystemsViaUbiquity }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/af | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|Afrikaans| [[::EncryptedFilesystemsViaUbiquity/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/ar | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|العربية| [[::EncryptedFilesystemsViaUbiquity/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/az | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|azərbaycanca| [[::EncryptedFilesystemsViaUbiquity/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/bcc | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|جهلسری بلوچی| [[::EncryptedFilesystemsViaUbiquity/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/bg | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|български| [[::EncryptedFilesystemsViaUbiquity/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/br | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|brezhoneg| [[::EncryptedFilesystemsViaUbiquity/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/ca | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|català| [[::EncryptedFilesystemsViaUbiquity/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/cs | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|čeština| [[::EncryptedFilesystemsViaUbiquity/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/de | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|Deutsch| [[::EncryptedFilesystemsViaUbiquity/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/el | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|Ελληνικά| [[::EncryptedFilesystemsViaUbiquity/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/es | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|español| [[::EncryptedFilesystemsViaUbiquity/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/fa | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|فارسی| [[::EncryptedFilesystemsViaUbiquity/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/fi | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|suomi| [[::EncryptedFilesystemsViaUbiquity/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/fr | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|français| [[::EncryptedFilesystemsViaUbiquity/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/gu | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|ગુજરાતી| [[::EncryptedFilesystemsViaUbiquity/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/he | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|עברית| [[::EncryptedFilesystemsViaUbiquity/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/hu | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|magyar| [[::EncryptedFilesystemsViaUbiquity/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/id | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|Bahasa Indonesia| [[::EncryptedFilesystemsViaUbiquity/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/it | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|italiano| [[::EncryptedFilesystemsViaUbiquity/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/ja | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|日本語| [[::EncryptedFilesystemsViaUbiquity/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/ko | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|한국어| [[::EncryptedFilesystemsViaUbiquity/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/ksh | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|Ripoarisch| [[::EncryptedFilesystemsViaUbiquity/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/mr | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|मराठी| [[::EncryptedFilesystemsViaUbiquity/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/ms | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|Bahasa Melayu| [[::EncryptedFilesystemsViaUbiquity/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/nl | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|Nederlands| [[::EncryptedFilesystemsViaUbiquity/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/no | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|norsk| [[::EncryptedFilesystemsViaUbiquity/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/oc | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|occitan| [[::EncryptedFilesystemsViaUbiquity/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/pl | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|polski| [[::EncryptedFilesystemsViaUbiquity/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/pt | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|português| [[::EncryptedFilesystemsViaUbiquity/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/ro | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|română| [[::EncryptedFilesystemsViaUbiquity/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/ru | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|русский| [[::EncryptedFilesystemsViaUbiquity/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/si | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|සිංහල| [[::EncryptedFilesystemsViaUbiquity/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/sq | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|shqip| [[::EncryptedFilesystemsViaUbiquity/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/sr | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|српски / srpski| [[::EncryptedFilesystemsViaUbiquity/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/sv | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|svenska| [[::EncryptedFilesystemsViaUbiquity/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/th | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|ไทย| [[::EncryptedFilesystemsViaUbiquity/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/tr | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|Türkçe| [[::EncryptedFilesystemsViaUbiquity/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/vi | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|Tiếng Việt| [[::EncryptedFilesystemsViaUbiquity/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/yue | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|粵語| [[::EncryptedFilesystemsViaUbiquity/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/zh | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|中文| [[::EncryptedFilesystemsViaUbiquity/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/zh-hans | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|中文(简体)| [[::EncryptedFilesystemsViaUbiquity/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity | UbuntuHelp:EncryptedFilesystemsViaUbiquity | {{#if: | :}}EncryptedFilesystemsViaUbiquity}}/zh-hant | • {{#if: UbuntuHelp:EncryptedFilesystemsViaUbiquity|中文(繁體)| [[::EncryptedFilesystemsViaUbiquity/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:EncryptedFilesystemsViaUbiquity|:EncryptedFilesystemsViaUbiquity|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :EncryptedFilesystemsViaUbiquity/zh | | {{#ifexist: EncryptedFilesystemsViaUbiquity/zh | | {{#ifeq: {{#titleparts:EncryptedFilesystemsViaUbiquity|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:EncryptedFilesystemsViaUbiquity|1|-1|}} | zh | | }}
- title LVM/luks-crypto support with the Ubuntu desktop CD
{i} Please refer to EncryptedFilesystems for further documentation. |
The Desktop CD installer (ubiquity) currently does not provide support for setting up LVM or encrypted partitions. With the recipe below, the Desktop CD can be used to install Ubuntu on a previously created (optionally encrypted) LVM.
- Boot desktop CD, open terminal, and install missing packages:
apt-get install cryptsetup lvm2 sudo modprobe dm-crypt
- Now set up the LVM and crypto partitions with the command line tools. If you already have Ubuntu installed on a standard LVM-on-LUKS, this is as easy as:
sudo cryptsetup luksOpen /dev/sda4 sda4_crypt
or whichever partition is the encrypted LVM PV. This should automatically create the LVM LVs in `/dev/mapper/`.
- Start ubiquity with manual partitioning, and use the existing
partitions; keep `/home` etc. as they are, and reformat the root partition in the LVM. Do not reboot immediately, your system will not boot!
- Mount the newly installed target system:
sudo mount /dev/mapper/ubuntu*-root /mnt sudo chroot /mnt mount /proc sudo mount --bind /dev /mnt/dev sudo chroot /mnt mount /boot
- Create an appropriate crypttab:
echo "sda4_crypt UUID=`sudo vol_id --uuid /dev/sda4` none luks" | sudo tee -a /mnt/etc/crypttab
- Install a few missing packages into the target system (this will
also take care of updating the initramfs):
sudo chroot /mnt apt-get install cryptsetup lvm2 dmsetup
- Unmount the target system:
sudo umount /mnt/proc /mnt/dev /mnt/boot /mnt
- Reboot into your newly installed system.