LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-11-2022, 08:35 PM   #1
smsuil
LQ Newbie
 
Registered: Nov 2022
Posts: 19

Rep: Reputation: 0
BIOS can't detect NVME SSD


Hi all

OS - Ubuntu 22.04 desktop

My old 1TB Samsung NVME Gen 3 SSD runs out of space. I bought a new 2TB Samsung NVME Gen 3 SSD. Just cloned the old 1TB drive on the new 2TB drive running pvmove. Installation went through without problem.

But after finish, on reboot the motherboard BIOS can't detect it. on Terminal lsblk can find the new 2TB drive.

$ lsblk
Code:
NAME    MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0     7:0    0     4K  1 loop /snap/bare/5
loop1     7:1    0  55.6M  1 loop /snap/core18/2566
loop2     7:2    0  55.6M  1 loop /snap/core18/2620
loop3     7:3    0  63.2M  1 loop /snap/core20/1623
loop4     7:4    0  63.2M  1 loop /snap/core20/1695
loop5     7:5    0 400.8M  1 loop /snap/gnome-3-38-2004/112
loop6     7:6    0 346.3M  1 loop /snap/gnome-3-38-2004/119
loop7     7:7    0  91.7M  1 loop /snap/gtk-common-themes/1535
loop8     7:8    0  81.3M  1 loop /snap/gtk-common-themes/1534
loop9     7:9    0    83M  1 loop /snap/scrcpy/386
loop10    7:10   0  45.9M  1 loop /snap/snap-store/582
loop11    7:11   0  45.9M  1 loop /snap/snap-store/599
loop12    7:12   0    48M  1 loop /snap/snapd/17029
loop13    7:13   0    48M  1 loop /snap/snapd/17336
loop14    7:14   0   284K  1 loop /snap/snapd-desktop-integration/14
sda       8:0    0 465.8G  0 disk 
├─sda1    8:1    0   512M  0 part /boot/efi
└─sda2    8:2    0 465.3G  0 part /
nvme0n1 259:0    0   1.8T  0 disk
Please help. Thanks in advance.

Regards
 
Old 11-11-2022, 08:54 PM   #2
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,869
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Just a few days ago I upgraded from 120G NVME to 500G NVME, but my trouble was somewhat different, depending on your exact meaning of "can't find", and how exactly you "cloned". Can't find was my initial problem. Here's the mailing list thread you may wish to read through.
 
Old 11-11-2022, 09:19 PM   #3
smsuil
LQ Newbie
 
Registered: Nov 2022
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by mrmazda View Post
Just a few days ago I upgraded from 120G NVME to 500G NVME, but my trouble was somewhat different, depending on your exact meaning of "can't find", and how exactly you "cloned". Can't find was my initial problem. Here's the mailing list thread you may wish to read through.
Hi,

Thanks for your reply.

Cloning went through without complaint

sudo pvmove /dev/nvme1n1p2 /dev/nvme0n0
Code:
...
  /dev/nvme1n1p2: Moved: 60.53%
  /dev/nvme1n1p2: Moved: 62.11%
  /dev/nvme1n1p2: Moved: 63.68%
  /dev/nvme1n1p2: Moved: 91.33%
  /dev/nvme1n1p2: Moved: 95.97%
  /dev/nvme1n1p2: Moved: 99.90%
  /dev/nvme1n1p2: Moved: 100.00%
$ lsblk -f | grep nvme1
Code:
nvme1n1             LVM2_member LVM2 001       yxVkpN-FbNF-HsAM-APTr-R2J6-YxR2-wmdoMj
$ blkid | grep nvme1
no output

2 years ago I cloned a 500G SATA3 SSD onto a 1TB SATA3 SSD running "dd". It went through without problem. I succeeded upgrading the SSD.

This time I tried something new in order to learn. "pvmove" is completely new to me.

Pls inform what method you ran to upgrade your SSD?

Regards

Last edited by smsuil; 11-11-2022 at 10:18 PM.
 
Old 11-11-2022, 09:31 PM   #4
mrmazda
LQ Guru
 
Registered: Aug 2016
Location: SE USA
Distribution: openSUSE 24/7; Debian, Knoppix, Mageia, Fedora, others
Posts: 5,869
Blog Entries: 1

