GRUB terminal instead of menuHow do I boot my PC from GRUB?How do I boot from a grub menu?Can't boot into Ubuntu 13.04? GRUB4DOS instead of GRUB2 menu?Dual-boot computer runs Windows Boot Manager followed by grub menu: how to change to just grub?After running boot-repair, still not booting to grubCan I delete GRUB which doesn't appear at startup?Broken bootloader after shrinking Ubuntu for Windows 10How do you boot automatically from Grub?

In this context which is better: astuta or intelligente?

Copying files: Does Windows write to disk if files are identical

Company asks (more than once) if I can involve family members in project

Who is Alice referring to when she was talking to Kate?

Is this really played by 2200+ players?

Explanation for why nickel turns green in hydrochloric acid

What is the easiest way to list all the user:group found in a tarball?

Natural Metre Bar

How can I increase the rate of regeneration in humans without the possibility of tumors developing?

should I include offer letter from a different institution in my application for a faculty position

How are hillsides farmed?

Is there any physical evidence for motion?

How to draw 15-puzzle in LaTeX

Is 写真 an onomatopoeia?

What happened to the SEV instruction on the 6502?

ASCII TURNED SHAPE

Do European politicians typically put their pronouns on their social media pages?

Response to referee after rejection

Wood glue versus epoxy for doweling stripped screw holes

How is "slaad" pronounced?

What Fruit Am I?

Had J. K. Rowling seen This Is Spinal Tap before writing Harry Potter and the Philosopher's Stone?

A logical reason for humans to turn into dwarves/gnomes?

Given small computational resources how navigation was implemented ( Not Samples of old guidance software)



GRUB terminal instead of menu


How do I boot my PC from GRUB?How do I boot from a grub menu?Can't boot into Ubuntu 13.04? GRUB4DOS instead of GRUB2 menu?Dual-boot computer runs Windows Boot Manager followed by grub menu: how to change to just grub?After running boot-repair, still not booting to grubCan I delete GRUB which doesn't appear at startup?Broken bootloader after shrinking Ubuntu for Windows 10How do you boot automatically from Grub?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0

















I've Windows dual booted with Ubuntu. So recently, I moved one of my free partition so that it would be near the Ubuntu partition and I could expand the Ubuntu partition. But when I moved the free space partition and rebooted the system, I'm stuck at the GRUB terminal instead of the menu.



When I use F12 to get the boot options and choose Ubuntu from there, it redirects me back to GRUB terminal. Windows, however boots normally.



Here is the GRUB terminal output I tried diagnosting



Screenshot



I listed the drives using ls command and I think that (hd0,1) is the Linux partition. Can anyone guide me as to what should be my next step? I'm new to Linux environment and clueless as to how things work around here.










share|improve this question


























  • hd0,1 is a Linux cd not an install. Try first loading the fs driver insmod ext2 then run ls on the partitions again.

    – jdwolf
    Dec 24 '17 at 19:48












  • Moving partitions can move where they are found by grub. You need should run Boot Repair from a LiveCD. That link should have the instructions on how to do it.

    – Terrance
    Dec 24 '17 at 19:58











  • Yes, hd0 isa n installation usb-drive. And (hd1,2) is your ESP (EFI System Partition) and there should be grubx64.efi file. Show us the content of (hd1,2)/boot and (hd1,2)/efi.

    – Evgeniy Yanuk
    Dec 24 '17 at 20:02











  • @Terrance I tried Boot Repair, but it didn't work. Here is the link to the log file: drive.google.com/file/d/1zCjUgHN19ovDyTd6PZakac2J__UPCDsv/…

    – archity
    Dec 25 '17 at 5:12












  • @Evgeniy Yanuk you're right, (hd1,2) is the one. Here's the link to contents: imgur.com/gallery/3K97g

    – archity
    Dec 25 '17 at 5:19

















0

















I've Windows dual booted with Ubuntu. So recently, I moved one of my free partition so that it would be near the Ubuntu partition and I could expand the Ubuntu partition. But when I moved the free space partition and rebooted the system, I'm stuck at the GRUB terminal instead of the menu.



When I use F12 to get the boot options and choose Ubuntu from there, it redirects me back to GRUB terminal. Windows, however boots normally.



Here is the GRUB terminal output I tried diagnosting



Screenshot



I listed the drives using ls command and I think that (hd0,1) is the Linux partition. Can anyone guide me as to what should be my next step? I'm new to Linux environment and clueless as to how things work around here.










share|improve this question


























  • hd0,1 is a Linux cd not an install. Try first loading the fs driver insmod ext2 then run ls on the partitions again.

    – jdwolf
    Dec 24 '17 at 19:48












  • Moving partitions can move where they are found by grub. You need should run Boot Repair from a LiveCD. That link should have the instructions on how to do it.

    – Terrance
    Dec 24 '17 at 19:58











  • Yes, hd0 isa n installation usb-drive. And (hd1,2) is your ESP (EFI System Partition) and there should be grubx64.efi file. Show us the content of (hd1,2)/boot and (hd1,2)/efi.

    – Evgeniy Yanuk
    Dec 24 '17 at 20:02











  • @Terrance I tried Boot Repair, but it didn't work. Here is the link to the log file: drive.google.com/file/d/1zCjUgHN19ovDyTd6PZakac2J__UPCDsv/…

    – archity
    Dec 25 '17 at 5:12












  • @Evgeniy Yanuk you're right, (hd1,2) is the one. Here's the link to contents: imgur.com/gallery/3K97g

    – archity
    Dec 25 '17 at 5:19













0












0








0








I've Windows dual booted with Ubuntu. So recently, I moved one of my free partition so that it would be near the Ubuntu partition and I could expand the Ubuntu partition. But when I moved the free space partition and rebooted the system, I'm stuck at the GRUB terminal instead of the menu.



When I use F12 to get the boot options and choose Ubuntu from there, it redirects me back to GRUB terminal. Windows, however boots normally.



Here is the GRUB terminal output I tried diagnosting



Screenshot



I listed the drives using ls command and I think that (hd0,1) is the Linux partition. Can anyone guide me as to what should be my next step? I'm new to Linux environment and clueless as to how things work around here.










share|improve this question















I've Windows dual booted with Ubuntu. So recently, I moved one of my free partition so that it would be near the Ubuntu partition and I could expand the Ubuntu partition. But when I moved the free space partition and rebooted the system, I'm stuck at the GRUB terminal instead of the menu.



When I use F12 to get the boot options and choose Ubuntu from there, it redirects me back to GRUB terminal. Windows, however boots normally.



Here is the GRUB terminal output I tried diagnosting



Screenshot



I listed the drives using ls command and I think that (hd0,1) is the Linux partition. Can anyone guide me as to what should be my next step? I'm new to Linux environment and clueless as to how things work around here.







boot dual-boot grub2 bootloader boot-repair






share|improve this question














share|improve this question











share|improve this question




share|improve this question










asked Dec 24 '17 at 19:13









archityarchity

31 silver badge5 bronze badges




31 silver badge5 bronze badges















  • hd0,1 is a Linux cd not an install. Try first loading the fs driver insmod ext2 then run ls on the partitions again.

    – jdwolf
    Dec 24 '17 at 19:48












  • Moving partitions can move where they are found by grub. You need should run Boot Repair from a LiveCD. That link should have the instructions on how to do it.

    – Terrance
    Dec 24 '17 at 19:58











  • Yes, hd0 isa n installation usb-drive. And (hd1,2) is your ESP (EFI System Partition) and there should be grubx64.efi file. Show us the content of (hd1,2)/boot and (hd1,2)/efi.

    – Evgeniy Yanuk
    Dec 24 '17 at 20:02











  • @Terrance I tried Boot Repair, but it didn't work. Here is the link to the log file: drive.google.com/file/d/1zCjUgHN19ovDyTd6PZakac2J__UPCDsv/…

    – archity
    Dec 25 '17 at 5:12












  • @Evgeniy Yanuk you're right, (hd1,2) is the one. Here's the link to contents: imgur.com/gallery/3K97g

    – archity
    Dec 25 '17 at 5:19

















  • hd0,1 is a Linux cd not an install. Try first loading the fs driver insmod ext2 then run ls on the partitions again.

    – jdwolf
    Dec 24 '17 at 19:48












  • Moving partitions can move where they are found by grub. You need should run Boot Repair from a LiveCD. That link should have the instructions on how to do it.

    – Terrance
    Dec 24 '17 at 19:58











  • Yes, hd0 isa n installation usb-drive. And (hd1,2) is your ESP (EFI System Partition) and there should be grubx64.efi file. Show us the content of (hd1,2)/boot and (hd1,2)/efi.

    – Evgeniy Yanuk
    Dec 24 '17 at 20:02











  • @Terrance I tried Boot Repair, but it didn't work. Here is the link to the log file: drive.google.com/file/d/1zCjUgHN19ovDyTd6PZakac2J__UPCDsv/…

    – archity
    Dec 25 '17 at 5:12












  • @Evgeniy Yanuk you're right, (hd1,2) is the one. Here's the link to contents: imgur.com/gallery/3K97g

    – archity
    Dec 25 '17 at 5:19
















hd0,1 is a Linux cd not an install. Try first loading the fs driver insmod ext2 then run ls on the partitions again.

– jdwolf
Dec 24 '17 at 19:48






hd0,1 is a Linux cd not an install. Try first loading the fs driver insmod ext2 then run ls on the partitions again.

– jdwolf
Dec 24 '17 at 19:48














Moving partitions can move where they are found by grub. You need should run Boot Repair from a LiveCD. That link should have the instructions on how to do it.

– Terrance
Dec 24 '17 at 19:58





Moving partitions can move where they are found by grub. You need should run Boot Repair from a LiveCD. That link should have the instructions on how to do it.

– Terrance
Dec 24 '17 at 19:58













Yes, hd0 isa n installation usb-drive. And (hd1,2) is your ESP (EFI System Partition) and there should be grubx64.efi file. Show us the content of (hd1,2)/boot and (hd1,2)/efi.

– Evgeniy Yanuk
Dec 24 '17 at 20:02





Yes, hd0 isa n installation usb-drive. And (hd1,2) is your ESP (EFI System Partition) and there should be grubx64.efi file. Show us the content of (hd1,2)/boot and (hd1,2)/efi.

– Evgeniy Yanuk
Dec 24 '17 at 20:02













@Terrance I tried Boot Repair, but it didn't work. Here is the link to the log file: drive.google.com/file/d/1zCjUgHN19ovDyTd6PZakac2J__UPCDsv/…

– archity
Dec 25 '17 at 5:12






@Terrance I tried Boot Repair, but it didn't work. Here is the link to the log file: drive.google.com/file/d/1zCjUgHN19ovDyTd6PZakac2J__UPCDsv/…

– archity
Dec 25 '17 at 5:12














@Evgeniy Yanuk you're right, (hd1,2) is the one. Here's the link to contents: imgur.com/gallery/3K97g

– archity
Dec 25 '17 at 5:19





@Evgeniy Yanuk you're right, (hd1,2) is the one. Here's the link to contents: imgur.com/gallery/3K97g

– archity
Dec 25 '17 at 5:19










1 Answer
1






active

oldest

votes


















0


















In order to mount file systems grub needs to load modules. These modules are address by physical sector. Moving the root partition, moved these files; thus grub can no longer find them. You need to reinstall grub.



The simplest method:



Boot a LiveCD. and run boot repair. Double check what it wants to do.Some people have had difficulty with boot repair on an EFI system. Be sure the LiveCD boots in EFI mode.



Manually Boot from grub command prompt:



again be sure to boot EFI mode. In grub menu from the LiveCD, press C to get a command line prompt. then enter the following commands:



linux (hd1,3)/vmlinuz root=/dev/sda3
initrd (hd1,3)/initrd.img
boot


If your root partition isn't (hd1,3), then change all the drive references as needed. More detailed instructions can be found here: https://askubuntu.com/a/931327/694267






share|improve this answer




























  • I'm unable to find vmlinuz or initrd files. Can you look at my screenshots and tell something.

    – archity
    Dec 25 '17 at 7:51












  • @archity -- can you post the partition info in gparted from the LiveCD?

    – ravery
    Dec 25 '17 at 8:26











  • Partition info: imgur.com/gallery/rNfRC

    – archity
    Dec 25 '17 at 8:53











  • you don't have any linux partitions. you have to reinstall.

    – ravery
    Dec 25 '17 at 9:01











  • I had installed Linux in the 50GB earlier. Will reinstalling in that partition solve the problem of GRUB too?

    – archity
    Dec 25 '17 at 9:04












Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f989238%2fgrub-terminal-instead-of-menu%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0


















In order to mount file systems grub needs to load modules. These modules are address by physical sector. Moving the root partition, moved these files; thus grub can no longer find them. You need to reinstall grub.



The simplest method:



Boot a LiveCD. and run boot repair. Double check what it wants to do.Some people have had difficulty with boot repair on an EFI system. Be sure the LiveCD boots in EFI mode.



Manually Boot from grub command prompt:



again be sure to boot EFI mode. In grub menu from the LiveCD, press C to get a command line prompt. then enter the following commands:



linux (hd1,3)/vmlinuz root=/dev/sda3
initrd (hd1,3)/initrd.img
boot


If your root partition isn't (hd1,3), then change all the drive references as needed. More detailed instructions can be found here: https://askubuntu.com/a/931327/694267






share|improve this answer




























  • I'm unable to find vmlinuz or initrd files. Can you look at my screenshots and tell something.

    – archity
    Dec 25 '17 at 7:51












  • @archity -- can you post the partition info in gparted from the LiveCD?

    – ravery
    Dec 25 '17 at 8:26











  • Partition info: imgur.com/gallery/rNfRC

    – archity
    Dec 25 '17 at 8:53











  • you don't have any linux partitions. you have to reinstall.

    – ravery
    Dec 25 '17 at 9:01











  • I had installed Linux in the 50GB earlier. Will reinstalling in that partition solve the problem of GRUB too?

    – archity
    Dec 25 '17 at 9:04















0


















In order to mount file systems grub needs to load modules. These modules are address by physical sector. Moving the root partition, moved these files; thus grub can no longer find them. You need to reinstall grub.



The simplest method:



Boot a LiveCD. and run boot repair. Double check what it wants to do.Some people have had difficulty with boot repair on an EFI system. Be sure the LiveCD boots in EFI mode.



Manually Boot from grub command prompt:



again be sure to boot EFI mode. In grub menu from the LiveCD, press C to get a command line prompt. then enter the following commands:



linux (hd1,3)/vmlinuz root=/dev/sda3
initrd (hd1,3)/initrd.img
boot


If your root partition isn't (hd1,3), then change all the drive references as needed. More detailed instructions can be found here: https://askubuntu.com/a/931327/694267






share|improve this answer




























  • I'm unable to find vmlinuz or initrd files. Can you look at my screenshots and tell something.

    – archity
    Dec 25 '17 at 7:51












  • @archity -- can you post the partition info in gparted from the LiveCD?

    – ravery
    Dec 25 '17 at 8:26











  • Partition info: imgur.com/gallery/rNfRC

    – archity
    Dec 25 '17 at 8:53











  • you don't have any linux partitions. you have to reinstall.

    – ravery
    Dec 25 '17 at 9:01











  • I had installed Linux in the 50GB earlier. Will reinstalling in that partition solve the problem of GRUB too?

    – archity
    Dec 25 '17 at 9:04













0














0










0









In order to mount file systems grub needs to load modules. These modules are address by physical sector. Moving the root partition, moved these files; thus grub can no longer find them. You need to reinstall grub.



The simplest method:



Boot a LiveCD. and run boot repair. Double check what it wants to do.Some people have had difficulty with boot repair on an EFI system. Be sure the LiveCD boots in EFI mode.



Manually Boot from grub command prompt:



again be sure to boot EFI mode. In grub menu from the LiveCD, press C to get a command line prompt. then enter the following commands:



linux (hd1,3)/vmlinuz root=/dev/sda3
initrd (hd1,3)/initrd.img
boot


If your root partition isn't (hd1,3), then change all the drive references as needed. More detailed instructions can be found here: https://askubuntu.com/a/931327/694267






share|improve this answer
















In order to mount file systems grub needs to load modules. These modules are address by physical sector. Moving the root partition, moved these files; thus grub can no longer find them. You need to reinstall grub.



The simplest method:



Boot a LiveCD. and run boot repair. Double check what it wants to do.Some people have had difficulty with boot repair on an EFI system. Be sure the LiveCD boots in EFI mode.



Manually Boot from grub command prompt:



again be sure to boot EFI mode. In grub menu from the LiveCD, press C to get a command line prompt. then enter the following commands:



linux (hd1,3)/vmlinuz root=/dev/sda3
initrd (hd1,3)/initrd.img
boot


If your root partition isn't (hd1,3), then change all the drive references as needed. More detailed instructions can be found here: https://askubuntu.com/a/931327/694267







share|improve this answer















share|improve this answer




share|improve this answer








edited Dec 25 '17 at 8:24

























answered Dec 24 '17 at 21:07









raveryravery

5,6345 gold badges12 silver badges33 bronze badges




5,6345 gold badges12 silver badges33 bronze badges















  • I'm unable to find vmlinuz or initrd files. Can you look at my screenshots and tell something.

    – archity
    Dec 25 '17 at 7:51












  • @archity -- can you post the partition info in gparted from the LiveCD?

    – ravery
    Dec 25 '17 at 8:26











  • Partition info: imgur.com/gallery/rNfRC

    – archity
    Dec 25 '17 at 8:53











  • you don't have any linux partitions. you have to reinstall.

    – ravery
    Dec 25 '17 at 9:01











  • I had installed Linux in the 50GB earlier. Will reinstalling in that partition solve the problem of GRUB too?

    – archity
    Dec 25 '17 at 9:04

















  • I'm unable to find vmlinuz or initrd files. Can you look at my screenshots and tell something.

    – archity
    Dec 25 '17 at 7:51












  • @archity -- can you post the partition info in gparted from the LiveCD?

    – ravery
    Dec 25 '17 at 8:26











  • Partition info: imgur.com/gallery/rNfRC

    – archity
    Dec 25 '17 at 8:53











  • you don't have any linux partitions. you have to reinstall.

    – ravery
    Dec 25 '17 at 9:01











  • I had installed Linux in the 50GB earlier. Will reinstalling in that partition solve the problem of GRUB too?

    – archity
    Dec 25 '17 at 9:04
















I'm unable to find vmlinuz or initrd files. Can you look at my screenshots and tell something.

– archity
Dec 25 '17 at 7:51






I'm unable to find vmlinuz or initrd files. Can you look at my screenshots and tell something.

– archity
Dec 25 '17 at 7:51














@archity -- can you post the partition info in gparted from the LiveCD?

– ravery
Dec 25 '17 at 8:26





@archity -- can you post the partition info in gparted from the LiveCD?

– ravery
Dec 25 '17 at 8:26













Partition info: imgur.com/gallery/rNfRC

– archity
Dec 25 '17 at 8:53





Partition info: imgur.com/gallery/rNfRC

– archity
Dec 25 '17 at 8:53













you don't have any linux partitions. you have to reinstall.

– ravery
Dec 25 '17 at 9:01





you don't have any linux partitions. you have to reinstall.

– ravery
Dec 25 '17 at 9:01













I had installed Linux in the 50GB earlier. Will reinstalling in that partition solve the problem of GRUB too?

– archity
Dec 25 '17 at 9:04





I had installed Linux in the 50GB earlier. Will reinstalling in that partition solve the problem of GRUB too?

– archity
Dec 25 '17 at 9:04


















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f989238%2fgrub-terminal-instead-of-menu%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?