Tag Archives: LinuxMint

GRUB shows Windows 7 instead of Windows 10

source: link

author: david6

After installing Windows 10, every time I get a kernel update or I run the update-grub2 it always shows Windows 7 instead of Windows 10. How do I fix this permanently?

The reason why it still shows Windows 7 instead of Windows 10 is that the file /usr/lib/os-probes/mounted/20microsoft does not contain the label for Windows 10, so during the os-prober detection of the OS it falls back to Windows 7.

To correct this, you need to make the following changes to the /usr/lib/os-probes/mounted/20microsoft file:

NOTE: Always make a backup of the file before modifying it!

if item_in_dir -q bootmgr "$2"; then
        # there might be different boot directories in different case as:
        # boot Boot BOOT
        for boot in $(item_in_dir boot "$2"); do
                bcd=$(item_in_dir bcd "$2/$boot")
                if [ -n "$bcd" ]; then
                        if grep -qs "W.i.n.d.o.w.s. .1.0" "$2/$boot/$bcd"; then
                                long="Windows 10 (loader)"
                        elif grep -qs "W.i.n.d.o.w.s. .8" "$2/$boot/$bcd"; then
                                long="Windows 8 (loader)"
                        elif grep -qs "W.i.n.d.o.w.s. .7" "$2/$boot/$bcd"; then
                                long="Windows 7 (loader)"

the changes above are changing the line if grep -qs "W.i.n.d.o.w.s. .8" "$2/$boot/$bcd"; then to elif grep -qs "W.i.n.d.o.w.s. .8" "$2/$boot/$bcd"; then, and adding if grep -qs "W.i.n.d.o.w.s. .1.0" "$2/$boot/$bcd"; then and long="Windows 10 (loader)" above that line and saving it.

Once saved, then running os-prober now looks like this:

terrance@terrance-ubuntu:~$ sudo os-prober
[sudo] password for terrance: 
/dev/sdf1:Windows 10 (loader):Windows:chain

then running update-grub2 it will now make the updates to your /boot/grub/grub.cfgpermanent anytime you get a kernel update so it will show the correct version of Windows now (example below):

terrance@terrance-ubuntu:~$ sudo update-grub
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-26-generic
Found initrd image: /boot/initrd.img-3.19.0-26-generic
Found linux image: /boot/vmlinuz-3.13.0-58-generic
Found initrd image: /boot/initrd.img-3.13.0-58-generic
Found linux image: /boot/vmlinuz-3.13.0-57-generic
Found initrd image: /boot/initrd.img-3.13.0-57-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 10 (loader) on /dev/sdf1
done

Hope this helps!

Advertisements

Best Useful Indicators Collection for Ubuntu 13.10/13.04/12.10/12.04/Linux Mint

Indicators Collection for Ubuntu 13.10 Saucy/13.04 Raring/12.10 Quantal/12.04 Precise/11.10 Oneiric/11.04/10.10/10.04/Linux Mint 16/15/14/13/12/11/10/9/other Ubuntu derivatives @ http://www.noobslab.com/

Indicators are very handy to access main features of applications or standalone indicator provide different functionality for this desktop and these indicator can make user experience much better. This I have included many useful indicators for Ubuntu which can help easy access to features. This indicators collection support all current versions of Ubuntu (13.10/13.04/12.10/12.04) some previous versions, related Linux Mint versions, and other related Ubuntu derivatives. I can’t assure you that indicator will work in all desktop environments but works with any problem in Unity, Gnome Classic, Xfce, Mate and some in Gnome Shell/Cinnamon. I didn’t check indicators on Linux Mint, hopefully they shall work with Linux Mint. All indicators are up-to-date.

ubuntu indicators

Install LinuxMint12 extensions Mate & MGSE in Ubuntu 11.10

Written by M. Zinoune @ http://www.unixmen.com

Linux Mint 12 RC comes with two option of desktop environment: One built with GNOME 3.2 and MGSE and other with GNOME 2.3 and MATE. In this post we will show how to Gnome shell extenstion Mate for LinuxMint in Ubuntu11.10.

First if you didn hear about ‘Mate”, it is a fork of Gnome 2 which is compatible with Gnome 3. Thanks to MATE, you can run both versions of Gnome on the same system.MATE is brand new, it’s not completely stable yet, and it’s missing a few parts. It’s being actively maintained and with close collaboration between the MATE developers and Linux Mint. With time the project will gain maturity and provide users with a traditional and solid desktop experience.(1)

For “MGSE” (Mint Gnome Shell Extensions) is a desktop layer on top of Gnome 3 that makes it possible for you to use Gnome 3 in a traditional way. You can disable all components within MGSE to get a pure Gnome 3 experience, or you can enable all of them to get a Gnome 3 desktop that is similar to what you’ve been using before. Of course you can also pick and only enable the components you like to design your own desktop.(1) Continue reading Install LinuxMint12 extensions Mate & MGSE in Ubuntu 11.10

Linux Mint 11 released

By Joey Sneddon @http://www.omgubuntu.co.uk/

plays safe with GNOME 2 desktop, but adds some Natty touches

The latest edition of Ubuntu-based Linux Mint been released.

Version 11 of the popular distro sees it opting to use neither Ubuntu’s Unity interface or GNOME’s latest ‘GNOME 3′ or ‘GNOME Shell’ desktops. Instead Linux Mint 11 has decided to retain use of the “classic” GNOME 2.32 desktop that many users have long been accustomed to.

katya-r88

Continue reading Linux Mint 11 released

Lutris- A Multi-platform game installer for Linux

Written by pirat9 @ http://www.unixmen.com/

lutris logo

Lutris is a gaming platform similar to DJL and PlayOnLinux aiming to support as many games as possible for the GNU/Linux operating system. It takes care of running the game by setting up the best environement in order to provide the most enjoyable gaming experience.The program is currently usable but only has a fraction of the planned features.

Lutris supports native Linux games both commercial and Open Source and also can install windows games using wine, same as playonlinux does. Lutris also supports the best of breed emulators so you can play almost every game for the following platforms :

  • Many arcade based games
  • Amiga 500, 600, 1200
  • Atari 2600, 800, 800XL, 130XE, 5200, ST, STE, TT, Lynx
  • Bandai WonderSwan, WonderSwan Color
  • Browser games like Quake Live, Minecraft or Flash based games
  • Commmodore VIC-20, C64, C128, CBM-II, PLUS/4
  • LucasArt SCUMM based games (Monkey Island, Maniac Mansion, …)
  • Magnavox Odyssey², Videopac+
  • Mattel Intellivision
  • Microsoft MSX, MS-DOS
  • NEC PC-Engine Turbographx 16, Supergraphx, PC-FX
  • Nintendo NES, SNES, Game Boy, Game Boy Advance, Gamecube
  • Sega Master Sytem, Game Gear, Genesis, Dreamcast
  • SNK Neo Geo, Neo Geo Pocket
  • Sony Playstation
  • Z-Machine games like Zork

Continue reading Lutris- A Multi-platform game installer for Linux