Attempting to install GRUB to a disk with multiple partition labels

stick_to_disk Let’s assume the following scenario. A Linux administrator called Bob, as many fictive persons have that name, got the task to get a Linux system ready for a backup server that a client has ordered. Unfortunately he has no hard drive available so he decided to install Linux on a usb stick which he would migrate to a hard drive later because as an experienced Linux user he already knew the steps that would be required for the migration.

Two days after Bob ordered a new hard drive from an online store he immediately started to migrate. Firstly he downloaded his favourite Arch Linux Live ISO and booted it. With the dd tool he cloned the usb stick. Then he resized the root partition with an ext file system.

Now it was time to install the Grub2 boot loader so he mounted the cloned root directory and chrooted to it.

mount /dev/sdb1 /mnt
arch-chroot /mnt

The chroot is necessary to let the current running processes and their children work on the new environment and not on the environment from the ISO itself.

As an exact clone of the usb stick was made the cloned partitions have the same universally unique identifier (UUID) as the original partitions, so there’s no need to update /boot/grub/grub.cfg and /etc/fstab.

To make the new disk usable the boot loader must be installed on this disk by executing grub-install /dev/sdb. Instead of installing the boot loader an error message showed up unexpectedly.

Attempting to install GRUB to a disk with multiple partition labels.
This is not supported yet..

Bob was then checking all the configuration files for the correct UUIDs but whatever he tried to fix it, it didn’t work. Although Bob was sure that the Grub configuration file was correct he finally just recreated it.

grub-mkconfig -o /boot/grub/grub.cfg

Right after Bob ran grub-install again, his face color changed back to normal.



  1. Our miner manufacturing plant supplies btc miners and other digital currency mining hardware.

  2. Rather than doing it themselves, many people would agree they need expert hands for the jobs.
    Another was arrested by state troopers on an outstanding warrant and was turned over to federal immigration officials.
    Getting the services of Long Distance Moving Company
    make your moving easy and very much less taxing.

    My blog post: storage companies in houston tx

  3. After applying the tanner you’ll probably feel
    a bit sticky, so it’s a good idea to apply powder with a
    large body powder puff. Some spray tans made me look like a walking carat stick.

    In order to get a rich and spotless tan while keeping your skin smooth and glowing,
    it is necessary to use the best quality tanning
    products. The cost of the spray tanning procedure will change depending on where the salon is located and the specific service that’s requested.
    The tan will last about the same time as a traditional tan and fade naturally without
    any blotches or streaking. Courses vary depending upon the institution administering the courses, but most of them should teach you about how to apply tanning solution, aftercare tips as well as
    contra-indication, and how to operate and maintain spray tan equipment.
    If you are in despite need of a homemade remedy then here it is.
    It’s a fact of the profession: slips and
    falls are common when dealing with spray tan products
    and a certified instructor will already have been schooled in techniques so this doesn’t happen. Next, in order
    to get an even tan individuals should wax or use a razor to
    clean the skin of hair before their tanning application. If you ask people from the
    health and fitness industry, they are firm believers in the saying, “every
    diet works, if you stick to it.

    Visit my blog – spray tan salon

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>