<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=6776&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd)]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=6776</link>
		<description><![CDATA[The most recent posts in after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd).]]></description>
		<lastBuildDate>Tue, 20 Aug 2024 02:01:58 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51753#p51753</link>
			<description><![CDATA[<div class="quotebox"><blockquote><div><p>this is what I have saved in my post-install help file...</p></div></blockquote></div><p>thanks its very useful</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Tue, 20 Aug 2024 02:01:58 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51753#p51753</guid>
		</item>
		<item>
			<title><![CDATA[Re: after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51645#p51645</link>
			<description><![CDATA[<p>this is what I have saved in my post-install help file...</p><div class="codebox"><pre><code># # Load modules at boot
# rsync -avh /home/glenn/local/other/backup/backup-etc-sys/etc/modules /etc/
# chown root:root /etc/modules
# chmod a+rx /etc/modules
# run after changing this file

update-initramfs -u -k all
#Usage: update-initramfs {-c|-d|-u} [-k version] [-v] [-b directory]
#Options:
# -k version     Specify kernel version or &#039;all&#039;
# -c             Create a new initramfs
# -u             Update an existing initramfs
# -d             Remove an existing initramfs
# -b directory   Set alternate boot directory
# -v             Be verbose</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Fri, 16 Aug 2024 02:29:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51645#p51645</guid>
		</item>
		<item>
			<title><![CDATA[Re: after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51644#p51644</link>
			<description><![CDATA[<p>To be honest, I don&#039;t really know, but looking it up I found a few related articles, like for checking initrd... amongst others.</p><p>One hack is to rename the file so it&#039;s not found and is re-generated based on the latest successful boot process (live).<br />The boot process will just take a little bit longer, the virtual machine ram disks were meant to speed up the boot process before todays speed of devices.</p><p>The / files maybe links to /boot/ files... be warned!</p><p>Burying into the kernel is no longer on my wish list, but you may research some of it here... Duck Duck Go search...</p><div class="codebox"><pre><code>gnu/linux create vmlinuz initrd update-initramfs</code></pre></div><p>in particular...</p><div class="codebox"><pre><code>https://dev.to/er_dward/understanding-the-initrd-and-vmlinuz-in-linux-boot-process-534f
https://www.kernel.org/doc/html/latest/admin-guide/initrd.html
https://www.baeldung.com/linux/initrd-vs-initramfs</code></pre></div><p> The only process I have used lately is to rebuild initramfs to include bluetooth device(s) (bt headphones, etcetera) for more complete functions during the boot process, although my system does not rely on bt to boot to a working system.</p><p>Deleting the old vmlinuz, initrd.img may be risky... have a good search yourself, and backup by renaming instead of deleting files so you can back-track if you need to. It&#039;s outside my scope of knowledge now, although I have dabbled in kernel config modifications and making/installing in the long past.</p><p>I hope this gives you something to work with.</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Fri, 16 Aug 2024 02:27:45 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51644#p51644</guid>
		</item>
		<item>
			<title><![CDATA[Re: after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51642#p51642</link>
			<description><![CDATA[<p>thanks for reply.<br /><span class="bbc">#GRUB_DEVICE_UUID=&quot;bab95b18-9201-499e-b96b-6ab89bfd41e0&quot;</span><br />its line i did when try to get it work</p><p>hmm i do not know how but its working now. grub now use correct uuid.<br />may be this cmd help?<br /><span class="bbc">tune2fs -U bab95b18-9201-499e-b96b-6ab89bfd41e0 /dev/sdb1</span></p><div class="quotebox"><blockquote><div><p>maybe the boot system is picking up the old UUID from a vmlinuz file from the old system (hdd)</p></div></blockquote></div><p>maybe, how check it, or update vmlinuz?</p>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Fri, 16 Aug 2024 01:34:14 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51642#p51642</guid>
		</item>
		<item>
			<title><![CDATA[Re: after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51626#p51626</link>
			<description><![CDATA[<p>Just one glaring observation...</p><p>Your grub uuid for / is commented.</p><p>/etc/default/grub</p><div class="codebox"><pre><code>#GRUB_DEVICE_UUID=&quot;bab95b18-9201-499e-b96b-6ab89bfd41e0&quot;</code></pre></div><p>Un-comment (#) that line and run update-grub again.<br />reboot to check...</p><p>maybe the boot system is picking up the old UUID from a vmlinuz file from the old system (hdd)</p>]]></description>
			<author><![CDATA[dummy@example.com (GlennW)]]></author>
			<pubDate>Wed, 14 Aug 2024 22:24:51 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51626#p51626</guid>
		</item>
		<item>
			<title><![CDATA[after cloning Devuan Daedulus to SSD grub still use old root UUID(hdd)]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=51619#p51619</link>
			<description><![CDATA[<p>1. copy hdd ext4 partiotion to ssd ext4<br />2. install grub to ssd partition<br />3. update ssd fstab with new UUID<br />4. update-gub</p><p>try to boot in grub boot menu ssd entry still use old uuid from hdd partition<br />old hdd uuid<br /><span class="bbc">linux /boot/vmlinuz-6.1.0-23-amd64 root=039cfdd1-19a0-436a-868e-93ad302371ad</span><br />new sdd uuis<br />if i am manually change via &quot;e&quot;<br /><span class="bbc">linux /boot/vmlinuz-6.1.0-23-amd64 root=bab95b18-9201-499e-b96b-6ab89bfd41e0</span><br /> all booting ok in to sdd</p><div class="codebox"><pre class="vscroll"><code>root@home:/boot/grub# lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
fd0      2:0    1     4K  0 disk 
sda      8:0    0 186.3G  0 disk 
├─sda1   8:1    0  10.5G  0 part 
├─sda2   8:2    0     1K  0 part 
├─sda5   8:5    0  29.3G  0 part 
├─sda6   8:6    0  48.8G  0 part 
├─sda7   8:7    0  48.8G  0 part 
└─sda8   8:8    0  48.8G  0 part 
sdb      8:16   0 223.6G  0 disk 
├─sdb1   8:17   0  72.3G  0 part /
├─sdb2   8:18   0  72.3G  0 part 
├─sdb3   8:19   0    75G  0 part 
├─sdb4   8:20   0     1K  0 part 
└─sdb5   8:21   0     4G  0 part [SWAP]
sdc      8:32   0 149.1G  0 disk 
├─sdc1   8:33   0  70.3G  0 part 
├─sdc2   8:34   0   4.5G  0 part 
├─sdc3   8:35   0    50M  0 part 
└─sdc4   8:36   0  74.2G  0 part 
sdd      8:48   0 931.5G  0 disk 
├─sdd1   8:49   0  75.7G  0 part 
├─sdd2   8:50   0     4G  0 part 
├─sdd3   8:51   0 345.7G  0 part /home
├─sdd4   8:52   0     1K  0 part 
└─sdd5   8:53   0 506.1G  0 part 
sde      8:64   0   149G  0 disk 
├─sde1   8:65   0  70.3G  0 part 
├─sde2   8:66   0     4G  0 part 
└─sde3   8:67   0  74.7G  0 part 
root@home:/boot/grub# </code></pre></div><div class="codebox"><pre><code>root@home:/# blkid
/dev/sdd2: UUID=&quot;34d1ae4c-5d37-4bb7-bdd4-ae5a95060504&quot; TYPE=&quot;swap&quot; PARTUUID=&quot;907085ae-02&quot;
/dev/sdd5: LABEL=&quot;NEW5&quot; BLOCK_SIZE=&quot;512&quot; UUID=&quot;3232708532704FB9&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;907085ae-05&quot;
/dev/sdd3: UUID=&quot;24c316e7-38e1-4db4-a0aa-ade09eea7782&quot; BLOCK_SIZE=&quot;4096&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;907085ae-03&quot;
/dev/sdd1: UUID=&quot;5720e815-c048-427f-b2f8-c5bd6d68665b&quot; BLOCK_SIZE=&quot;4096&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;907085ae-01&quot;
/dev/sdb2: UUID=&quot;e4470a2b-7a42-4eee-9051-2f0ce31da08c&quot; BLOCK_SIZE=&quot;4096&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;1f909dee-02&quot;
/dev/sdb5: UUID=&quot;d531b1fd-dfd5-4734-9ab2-e4f304348902&quot; TYPE=&quot;swap&quot; PARTUUID=&quot;1f909dee-05&quot;
/dev/sdb3: LABEL=&quot;New 10&quot; BLOCK_SIZE=&quot;512&quot; UUID=&quot;B842FF8142FF42A4&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;1f909dee-03&quot;
/dev/sdb1: UUID=&quot;bab95b18-9201-499e-b96b-6ab89bfd41e0&quot; BLOCK_SIZE=&quot;4096&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;1f909dee-01&quot;
/dev/sde2: UUID=&quot;a5633ead-0ebc-4f5b-b0fd-cd036aeb94f6&quot; TYPE=&quot;swap&quot; PARTUUID=&quot;0002426d-02&quot;
/dev/sde3: UUID=&quot;c266328b-3853-45d6-b1e5-5e795370f40e&quot; BLOCK_SIZE=&quot;4096&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;0002426d-03&quot;
/dev/sde1: UUID=&quot;039cfdd1-19a0-436a-868e-93ad302371ad&quot; BLOCK_SIZE=&quot;4096&quot; TYPE=&quot;ext4&quot; PARTUUID=&quot;0002426d-01&quot;
/dev/sdc2: UUID=&quot;b6b16d67-2aab-43c1-bfc4-d948e4a270b5&quot; TYPE=&quot;swap&quot; PARTUUID=&quot;6296eae2-02&quot;
/dev/sdc3: LABEL=&quot;System Reserved&quot; BLOCK_SIZE=&quot;512&quot; UUID=&quot;A0D6B4C7D6B49ECA&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;6296eae2-03&quot;
/dev/sdc1: LABEL=&quot;NEW4&quot; BLOCK_SIZE=&quot;512&quot; UUID=&quot;4E9E2ABD9E2A9E09&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;6296eae2-01&quot;
/dev/sdc4: LABEL=&quot;NEW_10&quot; BLOCK_SIZE=&quot;512&quot; UUID=&quot;A414D1AC14D1822A&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;6296eae2-04&quot;
/dev/sda7: LABEL=&quot;NEW_7&quot; BLOCK_SIZE=&quot;512&quot; UUID=&quot;0EAC29DEAC29C157&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;3dd23dd1-07&quot;
/dev/sda5: LABEL=&quot;NEW1&quot; BLOCK_SIZE=&quot;512&quot; UUID=&quot;E498D01C98CFEADE&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;3dd23dd1-05&quot;
/dev/sda1: LABEL=&quot;M-PM-^]M-PM-&gt;M-PM-2M-QM-^KM-PM-9 M-QM-^BM-PM-&gt;M-PM-&lt;&quot; BLOCK_SIZE=&quot;512&quot; UUID=&quot;064C49404C492BAD&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;3dd23dd1-01&quot;
/dev/sda8: LABEL=&quot;NEW3&quot; BLOCK_SIZE=&quot;512&quot; UUID=&quot;B8E45713E456D2EC&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;3dd23dd1-08&quot;
/dev/sda6: LABEL=&quot;NEW2&quot; BLOCK_SIZE=&quot;512&quot; UUID=&quot;E8802A87802A5C76&quot; TYPE=&quot;ntfs&quot; PARTUUID=&quot;3dd23dd1-06&quot;
root@home:/# </code></pre></div><p>already did, not help<br /><span class="bbc">root@home:/# tune2fs -U bab95b18-9201-499e-b96b-6ab89bfd41e0 /dev/sdb1</span></p><p>/etc/fstab&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;</p><div class="codebox"><pre><code># /etc/fstab: static file system information.
#
# Use &#039;blkid&#039; to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# systemd generates mount units based on this file, see systemd.mount(5).
# Please run &#039;systemctl daemon-reload&#039; after making changes here.
#
# &lt;file system&gt; &lt;mount point&gt;   &lt;type&gt;  &lt;options&gt;       &lt;dump&gt;  &lt;pass&gt;
# / was on /dev/sdb1 during installation
UUID=bab95b18-9201-499e-b96b-6ab89bfd41e0 /               ext4    errors=remount-ro 0       1
# /home was on /dev/sdd3 during installation
UUID=24c316e7-38e1-4db4-a0aa-ade09eea7782 /home           ext4    defaults        0       2
# swap was on /dev/sdb2 during installation
UUID=d531b1fd-dfd5-4734-9ab2-e4f304348902 none            swap    sw              0       0</code></pre></div><p>/etc/default/grub&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; </p><div class="codebox"><pre class="vscroll"><code># If you change this file, run &#039;update-grub&#039; afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n &#039;Simple configuration&#039;

GRUB_DEFAULT=0
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian`
#GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet rd.driver.blacklist=nouveau mitigations=off&quot;
GRUB_CMDLINE_LINUX_DEFAULT=&quot;&quot;
GRUB_CMDLINE_LINUX=&quot;&quot;
#GRUB_DEVICE_UUID=&quot;bab95b18-9201-499e-b96b-6ab89bfd41e0&quot;

# If your computer has multiple operating systems installed, then you
# probably want to run os-prober. However, if your computer is a host
# for guest OSes installed via LVM or raw disk devices, running
# os-prober can cause damage to those guest OSes as it mounts
# filesystems to look for things.
GRUB_DISABLE_OS_PROBER=false

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM=&quot;0x01234567,0xfefefefe,0x89abcdef,0xefefefef&quot;

# Uncomment to disable graphical terminal
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo&#039;
#GRUB_GFXMODE=640x480

# Uncomment if you don&#039;t want GRUB to pass &quot;root=UUID=xxx&quot; parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY=&quot;true&quot;

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE=&quot;480 440 1&quot;</code></pre></div><p>/boot/grub/grub.cfg<br /><a href="https://pastebin.com/raw/XGDbb5mL" rel="nofollow">https://pastebin.com/raw/XGDbb5mL</a></p><div class="codebox"><pre><code>root@home:/home/freeartist-devuan# update-grub2
Generating grub configuration file ...
Found background image: splash.png
Found linux image: /boot/vmlinuz-6.1.0-23-amd64
Found initrd image: /boot/initrd.img-6.1.0-23-amd64
Found linux image: /boot/vmlinuz-6.1.0-21-amd64
Found initrd image: /boot/initrd.img-6.1.0-21-amd64
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows 7 on /dev/sda1
Found MS-DOS 5.x/6.x/Win3.1 on /dev/sda6
Found Windows 7 on /dev/sda7
Found Windows 10 on /dev/sdc1
Found Windows 10 on /dev/sdc3
Found Fedora Linux 40 (Xfce) on /dev/sdd1
Found Devuan GNU/Linux 5 (daedalus) on /dev/sde1
Found Artix Linux (rolling) on /dev/sde3
done</code></pre></div><div class="codebox"><pre><code>root@home:/home/freeartist-devuan# grub-install -v
grub-install: info: executing modprobe efivars 2&gt;/dev/null.
grub-install: info: Looking for /sys/firmware/efi ...
grub-install: info: ... not found.
grub-install: info: Looking for /proc/device-tree ...
grub-install: info: ... not found.
Installing for i386-pc platform.
grub-install: error: install device isn&#039;t specified.
root@home:/home/freeartist-devuan# </code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (deepforest)]]></author>
			<pubDate>Wed, 14 Aug 2024 17:24:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=51619#p51619</guid>
		</item>
	</channel>
</rss>
