Ubuntu 13.04: Cryptodisks mit uuid in fstab?
Stefan U. Hegner
stefan at hegner-online.de
Mon Aug 26 20:13:01 CEST 2013
Hallo Frank,
vielleicht hast Du mich falsch verstanden ... das ganze crypt-setup
läuft so weit, auch mit dem USB-Stick mit dem Key. Es geht lediglich
darum, dass ich den Eintrag in der fstab mit uuid statt device machen
möchte:
Am 22.08.2013 14:44, schrieb Frank Guthausen (Club):
> On Thu, Aug 22, 2013 at 11:25:39AM +0200, Stefan U. Hegner wrote:
>> Ich wollte alle Partitionen in der fstab mit uuid eintragen. Aber wenn
>> ich das bei /usr /var oder /home mache (alles luks-cryptodisks, key über
>> crypttab / usb-stick) meckert Ubuntu die beim Hochfahren an. Wenn ich
>> dann mit "Manual Recovery" an den Prompt gehe und z.B. ein "mount /usr"
>> gebe, wird die Partition sauber gemounted und der fstab Eintrag genutzt.
> In der fstab gehen die UUIDs der Dateisysteme ebenso wie die Namen der
> Devices, nur beim RootFS für '/' habe ich da seltsame Effekte gesehen in
> Xen domU.
Tja, dass root-fs funzt bei mir sogar tadellos mit der uuid - aber da
wird ja auch über die /etc/crypttab ein entsprechendes script aufgerufen.
An sich geht es ja auch so. Mich wurmt nur, dass ich in der fstab device
und uuid Einträge bunt durcheinander habe.
Jedenfalls wenn ich alle fstab-Einträge mit uuid habe sagt mir die Box
beim hochfahren, wenn ich die spashscreen ausknipse:
[...]
Begin: Running /scripts/init-bottom ... done.
init: ureadahead main process (394) terminated with status 5
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
/dev/mapper/crypt-t43-root: clean, 15155/268752 files,
204462/1073664 blocks
/dev/sda3: clean, 275/77760 files, 113373/324056 blocks
The disk drive for /usr is not ready yet or not present.
keys: Continue to wait, or Press S to skip mounting or M for manual
recovery
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
fsck from util-linux 2.20.1
fsck.ext4: No such file or directory while trying to open
/dev/mapper/crypt-t43-usr_unformatted
Possibly non-existend device?
monutall: fsck /usr [1233] terminated with status 8
mountall: Unrecoverable fsck error: /usr
keys:
The disk drive for /home/hegi/Daten is not ready yet or not present.
keys: Continue to wait, or Press S to skip mounting or M for manual
recovery
/dev/mapper/crypt-t43-var_unformatted: clean, 11215/268752 files,
300747/1073664 blocks
/dev/mapper/crypt-t43-home_unformatted: clean, 1865/268752 files,
62594/1073664 blocks
keys:
Serious errors were found while checking the disk drive for /usr.
keys: Continue to wait, or Press S to skip mounting or M for manual
recovery
keys:
Ignoring errors wiht /usr at user request
[...]
Sieht so aus, als ob potentiell die Reihenfolge durcheinander kommt (er
will /home/hegi/Daten mounten, bevor /home da ist). Außerdem irritiert
mich der Zusatz "_unformatted" bei den Cryptovolumes.
Bin jetzt erst mal in der fstab auf Devices zurück gegangen.
Gruß
Stefan.
--
Stefan U. Hegner
<stefan at hegner-online.de>
* * *
D-32584 Löhne --- good ole Germany
internet: http://www.hegner-web.de
* * *
GPG-Key | D9DB 51BD 2DA6 9B3A 41CB
F-Print | 0287 05A1 8D11 38BA CE91
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lug-owl.de/pipermail/linux/attachments/20130826/83790658/attachment.sig>
More information about the Linux
mailing list