Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
3
votes
5
answers
3494
views
Centos 7 and Windows 10 Dual Boot Grub Not Saving Last Choice
I have a dual boot system with CentOS 7 and Win10. My install was totally vanilla (CentOS then Win10) and went fine. Everything is great except that grub does not appear to save my "last" choice from the boot load menu. I dug through all the grub configuration files (e.g. `/boot/efi/EFI/centos/grub....
I have a dual boot system with CentOS 7 and Win10. My install was totally vanilla (CentOS then Win10) and went fine. Everything is great except that grub does not appear to save my "last" choice from the boot load menu.
I dug through all the grub configuration files (e.g.
/boot/efi/EFI/centos/grub.cfg
) and all the code seems there for recording the last choice.
My /etc/default/grub
shows:
GRUB_TIMEOUT=5
...
GRUB_DEFAULT=saved
...
GRUB_SAVEDEFAULT=true
Is there anything obvious I am missing or need to do to enable this?
My /etc/efi/EFI/centos/grubenv
never apperas to record the latest selection.
It always has:
saved_entry=CentOS Linux (3.10.0-327.el7.x86_64) 7 (Core)
##########[...snip...padding to 1k]
I can't see this file from a Windows boot, but I did test via the "rescue Centos entry".
I manually set the value in grubenv
to Windows Boot Manager (on /dev/sda2)
(the Windows entry) and this works out okay. However, booting back into CentOS fails to change it.
It just seems I am missing something to enable this "save the last choice" behavior. Any ideas?
Tim
(153 rep)
Apr 21, 2016, 06:34 PM
• Last activity: Aug 6, 2025, 09:00 AM
0
votes
1
answers
54
views
Linux user changed permissions and ownership of shared folder file not created by him
I am using Linux Mint and my workmates are using Windows. We've got a local, shared server (also Linux) for documentation files and a weird thing happened yesterday: a windows user created a file (`.odm`) and after I changed it, the ownership of the file changed to me and all the other users, includ...
I am using Linux Mint and my workmates are using Windows. We've got a local, shared server (also Linux) for documentation files and a weird thing happened yesterday: a windows user created a file (
.odm
) and after I changed it, the ownership of the file changed to me and all the other users, including the one who created it, had permission only to read it, although, initially (before I edited it) everyone could read, write and execute.
I don't know what information I need to give to make context clearer, but I'd like to understand how that happened. I mean, it seems very weird for a different user to be able to change permissions and ownership of a shared server's file.
The server is running samba, and all the clients are using that to access the files.
Bernardo Benini Fantin
(101 rep)
Aug 5, 2025, 11:07 AM
• Last activity: Aug 5, 2025, 10:31 PM
4
votes
3
answers
3726
views
Grub 2 os prober for windows 8
I'm trying to dual boot with fedora 20 and windows 8. I install first windows and then fedora. And grub detects windows automatically. So the default `\etc\grub.d\30_os-prober` for windows is this: case ${BOOT} in chain) onstr="$(gettext_printf "(on %s)" "${DEVICE}")" cat << EOF menuentry '$(echo "$...
I'm trying to dual boot with fedora 20 and windows 8.
I install first windows and then fedora. And grub detects windows automatically.
So the default menuentry which doesn't boot windows:
**What I've tried**
I created in my
\etc\grub.d\30_os-prober
for windows is this:
case ${BOOT} in chain)
onstr="$(gettext_printf "(on %s)" "${DEVICE}")"
cat << EOF
menuentry '$(echo "${LONGNAME} $onstr" | grub_quote)' --class windows --class os \$menuentry_id_option 'osprober-chain-$(grub_get_device_id "${DEVICE}")' {
EOF
save_default_entry | grub_add_tab
prepare_grub_to_access_device ${DEVICE} | grub_add_tab
case ${LONGNAME} in
Windows\ Vista*|Windows\ 7*|Windows\ Server\ 2008*)
;;
*)
cat << EOF
drivemap -s (hd0) \${root}
EOF
;;
esac
cat </etc/grub.d/40_custom
manually a menuentry
which works fine
menuentry "Windows" {
insmod part_gpt
insmod fat
insmod search_fs_uuid
insmod chain
search --fs-uuid --no-floppy --set=root your_UUID
chainloader (${root})/efi/Microsoft/Boot/bootmgfw.efi
}
So I try to adapt this for the \etc\grub.d\30_os-prober
and add replace the last part with this:
cat <
Sir l33tname
(459 rep)
Dec 18, 2013, 06:40 PM
• Last activity: Aug 5, 2025, 02:05 AM
1
votes
1
answers
2192
views
How to restore windows image created with dd?
I want to restore my windows image created with `dd` I used the command ``` dd if=/dev/nvme0n1 of="./$(date).img" status=progress ``` to create the image. There where four partitions in my `nvme0n1` ``` * EFI system * Microsoft reserved * mircosoft basic dat * Windows recovery environment ``` my gue...
I want to restore my windows image created with
dd
I used the command
dd if=/dev/nvme0n1 of="./$(date).img" status=progress
to create the image. There where four partitions in my nvme0n1
* EFI system
* Microsoft reserved
* mircosoft basic dat
* Windows recovery environment
my guess to use
dd if=./$(date).img of=/dev/sdaX bs=4m && sync
I was wondering what about the UUID of the partitions. Is there something I need to reconfigure.
A.Dumas
(485 rep)
May 28, 2021, 05:47 PM
• Last activity: Aug 4, 2025, 07:07 PM
1
votes
3
answers
2075
views
GRUB Windows not booting
I’m using Parrot OS in dual boot with Windows 10. One day Windows just stopped booting from GRUB with next error: ``` /EndEntire file path: /ACPI(a034d0,0)/PCI(1,1)/PCI(0,0)/UnknownMessaging(17)/HD(1,800,32000,f452754febf9674d,2,2) /File(\EFI\Microsoft\Boot)/File(bootmgfw.efi)/EndEntire error: canno...
I’m using Parrot OS in dual boot with Windows 10. One day Windows just stopped booting from GRUB with next error:
/EndEntire
file path: /ACPI(a034d0,0)/PCI(1,1)/PCI(0,0)/UnknownMessaging(17)/HD(1,800,32000,f452754febf9674d,2,2)
/File(\EFI\Microsoft\Boot)/File(bootmgfw.efi)/EndEntire
error: cannot load image.
I have tried using boot-repair to fix this but it didn’t help. Here is its log: http://paste.ubuntu.com/p/6SXYdWxwxh/
When I try to boot Windows directly from BIOS, the screen just blinks for a second and nothing happens. Linux is working fine.
have tried using boot-repair to fix this but it didn’t help. Here is its log: http://paste.ubuntu.com/p/6SXYdWxwxh/
Secure boot in BIOS is set to off.
hello_world
(11 rep)
Jan 24, 2022, 04:27 PM
• Last activity: Aug 2, 2025, 07:05 PM
1
votes
1
answers
754
views
Unable to detect Python kernels in VS Code Jupyter notebooks after migrating from Windows 11 to Arch Linux
### Environment Details - **Previous OS**: Windows 11 - **Current OS**: Arch Linux - **Desktop Environment**: KDE Plasma - **IDE**: Visual Studio Code (**OSS CODE**) - **Required Feature**: Jupyter Notebook support ## Issue Description After migrating from Windows 11 to Arch Linux, I'm unable to get...
### Environment Details
- **Previous OS**: Windows 11
- **Current OS**: Arch Linux
- **Desktop Environment**: KDE Plasma
- **IDE**: Visual Studio Code (**OSS CODE**)
- **Required Feature**: Jupyter Notebook support
## Issue Description
After migrating from Windows 11 to Arch Linux, I'm unable to get Jupyter notebooks working in VS Code. Specifically, VS Code cannot detect any Python kernels for the notebooks, preventing me from running any code.
## What I've Tried
### Attempt 1: Direct Installation
First, I attempted to install Jupyter directly using pip:
### Attempt 3: System Package Installation
I also attempted to install through pacman:
## System Configuration
- VS Code has the Python extension installed
- Python is installed and accessible from terminal
- Virtual environment is created but not being detected by VS Code
## Expected Behavior
VS Code should be able to:
1. Detect the Python interpreter in the virtual environment
2. List it as an available kernel for Jupyter notebooks
3. Allow running notebook cells using the selected kernel
## Actual Behavior
- No kernels are being detected
- Cannot run any notebook cells
- Kernel picker shows no available kernels
## Question
How can I properly configure VS Code to detect and use Python kernels for Jupyter notebooks on a fresh Arch Linux installation, considering the system package management restrictions?
pip install jupyter --break-system-packages
This resulted in an error about externally managed environment, which is expected behavior in Arch Linux.
### Attempt 2: Virtual Environment Setup
Then I tried setting up a virtual environment:
python -m venv .venv
source .venv/bin/activate
pip install jupyter
This is the result I got:
[harshal@quanta ~]$ python -m venv .venv
[harshal@quanta ~]$ source .venv/bin/ativate
bash: .venv/bin/ativate: No such file or directory
[harshal@quanta ~]$ ls
Desktop Documents Downloads Music Pictures Public sof-bin Templates Videos yay
[harshal@quanta ~]$ source .venv/bin/activate
(.venv) [harshal@quanta ~]$ code .
(.venv) [harshal@quanta ~]$
**Code** :

sudo pacman -S python-jupyter
This failed with "target not found: python-jupyter" error.
### Output of ls -al .venv
drwxr-xr-x 7 harshal harshal 4096 Dec 20 18:57 .
drwx------ 22 harshal harshal 4096 Dec 21 08:03 ..
drwxr-xr-x 2 harshal harshal 4096 Dec 20 18:57 bin
drwxr-xr-x 3 harshal harshal 4096 Dec 20 18:57 etc
drwxr-xr-x 3 harshal harshal 4096 Dec 20 17:33 include
drwxr-xr-x 3 harshal harshal 4096 Dec 20 17:33 lib
lrwxrwxrwx 1 harshal harshal 3 Dec 20 17:33 lib64 -> lib
-rw-r--r-- 1 harshal harshal 157 Dec 20 18:54 pyvenv.cfg
drwxr-xr-x 6 harshal harshal 4096 Dec 20 18:57 share
[harshal@quanta ~]$
## Current State
Even after these attempts, VS Code still cannot detect any Python kernels for Jupyter notebooks, as shown in the screenshot below:

Harshal Malani
(11 rep)
Dec 20, 2024, 12:51 PM
• Last activity: Jul 30, 2025, 01:45 PM
1
votes
1
answers
1723
views
Why does Windows 11 change the UEFI boot order?
I am dual booting a Dell Precision 7520 with Fedora 35 and Windows. Worked fine with Windows 10. "Up"graded to Windows 11 and now every time I boot into W11 it puts its own boot loader ahead of "fedora" in UEFI Setup. So every time after booting into W11, I need to hit F2 and reset the boot order in...
I am dual booting a Dell Precision 7520 with Fedora 35 and Windows. Worked fine with Windows 10. "Up"graded to Windows 11 and now every time I boot into W11 it puts its own boot loader ahead of "fedora" in UEFI Setup. So every time after booting into W11, I need to hit F2 and reset the boot order in the UEFI Setup.
I've developed a workaround, but it doesn't survive an update to W11's bootmgfw.efi file, nor an update to grub.cfg. Nevertheless, my solution means that I can go for many months without having to do it again. Here is my workaround:
1. boot into Linux
2. Make a backup of the MS Boot directory, just in case:
cd /boot/efi/EFI/Microsoft
cp -a Boot Boot.bak
3. Then do the following,
cd /boot/efi/EFI/Microsoft/Boot
cp -p bootmgfw.efi bootmgf2.efi
cp -p /boot/efi/EFI/fedora/grubx64.efi bootmgfw.efi
cd /boot/efi/EFI/fedora
cp -p grub.cfg grub.cfg.bak
4. Now edit grub.cfg and replace "bootmgfw" with "bootmgf2" (note that the real grub.cfg might be in /boot/grub2 rather than in /boot/efi/EFI/fedora)
5. reboot
Now when Windows 11 puts itself top of the list in the boot order, and boots its bootmgfw.efi, it is actually booting grubx64.efi, which loads grub.cfg. As mentioned, you'll have to repeat steps 3 and 4 when bootmgfw.efi and/or grub.cfg are updated. I turned the above into a script which I only have to run once every several months when W11 updates its bootmgfw.efi file.
Given the non-permanent nature of the above solution, is there a better solution? Note that after weeks of researching this problem, I came across a solution suggested by "Piotr" a few years ago to reset Windows "{bootmgr}" to \EFI\fedora\grubx64.efi, but that didn't work. Windows had no idea about \EFI\fedora...
Gordon
(31 rep)
May 17, 2022, 08:14 PM
• Last activity: Jul 27, 2025, 12:08 AM
0
votes
2
answers
66
views
Windows Boot Manager is overriding Fedora while booting
I am facing while dual-booting Windows and Fedora on my system. I have Fedora installed on an external SSD and Windows on the laptop's internal SSD. Every time I start my laptop, it directly boots into Windows. If I want to boot into Fedora manually, I have to press the esc button (I have a HP Pavil...
I am facing while dual-booting Windows and Fedora on my system. I have Fedora installed on an external SSD and Windows on the laptop's internal SSD. Every time I start my laptop, it directly boots into Windows. If I want to boot into Fedora manually, I have to press the esc button (I have a HP Pavillion laptop) while the laptop is loading to go to the boot menu, then start the UEFI-Fedora boot option, which then opens the Grub menu to choose Fedora. This is a very annoying issue, and I have tried almost all possible ways from YouTube, but they are not working and the Windows boot manager is opening by default. Please help me solve this problem.
cruxi5
(1 rep)
Jan 24, 2025, 05:12 AM
• Last activity: Jul 26, 2025, 11:48 PM
2
votes
1
answers
2087
views
Linux blocks file access from Windows (shared NTFS drive)
I have 2 OSs on my laptop: Windows 7 on its own NTFS partition and Debian Jessie on its own ext4 partition. I also have a separate NTFS partition for my data which is shared between OSs. In Debian my data partition is mounted automatically after boot using this line in /etc/fstab: UUID=4E2831122830F...
I have 2 OSs on my laptop: Windows 7 on its own NTFS partition and Debian Jessie on its own ext4 partition. I also have a separate NTFS partition for my data which is shared between OSs. In Debian my data partition is mounted automatically after boot using this line in /etc/fstab:
UUID=4E2831122830FA93 /media/data ntfs defaults,permissions 0 0
I need "permissions" here to be able to grant ownership of some folders and files to my user account (which doesn't have administrator's rights). Note that some time ago it was with "ntfs-3g", not "ntfs". I made this change hoping to solve the problem, but it didn't helped. So, the problem is:
When I open Windows, I do not have permissions to use any file in the folder for which I have changed permissions from root to my account in Debian. I always get "access denied". Note that my account on Windows have administrator's rights. In the properties of the folder I have troubles with, I can see that it is set to deny access for everyone. I tried to remove this setting and got "access denied" again. And I still can't access my files from Windows. I also see the setting to allow full control to "S-1-5-21-3141592653-589793238-462843383-12000". And the owner of the folder is "Account Unknown(S-1-5-21-3141592653-589793238-462843383-12000)"
I need to find a way to give the proper rights to my Windows account. How can I tell Debian that my accounts on Windows and Linux are of the same person and the two accounts are both owners?
I would be very happy to get help. Thank you in advance!
Alexandr Gnatyuk
(103 rep)
Nov 20, 2016, 02:48 PM
• Last activity: Jul 25, 2025, 12:04 AM
1
votes
1
answers
1469
views
How to remove/hide boot options in rEFInd bootloader screen?
[![image of my bootloader screen][1]][1] I'm using dual boot Windows 11 and Fyde OS. On my bootloader screen there are 3 other boot options which are not any OS, they are EFI and recovery partition. I want only Windows and Fyde OS boot logo on my bootloader screen. The boot manager is rEFInd boot ma...

sabertooth9153
(11 rep)
Apr 1, 2023, 08:45 AM
• Last activity: Jul 23, 2025, 07:20 AM
1
votes
1
answers
3394
views
How do I retain keyboard setup for my xrdp session?
Running RDP on my Win10 box against my Raspbian distro on an R4 with xrdp. My keyboard layout was not corresponding to my Norwegian keyboard. I followed the advice in https://unix.stackexchange.com/questions/99085/save-setxkbmap-settings to get the keyboard (Norwegian). `setxkbmap no` in a terminal...
Running RDP on my Win10 box against my Raspbian distro on an R4 with xrdp.
My keyboard layout was not corresponding to my Norwegian keyboard.
I followed the advice in https://unix.stackexchange.com/questions/99085/save-setxkbmap-settings to get the keyboard (Norwegian).
setxkbmap no
in a terminal fixes it. I also followed the advice and added that to ~/profile
.
Problem is my keyboard layout seems to be reset when the connection is broken (for what ever reason, network glitch, rebooting router after fiddling with some settings etc) or simply being inactive for a while even without the connection being broken.
Any takers?
Quick question. What's the difference between setxkbmap no
and setxkbmap -layout no
? Both seems to do the trick but both suffers from the same lack of permanency.
Brumlemannen
(11 rep)
May 26, 2020, 08:50 AM
• Last activity: Jul 22, 2025, 07:04 AM
0
votes
1
answers
2294
views
Bluetooth Pairing on Dual Boot of Windows & Linux Mint/Ubuntu - Stop having to Pair Devices - Not working
I've tried everything mentioned on the answers mentioned in the following post: https://unix.stackexchange.com/questions/255509/bluetooth-pairing-on-dual-boot-of-windows-linux-mint-ubuntu-stop-having-to-p But I've made no progress. A few details about my system: Keyboard: Logitech K380 (Bluetooth) D...
I've tried everything mentioned on the answers mentioned in the following post:
https://unix.stackexchange.com/questions/255509/bluetooth-pairing-on-dual-boot-of-windows-linux-mint-ubuntu-stop-having-to-p
But I've made no progress. A few details about my system:
Keyboard: Logitech K380 (Bluetooth)
Distributor ID: Ubuntu
Description: Ubuntu 20.04.2 LTS
Release: 20.04
Codename: focal
Windows 10 (Latest edition as of writing this post)
After changing my keys in linux to the ones from windows, the keyboard connects for a fraction of a second, before disconnecting, and I'm unable to understand why. My keyboard has 3 profiles that I can switch from and I tried all combinations of profile choice in windows and linux.
I've spent quite a few hours on this and any help would be appreciated. Please let me know if I am missing any details that might help.
Mehul Fadnavis
(1 rep)
May 12, 2021, 05:38 AM
• Last activity: Jul 19, 2025, 11:03 PM
4
votes
1
answers
323
views
POSIX-compliance of NMAKE
[NMAKE by Microsoft][1] comes with some components of Visual Studio. Is it POSIX-compliant? [1]: https://learn.microsoft.com/en-us/cpp/build/reference/nmake-reference
NMAKE by Microsoft comes with some components of Visual Studio. Is it POSIX-compliant?
Rāṣidu'l-Qamar
(43 rep)
Jul 19, 2025, 05:05 PM
• Last activity: Jul 19, 2025, 06:44 PM
7
votes
2
answers
5725
views
Windows partition not appearing when installing Linux Mint
I have a ~500gb hard drive that I intend to split 50/50 for Windows 10 and Linux Mint 17. The Windows partition is 232GB and the Linux partition is, at the moment, uncreated. When I run Mint off my pen drive and go to install it, it shows the hard drive as 500gb of 'free space'. I can't install beca...
I have a ~500gb hard drive that I intend to split 50/50 for Windows 10 and Linux Mint 17. The Windows partition is 232GB and the Linux partition is, at the moment, uncreated. When I run Mint off my pen drive and go to install it, it shows the hard drive as 500gb of 'free space'. I can't install because it will wipe my Windows install.
How can I get the partition to show in Mint?
Nanor
(195 rep)
Nov 13, 2014, 10:20 PM
• Last activity: Jul 18, 2025, 02:09 PM
2
votes
1
answers
3159
views
How can I fix crashed Cinnamon?
I get an error after logining to computer. It returns the message **Cinnamon just crashed. You are currently running in fallback mode. Do you want to restart Cinnamon?** I selected **Yes**, but it had still returned again popup and want to me select yes or no restart. This is my system informations:...
I get an error after logining to computer. It returns the message **Cinnamon just crashed. You are currently running in fallback mode. Do you want to restart Cinnamon?** I selected **Yes**, but it had still returned again popup and want to me select yes or no restart.
This is my system informations:
➜ ~ inxi -Fxz
System: Host: anchu-mint Kernel: 4.15.0-124-generic x86_64 bits: 64 gcc: 7.5.0
Desktop: Cinnamon 3.8.9 (Gtk 3.22.30) Distro: Linux Mint 19 Tara
Machine: Device: desktop Mobo: MSI model: H81M-P33 (MS-7817) v: 1.0 serial: N/A
BIOS: American Megatrends v: V1.7 date: 07/18/2014
CPU: Dual core Intel Core i3-4150 (-MT-MCP-) arch: Haswell rev.3 cache: 3072 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 13999
clock speeds: max: 3500 MHz 1: 1357 MHz 2: 1129 MHz 3: 1152 MHz 4: 1161 MHz
Graphics: Card: Intel 4th Generation Core Processor Family Integrated Graphics Controller bus-ID: 00:02.0
Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting (unloaded: fbdev,vesa)
Resolution: 1920x1080@60.00hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 4400 (HSW GT2)
version: 4.5 Mesa 20.0.8 Direct Render: Yes
Audio: Card Intel 8 Series/C220 Series High Definition Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.15.0-124-generic
Network: Card-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
driver: r8169 v: 2.3LK-NAPI port: e000 bus-ID: 02:00.0
IF: enp2s0 state: down mac:
Card-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter
driver: r8188eu v: v4.1.4_6773.20130222 usb-ID: 003-003
IF: wlxc46e1f1ef189 state: N/A mac: N/A
Drives: HDD Total Size: 250.1GB (38.1% used)
ID-1: /dev/sda model: ST250DM000 size: 250.1GB
Partition: ID-1: / size: 28G used: 25G (94%) fs: ext4 dev: /dev/sda8
ID-2: /boot size: 453M used: 431M (100%) fs: ext4 dev: /dev/sda7
ID-3: /home size: 69G used: 61G (93%) fs: ext4 dev: /dev/sda9
ID-4: swap-1 size: 4.00GB used: 0.00GB (0%) fs: swap dev: /dev/sda6
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 29.8C mobo: 27.8C
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 229 Uptime: 2:25 Memory: 3133.3/15919.2MB Init: systemd runlevel: 5 Gcc sys: 7.5.0
Client: Shell (fish) inxi: 2.3.56
My Linux desktop runs parallel Windows 7. I found some solutions to fix errors, examples: restart computer, or re-install Cinnamon (sudo apt-get install --reinstall cinnamon cinnamon-screensaver cinnamon-session cinnamon-session-common cinnamon-settings-daemon libcinnamon-control-center1 libcinnamon-menu-3-0 mint-meta-cinnamon
),... but not working.
What do I have to do? Is there any solutions that do not recovery system or I do not need to delete all data?
If you want to know anything, do not hesitate to ask me. Thank you so much.
Linh
(21 rep)
Nov 20, 2020, 09:27 AM
• Last activity: Jul 18, 2025, 12:00 AM
0
votes
0
answers
28
views
With NTFS-3G & permission control, how to avoid "Deny" permission being added which overrides permission of file owner?
When a logical NTFS partition is mounted on Linux using NTFS-3g + "permission" mounting option + UserMapping, I often found that "execution" permission of the same file may be different on Windows or Linux. E.g. an binary executed by "Peng Cheng" on Linux will look like this on Windows: [
tribbloid
(63 rep)
Jul 9, 2025, 04:55 PM
• Last activity: Jul 12, 2025, 04:56 AM
-1
votes
0
answers
38
views
Previous Pop! OS/Windows dual-boot broken after I removed the Windows drive
A couple years ago I set up a computer build with an ASUS motherboard for running POP! OS. Then, shortly afterward, I purchased a second hard drive, and I installed windows on it for a dual-boot, using windows bootloader. The problem, now, is the Windows drive got broken, and when I try to boot to j...
A couple years ago I set up a computer build with an ASUS motherboard for running POP! OS. Then, shortly afterward, I purchased a second hard drive, and I installed windows on it for a dual-boot, using windows bootloader. The problem, now, is the Windows drive got broken, and when I try to boot to just the POP! OS installation the only option to boot to in the BIOS is windows boot manager, and when I boot to it I get a blue screen, and some options, but no matter what option I choose, they all just reboot the system and repeat the process.
I am wondering is there a way I can revert to a normal boot using just the POP! OS grub as it was before? Someone else on this forum had a similar issue: https://unix.stackexchange.com/questions/688253/windows-breaks-bootloader-in-dual-boot-with-pop-os but their problem is currently unresolved. Any help is appreciated!
Random Linux User
(75 rep)
Jul 11, 2025, 12:25 PM
1
votes
2
answers
736
views
Virtualize Windows on Fedora and let Windows see real hardware
My question may be weird. I want to know if there is some virtual machine that lets me install Windows 7 under Linux and lets Windows use, as a virtual device, the same device that is really installed in my physical PC. I need to do that, because of a lot of Adobe software that I need for work and I...
My question may be weird. I want to know if there is some virtual machine that lets me install Windows 7 under Linux and lets Windows use, as a virtual device, the same device that is really installed in my physical PC.
I need to do that, because of a lot of Adobe software that I need for work and I can't switch to other software (even if I'd like to).
Maybe what I need could be something even simpler, like letting the virtual machine see the graphics card I have to get the full compatibility with the Adobe software and the OpenGL and DirectX drivers.
Actually I use VirtualBox to run Windows, and Fedora is my main OS.
The hardware that I need to share is as follows:
⠀CPU - Intel Core i7 990x (even only a subset of all the cores)
⠀GPU - Nvidia Quadro 2000
Andrea Rastelli
(121 rep)
Nov 25, 2013, 04:00 PM
• Last activity: Jul 9, 2025, 03:53 PM
-2
votes
0
answers
46
views
Deleting immutable distro
I was using windows and tried to install nixos on my external hard drive. After some problems with partitioning the drive stopped being bootable. I want to erase the drive and continue using it but windows does not let me do anything with it because it is read only now. Is there any way to reset it?
I was using windows and tried to install nixos on my external hard drive.
After some problems with partitioning the drive stopped being bootable. I want to erase the drive and continue using it but windows does not let me do anything with it because it is read only now. Is there any way to reset it?
Andrey Maerov
(1 rep)
Jul 8, 2025, 11:38 AM
-1
votes
1
answers
75
views
How do I thoroughly wipe a corrupted drive and reformat on Debian?
I bought a brand new 4TB Western Digital Blue HDD, which is connected to my NAS running Debian via usb with an external HDD enclosure. I used the following commands to setup the drive: (parted) mklabel gpt (parted) mkpart primary 0% 100% sudo mkfs.exfat -n 4tbBackup /dev/sdc It seemed to work okay o...
I bought a brand new 4TB Western Digital Blue HDD, which is connected to my NAS running Debian via usb with an external HDD enclosure.
I used the following commands to setup the drive:
(parted) mklabel gpt
(parted) mkpart primary 0% 100%
sudo mkfs.exfat -n 4tbBackup /dev/sdc
It seemed to work okay on the Linux machine, but when I plugged it into my Windows PC, it showed up under Disk Management as an unallocated 2048GB partition and another unallocated partition with the rest of the disk on it.
I tried switching to gdisk, and it immediately gave me this error:
GPT fdisk (gdisk) version 1.0.6
Warning: Partition table header claims that the size of partition table
entries is 0 bytes, but this program supports only 128-byte entries.
Adjusting accordingly, but partition table may be garbage.
Caution: invalid main GPT header, but valid backup; regenerating main header
from backup!
Warning: Invalid CRC on main header data; loaded backup partition table.
Warning! Main and backup partition tables differ! Use the 'c' and 'e' options
on the recovery & transformation menu to examine the two tables.
Warning! Main partition table CRC mismatch! Loaded backup partition table
instead of main partition table!
Warning! One or more CRCs don't match. You should repair the disk!
Main header: ERROR
Backup header: OK
Main partition table: ERROR
Backup partition table: OK
Partition table scan:
MBR: MBR only
BSD: not present
APM: not present
GPT: damaged
Found valid MBR and corrupt GPT. Which do you want to use? (Using the
GPT MAY permit recovery of GPT data.)
How can I totally reset the drive so that I can clear all of this header corruption out and reformat it safely to exFAT?
GeneralTully
(39 rep)
Jul 3, 2025, 05:50 AM
• Last activity: Jul 4, 2025, 02:28 AM
Showing page 1 of 20 total questions