Disable NVME drive in Live session?
-
- Posts: 12
- Joined: Mon Jun 15, 2020 1:35 am
Disable NVME drive in Live session?
Hi, I wanted to know if there is a way to disable a drive in the Live session so that the installer and gparted will not detect the drive.
I'm just asking because it is tedious to physically remove a NVME drive and there is no option to disable it in bios.
I'm just asking because it is tedious to physically remove a NVME drive and there is no option to disable it in bios.
AMD Ryzen 5 1600, Asus X370 ROG Strix, 16GB RAM, Adata SX8200 NVME,
Plextor M5S SSD, GeForce GTX 1660 Super, MX 19.2_ahs
Plextor M5S SSD, GeForce GTX 1660 Super, MX 19.2_ahs
Re: Disable NVME drive in Live session?
Unmount it in Thunar or gparted.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.
- dolphin_oracle
- Developer
- Posts: 22123
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Disable NVME drive in Live session?
why do you need to remove the nvme drive?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
-
- Posts: 12
- Joined: Mon Jun 15, 2020 1:35 am
Re: Disable NVME drive in Live session?
Thanks. I'll try that.
It has my Windows installation and I don't want to mess it up like I did before.
AMD Ryzen 5 1600, Asus X370 ROG Strix, 16GB RAM, Adata SX8200 NVME,
Plextor M5S SSD, GeForce GTX 1660 Super, MX 19.2_ahs
Plextor M5S SSD, GeForce GTX 1660 Super, MX 19.2_ahs
- dolphin_oracle
- Developer
- Posts: 22123
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Disable NVME drive in Live session?
10-4 gotcha. quick tip...if the partitions on your windows drive are labeled, those labels will show up in the installer custom install partition selection boxes.byterhythm wrote: Sun Nov 15, 2020 10:58 pmThanks. I'll try that.
It has my Windows installation and I don't want to mess it up like I did before.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
-
- Posts: 12
- Joined: Mon Jun 15, 2020 1:35 am
Re: Disable NVME drive in Live session?
Thanks for the tip. I got confused with the ESP partition when I first installed MX and it installed the boot loader in the NVME drive.dolphin_oracle wrote: Sun Nov 15, 2020 10:59 pm
10-4 gotcha. quick tip...if the partitions on your windows drive are labeled, those labels will show up in the installer custom install partition selection boxes.
AMD Ryzen 5 1600, Asus X370 ROG Strix, 16GB RAM, Adata SX8200 NVME,
Plextor M5S SSD, GeForce GTX 1660 Super, MX 19.2_ahs
Plextor M5S SSD, GeForce GTX 1660 Super, MX 19.2_ahs
Re: Disable NVME drive in Live session?
This will only hide it in the actual live session, not in the installer, fyi.
Please read the Forum Rules, How To Ask For Help, How to Break Your System and Don't Break Debian. Always include your full Quick System Info (QSI) with each and every new help request.
-
- Posts: 12
- Joined: Mon Jun 15, 2020 1:35 am
Re: Disable NVME drive in Live session?
If I delete the files
Will that have the effect of disabling the drive?
Code: Select all
/dev/nvme0n1
/dev/nvme0n1p1
/dev/nvme0n1p2
AMD Ryzen 5 1600, Asus X370 ROG Strix, 16GB RAM, Adata SX8200 NVME,
Plextor M5S SSD, GeForce GTX 1660 Super, MX 19.2_ahs
Plextor M5S SSD, GeForce GTX 1660 Super, MX 19.2_ahs
- dolphin_oracle
- Developer
- Posts: 22123
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Disable NVME drive in Live session?
I have never tried such a thing, but its generally frowned upon to remove things from /dev manually.byterhythm wrote: Mon Nov 16, 2020 7:20 am If I delete the files
Will that have the effect of disabling the drive?Code: Select all
/dev/nvme0n1 /dev/nvme0n1p1 /dev/nvme0n1p2
you could try doing a udev poweroff on the device. That might work.
Code: Select all
udisksctl power-off -b /dev/whatever
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
-
- Posts: 12
- Joined: Mon Jun 15, 2020 1:35 am
Re: Disable NVME drive in Live session?
I tried it but it's telling me that its not a usb device.dolphin_oracle wrote: Mon Nov 16, 2020 8:27 am
I have never tried such a thing, but its generally frowned upon to remove things from /dev manually.
you could try doing a udev poweroff on the device. That might work.
Code: Select all
udisksctl power-off -b /dev/whatever
I eventually tried manually deleting the block device files in /dev/. I just wasnt sure what the outcome will be when I deleted them but that seemed to have completely disabled the device in the system. Gparted and the MX installer did not detect the drive.
AMD Ryzen 5 1600, Asus X370 ROG Strix, 16GB RAM, Adata SX8200 NVME,
Plextor M5S SSD, GeForce GTX 1660 Super, MX 19.2_ahs
Plextor M5S SSD, GeForce GTX 1660 Super, MX 19.2_ahs