On Fri, Dec 23, 2022 at 07:29:01PM -0800, David Christensen wrote: > debian-user: > > I have a SanDisk Ultra Fit USB 3.0 16 GB flash drive with Debian installed > on it EUFI, GPT, and Secure Boot. I use it for maintenance/ > trouble-shooting on newer computers. > > > When I boot the flash drive in a Dell Precision 3630 Tower that has Windows > 11 Pro installed on the internal NVMe drive, the internal PCIe NVMe drive is > not visible to Linux: > > 2022-12-23 19:16:13 root@bullseye ~ > # cat /etc/debian_version ; uname -a > 11.5 > Linux bullseye 5.10.0-19-amd64 #1 SMP Debian 5.10.149-2 (2022-10-21) x86_64 > GNU/Linux > > 2022-12-23 19:17:48 root@bullseye ~ > # lsblk > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > sda 8:0 1 14.9G 0 disk > |-sda1 8:1 1 953M 0 part /boot/efi > |-sda2 8:2 1 954M 0 part /boot > |-sda3 8:3 1 954M 0 part > | `-sda3_crypt 254:1 0 954M 0 crypt [SWAP] > `-sda4 8:4 1 11.2G 0 part > `-sda4_crypt 254:0 0 11.2G 0 crypt / > sr0 11:0 1 1024M 0 rom > > 2022-12-23 19:19:24 root@bullseye ~ > # l /dev/n* > /dev/null /dev/nvram > > /dev/net: > ./ ../ tun > > > STFW I see that the 'nvme' kernel module must be loaded. Doing so does not > resolve the issue: > > 2022-12-23 19:17:51 root@bullseye ~ > # modprobe nvme > > 2022-12-23 19:19:17 root@bullseye ~ > # lsmod | grep nvme > nvme 49152 0 > nvme_core 131072 1 nvme > t10_pi 16384 2 sd_mod,nvme_core > > 2022-12-23 19:19:21 root@bullseye ~ > # lsblk > NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT > sda 8:0 1 14.9G 0 disk > |-sda1 8:1 1 953M 0 part /boot/efi > |-sda2 8:2 1 954M 0 part /boot > |-sda3 8:3 1 954M 0 part > | `-sda3_crypt 254:1 0 954M 0 crypt [SWAP] > `-sda4 8:4 1 11.2G 0 part > `-sda4_crypt 254:0 0 11.2G 0 crypt / > sr0 11:0 1 1024M 0 rom > > 2022-12-23 18:46:19 root@laalaa ~/laalaa.tracy.holgerdanske.com > # l /dev/n* > /dev/null /dev/nvram > > /dev/net: > ./ ../ tun > > > The work-around is to change CMOS Setup -> System Configuration -> SATA > Operation from "RAID On: to "AHCI". The problem is that Windows needs the > former and it is a hassle to change the CMOS settings back and forth every > time I want to run Debian. If I change it to AHCI and forget to change it > back, Windows breaks. If and when I make this mistake on a client computer, > it will be very embarrassing. I want a portable Debian on a USB flash drive > or USB SSD to work on newer computers without changing the CMOS settings > that the factory set for Windows. > > > Comments or suggestions? > > > David
You've been hit by the Dell configuration of Windows on their hardware, I suspect. This was noted a couple of years back when people couldn't install Debian on Dell laptops. The answer is probably to switch it - to obtain the recovery media you need to reinstall Windows / just download the .iso, switch it to AHCI and install Windows like that. I think it's _just_ a Dell funny. Andy - who's just done somthing almost identical to a second hand Thinkpad - putting it back to manufacturer's original installation media to ensure that I could install it my way. (And you've reminded me that I probably need to write a blog post on how to get Debian and Windows dual booting nicely with Bitlocker on Windows) All the very best, as ever, Andy Cater >