Change Grub configuration on a Slackel USB installation
Posted: 09 Sep 2021 10:19
I have a Slackel 64-bit installation on a USB drive which I use regularly when not at home. The installation was done so that it should work on a laptop with one disk drive, so Grub looks for Slackel USB installation at /dev/sdb. However, the laptop died and for now I should use the Slackel USB on my desktop. But desktop computer has two hard disks, so now Grub on Slackel USB should be reconfigured to boot filesystem from /dev/sdc, not /dev/sdb. I thought I knew how to do that but failed. This is what I did:
I boot from Slackel Live USB and attach the Slackel USB installation stick as well. Slackel Live assigns itself at /dev/sdc and Slackel USB installation is at /dev/sdd. Now I chroot the filesystem on Slackel USB installation (for that, I use the script djemos provided in the past). At the chrooted filesystem, the plan is to re-install Grub and then update-grub. However the first step fails:I am not sure what's going on here. The Slackel USB doesn't actually have "multiple partition labels". It is just a 32 Gb USB dedicated to Slackel, and doesn't have multiple partitions.
What am I doing wrong here?
I boot from Slackel Live USB and attach the Slackel USB installation stick as well. Slackel Live assigns itself at /dev/sdc and Slackel USB installation is at /dev/sdd. Now I chroot the filesystem on Slackel USB installation (for that, I use the script djemos provided in the past). At the chrooted filesystem, the plan is to re-install Grub and then update-grub. However the first step fails:
Code: Select all
root@slackellive:/# grub-install /dev/sdd
Installing for i386-pc platform.
grub-install: warning: Attempting to install GRUB to a disk with multiple partition labels. This is not supported yet..
grub-install: error: embedding is not possible, but this is required for cross-disk install.
What am I doing wrong here?