banner



How To Retrive Data From An Old Sata Drive

This tutorial will guide you on how to rescue, repair or reinstall a damaged Ubuntu machine which cannot exist booted due to the fact that the Grub2 boot loader has been compromised and cannot load the boot loader which transfers the control further to the Linux kernel. In all modernistic Linux operating systems GRUB is the default kick loader.

This procedure has been successfully tested on an Ubuntu xvi.04 server edition with the Grub kicking loader damaged. However, this tutorial will only cover Ubuntu server Chow rescue process, although the same procedure can exist successfully applied on any Ubuntu organisation or on the majority of Debian-based distributions.

Requirements

    1. Download Ubuntu Server Edition DVS ISO Image

You try to kick your Ubuntu server machine and y'all come across that the operating systems no longer starts-up and you discover that the kick loader program no longer works?

Typically, the GNU Grub minimal panel appears on your screen, as illustrated on the below screenshot. How can yous restore the Grub in Ubuntu?

Ubuntu Grub Console
Ubuntu Grub Panel

In that location are a lot of methods in Linux that can be used to re-install a broken chow, some tin can involve the ability to work and restore the boot loader past using the Linux command line and others are fairly uncomplicated and implies booting the hardware with a Linux alive CD and using the GUI indications to repair the damaged boot loader.

Among the simplest methods, that can be used in Debian based distributions, especially on Ubuntu systems, is the method presented in this tutorial, which involves only booting the motorcar into the Ubuntu alive DVD ISO prototype.

The ISO image can be downloaded from the post-obit link: http://releases.ubuntu.com/

Reinstall Ubuntu Chow Boot Loader

one. After you've downloaded and burned the Ubuntu ISO image, or created a bootable USB stick, identify the bootable media into your appropriate machine drive, reboot the machine and instruct the BIOS to boot into Ubuntu live epitome.

Machine Boot Menu
Machine Boot Bill of fare

two. On the first screen, choose the language and printing [Enter] primal to continue.

Choose Language
Choose Linguistic communication

iii. On the next screen, press F6 function key in order to open the other options menu and select Expert mode option. Then, hit Escape cardinal to return to Kick Options line in editing mode, as illustrated in the beneath screenshots.

Ubuntu Expert Mode
Ubuntu Good Mode
Ubuntu Boot Options
Ubuntu Kick Options

4. Adjacent, edit Ubuntu alive paradigm kicking options past using the keyboard arrows to movement the cursor just before the quiet cord and write the following sequence as illustrated in the below screenshot.

rescue/enable=truthful        
Enable Ubuntu Rescue Boot Option
Enable Ubuntu Rescue Boot Pick

5. After y'all've wrote the above argument, press [Enter] key to instruct the live ISO image to boot into rescue mode in order to Rescue a broken arrangement.

Ubuntu Rescue Mode
Ubuntu Rescue Way

6. On the adjacent screen select the language you desire to perform the organization rescue and press [enter] cardinal to go along.

Choose Language in Rescue Mode
Choose Linguistic communication in Rescue Mode

7. Next, select your appropriate location from the presented list and printing [enter] key to move further.

Select Your Location
Select Your Location

8. On the next series of screens, select your keyboard layout as illustrated in the below screenshots

Configure Keyboard
Configure Keyboard
Select Keyboard Country Layout
Select Keyboard Country Layout
Select Keyboard Layout
Select Keyboard Layout

9. After detecting your machine hardware, loading some additional components and configuring the network you volition be asked to setup your machine hostname. Because you're not installing the arrangement, just exit the system hostname as default and press [enter] to continue.

Detecting System Hardware
Detecting System Hardware
Keep System Hostname
Keep Arrangement Hostname

10. Next, based on the supplied concrete location the installer image volition observe your fourth dimension zone. This setup will accurately piece of work simply if your auto is connected to cyberspace.

However, it's unimportant if your time zone is not correctly detected, because you are not performing a organisation installation. Just press Yep to continue further.

Keep Timezone
Go along Timezone

