Use this tag for interoperability with Windows (dual boot, virtual machines, mixed networks, porting software, …)

learn more… | top users | synonyms

5
votes
2answers
16k views

Bash/Korn shell script edited on Windows throws error '…^M: not found'

Some background on the issue: I am new to scripting and wrote a simple Bash script in Windows using Notepad++. cxStopAllServicesOnSERVER.sh #!/usr/bin/bash cd "/some/path" echo "Hi. Logs can be ...
3
votes
2answers
2k views

Shell script works when saved with nano but not when saved with Notepad++

I've been working on a bash script all day and have been testing on the machine I will be using it on. When I copy the script across from Notepad++ into a new file with nano editor inside SSH and ...
9
votes
1answer
1k views

How do I get the creation date of a file on an NTFS logical volume?

I created an NTFS logical volume on my Linux system for Windows file storage because I want to retain the creation date of my files (I would probably zip them into an archive and then unzip them, ...
12
votes
2answers
20k views

Why does Linux have poor battery life by default compared to Windows?

Is there something inherent to Linux operating systems that makes them poor managers of battery power by default? I would have thought a light distro like Lubuntu would have a clear battery life ...
17
votes
1answer
3k views

What is Linux doing differently that allows me to remove/replace files where Windows would complain the file is currently in use?

The example I have is Minecraft. When running Bukkit on Linux I can remove or update the .jar files in the /plugins folder and simply run the 'reload' command. In Windows, I have to take the whole ...
14
votes
2answers
121k views

Boot windows from grub rescue command prompt

Previously I had installed the Ubuntu 10.04 and Windows 7. Now I logged on to Windows, opened thepartition editor and deleted the volume containing the Ubuntu (Thought it will delete the Ubuntu and ...
6
votes
2answers
5k views

How do I share internet with Windows from my Linux box?

I have a Linux (Ubuntu 12.04) PC connected to the internet with a Greenpacket WiMax USB modem. I want to share the Internet connection with another computer running Windows 7 Home Premium, connected ...
19
votes
1answer
20k views

Can GRUB2 share the EFI system partition with Windows?

I have an existing Windows 7 GPT installation, which already has a EFI System partition. I am now trying to install a Linux on a separate harddisk, which is also GPT formatted. I did not find any ...
16
votes
9answers
32k views

Best way to use a shell with Cygwin in Windows 7

I installed Cygwin, to be disappointed that bash by default runs within "cmd.exe". I googled around and found Console2. It's not a particularly well-designed application, as doing adjustments is ...
10
votes
1answer
10k views

Dual boot windows on second harddrive, UEFI/GPT system

I'd like to install linux, but I don't want to risk damaging my current windows installation as I have heard a lot of horror stories. Fortunately, I have an extra hard drive. Can I install linux ...
5
votes
3answers
8k views

How to share files between Linux and Windows?

I am wondering, is there any way to easily share a folder between Linux and Windows?
2
votes
4answers
13k views

Running bash script on a remote Windows Machine

I am planning to run a bash script on a remote Windows system from my local Linux machine. For this purpose, I will have to log in to Windows machine from the local one and then execute the bash ...
5
votes
3answers
507 views

Which filesystem to use for a partition shared with a parallel windows instalation?

On my new PC I want to install both Linux and Windows, each on their own rather small partition, and put the big rest of the 1 TB HDD in a further partition (plus swap). Which filesystem should I use? ...
4
votes
2answers
11k views

Accessing Linux server from Windows machine in graphical mode via SSH

I need to access one of my school Linux servers from my home computer that runs Windows. And I need to access graphical desktop (X server) on them remotely, not only shell. The problem includes 3 ...
4
votes
3answers
2k views

How to get list of computers similar to what is shown under “Network” in Windows

In Windows 7 when I click on Network I get a list of computers with the same workgroup of mine. But in Fedora when I click on Network I just get a single item Windows Network and I can't see the ...
1
vote
3answers
25k views

How to create a bootable USB with Windows?

How would I go about creating a CentOS 7 bootable USB drive with Windows? I've read the howto page for it and it says that Unetbootin and Universal USB installer won't work for CentOS 7. In addition, ...
1
vote
1answer
11k views

How to recover the partition table (Windows, Ubuntu) of an unallocated disc?

The following screenshot shows the current state of my hard disc. The unallocated part of the disc used to contain two operating systems: Windows and Ubuntu, in this order. Windows has been ...
5
votes
2answers
788 views

FreeBSD and Windows show different times

In a dual-boot system, I usually use FreeBSD 9 but when I boot to Windows 7 my system time in both OS automatically change and show incorrect time. What's the problem and How can I solve it?
2
votes
2answers
2k views

centos 7 dual boot with windows 8.1

How do I install CentOS 7 alongside Windows 8.1 to create a dual boot machine? I did this easily enough on a Windows 7 machine using pendrivelinux. But that approach is resulting in a failure to ...
2
votes
0answers
3k views

“xrandr: Failed to get size of gamma for output default” for Guest CENTOS 6.6, HOST OS Windows 7 enterprise

I am getting the following errors: xrandr: Failed to get size of gamma for output default Screen 0: minimum 640 x 480, current 1024 x 768, maximum 1024 x 768 default connected 1024x768+0+0 0mm ...
2
votes
0answers
216 views

How to access Win7 on a dual boot machine?

I've been dual booting Win7 and Ubuntu for about 4 months and I got on it today to change the default boot on grub, because my girlfriend kept getting locked out when it reboots and, by default, goes ...
2
votes
1answer
2k views

virt-install complains “error: no such option: --network-bridge:br0”

I was following the directions here to set up a VM in CentOS 6.4 i386/686. But I'm getting this error: $ sudo virt-install --network-bridge:br0 --name vm1 --ram=1024 --vcpus=1 --disk ...
2
votes
2answers
2k views

Can't mount EXT4 hard drive after mounting it in windows

I have a 2TB Western external HDD. Its original filesystem was NTFS but I formatted it to EXT4. I had no problem in Linux; But today after I mounted it using ext2fsd in a windows box, I cant mount it ...
1
vote
3answers
4k views

After reinstalling Linux Mint, Windows 7 does not boot

Final edit: I tried each and every single fix on the question, but I ended up just restoring an image I made a year ago of the freshly installed system using clonezilla. After that, I ran rescatux to ...
1
vote
1answer
96 views

Dual booting Kali Linux and Windows

I need to dual boot my pc. Kali & Windows. I have Windows installed. I just created a 50 GB partition for the Linux install and when I get to the partitioning section of the Kali installation, it ...
0
votes
1answer
776 views

Accessing file from the Windows host in a VirtualBox virtual machine

I am running Ubuntu 14.04 as the guest operating system in a VirtualBox virtual machine. The host runs Windows 8 (24GB). I want to access a folder of the host inside the guest. Since the source is ...
0
votes
2answers
8k views

Problem Windows 8.1 Ubuntu 14.04 dual boot

I installed Ubuntu 14.04 on a computer that has Windows 8.1 preinstalled, following the next link http://itsfoss.com/install-ubuntu-1404-dual-boot-mode-windows-8-81-uefi/ Now I can not dual boot. ...
0
votes
3answers
1k views

After removing linux Grub error

I have a dual boot Windows & Linux system. I removed the Linux partition, but after that I am not able to go in to Windows XP. It is not booting. It gives me a GRUB error.
13
votes
2answers
22k views

How do you make samba follow symlink outside the shared path

This is Ubuntu server 10.04 64 and samba 3.4.7. I have a shared directory /home/mit/share and another one /home/temp that I link into the shared one: ln -s /home/temp /home/mit/share/temp But on ...
26
votes
3answers
20k views

File system compatible with all OSes?

I use Linux and Mac OS X on a regular basis, and sometimes I have to use Windows. I need to use a flash drive on all three, and I need a filesystem that will work well on all of them. None of the ...
8
votes
5answers
10k views

Dual monitors and panels

I have a question with regard to a multiple monitor setup. I'm currently primarily a Windows user, but I've been running Ubuntu in dual boot to get a feel for it. The one thing I find lacking that ...
21
votes
5answers
3k views

Does installing and using Wine open up your Linux platform to Windows viruses?

Just wondering if installing Wine might open up a fairly solid Linux desktop to the world of Windows viruses. Any confirmed reports about that? Would you then install a Windows antivirus product ...
8
votes
3answers
8k views

Sharing folder from Windows Host to Freebsd Guest

First of all, let me say that though I use Linux (Red Hat, at work) regularly, I am a complete beginner when it comes to actually administrating it. What I am trying to accomplish: I have (at home) ...
6
votes
2answers
46k views

How to start a windows partition from the Grub command line?

I have Windows 7 installed on my system. After I installed Windows 7, I installed Fedora on a separate partition so that I could dual boot. I removed Fedora by deleting the partition it was installed ...
8
votes
2answers
52k views

Need to boot Windows 7 from Grub rescue command prompt

I booted my computer today and found the Grub rescue command prompt. I have been given this computer and it has Linux and windows 7 on it, but I have only ever used the windows section. I have no idea ...
5
votes
1answer
12k views

How to execute Windows commands remotely from Linux machine using rdesktop command?

Is it possible to run Windows commands using rdesktop tool in Linux? I tried with rdesktop -s option: rdesktop -u user -p 10.0.0.2 -s "cmd.exe" but I'm not able to open the cmd.exe using the above ...
5
votes
6answers
11k views

Mounting a hibernated Windows 8 NTFS partition on Linux Mint

I used Ubuntu for long even along Windows and SOMETIMES I got this problem for mounting the corresponding NTFS partition at the beginning, however with a pair of command lines to the console I got it ...
3
votes
1answer
4k views

How to install windows 7 after fedora 16 [closed]

I have Fedora 16, but I want to play games, and I´m considering installing Windows 7. I need to be able to dual boot these two OS. Is there something special I´m supposed to do, or it will work like ...
4
votes
3answers
2k views

ntldr.mod missing from GRUB2

I use Debian Wheezy on EFI motherboard and need ntldr module in GRUB2 to load bootmgr of Windows 7 installer, because the way it starts on its own (apparently, using the boot sector of the USB flash ...
4
votes
2answers
3k views

How can I force codepage/locale (different from my Linux system locale) for non-Unicode Wine applications?

I prefer using English locales for my system, but have to use some old Unicode-unaware Russian and Czech applications. In Windows I could set a locale for such applications in a separate Control Panel ...
3
votes
3answers
6k views

Using winexe to run “wmic” commands on a Windows machine

We use winexe to execute commands on our Windows machines from Linux. For example: winexe -A authfile //syspc4.domain.com "ipconfig /all" Expectedly the above prints out the same thing as if you ...
3
votes
3answers
8k views

How can I prevent Windows from overwriting GRUB when using a dual-boot machine

I've been reading a lot about dual-booting, and it seems as easy as loading Windows and then loading Linux with GRUB, but everybody says that Windows loves to trash GRUB when it gets the opportunity. ...
3
votes
3answers
755 views

How do I choose between Unix / Linux and Windows in a Server environment?

I need a server, and I'm used to windows at home and in the office, but it seems that Unix / Linux is an option, but I don't really know what it is. I don't know which one to get, how do I choose? ...
2
votes
0answers
273 views

racoon IPSec/L2TP Client

I am trying to configure a racoon IPSec/L2TP client to connect a Windows 2003 server. The server is originally intended to be used with Windows XP clients (successfully tested with Windows XP SP3 but ...
2
votes
1answer
333 views

Mount linux mount in windows (without ftp)?

I successfully mounted my external hard drive (ntfs) to /mnt/seagate. I'm using debian and the server is connected over LAN to my PC. So how can I mount my hard drive in my windows explorer without ...
2
votes
2answers
410 views

How Can I Back Up Win7 Before Installing Mint Alongside It

Don't get me wrong, I understand how to install Mint alongside Win7. However, I am wondering how to backup my Windows installation due to the fact that Win7 was preinstalled on my computer and, as ...
2
votes
1answer
939 views

Use Linux to read contents of Windows encrypted folder

Windows allows the selective encrypting of certain files or folders. I currently have a Windows folder that is set to "encrypt contents to secure data". (The Windows partition is NTFS.) If I mount ...
1
vote
1answer
59 views

Grub2 and windows10 woes

The relevant windows drive install is: Disk /dev/sde: 465.8 GiB, 500107862016 bytes, 976773168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O ...
1
vote
1answer
741 views

What precautions should I take running Windows 7 on a VM on Linux?

I'm thinking of running Windows 7 on a virtual machine on VirtualBox on top of Linux, so that Windows is sort of a "self-contained sandbox" (especially in terms of data storage) for things that ...
0
votes
1answer
3k views

Want Windows to boot instead of Grub

So when I turn my computer on, Grub rescue boots up. I have finally figured out how to get into Windows, but now I want to skip the step of entering the information into Grub to get into windows. How ...