162 votes

How can I install Linux and Windows 7 to run side by side, not requiring reboot?

There are two additional ways of running Windows and Linux side by side that you haven't mentioned in your question: You could install Windows Subsystem for Linux if you are running 64-bit Windows 10....
Sir Adelaide's user avatar
  • 4,959
53 votes

How can I install Linux and Windows 7 to run side by side, not requiring reboot?

I believe that the solution with the least overhead would be using Linux as your primary OS and using KVM (kernel-based virtual machine, not a KVM switch though that could be used as well) to ...
thnikk luquerm's user avatar
50 votes
Accepted

No more space in root filesystem, how could I increase the size?

Good news! pvscan shows PV /dev/sda10 VG fedora lvm2 [141.56 GiB / 77.56 GiB free] — so you should be able to add up to 77.56GiB to any of your filesystems. I'd suggest adding it in smaller blocks (...
mattdm's user avatar
  • 2,871
48 votes

Trying to unzip a file, 'Filename not matched' when the directory exists

You will also get that error if you try to unzip a whole directory of zips with a single command, like: unzip *.zip I found the solution on another site.  The * symbol must be escaped, so you should ...
dfasdfg's user avatar
  • 489
31 votes
Accepted

Reconstructing Windows EFI files in /boot partition (Linux+Windows dual boot)

Since you have copied all the required files to boot/efi/EFI/Microsoft/Boot, you need to rebuild Windows loader configuration. You will need a Windows bootable usb or dvd (64 bit will be preferable): ...
Manoj's user avatar
  • 816
30 votes

How to increase the visualized screen resolution on QEMU / KVM?

-vga virtio Using this option allows me to go all the way up to 4096 x 2160. Of course, this is useless since my display only goes up to 1080p, so I set 1080p. Then you can toggle fullscreen with Ctrl ...
Ciro Santilli OurBigBook.com's user avatar
29 votes
Accepted

How to start a systemd service after user login and stop it before user logout

Use systemd it already includes support for user sessions, in fact you should already depend on it (unwittingly). Create the service directory mkdir -p $HOME/.local/share/systemd/user Create edit a ...
anx's user avatar
  • 406
25 votes
Accepted

RPM build error: empty %files file debugfiles.list

