On 29 Apr 2024 at 17:27, ToddAndMargo via users wrote:
Date sent: Mon, 29 Apr 2024 17:27:23 -0700
To: Community support for Fedora users
<users(a)lists.fedoraproject.org>
Subject: can I clone from a usb flash drive to an NVMe
drive?
Send reply to: Community support for Fedora users
<users(a)lists.fedoraproject.org>
From: ToddAndMargo via users
<users(a)lists.fedoraproject.org>
Copies to: ToddAndMargo <ToddAndMargo(a)zoho.com>
Hi All,
I am making up a USB flash from of Fedroa 40 MATE for
a customer to play with.
If he likes it, can I clonezilla clone it over
to his brand new NVMe drive (gpart it to expand
the extents)?
-T
Couple comments from maintainer of the g4l disk imaging project.
Cloning the image would not be a problem with a bit level imaging
program. I once did an image from an HDD disk to an SDD disk,
and the image was perfect, but it didn't work exactly. Wouldn't
boot since the boot kernel and init files didn't inclued the SSD
setup. Back then had to build a new kernel on the HDD disk that
included the support modules.
Prograble would be a good ideal to create a new rescue kernel,
which is generally much larger, and includes extra info.
On my system I have the initramfs for rescue is much larger.
ls -l | grep "6.8.7\|rescue"
-rw------- 1 root root 119750715 Jan 9 12:07
initramfs-0-rescue-189711f94e78436d9618b891a8fce70e.img
-rw------- 1 root root 39933046 Apr 23 14:44
initramfs-6.8.7-200.fc39.x86_64.img
-rwxr-xr-x 1 root root 14666984 Jan 9 12:05
vmlinuz-0-rescue-189711f94e78436d9618b891a8fce70e
-rwxr-xr-x 1 root root 14864200 Apr 17 10:00 vmlinuz-6.8.7-200.fc39.x86_64
Would probable be able to image that, and then boot system using
the rescue image instead of latest default.
Then after boot do a dnf reinstall kernel-core and it might install
the latest kernel with the correct setup?
Seemed to work with hdd to ssd, but not 100% sure with nvme?
Sometime I just do a clean install but save the rpms from the old
system, and then reinstall them.
Create list of rpms of system using.
#!/usr/bin/bash
rpm --qf "%{NAME}.%{ARCH}\n" -qa | sort | grep -v gpg-pubkey
installed_pkgs"$(date +%F)".txt
Then do an install of files from file on the clean build. Usually,
might have some packages that are missing, so use --skip-broken.
So, just some info. May or may not be helpful.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Computers are like air conditioners.
They malfunction when you open windows
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
_______________________________________________
users mailing list -- users(a)lists.fedoraproject.org
To unsubscribe send an email to users-leave(a)lists.fedoraproject.org
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines:
https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue
+------------------------------------------------------------+
Michael D. Setzer II - Computer Science Instructor (Retired)
mailto:mikes@guam.net
mailto:msetzerii@gmail.com
mailto:msetzerii@gmx.com
Guam - Where America's Day Begins
G4L Disk Imaging Project maintainer
http://sourceforge.net/projects/g4l/
+------------------------------------------------------------+