Unable to fix GRUB for dual-boot after BIOS update (using boot-repair)
Solution 1
in the command, replace grub*
by grub-common
. The error should disappear.
Solution 2
insert an Ubuntu Live DVD or CD
Choose the Option Try Ubuntu
Allow it to start up. now lets Start
This solution is suitable after a bios update or after repartitioning your hard disk or both. if after one of these actions you get the grub error 17 message kindly follow the steps below. Some situations might not required all the steps, but others might need it. however following these steps will do no harm even if you don't need it.
open a terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo fdisk -l"
- "sudo fdisk /dev/hda" OR "sudo fdisk /dev/sda" Use sda or hda depending on what the output of command line 1. says
- "x"
- "f"
- "w"
close the terminal.
open a new terminal "ctrl + alt + T" then type the following command within the quotation signs followed by enter
- "sudo fdisk -l"
Identify the partition with "linux" at the end, not the one with "linux swap/Solaris"
write down the sdaX or hdaX code where "X" is a number
e.g. hda2 is (hd0,1) in grub and
sda2 is (hd0,1) in grub
simillarly sda5 or hda5 is (hd0,4) in grub
it is the grub code you'll need.
your grub code should be in the form (hd0,W) where W is a number
close the terminal
Connect to the internet
open a new terminal "ctrl + alt + T" then type the following commands within the quotation signs followed by enter
- "sudo apt-get install grub"
- "Y"
- "sudo grub"
- "root (hd0,W)"
- "setup (hd0)"
- "quit"
close the terminal - You might need to run startup repair with your windows installation dvd - Grub Should be reinstalled and working properly
Related videos on Youtube
advapi
iOS/Mac App Developer at Olive Tree Bible Software (HarperCollins Christian Publishing)
Updated on September 18, 2022Comments
-
advapi over 1 year
I'm developing a new service based on our infrastructure that uses IBMMQ 8.0 (I've to admit that I'm not a guru of IBMMQ and I've used it as a simple integration without diving in it's implementation).
I'm trying right now to use It with amqpnetlite (in order to use it with .NET Core).
Till now here's my snippet
Address address = new Address("amqp://10.112.62.102:1414"); Connection connection = new Connection(address); Session session = new Session(connection); Message message = new Message("Hello AMQP!"); var sender = new SenderLink(session, "AONMQCOL1", "MQ_TEST"); sender.Send(message); Console.WriteLine("Sent Hello AMQP!");
I got an exception AmqpException: The transport 'TcpTransport' is closed. when performing the Send. On the connection object I've got IsClosed = false so I think the connection is open.
Just as confirmation, what should I put as "address" and "name" on the SenderLink's constructor?
Thanks
-
Ulad Kasach almost 8 years
-