Score:0

Dual boot - Ubuntu partition resize results in grub terminal at startup

cn flag

I have dual boot with windows and Ubuntu. I wanted to resize my Ubuntu root so I shrinker one of the partition using the disk management in windows. I used gparted to move swap partition to the left and also my Ubuntu partition to the left. I regenerated the UUID. Now when I restart I get grub terminal. I followed few blogs and set the root, linux and initrd.img. Then I end up getting initramfs terminal saying 'No init found. Try passing init=bootarg'. Please help me with this issue

Organic Marble avatar
us flag
At what step in this process did your system start failing to boot?
Rohan RM avatar
cn flag
After the 'No init found' in the initramfs terminal
Rohan RM avatar
cn flag
Reboot takes me back to grub terminal
Organic Marble avatar
us flag
Not what I am asking. Did you make all those changes in one fell swoop and only after making all those changes tried to boot the system. In other words, did you try to boot the system at any point during the process.
Rohan RM avatar
cn flag
Yes. After making all these changes I tried to boot the system.
Organic Marble avatar
us flag
So it could have broken at any one of these steps along the way. In future, consider testing out what you did after each major change.
Rohan RM avatar
cn flag
I was able to get the bootup options menu. After selecting Ubuntu it says. Error no such device : jsh736. Disk hd0,gpt10 not found. But my actual Ubuntu is in hd1,gpt10.
oldfred avatar
cn flag
Check UUIDs in fstab if you changed a UUID for swap or / (root). Is error after getting grub menu or before? I sometimes have to edit a boot and manually change a hd0 to h1 as plugging in a flash drive has drive order changed by UEFI.
Rohan RM avatar
cn flag
How do i do it? I've started ubuntu from a bootable pendrive. I'm not able to edit fstab.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.