# How to update the "resume" UUID on grub

**URL:** https://forums.rockylinux.org/t/how-to-update-the-resume-uuid-on-grub/15420
**Category:** Rocky Linux Help & Support
**Created:** [August 12, 2024, 10:46am UTC](https://forums.rockylinux.org/t/how-to-update-the-resume-uuid-on-grub/15420 "2024-08-12T10:46:18Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![xc8](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/xc8/32/4462_2.png) [@xc8](https://forums.rockylinux.org/u/xc8)
#### Post date: [August 12, 2024, 10:46am UTC](https://forums.rockylinux.org/t/how-to-update-the-resume-uuid-on-grub/15420/1 "2024-08-12T10:46:18Z")

</div>

sorry it may be a silly question. I just replaced the second HDD (/home and swap there), system stuck on “remote recovery” - I can bypass it - temporary - by removing the recovery UUID entry on grub (still has the UUID of the old swap partition) . I tried a ‘grub2-mkconfig’ but that did not update the grub entry, I may miss something, any help welcome.

---

<div class="post-metadata">

### Author: ![jbkt23](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jbkt23](https://forums.rockylinux.org/u/jbkt23)
#### Post date: [August 12, 2024, 11:20am UTC](https://forums.rockylinux.org/t/how-to-update-the-resume-uuid-on-grub/15420/2 "2024-08-12T11:20:30Z")

</div>

If you updated the UUID in /etc/default/grub then the command line is:

```auto
grub2-mkconfig -o /boot/grub2/grub.cfg --update-bls-cmdline

```

This will then update the config files in /boot/loader/entries/ which are the scripts that populate the kernel parameters on boot.

---

<div class="post-metadata">

### Author: ![xc8](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.rockylinux.org/xc8/32/4462_2.png) [@xc8](https://forums.rockylinux.org/u/xc8)
#### Post date: [August 12, 2024, 11:23am UTC](https://forums.rockylinux.org/t/how-to-update-the-resume-uuid-on-grub/15420/3 "2024-08-12T11:23:45Z")

</div>

arghh… sorry… I did not update any UUID on /boot/grub2/grub.cfg , I setup the new swap and updated the entry on /etc/fstab, , btw it is the **resume=UUID=** I need to update on grub2 - I wrote **recovery** above, not correct - brain fscked with that… apologies

UPDATE

I updated the resume UUID on the /etc/default/grub , not sure if this is the correct procedure, at least the system does not stuck on boot…

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex020/uploads/rockylinux/original/1X/91b7219eec10e30013422e4df76c1d898711a5d5.svg) [@system](https://forums.rockylinux.org/u/system)
#### Post date: [October 11, 2024, 11:24am UTC](https://forums.rockylinux.org/t/how-to-update-the-resume-uuid-on-grub/15420/4 "2024-10-11T11:24:27Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
