Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-18-2022, 10:12 AM
|
#1
|
Member
Registered: Dec 2021
Location: Philadelphia
Distribution: Slackware, Endeavour
Posts: 32
Rep: 
|
NVME m.2 add-on card in X4 slot--drive Grub Error: device not found:"UUID number" then it boot into its /dev/nvme0n1p2 normally after 5 s?
I have Salient OS systemd arch 5.16.0-arch1-1 installed on primary hdd (works fine) and in process of switching to nvme on a pciex4 addon card. PC is legacy bios. I cannot install via live cd to nvme add-on partition it fails. It does however run after retore from hdd to nvme partition by clonezilla then tunefs the uuid and fix the fstab on nvme OS. Redo grub, redo grub on HDD which boots it. After selecting the nvme drive in grub, I continue to get the "error" device not found: (insert new NVME )UUID. Then the cursor flashes about 5 seconds followed by the normal "/dev/nvme0n1p2 clean...etc, etc." and the nvme boots up no problem. But why? The fstab on nvme drive has correct UUID, the grub.cfg looks correct uuid (also tried use partuuid for root in grub.cfg-no change) not sure what I am missing here or what file or journal PID to find clues? I also rebuilt initramfs (mkintcpio -p linux on nvme) seems to make no difference. If you would like to see a file content let me know which. If it matters the boot menu selection throwing this UUID device not found error is in the second partition of mbr nvme drive and has grub itself installed. On the first partition of the nvme M.2 is slackware current with no bootloader or grub files, no errors booting that from grub. Thanks
Last edited by Brian997; 01-18-2022 at 10:20 AM.
|
|
|
01-18-2022, 10:19 AM
|
#2
|
Moderator
Registered: Feb 2003
Location: Arizona, USA
Distribution: Debian, EndeavourOS, OpenSUSE, KDE Neon
Posts: 4,029
|
So, generally the PCIe riser cards are NOT supported as a bootable device by devices regardless of BIOS/UEFI, therefore why grub isn't seeing it. Normally what you'd need to do to have it work flawlessly is have some supported boot medium (SATA or onboard NMVe) with the MBR installed and the /boot partition on it, then the REST of the system could be on the riser card NVMe drive. I'm actually surprised it boots at all, to be completely honest, given that it sounds like the entire system is on there, with no /boot on a still internal drive.
Last edited by Timothy Miller; 01-18-2022 at 10:20 AM.
|
|
|
01-18-2022, 08:22 PM
|
#3
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,502
|
This smells like it could still be a UUID problem somewhere, in spite of all your reported activity. Initrds contain a UUID of the / filesystem when it was created. You may still need to regenerate the initrd and afterward grub.cfg or custom.cfg as appropriate if there was any cloning involved in preparing the NVME.
Try using root=LABEL on the kernel command line instead of root=UUID to see if it changes behavior.
Does your motherboard and chipset actually support booting from NVME on a PCIe card? What models are they?
|
|
|
01-18-2022, 10:35 PM
|
#4
|
Member
Registered: Dec 2021
Location: Philadelphia
Distribution: Slackware, Endeavour
Posts: 32
Original Poster
Rep: 
|
The motherboard is a Rampage III X58 ICH10R/Marvell Sata. It's got a W3960 overclocked with lots of ram, so I am not upgrading it for this. It's fast.
Thanks for the advice. I will run a test with a throwaway drive then clone it and keep the UUID intact. I am going to dig my heels in and ride it out a while since I have a good backup and the speed is nice. I think it may not pan out and I will ultimately move the boot to a sata SSD, time will tell. I tried running a debug on a truncated grub cfg, to watch what's going on, but debug=all is too much to see anything during the menu selection, and I don't know what names to put into the debug to narrow it. Docs are thin on that info. The actual drive boot logs are clean. Something is happening in the changeover and I think you are probably right about the UUID being left behind.
Last edited by Brian997; 01-18-2022 at 10:37 PM.
|
|
|
01-18-2022, 11:19 PM
|
#5
|
LQ Guru
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, OS/2, others
Posts: 6,502
|
Quote:
Originally Posted by Brian997
The motherboard is a Rampage III X58
|
Nothing anywhere near that old supports booting directly from NVME. You'll need some other storage device from which to initiate boot.
|
|
|
01-19-2022, 09:20 AM
|
#6
|
Member
Registered: Dec 2021
Location: Philadelphia
Distribution: Slackware, Endeavour
Posts: 32
Original Poster
Rep: 
|
Thanks, the issue is resolved now. I removed the feature platform search hints section. Root fs is set by partuuid elsewhere. What's happening is grub is in fact booting the SSD initrd and switching to the nvme for the root fs. It was difficult to know since the nvme is a clone.
Last edited by Brian997; 01-19-2022 at 10:48 AM.
|
|
|
01-19-2022, 11:58 AM
|
#7
|
Senior Member
Registered: Aug 2016
Posts: 3,345
|
I recently encountered a similar UUID problem. My drive had free space in front of the main LVM partition and /boot partition in the middle of the drive with free space after, so I could not expand the LVM into the remaining space.
I copied everything in the /boot partition into a new partition in front of the LVM partition then in order to boot properly and not have to mess with generating a new initrd image I simply recorded the UUID info from the original /boot, wiped out that by using tune2fs and creating a random UUID for the original /boot, and then assigned the original /boot UUID to the new partition and was done. It booted properly from the proper (new) /boot partition and I was then able to finish adjusting sizes as needed.
|
|
|
All times are GMT -5. The time now is 01:09 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|