Wednesday, June 06, 2012

multiboot - fedora 17

just upgraded last week to fedora 17 and i can say that multiboot is much nicer today than it was not long time ago.

disk setup


i currently have on my laptop this disk partition:
  • /dev/sda2 -> windows 8 preview
  • /dev/sda5 -> fedora 17 /boot (200Mb)
  • /dev/sda6 -> ubuntu 12.04 /boot (200Mb)
  • /dev/sda7 -> nothing (200Mb)
  • /dev/sda8 -> nothing (200Mb)
  • /dev/sda9 -> nothing (200Mb)
  • /dev/sda10 -> crypto LUKS (200Gb)
  • /dev/vg -> lvm2 using decrypted /dev/sda10
    • /dev/vg/fedora_home
    • /dev/vg/fedora_root
    • /dev/vg/fedora_tmp
    • /dev/vg/swap
    • /dev/vg/ubuntu_home
    • /dev/vg/ubuntu_root
partition sda5 through sda9 are used as /boot partitions (only sda5 and sda6 are in use currently). except the above boot partitions, all linux partitions are stored encrypted using LVM2 over crypto LUKS.

ubuntu install


just install ubuntu, select /dev/sda6 as /boot partition and don't install grub on /dev/sda (you might install it on /dev/sda6).

fedora install


again, nothing fancy: select /dev/sda5 as /boot partition, but this time install grub on /dev/sda.

update grub menu


there is nothing much to do actually.

/etc/grub.d/30_os-prober was able to detect available kernels for both fedora and ubuntu. if you have no ubuntu entry in grub, just force grub to regenerate the menu with:
# grub2-mkconfig -o /boot/grub2/grub.cfg
the os-prober even labeled the ubuntu entries as ubuntu!

i love fedora :-)

No comments:

Post a Comment