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....
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 ...
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 (...
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 ...
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):
...
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 ...
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 ...
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}...
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
...
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-...
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 ...
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 ...
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 ...
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 : ...
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 ...
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
...
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 --...
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 ...
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' ...
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....
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 ...
13
votes
Chrome Policy List on Fedora
You can remove it by the line:
sudo dnf remove fedora-chromium-config
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.
...
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).
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/...
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 ...
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 ...
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 ...
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
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
fedora × 2260linux × 1291
boot × 154
gnome × 104
networking × 98
ubuntu × 93
virtualbox × 90
partitioning × 87
grub × 76
yum × 76
installation × 67
windows × 63
hard-drive × 53
multi-boot × 51
wireless-networking × 49
windows-7 × 46
ssh × 45
mount × 45
dnf × 45
bash × 42
usb × 42
windows-10 × 41
centos × 40
permissions × 39
kde × 38