Tag Archives: Linux

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

Hope this helps!


I-Nex system info tool for Ubuntu/Linux Mint/other Ubuntu derivatives

i-Nex Hardware information Tool for Ubuntu 13.10 Saucy/Ubuntu 13.04 Raring/Ubuntu 12.10 Quantal/Ubuntu 12.04 Precise/11.10/11.04/10.10/10.04/Linux Mint 16/15/14/13/12/11/10/9

I-Nex is free system info tool which is used to gather information on the main system components (devices) such as CPU, motherboard, memory, video memory, sound, USB devices and so on. The application allows through a tabbed clear interface to display information about the system hardware, this utility displays significant amount of system details.

Continue reading I-Nex system info tool for Ubuntu/Linux Mint/other Ubuntu derivatives

Subtitle manipulation tools for Linux

By Razvan T. Coloja on February 07, 2008 (7:00:00 PM) @ http://archive09.linux.com/feature/125978

Subtitles may not mean much for the English-speaking part of the world, but for the rest of us, they are the difference between truly enjoying a movie or just watching the screen, trying to decipher the events. While Windows has a nice variety of tools to manipulate subtitles, Linux applications too can accomplish such tasks. From editing to ripping to converting, here is a list of some useful tools.

Continue reading Subtitle manipulation tools for Linux

Ofris- An opensource alternative to Deep Freeze application

by Haresh Khemani @ http://www.unixmen.com

Many times people go to public places like library and cybercafé where computers are kept with online access. While using the computers at such places we download the files, create some new files, make some changes in the desktop, add icons and also change some settings. At such places it is common practice that the administrators use the Deep Freeze application that enables removing all the files and settings and reset the computer to the original condition that it was

in before starting it. To bring the computer to the original state it has just to be restarted and Deep Freeze application performs its task. Deep Freeze application is compatible with Windows OS.

Ofris is an application that perform function similar to Deep Freeze, but for Ubuntu Linux. When Ofris is installed in Linux based computer it can be reset to the original condition within seconds just by restarting the computer. Thus if your computer is being used by many people and they keep on adding or deleting files, and change the settings, it can be reset to the original state just by restarting the computer. One can make default settings and go back to them every time the computer is started with Ofris. Ofris freezes all the changes made in the computer when the system is restarted.

Besides the public places, Ofris can also be very useful for the developers, software reviewers, people interested using different types of software etc. Such people can just freeze the computer and they can use any potentially dangerous software and check their various functions. When the computer is restarted everything resets to default state. Continue reading Ofris- An opensource alternative to Deep Freeze application

Installing dropbox on Ubuntu server

source: http://ubuntuservergui.com/ubuntu-server-guide/install-dropbox-ubuntu-server

This post will help you install the Linux Dropbox client on your headless Ubuntu Server and link it up to your Dropbox account. Unlike the process of mounting an S3 bucketwe looked at before the Dropbox approach is a much better solution for sharing files. If you’re a daily Dropbox user you’ll quickly get hooked on the convenience of having your servers in the same file sharing loop as all your other Dropbox connected devices!

Installing Dropbox

Start off by downloading the Linux version of Dropbox onto your server. These steps have been tested on Ubuntu Server 10.10 and 11.04.

Download the 32Bit Version

wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86"

Download the 64Bit Version

wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86_64"

If you unsure which version you need you can quickly check by running uname -a.

sudo uname -a

If the uname output has an i686 at the end you need the 32Bit version and if it has x86_64 you want the 64Bit version.

When you extract the Dropbox archive it will automatically place its files in the home directory of the the user you’re logged in as under: ~/.dropbox. You can always move these files later but its something to keep in mind.

Extract the Dropbox archive

tar -xzvf dropbox.tar.gz

Continue reading Installing dropbox on Ubuntu server

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.


Continue reading Linux Mint 11 released

How to install Photoshop in Ubuntu and LinuxMint

Written by Guest Post- Convexity @http://www.unixmen.com/


Photoshop is an important tool to many of us here. There are people who stick with Windows or Mac for gaining a native environment to use this tool on. For Linux users, there is Gimp, the perfect alternative to Photoshop . However, there are some users that are used for photoshop and they can not switch to Gimp for some reason..

Using wine to install Photoshop used to work fine upto Ubuntu version 10.04, but it now breaks for 10.10 and/or Natty.

This tutorial will show you the shortest way to install PS CS5 on the latest builds of Ubuntu available.

Things you’re going to need:

Let’s get started, shall we?

Continue reading How to install Photoshop in Ubuntu and LinuxMint