11. On the side by side screen you'll be directly transferred into rescue mode. Here, you should choose your motorcar root file organization from the provided list. In example your installed organisation uses a logical volume manager to delimit partitions, information technology should be easy to find your root partition from the list by reviewing volume grouping names as illustrated in the below screenshot.

Otherwise, in case you're not certain which partition is used for the /(root) file organisation, you should try to probe each division until you find the root file arrangement. After selecting the root partition press [Enter] primal to continue.

Choose Root Partition
Choose Root Partition

12. In case your system has been installed with a separate /kicking partition, the installer will inquire y'all whether you want to mount the divide /kick partition. Select Yes and press [Enter] fundamental to continue.

Mount Boot Partition
Mount Kicking Sectionalization

thirteen. Next, y'all will be provided with Rescue operations menu. Hither, select the option to Reinstall the Grub boot loader and press [enter] key to continue.

Reinstall Ubuntu Grub Loader
Reinstall Ubuntu Grub Loader

fourteen. On the next screen, type your machine deejay device where the GRUB will be installed and press [Enter] to continue, equally shown in the beneath image.

Usually, you lot should install the kick loader on your get-go machine hd MBR, which is /dev/sda in most cases. The installation procedure of Grub will get-go equally soon every bit you hit the Enter central.

Select Disk to Install Grub Loader
Select Disk to Install Grub Loader

fifteen. Later on the alive system installs the Chow boot loader yous volition exist directed back to main rescue mode menu. The only thing left at present, later on you've successfully repaired your Grub, is to reboot the machine as shown in the below images.

Installing Ubuntu Grub Boot Loader
Installing Ubuntu Grub Kicking Loader
Reboot Ubuntu System
Reboot Ubuntu Arrangement

Finally, eject the alive bootable media from the appropriate drive, reboot the machine and you lot should be able to boot into the installed operating arrangement. The first screen to announced should be installed operating system Grub menu, every bit illustrated in the below screenshot.

Ubuntu Boot Menu
Ubuntu Boot Menu

Manually Reinstall Ubuntu Grub Kicking Loader

14. However, if you like to manually reinstall the GRUB boot loader from Rescue operations card, follow all the steps presented in this tutorial until you accomplish betoken 13, where you lot make the following changes: instead of choosing the option to reinstall Grub boot loader, select the pick which says Execute a shell in /dev/(your_chosen_root_partition and press [Enter] key to go on.

Select Execute a Shell in Root Partition
Select Execute a Shell in Root Division

15. On the next screen hit Keep by pressing [enter] key in order to open a shell in your root file system partition.

Open Shell Mode
Open up Crush Mode

16. Afterwards the crush has been opened in the root file system, execute ls command as presented below in club to identify your automobile hd devices.

# ls /dev/sd*        

After you lot've identified the correct hard disk drive device (usually the showtime disk should exist /dev/sda), issue the post-obit command to install the GRUB boot loader on the identified hard disk MBR.

# grub-install /dev/sda        

After GRUB has been successfully installed leave the shell prompt by typing exit.

# exit        
Install Ubuntu Grub Boot Loader
Install Ubuntu Grub Boot Loader

17. Afterward you've exited the shell prompt, you will exist returned to main rescue mode menu. Here, choose the option to reboot the organization, squirt the live bootable ISO image and your installed operating system should be booted without any issue.

Reboot System
Reboot System

That's all! With a minimal effort you've successfully rendered your Ubuntu machine the ability to boot the installed operating organization.

If Y'all Appreciate What We Do Here On TecMint, You lot Should Consider:

TecMint is the fastest growing and most trusted community site for any kind of Linux Articles, Guides and Books on the web. Millions of people visit TecMint! to search or browse the thousands of published articles bachelor FREELY to all.

If yous like what you are reading, please consider buying us a coffee ( or two ) as a token of appreciation.

Support Us

Nosotros are thankful for your never ending support.

How To Retrive Data From An Old Sata Drive,

Source: https://www.tecmint.com/rescue-repair-and-reinstall-grub-boot-loader-in-ubuntu/

Posted by: wattshaved1952.blogspot.com

0 Response to "How To Retrive Data From An Old Sata Drive"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel