In addition to my other comments this. You have no /boot directory on the sda1 you have the /boot/efi it is this you want to exclude when doing the rsync. Your postings show this if the files in the boot directory are being excluded then everything listed in mine is not copied over to new partition.Thanks again for your responses. So far no luck. Many adventures in `grub >` and `(initramfs)`, but the changes I made in the 3 files failed to produce a bootable system.
Root and efi1. First I `rsync` everything (that is `/` and `/home`) on `/dev/sda3` to `/dev/sda2`Code:
bashlsblkNAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTSsda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 285M 0 part /boot/efi├─sda2 8:2 0 16.1G 0 part └─sda3 8:3 0 449.4G 0 part /home
Note this doesn't include the `/boot` directory which resides on `/dev/sda1`Code:
sudo mount /dev/sda2 /mnt/d_sda2sudo rsync -ahPHAXx --delete --exclude={"/boot","/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/swapfile","/lost+found"} / /mnt/d_sda2
4. update `/etc/fstab` from,toCode:
cat /etc/fstab# <file system> <mount point> <type> <options> <dump> <pass># / was on /dev/sda3 during installationUUID=b7bdceb4-660a-4951-94cd-df9412b74f93 / btrfs rw,noatime,space_cache=v2,compress=zstd,ssd,discard=async,subvol=@ 0 0UUID=b7bdceb4-660a-4951-94cd-df9412b74f93 /home btrfs rw,noatime,space_cache=v2,compress=zstd,ssd,discard=async,subvol=@home 0 0# /boot/efi was on /dev/sda1 during installationUUID=C0E2-7937 /boot/efi vfat umask=0077 0 1/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
5. reboot... which lands me in the `grub>` promptCode:
# <file system> <mount point> <type> <options> <dump> <pass># / was on /dev/sda3 during installationUUID=e042a944-8efa-4772-b46e-a24b878b4f7e / btrfs rw,noatime,space_cache=v2,compress=zstd,ssd,discard=async,subvol=@ 0 0UUID=e042a944-8efa-4772-b46e-a24b878b4f7e /home btrfs rw,noatime,space_cache=v2,compress=zstd,ssd,discard=async,subvol=@home 0 0# /boot/efi was on /dev/sda1 during installationUUID=C0E2-7937 /boot/efi vfat umask=0077 0 1/dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0
No idea what I'm missing.
Thanks again,
Code:
root@9600k:~# ls -l /boot/total 164512-rw-r--r-- 1 root root 259453 Feb 1 04:05 config-6.1.0-18-amd64-rw-r--r-- 1 root root 259504 May 3 09:36 config-6.1.0-21-amd64drwx------ 2 root root 4096 Dec 31 1969 efidrwxr-xr-x 5 root root 4096 May 31 19:56 grub-rw-r--r-- 1 root root 75797706 Mar 3 07:22 initrd.img-6.1.0-18-amd64-rw-r--r-- 1 root root 75792243 May 31 19:54 initrd.img-6.1.0-21-amd64-rw-r--r-- 1 root root 83 Feb 1 04:05 System.map-6.1.0-18-amd64-rw-r--r-- 1 root root 83 May 3 09:36 System.map-6.1.0-21-amd64-rw-r--r-- 1 root root 8152768 Feb 1 04:05 vmlinuz-6.1.0-18-amd64-rw-r--r-- 1 root root 8169408 May 3 09:36 vmlinuz-6.1.0-21-amd64
Statistics: Posted by RedGreen925 — 2024-06-30 11:51