In RPM, the order of sections and macros matters. Especially for the %define-s and %global-s ("global definitions"). Moving (or adding it if you don't already have it) the %global debug_package %{nil}...
Jakuje's user avatar
  • 10.3k
25 votes
Accepted

Why doesn't this softlink work as expected?

That is a documented feature. If you run bash via a symlink named sh, bash will start in sh compatibility mode. From man bash: If bash is invoked with the name sh, it tries to mimic the ...
John1024's user avatar
  • 16.9k
25 votes
Accepted

Hiding Virtual machine status from guest operating system

There are two things you need to do to hide the hypervisor from the guest OS: Hide the hypervisor CPU feature flag. Hide the hypervisor CPUID leaves. Neither of these can be done entirely in virt-...
Michael Hampton's user avatar
25 votes
Accepted

How can I change the number of kernels retained when updating in Fedora?

Edit the file '/etc/dnf/dnf.conf', changing the numeric value in installonly_limit=3 to a number of your choosing. Be aware that if you increase the number too high then you run the risk of filling ...
Jeff's user avatar
  • 769
22 votes

How to increase the visualized screen resolution on QEMU / KVM?

2021 Solution for virt-manager users Steps Open terminal virt-manager Open VM settings Go to "Video" tab Change to "Virtio" Run / restart VM Open settings in guest OS (eg I run ...
user3728501's user avatar
  • 2,774
21 votes

What does /dev/sda in Linux mean?

sd originates from the driver sd-mod. It literally stands for scsi disk. The reason (S)ATA disks are also listed as SCSI disks is, SCSI commands pretty much provides a superset of features that can ...
Tom Yan's user avatar
  • 9,643
21 votes
Accepted

How to open .rar file in fedora 23

Install the unar package. $ dnf info unar ... Name : unar Arch : x86_64 Epoch : 0 Version : 1.10.1 Release : 1.fc24 Size : 4.6 M Repo : @System From repo : ...
nawfel bgh's user avatar
17 votes

How to close or (unbind?) a port left open by a rogue application?

You can user the fuser command with the -k switch. For example, to close port 111, you can do the following: fuser -k 111/tcp (this also saves you the hassle of find the ID of the process to kill it ...
tony9099's user avatar
  • 383
17 votes

Get freshest metadata in dnf on Fedora

Just run dnf clean expire-cache first to make sure it validates the cache before using it or, even better, just add --refresh to your command because, as the manual page says: --refresh ...
TomH's user avatar
  • 3,174
16 votes

dnf remove wants to remove too many packages, many that are unrelated

If you'd like to keep as default the current behavior, and only stop autoremove for specific transactions, you can supply the --noautoremove argument to dnf remove as in: dnf remove package-name --...
Dani_l's user avatar
  • 261
15 votes
Accepted

Can I save these documents on a dying machine from oblivion?

here's an example libasound program with just enough definitions to get basic 2-channel 44.1k wav output going without the headers. EDIT: I'm actually not sure if straight up dumping the data as wav ...
Francesco Noferi's user avatar
15 votes
Accepted

From VMware and Fedora 29 ssh to remote machine cause Broken pipe

$ cat ~/.ssh/config Host * IPQoS=throughput After add such ssh configuration file, the problem disappears. Update: scp command have to use this way: $ scp -o 'IPQoS=throughput' ...
Lane Ouyang's user avatar
14 votes
Accepted

How to disable automatic updates on Fedora 25?

dnf is a background service that updates the repository metadata automatically. dnf makecache is scheduled to run after every reboot To disable dnf-makecache.service: systemctl disable dnf-makecache....
stefzeer's user avatar
  • 309
13 votes
Accepted

renaming network interface with systemd

At least on Debian stretch, it seems like you need to update-initramfs -u && reboot for *.link files in /etc/systemd/network/ to take effect for existing interfaces. It seems like the network ...
Tero Marttila's user avatar
13 votes

Chrome Policy List on Fedora

You can remove it by the line: sudo dnf remove fedora-chromium-config
AuroraRAS's user avatar
  • 131
12 votes

how can I make a USB stick bootable in EFI

The previous answer just includes a link to Ubuntu's instructions, so I'll summarize the steps. I've used these steps to create Ubuntu installation media for a Dell server configured for EFI boot. ...
GargantuChet's user avatar
12 votes

Trying to unzip a file, 'Filename not matched' when the directory exists

This exact command worked for me: unzip -o archive.zip -d /Users/current/Dev/tools/ Notice the combination of options -o & -d (destination/inflation path).
MusH's user avatar
  • 121
12 votes

How to move directories in Ranger?

I never needed ranger's native move command with being able to use the mv command on the ranger command line, to move the selected file or directory to a given directory, e.g.: shell -f mv %f /foo/...
mozerella's user avatar
  • 151
12 votes

Is it possible to download rpm files in Fedora for offline usage? (See description)

The dnf --downloadonly flag will pull down packages to the local cache without installing them. You can also use the dnf download command to download packages to the current directory (and you can do ...
mattdm's user avatar
  • 2,871
11 votes

pavucontrol shows Line-out as unplugged when Headphones are plugged in

Open up alsamixer. Then press F6 to select your sound card, most likely ending with PCH. Scroll right till you find the Auto-Mute option. Press up or down arrow to disable it. Press Esc to quit ...
Vishal Biswas's user avatar
11 votes

Can I be hacked by just clicking on an image in email?

In most cases, no. In older, unpatched systems, maybe, or using very specific exploits in very specific formats. With most modern OSes, such exploits are proactively patched, and most systems have ...
Journeyman Geek's user avatar
  • 129k
11 votes

Xrandr not recognizing '-HSync' as an option

Remove the "Modeline" part: sudo xrandr --newmode "5120x2880_60.00" 1276.50 5120 5560 6128 7136 2880 2883 2888 2982 -hsync +vsync
illogicalheatmap's user avatar
11 votes

How can I install Linux and Windows 7 to run side by side, not requiring reboot?

As all the other answers to this question have mentioned, virtualization is the way to go. One way to minimize the performance penalty would be to run Windows as your primary OS, and virtualize a ...
Kryten's user avatar
  • 241

Only top scored, non community-wiki answers of a minimum length are eligible