Re: how to set up nvme

Nicodemo Alvaro <[email protected]> Sun, 19 Apr 2026 05:51:56 +0000
Newsgroups gmane.linux.debian.ports.hurd
Message-ID <[email protected]>
On 4/12/26 15:55, Samuel Thibault wrote:
> Hello,
>
> [email protected], le dim. 12 avril 2026 19:49:32 +0000, a ecrit:
>> I read the comment by sthibaul on lwn.net. The post says to test the nvme
>> driver from rump.
> It also says that the nvme driver needs to be enabled inside rump.  That
> hasn't been done so far, so rump needs to be rebuilt with the driver
> enabled.
>
> Samuel

So I put the old nvme drive in my laptop and put the main nvme drive in 
an enclosure.

A few days ago, I attempted building the rumpkernel from the salsa 
repository and I am not sure if I enabled the nvme driver. It seems that 
the VM went too far and overwrote the boot record on the enclosure while 
I had it running a GNU/Linux operating system.

It didn't overwrite my important filesystems. I was wondering if this is 
possible for the guest VM from qemu to get access to the device on my host.

I believe I had been qemu running with the below command at the time:

qemu-system-x86_64 -m 3G -drive cache=writeback,file=$(echo 
debian-hurd-*img) -no-reboot -net user,hostfwd=tcp:127.0.0.1:2222-:22 
-net nic,model=e1000 -accel kvm -nographic

The internal nvme is not recognized even after the dd command with the 
new resulting image.

One of these days I get another USB drive I will attempt to install from 
a VM within a live USB image to ensure nothing gets overwritten.