[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: "Could not stat resume device file"



Ken Heard skrev:
When I boot up any box with encryption activated for a partition in it, the following message is received at the beginning of the boot process, or soon thereafter:

      Begin:       Running /scripts//local-premount ...
      resume:  libgcrypt  Version 1.2.3
      resume:  Could not stat the resume device file
      resume:  Please type in the file name and try again
                         or press Enter to boot the system

Questions: What does "stat" mean?

run "man stat" and it will tell you that stat can "display file or file system status". Running "stat tt" where no file named tt exists, gives the error "stat: cannot stat `tt': No such file or directory".


Why does the process stop this way and then has to be restarted?


I had a similar (I think) error when my swap partition changed "device file" from /dev/sda5 to /dev/sda3 (or similar) after repartitioning, and I had to tell the program giving the error to use the new device file instead of the old one (that no longer existed, I think).

My guess is your /dev/sdaX (or /dev/hdaX) files have changed meaning, and the swap partition to use for resumption has a new device file name.

If that is the problem, then running "dpkg-reconfigure uswususp" might be a solution. (Suggested at http://groups.google.com/group/linux.debian.bugs.dist/browse_thread/thread/b5dca520d6b1dd5b)

Those are my guesses.

/ johan


Reply to: