Results 1 to 4 of 4

Thread: How does Grub Rescue work?

  1. #1
    Join Date
    May 2007
    Beans
    236
    Distro
    Ubuntu

    How does Grub Rescue work?

    I wanted to make a backup of my OS so I used dd to copy the entire partition to another drive, when I tried to boot, it didn't boot because the UUID was different from what is in the /boot/grub/grub.cfg of the original drive. This makes sense to me, and I do understand that in order to fix it I could simply edit the grub.cfg from a liveCD or another OS and give it the proper UUID, however, I am making this post for educational purposes and not to troubleshoot a pending problem.

    I wish to know if it is possible to issue a command at the grub rescue prompt to manually boot into the OS, I imagine this should be possible, but perhaps not. Perhaps the grub rescue is for something else entirely.

    If anyone can enlighten me on this matter and what commands are possible at the grub rescue I would be most grateful, thanks!

  2. #2
    Join Date
    Jul 2005
    Location
    Hughenden, Australia
    Beans
    5,090
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: How does Grub Rescue work?

    Ubuntu user since 2004 (Warty Warthog)

  3. #3
    Join Date
    Aug 2006
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: How does Grub Rescue work?

    Check out the Grub2 howto: https://help.ubuntu.com/community/Gr...nd_Rescue_Mode

    As for UUID, you can change the UUID of the file system to want it was with 'sudo tune2ts -U UUID /dev/sdXY'.

  4. #4
    Join Date
    May 2007
    Beans
    236
    Distro
    Ubuntu

    Re: How does Grub Rescue work?

    Awesome, thanks for the resources guys.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •