FG
šŸ’» Software

How crazy is "sudo qemu -hda /dev/sda"(mounting host's sda as client's hda)?

Fresh7 days ago
Mar 15, 20264772 views
Confidence Score0%
0%

Problem

I was playing with qemu on Linux when I discovered that I could just run And it would boot up my system again! I closed qemu immediately after Grub was loaded successfully though, because the command is run using and I was afraid it would damage my . Could anyone explain how dangerous this could be?

Error Output

sudo qemu -hda /dev/sda

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How crazy is "sudo qemu -hda /dev/sda"(mounting host's sda as client's hda)?

Low Risk

I would say it is incredibly dangerous. You are right in your supposition that it would likely damage your /dev/sda. Two systems accessing the same block device, each with their own cache and buffers, will definitely mean that each has a different i…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment