Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. 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 upgraded my ubuntu and that resulted in its grub loader being used. I have a triboot of windows, ubuntu and suse. I prefer the suse bootloader which I was using before the ubuntu updates. I would like to restore the suse boot loader from yast. How do i do it?

share|improve this question

The generic procedure to restore Grub is

  1. Boot into something Linux (either live CD or on disk, but must have Grub commands available) -- I don't know about other *nix
  2. Mount the partition that holds the OS with Grub to be fixed, be sure to mount the separated boot partition if you have it
  3. Issue the following command, remember to replace /mnt/suse and /dev/sda with your mount point and device
    grub-setup -d /mnt/suse /dev/sda

Alternatively, after step 2, you can chroot to /mnt/suse and from there execute

grub-install /dev/sda

I find the Ubuntu help page very informative at this.

share|improve this answer

You'll want to boot into SuSE, and run (as root) grub-install /dev/sda (replace /dev/sda with the boot device on your computer. You'll want to update your /boot/grub/menu.lst in SuSE to include an entry for Ubuntu.

share|improve this answer
that command fails. – Vaolter Feb 4 '11 at 10:33
How does it fail? Are you running /usr/sbin/grub-install? Are you installing it to the right drive? – jsbillings Feb 4 '11 at 14:01

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.