Hello, I was trying to clone my linux drive to a bigger one with clonezilla but it was failing because there was a MBR and GPT file system on my drive.
I deleted the GPT part since it showed up as demaged and I left my MBR untouched. The cloning was successful apart from grub not getting coppied.
Now I cannot boot into any of the drives, only a blinking “_” appears.
I have a live USB with manjaro and I’m trying to restore grub, but I can’t quite figure it out.
Also I think my efi is missing?
You can look in this thread how to check efi’s boot values with “efibootmgr -v” command.
no nothing will break… but before you do that post also output from:
efibootmgr -v
BootCurrent: 0003
Timeout: 1 seconds
BootOrder: 0003,0004,0001,0002
Boot0001* Hard Drive BBS(HD,,0x0)0000474f00004e4fad000000010000007500530053004400500052002d0043004c003100300030002d003100320030002d004700330000000501090002000000007fff040002010c00d041030a0000000001010600010201010600010003120a000500ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce65a00470030003900370030003300310020003900200020002000200020002000200020002000200000007fff04000000424f00004e4fb50000000100000075004300720075006300690061006c005f00430054003200370035004d005800330030003000530053004400310000000501090002000000007fff040002010c00d041030a0000000001010600010201010600010003120a000100ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce62000200020002000200020002000200037003100370033003800310039004300330046004400430000007fff04000000424f00004e4f9f000000010000006d004c006500780061007200200035003000300047004200200053005300440000000501090002000000007fff040002010c00d041030a00000000010106000202010106000000031710000100000000000000000000007fff040001043000ef47642dc93ba041ac194d51d01b4ce64b0033003700350037003700520030003000310030003600300000007fff04000000424f00004e4fa700000001000000750054004f00530048004900420041002000480044005700440031003200300000000501090002000000007fff040002010c00d041030a0000000001010600010201010600010003120a000000ffff00007fff040001043e00ef47642dc93ba041ac194d51d01b4ce620002000200020002000200020002000200020003400200044003800440047004e0036005300430000007fff04000000424f00004e4fb3000000010000007d00530050004300430020004d002e00320020005000430049006500200053005300440000000501090002000000007fff040002010c00d041030a00000000010106000102010106000200010106000004010106000000031710000100000000e04c11263e14657fff040001043400ef47642dc93ba041ac194d51d01b4ce632003100300033003500330039003200350032003200300031003300380000007fff04000000424f
dp: 05 01 09 00 02 00 00 00 00 / 7f ff 04 00
data: 00 00 47 4f 00 00 4e 4f ad 00 00 00 01 00 00 00 75 00 53 00 53 00 44 00 50 00 52 00 2d 00 43 00 4c 00 31 00 30 00 30 00 2d 00 31 00 32 00 30 00 2d 00 47 00 33 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 01 02 01 01 06 00 01 00 03 12 0a 00 05 00 ff ff 00 00 7f ff 04 00 01 04 3e 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 5a 00 47 00 30 00 39 00 37 00 30 00 33 00 31 00 20 00 39 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 00 00 7f ff 04 00 00 00 42 4f 00 00 4e 4f b5 00 00 00 01 00 00 00 75 00 43 00 72 00 75 00 63 00 69 00 61 00 6c 00 5f 00 43 00 54 00 32 00 37 00 35 00 4d 00 58 00 33 00 30 00 30 00 53 00 53 00 44 00 31 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 01 02 01 01 06 00 01 00 03 12 0a 00 01 00 ff ff 00 00 7f ff 04 00 01 04 3e 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 37 00 31 00 37 00 33 00 38 00 31 00 39 00 43 00 33 00 46 00 44 00 43 00 00 00 7f ff 04 00 00 00 42 4f 00 00 4e 4f 9f 00 00 00 01 00 00 00 6d 00 4c 00 65 00 78 00 61 00 72 00 20 00 35 00 30 00 30 00 47 00 42 00 20 00 53 00 53 00 44 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 02 02 01 01 06 00 00 00 03 17 10 00 01 00 00 00 00 00 00 00 00 00 00 00 7f ff 04 00 01 04 30 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 4b 00 33 00 37 00 35 00 37 00 37 00 52 00 30 00 30 00 31 00 30 00 36 00 30 00 00 00 7f ff 04 00 00 00 42 4f 00 00 4e 4f a7 00 00 00 01 00 00 00 75 00 54 00 4f 00 53 00 48 00 49 00 42 00 41 00 20 00 48 00 44 00 57 00 44 00 31 00 32 00 30 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 01 02 01 01 06 00 01 00 03 12 0a 00 00 00 ff ff 00 00 7f ff 04 00 01 04 3e 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 20 00 34 00 20 00 44 00 38 00 44 00 47 00 4e 00 36 00 53 00 43 00 00 00 7f ff 04 00 00 00 42 4f 00 00 4e 4f b3 00 00 00 01 00 00 00 7d 00 53 00 50 00 43 00 43 00 20 00 4d 00 2e 00 32 00 20 00 50 00 43 00 49 00 65 00 20 00 53 00 53 00 44 00 00 00 05 01 09 00 02 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 01 02 01 01 06 00 02 00 01 01 06 00 00 04 01 01 06 00 00 00 03 17 10 00 01 00 00 00 00 e0 4c 11 26 3e 14 65 7f ff 04 00 01 04 34 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 32 00 31 00 30 00 33 00 35 00 33 00 39 00 32 00 35 00 32 00 32 00 30 00 31 00 33 00 38 00 00 00 7f ff 04 00 00 00 42 4f
Boot0002* USB BBS(USB,,0x0)0000474f00004e4f9d000000010000006700530061006d00730075006e006700200050005300530044002000540037002000300000000501090005000000007fff040002010c00d041030a000000000101060001020101060000000305060002007fff040001043400ef47642dc93ba041ac194d51d01b4ce653003600580050004e00530030005400370030003400370038003300480000007fff04000000424f00004e4f9b000000010000005900470065006e006500720069006300200046006c0061007300680020004400690073006b00200038002e003000370000000501090005000000007fff040002010c00d041030a000000000101060001020101060000000305060005007fff040001042600ef47642dc93ba041ac194d51d01b4ce63400440035003600370038004200330000007fff04000000424f
dp: 05 01 09 00 05 00 00 00 00 / 7f ff 04 00
data: 00 00 47 4f 00 00 4e 4f 9d 00 00 00 01 00 00 00 67 00 53 00 61 00 6d 00 73 00 75 00 6e 00 67 00 20 00 50 00 53 00 53 00 44 00 20 00 54 00 37 00 20 00 30 00 00 00 05 01 09 00 05 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 01 02 01 01 06 00 00 00 03 05 06 00 02 00 7f ff 04 00 01 04 34 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 53 00 36 00 58 00 50 00 4e 00 53 00 30 00 54 00 37 00 30 00 34 00 37 00 38 00 33 00 48 00 00 00 7f ff 04 00 00 00 42 4f 00 00 4e 4f 9b 00 00 00 01 00 00 00 59 00 47 00 65 00 6e 00 65 00 72 00 69 00 63 00 20 00 46 00 6c 00 61 00 73 00 68 00 20 00 44 00 69 00 73 00 6b 00 20 00 38 00 2e 00 30 00 37 00 00 00 05 01 09 00 05 00 00 00 00 7f ff 04 00 02 01 0c 00 d0 41 03 0a 00 00 00 00 01 01 06 00 01 02 01 01 06 00 00 00 03 05 06 00 05 00 7f ff 04 00 01 04 26 00 ef 47 64 2d c9 3b a0 41 ac 19 4d 51 d0 1b 4c e6 34 00 44 00 35 00 36 00 37 00 38 00 42 00 33 00 00 00 7f ff 04 00 00 00 42 4f
Boot0003* UEFI: Generic Flash Disk 8.07 PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x0)/USB(5,0)/CDROM(1,0x6a51a4,0x8000)0000424f
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 01 02 / 01 01 06 00 00 00 / 03 05 06 00 05 00 / 04 02 18 00 01 00 00 00 a4 51 6a 00 00 00 00 00 00 80 00 00 00 00 00 00 / 7f ff 04 00
data: 00 00 42 4f
Boot0004* UEFI: Generic Flash Disk 8.07, Partition 2 PciRoot(0x0)/Pci(0x2,0x1)/Pci(0x0,0x0)/USB(5,0)/HD(2,MBR,0x0,0x6a51a4,0x2000)0000424f
dp: 02 01 0c 00 d0 41 03 0a 00 00 00 00 / 01 01 06 00 01 02 / 01 01 06 00 00 00 / 03 05 06 00 05 00 / 04 01 2a 00 02 00 00 00 a4 51 6a 00 00 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 01 01 / 7f ff 04 00
data: 00 00 42 4f
brahma
November 13, 2022, 1:47pm
5
so you have both drives connected right now? maybe thats the issue, since they are exact copies of each other with the same uuids?
It didn’t boot when I detached the new drive either.
brahma
November 13, 2022, 2:04pm
7
so was grub on the gpt or what? what was on the gpr partition?
post output from:
lsblk -f
brahma:
lsblk -f
I have honestly no idea, I just followed the manual kinda blindly…
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINTS
loop0
loop1
loop2
loop3
sda
`-sda1
sdb
`-sdb1
sdc
`-sdc1
sdd
`-sdd1 2.4G 93% /
sde
|-sde1
`-sde2
sdf
sdg
nvme1n1
`-nvme1n1p1
nvme0n1
`-nvme0n1p1
brahma
November 13, 2022, 2:12pm
9
what is this output? it doesnt show anything … is this how it looks in your terminal?
post also output from:
test -d /sys/firmware/efi && echo efi || echo bios
and can you chroot?
manjaro-chroot -a
It says “efi”
brahma:
and can you chroot?
I think I’m already chrooted into the new drive.
brahma
November 13, 2022, 2:26pm
11
the output doesn show any size, it doesnt show what file system are you using, it doesnt show anything…
where is manjaro installed? on the nvm disk?
One is on a sata 120GB SSD and the other on a USB samsung drive.
brahma
November 13, 2022, 2:32pm
13
the usb one is the cloned one?
is the usb one connected?
if it is, are you chrooted into the sdd or the usb one?
brahma
November 13, 2022, 2:36pm
15
and from the lsblk output, which one is the usb one? the sde
?
sdd I think
sde is the live usb probably
brahma
November 13, 2022, 2:43pm
17
if the sdd is the usb one, it has only one partition, and since you are on efi, you can forget about reinstalling grub, because of the missing partition, you have to create it manually…
however, since you are on uefi you dont need grub to boot, you can boot directly from you uefi boot options, likely by pressing f12 during boot, or some other key, specific for your pc, so try booting like that…
if it fails, disconnect the usb one, and boot only with the ssd and post output from:
lsblk -o PATH,PTTYPE,PARTTYPE,FSTYPE,PARTTYPENAME
1 Like
brahma:
lsblk -o PATH,PTTYPE,PARTTYPE,FSTYPE,PARTTYPENAME
PATH PTTYPE PARTTYPE FSTYPE PARTTYPENAME
/dev/loop0 squashfs
/dev/loop1 squashfs
/dev/loop2 squashfs
/dev/loop3 squashfs
/dev/sda gpt
/dev/sda1 gpt 0fc63daf-8483-4772-8e79-3d69d8477de4 ext4 Linux filesystem
/dev/sdb dos
/dev/sdb1 dos 0x83 ext4 Linux
/dev/sdc dos
/dev/sdc1 dos 0x83 ext4 Linux
/dev/sdd dos iso9660
/dev/sdd1 dos 0x0 iso9660 Empty
/dev/sdd2 dos 0xef vfat EFI (FAT-12/16/32)
/dev/sde
/dev/sdf
/dev/nvme1n1 gpt
/dev/nvme1n1p1 gpt ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 ntfs Microsoft basic data
/dev/nvme0n1 dos
/dev/nvme0n1p1 dos 0x83 ext4 Linux
Didn’t work :<
brahma
November 13, 2022, 3:04pm
19
what are the sda, sdb, sdc? they all have ext4 linux file system?
sda is my hard drive for files
sdb is an SSD I don’t use
sdc is my manjaro drive
yes