Rep: Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074Reputation: 2074
Pvmove I have no experience with, but I would expect it to apply to copying or moving LVM volumes only. Your pvmove /dev/nvme1n1p2 /dev/nvme0n0 would have copied from a partition on an NVME to an unpartitioned NVME directly, not something my intuition says is likely to be supported. Without knowing the partitioning of either source or target it's pretty hard to guess what else could be errant.
 
Old 11-12-2022, 04:00 AM   #5
lvm_
Member
 
Registered: Jul 2020
Posts: 973

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The fact that linux cannot see partitions on a new disk (nvme0n1 259:0 0 1.8T 0 disk) is a clear indication that cloning went horribly wrong. But there is more: pvmove is not only the wrong tool for the job used in the wrong way, as was already noted, it is a tool that *moves* LVM extents, so now your source data on the old disk could be gone. Before you proceed with the cloning proper, stop and check the health of your 'old' system. Caveats: assuming the source was an LVM volume, also I was never interested in how thoroughly pvmove cleans up the source, data there is probably recoverable and maybe even accessible, but better to be safe than sorry. After that - https://www.google.co.uk/search?hl=e...one+disk+linux
 
Old 11-12-2022, 06:38 AM   #6
smsuil
LQ Newbie
 
Registered: Nov 2022
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by lvm_ View Post
The fact that linux cannot see partitions on a new disk (nvme0n1 259:0 0 1.8T 0 disk) is a clear indication that cloning went horribly wrong. But there is more: pvmove is not only the wrong tool for the job used in the wrong way, as was already noted, it is a tool that *moves* LVM extents, so now your source data on the old disk could be gone. Before you proceed with the cloning proper, stop and check the health of your 'old' system. Caveats: assuming the source was an LVM volume, also I was never interested in how thoroughly pvmove cleans up the source, data there is probably recoverable and maybe even accessible, but better to be safe than sorry. After that - https://www.google.co.uk/search?hl=e...one+disk+linux
Hi,

Thanks for your advice.

The source 1TB NVMe SSD is still able to work.

Then I ran;
$ sudo dd if=/dev/nvme1n1 of=/dev/nvme0n1 bs=64K conv=noerror,sync

Installation went through without complaint. Unfortunately after finish both the source and target SSDs are unable to boot. They only show a dark screen;
grub>

Please advise how to fix the problem? I have Ubuntu 22.04 boot USB

Thanks in advance

Regards
 
Old 11-12-2022, 07:37 AM   #7
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,150
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Looks like the same as this one.
https://www.linuxquestions.org/quest...em-4175718708/

Guess I answered the wrong one.
 
Old 11-14-2022, 08:26 AM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 22,011

Rep: Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629Reputation: 3629
Might boot to efishell for more clues?
Yes, the clone part is suspect.

Last edited by jefro; 11-14-2022 at 08:30 AM.
 
Old 11-14-2022, 09:15 AM   #9
colorpurple21859
LQ Veteran
 
Registered: Jan 2008
Location: florida panhandle
Distribution: Slackware Debian, Fedora, others
Posts: 7,386

Rep: Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594Reputation: 1594
Quote:
Looks like the same as this one.
I think it is also, which is marked solved
 
Old 11-14-2022, 09:38 AM   #10
smsuil
LQ Newbie
 
Registered: Nov 2022
Posts: 19

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jefro View Post
Might boot to efishell for more clues?
Yes, the clone part is suspect.
Hi

Thanks for your advice.

Problem solved as follow;

Restore the backup image of the old 1TB NVME SSD on the new 2TB NVME SSD. The backup image was created before running pvmove. Now Ubuntu 22.04 on the new 2TB NVME SSD can be started.

But there is any problem generated. The storage size of Ubuntu 22.04 is only 1TB on the new 2TB NVME SSD. Please see my another posting on;

How to increase the disc space
https://www.linuxquestions.org/quest...52#post6392252

Thanks

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Slackware 15 - NVME clone to external NVME - Boot problem from external NVME Klaus150 Slackware 35 10-16-2022 04:29 PM
How do I properly mount 'Crucial' 1TB SSD in Linux mint 20.2(NVME installed in m.2 slot and it shows up in 'My Computer' but can't open r0b0t1 Linux - Newbie 3 11-15-2021 03:24 PM
LXer: Data in a Flash, Part II: Using NVMe Drives and Creating an NVMe over Fabrics Network LXer Syndicated Linux News 0 05-20-2019 11:41 PM
Migrate Linux/win10 dual boot from MBR nvme drive to a new GPT nvme drive bluemoo Linux - Software 7 09-25-2018 06:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration