Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I've recently installed ubuntu on a SSD, and would like to remove the old grub entries belonging to the ubuntu on the old HDD. I'd like to do one of the following:

  1. Remove the entry from grub (preferably without deleting /etc/grub.d/10_linux)
  2. Remove the files in the old HDD that tell the grub OS-prober that this is an OS.

Any help would be much appreciated.

share|improve this question
    
@izx - Thanks! that worked! –  nbubis Aug 24 '12 at 23:14

1 Answer 1

up vote 2 down vote accepted

If you aren't going to be booting from the old HDD, cd to the old HDD root partition and run:

sudo mv /boot /backup-boot 

and then run

sudo update-grub

This should prevent the old installation from being detected.

share|improve this answer

Your Answer

 
discard

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.