---
title: 'Fix grub when installed to the wrong drive on Ubuntu'
url: 'https://www.linuxserver.io/blog/2013-08-11-fix-grub-when-installed-to-the-wrong-drive-on-ubuntu'
markdown: 'https://www.linuxserver.io/blog/2013-08-11-fix-grub-when-installed-to-the-wrong-drive-on-ubuntu.md'
date: '2013-08-12'
description: 'Install grub to the wrong drive by mistake during install? Easily fix this by first finding your boot drive. sudo fdisk -l Mine was /dev/sdc, so: sudo grub-install /dev/sdc sudo update-grub And you’re done. Easy wasn’t it!?'
taxonomy:
  tag:
    - grub
    - ubuntu
---

# Fix grub when installed to the wrong drive on Ubuntu

Install grub to the wrong drive by mistake during install? Easily fix this by first finding your boot drive.

```
sudo fdisk -l
```

Mine was `/dev/sdc`, so:

```
sudo grub-install /dev/sdc 
sudo update-grub
```

And you’re done. Easy wasn’t it!?

---

## Navigation

- Parent: [Blog](https://www.linuxserver.io/blog.md)
- Previous: [Update grub on Arch Linux](https://www.linuxserver.io/blog/2013-08-13-update-grub-on-arch-linux.md)
- Next: [Install Ubuntu Server 13.04 and compile a custom kernel ready for Xen](https://www.linuxserver.io/blog/2013-08-10-install-ubuntu-server-13-04-and-compile-a-custom-kernel-ready-for-xen.md)
