Jump to content
Sign in to follow this  
dil_bert

hibernation-device UUID xyz not found -> dropped into emergency shell

Recommended Posts

 

good day der PHP-Freaks,

 

well on a manjaro-linux installation on a notebook i have gotten a freezing

then i switched it of - and afterward i have seen such a warning
 

hibernation-device UUID xyz not found -> dropped into emergency shell


 

Guess i have to install fresh

 

but i do not want to loose data   _ how to proceed in installing manjaro !?

 

Love to hear from you!

 

greetings

____aaa_bbb_ccc__.jpg

Share this post


Link to post
Share on other sites


 
....may i come back to the  hibernation-device UUID xyz not found -> dropped into emergency shell.


well may i follow the ideas below for getting the things fixed:


How do I change UUID of a disk to whatever I want?
https://askubuntu.com/questions/132079/how-do-i-change-uuid-of-a-disk-to-whatever-i-want

I have an unique situation where I need to change UUID of usb flash drive to previous UUID. I formatted it and obviously number changed...

I've ubuntu server setup with 1TB hdd, and 4GB usb flash drive to boot from. Grub on hdd is configured for UUID which changed when I formated usb drive and reinstalled ubuntu server. I've no external monitor, so I attach usb to laptop and install server there... than I move it to server hardware.

As I mentioned my problem is that I need usb to go back to previous UUID, otherwise server won't boot. And I cannot get external monitor till monday! :)

I know I need these files changed afterwards:

The files for which UUID is most critical:

/boot/grub/menu.lst

	/etc/fstab
	/etc/initramfs-tools/conf.d/resume

But I cannot find anywhere on the net info about customizing UUID.
Anyone?

 


If you used ext for it:

tune2fs /dev/{device} -U {uuid}



From man tune2fs

    -U UUID


Set the universally unique identifier (UUID) of the filesystem to UUID. The format of the UUID is a series of hex digits separated by hyphens, like this: c1b9d5a2-f162-11cf-9ece-0020afc76f16. The UUID parameter may also be one of the following:

clear  clear the filesystem UUID
random generate a new randomly-generated UUID
time   generate a new time-based UUID

The UUID may be used by mount(8), fsck(8), and /etc/fstab(5) (and possibly others) by specifying UUID=uuid instead of a block special device name like /dev/hda1.


I realize this is kind of an old question, but I found there was a new change, and this was what google snooped up for me, so I'll post the answer I found here.

when I tried to change my root filesystem's uuid (to a well known beginning and a serial number suffix) on new 14.04 ubuntu, I found to my horror tune2fs reported back: I can't do that to mounted file systems. I depend on being able to use a template image with a well known uuid, and change each install to a serialized uuid. I found the problem wasn't insurmountable.

There's a flag that needs to be disabled, to allow mounted-uuid changes with the new tune2fs. this is what my process looked like:

root@ubuntu1404:~# blkid
/dev/sda1: UUID="2ec827b0-72be-4c73-b58a-102a37aa24a3" TYPE="ext4"
root@ubuntu1404:~# uuid="deafcafe-abba-daba-deca-fc0ffee05065"
root@ubuntu1404:~# root_disk=$(df /|grep /|cut -d' ' -f1)
root@ubuntu1404:~# echo $root_disk
/dev/sda1
root@ubuntu1404:~# tune2fs -U $uuid $root_disk
tune2fs 1.42.9 (4-Feb-2014)
The UUID may only be changed when the filesystem is unmounted.
root@ubuntu1404:~# tune2fs -O ^uninit_bg $root_disk
tune2fs 1.42.9 (4-Feb-2014)
root@ubuntu1404:~# tune2fs -U $uuid $root_disk
tune2fs 1.42.9 (4-Feb-2014)
root@ubuntu1404:~# tune2fs -O +uninit_bg $root_disk
tune2fs 1.42.9 (4-Feb-2014)
root@ubuntu1404:~# df -h /
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       7.3G  3.9G  3.0G  58% /
root@ubuntu1404:~# blkid
/dev/sda1: UUID="deafcafe-abba-daba-deca-fc0ffee05065" TYPE="ext4"
root@ubuntu1404:~#
	


and besides this

 

For xfs see man xfs_admin

xfs_admin -U {uuid} {device}

{uuid} can be 'generate' to just get a new uuid.


For reiserfs see man tunefs.reiserfs

tunefs.reiserfs -i {uuid} {device}


For btrfs it seems the uuid is used thoughout the file systems so every node have to be updated. There is no safe way to do that yet.


well may we separate the discussion between the two topics of #

a. EFI & UEFI and
b. to hibernation-device UUID xyz not found -> dropped into emergency shell


look forward to hear from you


see for all - here https://www.dreamincode.net/forums/index.php?app=forums&module=post&section=post&do=reply_post&f=195&t=415435

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.