Skip to content

Commit

Permalink
update(linux-grub): basic grub repairment
Browse files Browse the repository at this point in the history
issue #104
  • Loading branch information
sabertazimi committed Dec 4, 2018
1 parent 3cbbd24 commit 0eed257
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions programming/linux/setUp/setUp.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
<!-- TOC -->

- [Linux Set Up](#linux-set-up)
- [Grub](#grub)
- [Windows Repair](#windows-repair)
- [Ubuntu Live Repair](#ubuntu-live-repair)
- [Grub Config](#grub-config)
- [ArchLinux Set Up](#archlinux-set-up)
- [Tutorials](#tutorials)
- [Basic](#basic)
Expand Down Expand Up @@ -39,6 +43,36 @@

<!-- /TOC -->

## Grub

### Windows Repair

- easyBCD for non-efi loader
- with efi loader, run command:

```bash
# root commander
bcdedit /set "{bootmgr}" path \EFI\ubuntu\grubx64.efi
```

### Ubuntu Live Repair

```bash
sudo add-apt add-apt-repository ppa:yannubuntu/boot-repair
sudo apt update
sudo apt install boot-repair
boot-repair
```

### Grub Config

```bash
su
cp /boot/grub/grub.cfg /boot/grub/grub.cfg_backup
vim /boot/grub/grub.cfg
reboot
```

## ArchLinux Set Up

### Tutorials
Expand Down

0 comments on commit 0eed257

Please sign in to comment.