Results 1 to 3 of 3

Thread: howto boot multiple ubuntu installations with GRUB

  1. #1
    Join Date
    Aug 2007
    Beans
    58

    howto boot multiple ubuntu installations with GRUB

    Should this work?

    1) I have a clean install of Hardy Server on /dev/sda6, with the swap on /dev/sda5.
    2) I backed up the /dev/sda6 partition using TrueImage and then restored it to /dev/sda7 and /dev/sda8

    I want to be able to use GRUB boot from one of these 3 (currently identical) partitions. Should this work? If so, what do I have to do to Grub or fstab or whatever to choose the active installation? The other 2 unused partitions can remain unmounted.

    My intention is to play with 3 different server configs, including the addition of Mythbuntu on 1 of them and ubuntu-desktop on the other, until I figure out which one is best for me.

    TIA.

  2. #2
    Join Date
    Aug 2007
    Beans
    58

    Re: howto boot multiple ubuntu installations with GRUB

    FYI, it looks like the filesystem UUIDs are the same for sda6/7/8. I suspect it is because I restored the same image into each partition. Is that a problem?

    I tried to change the grub root param to "root (0, x)" but when I choose to boot sda7/8 (the restored partitions) I get this error:

    "Error 1: Filename must be either an absolut pathname or blocklist"

  3. #3
    Join Date
    Jun 2006
    Beans
    7,419
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: howto boot multiple ubuntu installations with GRUB

    you're headed for a trainwreck with a setup like that, but in theory it should be possible. Yes, cloning a partition copies the whole thing along with the uuid. Just make sure you don't try to mount the other partitions and make sure /etc/fstab includes only the / and /swap.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •