Changed by mistake the grub default boot to memtest, now cant get back to the grub menu nor to boot from a live cd

artembus

Little background - I'm a complete noob, I wanted to make my grandparents a "present" and install linux on their old PC. Most of my knowledge come from the day or 2 that took me to research what and how to install for my grandparents. I've installed Lubuntu (can't remember the version, it was few months ago) and they liked it very much because they couldn't break it too much and I was happy as well because I didn't need to repair it every other week. Few days ago they had some problem with the camera and they called some friend that was using linux to try and help them, unfortunately I gave him the administrator password and he did something. Yesterday I came to help them because the PC won't boot.

Closer to the problem: the PC wont boot and stop at an error like "alert dev/disk/by-uuid/***somethingLong*** does not exist" I tried searching online but couldn't get something related. I've noticed that I get a grub menu at the start where I can chose some options and if I chose not the default "ubuntu" but the "advanced options for ubuntu"(cant remember the exact wording) there I can chose the newest version(I think its the version of lubuntu) or the newest version with safe start or the older version or the older version with safe start etc. I chose to boot the older version and the pc starts normally.

The problem itself: I've search how to change the default boot option in grub and found that I need to edit the grub file. I've edited the grub file but as I understand I've written the wrong values there so now the pc automatically boots into memtest(Memtest86 v4.20).

What I've tried:

  • I couldn't find a way to get back to the grub menu when the pc starts, if I restart the pc it goes again automatically to the memtest. If I let the memtest run it will just run it in cycles - I don't think there is a point where it will end and go past it to load the os.

  • I can't load live cd from a USB - I've tried changing the boot options in the bios to usb-ffd, usb-zip, usb-cdrom and non of them boot even when I tried to stick the usb to the back usb ports of the pc or the front usb ports. By can't boot I mean it boots just as usual and going straight to the memtest, even though the usb was flashing it's lights as if the pc was reading files from it.

  • I couldn't load the live cd from a CD (I can't get my hands on a dvd so I found several live cds that fit into a cd) and I still cant boot. This time I get a line "Boot from CD: " it hangs for a few seconds then either it continue to boot to memtest or it writes something like: "could not boot from cd insert the install cd and press enter". I was able to boot from this cd on other pc so it might be that the cdrom is broken on the not bootable pc but I dont think so (I installed lubunto a few months ago, i'm not sure if it was from a usb or a dvd but I did install it somehow)

So now I'm basicly stuck with a pc that boots automatically to memtest and I cant do anything.

Any suggestions?

ps- sorry for the bad English, it's not my native language.

artembus

As Eduardo Cola suggested, I pressed shift repeatedly to enter the GRUB menu before the start of the memtest then in the GRUB menu I was able to select to boot to the desirable OS where I could undo my earlier mistake.

이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.

침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제

에서 수정
0

몇 마디 만하겠습니다

0리뷰
로그인참여 후 검토

관련 기사

분류에서Dev

Grub menu not showing up at boot

분류에서Dev

Grub: configuration to boot on specific partition without menu

분류에서Dev

Grub takes 45 Secs to show boot menu

분류에서Dev

grub unable to add windows to boot menu

분류에서Dev

How can I add the Memtest86+ options back to the Grub menu?

분류에서Dev

Getting grub rescue on boot, but can get to grub via 'BIOS'

분류에서Dev

Accidentally set GRUB_TIMEOUT=0, cannot boot into Ubuntu now

분류에서Dev

How to prevent GRUB from appearing after selecting Ubuntu from Windows' Dual Boot menu?

분류에서Dev

How to boot from iso with Grub2/Burg boot loader

분류에서Dev

Set up rEFInd to boot Ubuntu directly (no Grub menu displayed)

분류에서Dev

Repairing grub 2 with Ubuntu live cd

분류에서Dev

How to get Windows-7 to boot (GRUB/EFI problem)

분류에서Dev

How to get info on my current GRUB / boot configuration?

분류에서Dev

Drive won't boot from its Grub, but will from another drive's Grub, after cloning, why?

분류에서Dev

Why grub2 wont boot from external hdd?

분류에서Dev

How can I get grub2 to boot a different option only on the next boot?

분류에서Dev

Ubuntu Live CD로 GRUB 2 복구

분류에서Dev

부팅 옵션을 변경할 때 빈 'Grub Boot Menu'

분류에서Dev

보안 도구 "tiger"에 따른 / boot / grub / menu의 권한

분류에서Dev

Grub menu won't show up after updating Ubuntu, can boot only into Windows

분류에서Dev

Boot problem with grub; Arch Linux, Xen, DomU

분류에서Dev

How can I display the grub during boot?

분류에서Dev

Unable to boot without 'grub rescue> ' commands

분류에서Dev

Grub boot error on cloned virtual machine

분류에서Dev

Dual boot - SSD + mSATA - GRUB partition placement

분류에서Dev

There was no /etc/default/grub file, so how come my system was able to boot?

분류에서Dev

Multibooting Grub with shared /boot one distro uses Grub 1, the other Grub 2

분류에서Dev

Grub - what now

분류에서Dev

How do I manually boot from the grub prompt after do-release-upgrade?

Related 관련 기사

  1. 1

    Grub menu not showing up at boot

  2. 2

    Grub: configuration to boot on specific partition without menu

  3. 3

    Grub takes 45 Secs to show boot menu

  4. 4

    grub unable to add windows to boot menu

  5. 5

    How can I add the Memtest86+ options back to the Grub menu?

  6. 6

    Getting grub rescue on boot, but can get to grub via 'BIOS'

  7. 7

    Accidentally set GRUB_TIMEOUT=0, cannot boot into Ubuntu now

  8. 8

    How to prevent GRUB from appearing after selecting Ubuntu from Windows' Dual Boot menu?

  9. 9

    How to boot from iso with Grub2/Burg boot loader

  10. 10

    Set up rEFInd to boot Ubuntu directly (no Grub menu displayed)

  11. 11

    Repairing grub 2 with Ubuntu live cd

  12. 12

    How to get Windows-7 to boot (GRUB/EFI problem)

  13. 13

    How to get info on my current GRUB / boot configuration?

  14. 14

    Drive won't boot from its Grub, but will from another drive's Grub, after cloning, why?

  15. 15

    Why grub2 wont boot from external hdd?

  16. 16

    How can I get grub2 to boot a different option only on the next boot?

  17. 17

    Ubuntu Live CD로 GRUB 2 복구

  18. 18

    부팅 옵션을 변경할 때 빈 'Grub Boot Menu'

  19. 19

    보안 도구 "tiger"에 따른 / boot / grub / menu의 권한

  20. 20

    Grub menu won't show up after updating Ubuntu, can boot only into Windows

  21. 21

    Boot problem with grub; Arch Linux, Xen, DomU

  22. 22

    How can I display the grub during boot?

  23. 23

    Unable to boot without 'grub rescue> ' commands

  24. 24

    Grub boot error on cloned virtual machine

  25. 25

    Dual boot - SSD + mSATA - GRUB partition placement

  26. 26

    There was no /etc/default/grub file, so how come my system was able to boot?

  27. 27

    Multibooting Grub with shared /boot one distro uses Grub 1, the other Grub 2

  28. 28

    Grub - what now

  29. 29

    How do I manually boot from the grub prompt after do-release-upgrade?

뜨겁다태그

보관