[SOLVED]Booting on a MacBookPro with LVM on LUKS and UEFI
edit doktor5000: split out from viewtopic.php?f=8&t=7421
Hi,
I'm hijacking this thread because I have some questions regarding Mageia on a MacBook Pro. I'm a freshly baked Mageia user, I just installed it on a laptop (with MBR) and I love it. A short introduction about me. I've been using Linux and BSD since 2006, I started with Ubuntu and Dapper Drake. I have been using Ubuntu, Mint, Fedora, Debian, FreeBSD, PC-BSD, Arch Linux and now Mageia. But I still need some help every now and then with Linux because I'm not a natural talent in computing
I am shredding /dev/sda4 on my MacBook at the moment to prepare for the Mageia install. I have been using Arch Linux on the MacBook with encrypted LVM and LUKS and it has beed working very good and that is the setup I am looking for with Mageia. But I am simplifying my computer use and I will put Mageia with Mate on all my computers back home (even if I am a deb user) because Mageia impressed me after my first install on the laptop. I especially liked the Mageia Control Center, the balanced choice of programs and the fact that my old laptop is finally running cool again.
I will dualboot on the MacBook and the partitions on the HDD will be:
1. sda1 with 200MB for EFI System
2. sda2 where OS X is installed
3. sda3 på 620MB which is a recovery partition for OS X
4. 128MB unused disk (they say this is the way OSX like it)
5. sda4 with /boot
6. sda5 with encrypted LVM
6a. lv /
6b. lv swap
6c. lv home
I have tried to install Mageia yesterday on the MacBook but I ran into problems while booting. I have reFind installed from OS X and it found the Mageia install but I ended up in grub rescue mode when I tried to start Mageia. My questions are:
1. Where shall I put EFI and install GRUB. When I installed Arch Linux I did the following
Shall i try to do the same thing with Mageia?
2. Is it enough to encrypt the LVM or shall I also encrypt the /, swap and /home within the LVM? It seems overkill to me.
3. Shall I install reFind again after the installation of Mageia but as a rpm package? Is refind in the repositories?
These are the questions I can come up with at the moment, but there will be more! Anyways, thanks a lot for any help!
//haveaniceday
Hi,
I'm hijacking this thread because I have some questions regarding Mageia on a MacBook Pro. I'm a freshly baked Mageia user, I just installed it on a laptop (with MBR) and I love it. A short introduction about me. I've been using Linux and BSD since 2006, I started with Ubuntu and Dapper Drake. I have been using Ubuntu, Mint, Fedora, Debian, FreeBSD, PC-BSD, Arch Linux and now Mageia. But I still need some help every now and then with Linux because I'm not a natural talent in computing
I will dualboot on the MacBook and the partitions on the HDD will be:
1. sda1 with 200MB for EFI System
2. sda2 where OS X is installed
3. sda3 på 620MB which is a recovery partition for OS X
4. 128MB unused disk (they say this is the way OSX like it)
5. sda4 with /boot
6. sda5 with encrypted LVM
6a. lv /
6b. lv swap
6c. lv home
I have tried to install Mageia yesterday on the MacBook but I ran into problems while booting. I have reFind installed from OS X and it found the Mageia install but I ended up in grub rescue mode when I tried to start Mageia. My questions are:
1. Where shall I put EFI and install GRUB. When I installed Arch Linux I did the following
- Code: Select all
# mkdir -p /boot/efi
# mount -t vfat /dev/sda1 /boot/efi
# modprobe dm-mod
# grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=arch_grub --recheck --debug
# mkdir -p /boot/grub/locale
# cp /usr/share/locale/en\@quot/LC_MESSAGES/grub.mo /boot/grub/locale/en.mo
Shall i try to do the same thing with Mageia?
2. Is it enough to encrypt the LVM or shall I also encrypt the /, swap and /home within the LVM? It seems overkill to me.
3. Shall I install reFind again after the installation of Mageia but as a rpm package? Is refind in the repositories?
These are the questions I can come up with at the moment, but there will be more! Anyways, thanks a lot for any help!
//haveaniceday