Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I had a problem while booting my PC, the same as this one: "The disk drive for /dev/mapper/cryptswap1 is not ready yet or not present" error at boot.

I tried with these instructions, but I'm stuck at the 7th step:

update /etc/initramfs-tools/conf.d/resume with the new UUID

ex.
RESUME=UUID=06a9be15-d05b-466d-bfe3-a086bb9cdba0

I typed

update /etc/initramfs-tools/conf.d/resume UUID=d6cc5d42-0375-48a2-b4e1-a3a52ad25c7a

But I get

No command 'update' found, did you mean:
 Command 'pupdate' from package 'pbuilder-scripts' (universe)
 Command 'lupdate' from package 'qt4-linguist-tools' (main)
 Command 'uupdate' from package 'devscripts' (main)
 Command 'xupdate' from package 'libxml-xupdate-libxml-perl' (universe)
update: command not found

Any ideas about how to solve it?

P.S.: I am using Ubuntu 13.04.

share|improve this question

closed as too localized by Gilles, Eric Carvalho, user68186, aquaherd, bcbc May 29 '13 at 20:01

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

    
You are supposed to create or edit a file. Open it with a text editor and paste or replace the UUID=... text. –  aquaherd May 29 '13 at 16:45
add comment

1 Answer 1

That's not a command. You have to edit the /etc/initramfs-tools/conf.d/resume file and replace the UUID (the big string with letters, numbers and "-") with the one you got in the previous step.

share|improve this answer
    
After editing that file you probably have to run update-initramfs -u -k all to make your changes work. –  ortang May 28 '13 at 20:11
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.