What is a way to repair GRUB for Ubuntu 17?

Asked by Last Modified  

1 Answer

Learn Linux

Follow 1
Answer

Please enter your answer

Cyber Security Trainer

Get GParted Live USB/CD, use the Grub console (press c when grub shows), type ls to show disks (such as (hd0,gpt1)) and find appropriate disk, type “linux (hd0,gpt1)/vmlinuz root=/dev/sdXX” and hit enter, “initrd (hd0,gpt1)/initrd.img”. Just replace (hd0,gpt1) with the correct disk and /dev/sdXX with...
read more
Get GParted Live USB/CD, use the Grub console (press c when grub shows), type ls to show disks (such as (hd0,gpt1)) and find appropriate disk, type “linux (hd0,gpt1)/vmlinuz root=/dev/sdXX” and hit enter, “initrd (hd0,gpt1)/initrd.img”. Just replace (hd0,gpt1) with the correct disk and /dev/sdXX with the correct partition, or else you will kernel panic for each command. Then type boot to start. Once booted, run “grub-install /dev/sdX —force” to reinstall grub. Replace X with your drive letter (i.e. /dev/sda, etc.). read less
Comments

Related Questions

I am working as Tech support executive with windows and Linux total of 4 years of experience , Not getting enough calls / opportunities ... Which domain is good for change Sap basis consultant / any other suggestions are welcome

Learn Cloud Computing(Microsoft Azure,AWS,Google Cloud) or Devops. Make your career in this field. Your previous experience will use in this field.
Vamshi
What is the cost of linux course and how much do the certification cost?
1000 for basic and 2000 for linux advance, for certification, give exam, clear it and you are certified
Anusha
Which is the best book for the reference of Linux?
Linux: The Complete Reference
Aneeshwara

I am having 5+ years exp in civil engineering now I am thinking to move in IT sector can u suggest me which field is better to learn ? I am thinking to do Linux+devops+aws or powerBi 

Hi Waseem, I am a Devops and cloud engineed since last approximatelt 4 years.Linux,DevOps (techniques and tools) and Cloud, all are very much intera-related. DevOps and Cloud both are burning needs in...
Waseem

Now ask question in any of the 1000+ Categories, and get Answers from Tutors and Trainers on UrbanPro.com

Ask a Question

Related Lessons

How to detect duplicate address manually in a network from Linux ?
Below script will help you to detect duplicate IP address in a subnet The key command is the arping command which will send out an ARP packet with DAD (duplicate address detection) If the return...

UNDERSTANDING PROCESSES - RED HAT ENTERPRISE LINUX
What is a Process An instance of a program is called a Process. Any command that you give to your Linux machine starts a new process. It is possible that for the same program we have multiple processes. Types...
A

Aseem A.

1 0
0

Linux Introdution
Linux is a UNIX-base operating system. Its original creator was a Finnish student name Linus Torvalds, although being ‘open source’ it has change a great deal since its original conception....

LINUX SERVER ADMINISTRATION
Permissions in Linux rwx|rwx|rwx =user | group | others R==4 W==2 X==1 what's the total? 421|421|421 777 So 7 has 4, 2,1==which means full. Permission (that is read write and execute) ...

LINUX - SETTING UP YUM REPOSITORY
If we buy RHEL 7 the system by default will be connected to Red Hat Network (RHN). All packages and updates will be installed from RHN. So RHN will be our main source and repository. Since we have...
A

Aseem A.

1 0
0

Recommended Articles

Almost all of us, inside the pocket, bag or on the table have a mobile phone, out of which 90% of us have a smartphone. The technology is advancing rapidly. When it comes to mobile phones, people today want much more than just making phone calls and playing games on the go. People now want instant access to all their business...

Read full article >

Information technology consultancy or Information technology consulting is a specialized field in which one can set their focus on providing advisory services to business firms on finding ways to use innovations in information technology to further their business and meet the objectives of the business. Not only does...

Read full article >

Hadoop is a framework which has been developed for organizing and analysing big chunks of data for a business. Suppose you have a file larger than your system’s storage capacity and you can’t store it. Hadoop helps in storing bigger files than what could be stored on one particular server. You can therefore store very,...

Read full article >

Microsoft Excel is an electronic spreadsheet tool which is commonly used for financial and statistical data processing. It has been developed by Microsoft and forms a major component of the widely used Microsoft Office. From individual users to the top IT companies, Excel is used worldwide. Excel is one of the most important...

Read full article >

Looking for Linux Training?

Learn from the Best Tutors on UrbanPro

Are you a Tutor or Training Institute?

Join UrbanPro Today to find students near you