BTRFS error after Cloning disk with Clonezilla stable - 3.1.2-9

There are a few things that I do not understand.

ID-1: /dev/sda is the new 1tb disk, and ID-2: /dev/sdb is the old one, right?
I do not understand why /dev/sda is scheme: MBR while /dev/sdb is scheme: GPT.
Maybe the work of GParted?

Also, the screenshots show neither a GRUB partition for “legacy/BIOS boot” nor an EFI one for “UEFI boot”. That looks strange to me, then again, I’ll repeat once more I’m no expert.
System tries to boot anyways, so… I guess it’s good.

The changed UUIDs can be solved easily, either changing them back to what they used to be or editing /etc/fstab to use the new ones. That comes later though.

Let’s see, from the live disk, with both disks connected, output of commands
lsblk -o+uuid
sudo gdisk -l /dev/sda
sudo gdisk -l /dev/sdb

1 Like
 ╭─garuda@garuda in ~ as 🧙 took 70ms
 ╰─λ lsblk -o+uuid
NAME       MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS             UUID
loop0        7:0    0  62.4M  1 loop /run/miso/sfs/livefs    
loop1        7:1    0 405.2M  1 loop /run/miso/sfs/mhwdfs    
loop2        7:2    0   1.2G  1 loop /run/miso/sfs/desktopfs 
loop3        7:3    0 665.8M  1 loop /run/miso/sfs/rootfs    
sda          8:0    0 931.5G  0 disk                         
├─sda1       8:1    0 894.8G  0 part                         21552d5d-e026-4b4a-a2a8-ab97d6cbccde
└─sda3       8:3    0  11.4G  0 part                         e7acc7cd-2fe2-4482-b401-85fb5ef12388
sdb          8:16   0 223.6G  0 disk                         
├─sdb1       8:17   0 214.8G  0 part                         21552d5d-e026-4b4a-a2a8-ab97d6cbccde
└─sdb2       8:18   0   8.8G  0 part                         ac9e5d5d-f05f-49c9-b808-06d51f771ea8
sdc          8:32   1 114.6G  0 disk                         
├─sdc1       8:33   1 114.6G  0 part                         7430-EE12
│ └─ventoy 254:0    0   2.4G  1 dm   /run/miso/bootmnt       2023-10-29-15-02-16-00
└─sdc2       8:34   1    32M  0 part                         
zram0      253:0    0  15.5G  0 disk [SWAP]      

╭─garuda@garuda in ~ as 🧙 took 34ms
 ╰─λ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 1.0.9.1

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. 
***************************************************************

