So I recently switched to a new SSD using btrfs snapshots, but I haven't been able to boot from grub.
I have the @ and @home subvolumes on the SSD and set their ro values to false. Grub is still expecting the old hard drive boot partitions though. It comes up with an error (Something like I can't find hd0, 2) which would be /dev/sda2. I know that this is outdated because the new SSD is /dev/sdc.
Here is my layout:
/dev/sdc1 EFI Partition (Installed using ubiquity)
/dev/sdc2 @ and @home (From External HDD)
Boot-Repair (Program) didn't seem to work, I'm also having some issues with a tutorial like (https://howtoubuntu.org/how-to-repai...ubuntu-live-cd), notably that it doesn't seem to work. I've obviously replaced the /mnt in the tutorial with /mnt/@ where appropriate.
Here is my progress on that
I'm not sure what to do from here. Any help would be appreciated
EDIT 0:
Here is my fstab & the sudo blkid if that's useful
Blkid:
Fstab:
I have the @ and @home subvolumes on the SSD and set their ro values to false. Grub is still expecting the old hard drive boot partitions though. It comes up with an error (Something like I can't find hd0, 2) which would be /dev/sda2. I know that this is outdated because the new SSD is /dev/sdc.
Here is my layout:
/dev/sdc1 EFI Partition (Installed using ubiquity)
/dev/sdc2 @ and @home (From External HDD)
Boot-Repair (Program) didn't seem to work, I'm also having some issues with a tutorial like (https://howtoubuntu.org/how-to-repai...ubuntu-live-cd), notably that it doesn't seem to work. I've obviously replaced the /mnt in the tutorial with /mnt/@ where appropriate.
Here is my progress on that
Code:
kubuntu@kubuntu:/$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT loop0 7:0 0 1.7G 1 loop /rofs sda 8:0 0 931.5G 0 disk └─sda1 8:1 0 931.5G 0 part sdb 8:16 0 22.4G 0 disk sdc 8:32 0 465.8G 0 disk ├─sdc1 8:33 0 512M 0 part └─sdc2 8:34 0 465.3G 0 part /mnt sdd 8:48 0 111.8G 0 disk └─sdd1 8:49 0 111.8G 0 part sde 8:64 1 7.5G 0 disk └─sde1 8:65 1 7.5G 0 part sdf 8:80 1 14.9G 0 disk /cdrom ├─sdf1 8:81 1 1.8G 0 part └─sdf2 8:82 1 2.4M 0 part sr0 11:0 1 1024M 0 rom kubuntu@kubuntu:/$ sudo mount /dev/sdc2 /mnt kubuntu@kubuntu:/$ sudo mount --bind /dev /mnt/@/dev/ kubuntu@kubuntu:/$ sudo mount --bind /sys /mnt/@/sys/ kubuntu@kubuntu:/$ sudo mount --bind /proc /mnt/@/proc/ kubuntu@kubuntu:/$ sudo mount --bind /dev/pts /mnt/@/dev/pts kubuntu@kubuntu:/$ sudo mount /dev/sdc1 /mnt/@/boot/efi/ kubuntu@kubuntu:/$ sudo chroot /mnt/@ root@kubuntu:/# grub-install /dev/sdc Installing for x86_64-efi platform. grub-install: error: cannot find a device for /boot/grub (is /dev mounted?). root@kubuntu:/# update-grub /usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
EDIT 0:
Here is my fstab & the sudo blkid if that's useful
Blkid:
Code:
/dev/sda1: LABEL="Convergent Refuge" UUID="bae62e15-46d2-4aa4-84de-5f8bdd93c3e2" UUID_SUB="55c809a3-a971-4736-94ef-a11e7f1a6172" TYPE="btrfs" PARTLABEL="Convergent Refuge" PARTUUID="9c3a4912-6cd5-4155-a78f-6356f1acb874" /dev/sdc1: LABEL="L_ARK_EFI" UUID="423F-051C" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="78554a15-d0ad-4253-870d-2e13f9d5c1d8" /dev/sdc2: UUID="bbeef1b6-b012-4354-bba4-98e1ef547cc4" UUID_SUB="99297613-051d-4c18-9080-eebd079bcb09" TYPE="btrfs" PARTLABEL="Lesser Ark" PARTUUID="611080a8-55e8-4523-9128-bb5cc31c7750" /dev/sdd1: LABEL="ELYSIUM" UUID="0f834b1e-78a4-4b8b-9528-3b6c3f5ae37b" UUID_SUB="a84c1c8f-8484-404d-b420-777c6b1f0da9" TYPE="btrfs" PARTLABEL="ELYSIUM" PARTUUID="9cc2500a-68ea-4a2e-ba3d-17464271170d" /dev/sde1: LABEL="CLONEZILLA" UUID="4549-BFFB" TYPE="vfat" PARTLABEL="CloneZilla" PARTUUID="ccad6f55-65bb-4cc0-8003-df98ae9edb62" /dev/loop0: TYPE="squashfs" /dev/sdb: PTUUID="5f43f34d-52f6-4eeb-acd7-8dcc866c752d" PTTYPE="gpt" /dev/sdf1: UUID="2019-02-10-00-41-52-00" LABEL="Kubuntu 18.04.2 LTS amd64" TYPE="iso9660" PTUUID="003f6940" PTTYPE="dos" PARTUUID="003f6940-01" /dev/sdf2: SEC_TYPE="msdos" UUID="5655-3E5A" TYPE="vfat" PARTUUID="003f6940-02"
Code:
#Lesser Ark UUID=bbeef1b6-b012-4354-bba4-98e1ef547cc4 / btrfs defaults,noatime,compress=lzo,ssd,subvol=@ 0 1 #UUID=423F-051C /boot/efi vfat umask=0077 0 1 UUID=bbeef1b6-b012-4354-bba4-98e1ef547cc4 /home btrfs defaults,noatime,compress=zstd,ssd,subvol=@home 0 2 #UUID=45f9fe6b-ae81-47c7-bbd7-f9ca4ac66060 none swap sw 0 0 UUID=423F-051C /boot/efi vfat defaults,ssd,noatime,compress=lzo 0 1 #ELYSIUM UUID=0f834b1e-78a4-4b8b-9528-3b6c3f5ae37b /media/sarah/ELYSIUM btrfs defaults,noauto,space_cache,compress=zstd,autodefrag,subvol=EternalFields 0 0 #SENTINEL UUID=38e88d7b-d527-4784-8060-cfa456c27b13 /media/sarah/SENTINEL btrfs defaults,noauto,space_cache,compress=zstd 0 0 #Convergent Refuge UUID=bae62e15-46d2-4aa4-84de-5f8bdd93c3e2 /media/sarah/ConvergentRefuge btrfs defaults,noatime,space_cache,compress=zstd 0 0
Comment