I was doing some tests to see which Linux version suits me the best, and turns out it`s openSUSE. Problem is, after a Windows install, I dont have a grub menu anymore, I tried the bellow and didnt work.
Thing is, my Windows 7 is Enterprise, which means I have 3 months to evaluate it. It’s original and downloaded from microsoft, but every 3 months I have to re-install it. And that`s where the trouble is, after installing Windows I can’t recover the grub menu.
On 2013-01-20 03:16, amarildojr wrote:
>
> I can’t give the command “mount – bind /dev /mnt/dev” it says file or
> directory does not exist. I’m stuck with that
Is the target root system mounted on /mnt?
–
Cheers / Saludos,
Carlos E. R.
(from 11.4, with Evergreen, x86_64 “Celadon” (Minas Tirith))
a file system can only be mounted once r/w so if it is mounted you need to umount it (note that is umount not unmount) to allow the mount location you need for the operation
Just follow the guide step by step
And it will work. The key is making sure you correctly identify the openSUSE / (root) partition from your fdisk output. This is the first thing you mount.
OK I got it working, openSUSE shows on the boot menu but Windows is gone now. I noticed my keyboard setup is different on the recover setup, so I corrected a letter and all worked. Here’s what I did:
fdisk -l (the linux root was on sda1)
mount --bind /dev /mnt/dev
chroot /mnt
grub2-install /dev/sda
exit
reboot
Now openSUSE is displayed on the boot menu, but Windows is gone.
Come on, just one more step for me to use openSUSE