Disk /dev/sda: 1953525168 sectors, 931.5 GiB
Model: CT1000MX500SSD1 
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 23F24641-8357-4F2B-8E53-CA6DCC6447F3
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 1953525134
Partitions will be aligned on 2048-sector boundaries
Total free space is 52950563 sectors (25.2 GiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048      1876612937   894.8 GiB   8300  Linux filesystem
   3      1929560064      1953523711   11.4 GiB    8200  Linux swap

 ╭─garuda@garuda in ~ as 🧙 took 46ms
 ╰─λ sudo gdisk -l /dev/sdb
GPT fdisk (gdisk) version 1.0.9.1

Partition table scan:
  MBR: MBR only
  BSD: not present
  APM: not present
  GPT: not present


***************************************************************
Found invalid GPT and valid MBR; converting MBR to GPT format
in memory. 
***************************************************************

Disk /dev/sdb: 468860015 sectors, 223.6 GiB
Model: KINGSTON SA400S3
Sector size (logical/physical): 512/512 bytes
Disk identifier (GUID): 22F0215F-3101-4F22-8E39-EAA4340ECC17
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 468859981
Partitions will be aligned on 2-sector boundaries
Total free space is 4971 sectors (2.4 MiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048       450402085   214.8 GiB   8300  Linux filesystem
   2       450402086       468857024   8.8 GiB     8200  Linux swap

Now facing such error

I’m not sure how to proceed.
I’m surprised to now see the old disk is MBR too (but the inxi said GPT before?).
I don’t know if the 2014 BIOS can handle GPT, probably not.

I don’t want to give bad advice, in the best case I’d waste your time.
By the way, the clone method I advised before is not good either, it only copies the btrfs filesystem but does not take care of GRUB nor swapfile.

All things considered, I think it’s easier and safer to install anew on the 1tb and later copy your files over from the old disk.
Current installer versions let you make a swap partition if I’m not mistaken.

But maybe wait if someone else comes up with a better answer, I give up. :man_shrugging:

1 Like

Noway you didn’t wasted my time.
i am able to manage and start the system and edited the disk space again please look in to my configuration and suggest. I refer

 → sudo lsblk -o+uuid
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
                                            UUID
sda      8:0    0 931.5G  0 disk            
├─sda1   8:1    0 920.1G  0 part /var/tmp   21552d5d-e026-4b4a-a2a8-ab97d6cbccde
│                                /var/cache 
│                                /root      
│                                /var/log   
│                                /srv       
│                                /home      
│                                /          
└─sda3   8:3    0  11.4G  0 part [SWAP]     e7acc7cd-2fe2-4482-b401-85fb5ef12388
sdb      8:16   0   3.6T  0 disk            
└─sdb1   8:17   0   3.6T  0 part /mnt/disk3 f780cd7a-000d-4c7f-88ea-d4b77d625dc9
zram0  254:0    0  15.5G  0 disk [SWAP]  

My fstab

  GNU nano 7.2                                                                   /etc/fstab                                                                             
# Use 'blkid' 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).
#
# <file system>             <mount point>  <type>  <options>  <dump>  <pass>
UUID=21552d5d-e026-4b4a-a2a8-ab97d6cbccde /              btrfs   subvol=/@,defaults,noatime,autodefrag,compress=zstd,discard=async,ssd 0 0
UUID=21552d5d-e026-4b4a-a2a8-ab97d6cbccde /home          btrfs   subvol=/@home,defaults,noatime,autodefrag,compress=zstd,discard=async,ssd 0 0
UUID=21552d5d-e026-4b4a-a2a8-ab97d6cbccde /root          btrfs   subvol=/@root,defaults,noatime,autodefrag,compress=zstd,discard=async,ssd 0 0
UUID=21552d5d-e026-4b4a-a2a8-ab97d6cbccde /srv           btrfs   subvol=/@srv,defaults,noatime,autodefrag,compress=zstd,discard=async,ssd 0 0
UUID=21552d5d-e026-4b4a-a2a8-ab97d6cbccde /var/cache     btrfs   subvol=/@cache,defaults,noatime,autodefrag,compress=zstd,discard=async,ssd 0 0
UUID=21552d5d-e026-4b4a-a2a8-ab97d6cbccde /var/log       btrfs   subvol=/@log,defaults,noatime,autodefrag,compress=zstd,discard=async,ssd 0 0
UUID=21552d5d-e026-4b4a-a2a8-ab97d6cbccde /var/tmp       btrfs   subvol=/@tmp,defaults,noatime,autodefrag,compress=zstd,discard=async,ssd 0 0
UUID=e7acc7cd-2fe2-4482-b401-85fb5ef12388 swap           swap    defaults,noatime 0 0
#UUID=ac9e5d5d-f05f-49c9-b808-06df1f771ae8 swap          swap    defaults,noatime 0 0

tmpfs                                     /tmp           tmpfs   defaults,noatime,mode=1777 0 0
#UUID=094f50aa-865e-47cf-99bc-9f14b0c67118 /mnt/disk2   btrfs    defaults        0       0
#UUID=def202c3-02a9-4570-951e-dcf9210b46ab /mnt/disk3   ext4     defaults        0       0
UUID=f780cd7a-000d-4c7f-88ea-d4b77d625dc9 /mnt/disk3   ext4     defaults        0       0

GNU nano 7.2                                                                                     /etc/default/grub                                                                                               
# GRUB boot loader configuration

GRUB_DEFAULT="1>3"
GRUB_TIMEOUT=3
GRUB_DISTRIBUTOR="Garuda"
GRUB_CMDLINE_LINUX_DEFAULT="quiet rd.udev.log_priority=3 vt.global_cursor_default=0 resume=UUID=e7acc7cd-2fe2-4482-b401-85fb5ef12388 loglevel=3 " # Modified by garuda-migrations: splash
GRUB_CMDLINE_LINUX="resume=UUID=e7acc7cd-2fe2-4482-b401-85fb5ef12388"

# Preload both GPT and MBR modules so that they are not missed
GRUB_PRELOAD_MODULES="part_gpt part_msdos"

# Uncomment to enable booting from LUKS encrypted devices
#GRUB_ENABLE_CRYPTODISK=y

# Set to 'countdown' or 'hidden' to change timeout behavior,
# press ESC key to display menu.
GRUB_TIMEOUT=3

# Uncomment to use basic console
GRUB_TERMINAL_INPUT=console

# Uncomment to disable graphical terminal
#GRUB_TERMINAL_OUTPUT=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'
GRUB_GFXMODE=auto

# Uncomment to allow the kernel use the same resolution used by grub
GRUB_GFXPAYLOAD_LINUX=keep

# Uncomment if you want GRUB to pass to the Linux kernel the old parameter
# format "root=/dev/xxx" instead of "root=/dev/disk/by-uuid/xxx"
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
# Modified by garuda-migrations: GRUB_DISABLE_RECOVERY=default
#GRUB_DISABLE_RECOVERY=true

# Uncomment and set to the desired menu colors.  Used by normal and wallpaper
# modes only.  Entries specified as foreground/background.
#GRUB_COLOR_NORMAL="light-blue/black"
#GRUB_COLOR_HIGHLIGHT="light-cyan/blue"

# Uncomment one of them for the gfx desired, a image background or a gfxtheme
#GRUB_BACKGROUND="/path/to/wallpaper"
GRUB_THEME="/usr/share/grub/themes/garuda/theme.txt"

# Uncomment to get a beep at GRUB start
#GRUB_INIT_TUNE="480 440 1"

# Uncomment to make GRUB remember the last selection. This requires
# setting 'GRUB_DEFAULT=saved' above.
#GRUB_SAVEDEFAULT=true

# Uncomment to disable submenus in boot menu
#GRUB_DISABLE_SUBMENU=y

# Probing for other operating systems is disabled for security reasons. Read
# documentation on GRUB_DISABLE_OS_PROBER, if still want to enable this
# functionality install os-prober and uncomment to detect and include other
# operating systems.
GRUB_DISABLE_OS_PROBER=false

# This config file imports drop-in files from /etc/default/grub.d/.
for garuda_grub_d in ${sysconfdir}/default/grub.d/*.cfg ; do if [ -e "${garuda_grub_d}" ]; then source "${garuda_grub_d}"; fi; done

2 Likes

It all looks good indeed, bravo! Sometimes I think too much…

Should i convert MBR to GPT

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.