Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just began taking a Digital Forensics course on campus, and thought having Kali Linux would be a good tool to familiarize myself. My computer has two separate hard drives, one for Ubuntu Server 12.04 (home VoIP and sandbox) and the other for Kali. However, upon finishing the install, the grub was installed to the MBR of the first hard drive (the one housing Ubuntu). Now when I boot up the machine, the grub only shows Kali Linux (aside from the Kali recovery mode, memtest, etc)

Any help on getting Ubuntu server bootable again?


share|improve this question

I'm not familiar if Kali Linux is using grub2, but try to edit the /boot/grub/grub.cfg after booting up your Kali Linux. (older version of grub using /boot/grub/menu.lst as far as i could remember) . Adding the following menuentry to chainload your original bootloader in your 1st hard driver.

menuentry 'Ubuntu 12.04 Boot' {
    set root='(hd0,1)'
    chainloader +1

root should point to where your /boot (if not separated, /) filesystem of your Ubuntu 12.04 server locates. (hd0,1) means first hard drive, 1st partition. Adjust it to fit your actual partitioning case.

P.S.: a little bootstrap background:

your case before change

BIOS -> first hard driver -> MBR -> active partition (Ubuntu parition) -> grub installed in Ubuntu

after change

BIOS-> first hard driver -> MBR -> active partition (Kali parition) -> grub installed in Kali

share|improve this answer
Funny enough, I was editing my /etc/default/grub to get a better console resolution, and upon entering the update-grub, it generated a new grub.cfg which immediately picked up on my Ubuntu Server partition. Bonehead moment for me. Thanks :-P – b0dhi_ Jan 29 '14 at 19:49

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.