You are not logged in.

#1 2012-07-26 01:15:09

ill
Member
From: US
Registered: 2011-06-22
Posts: 115

Trying a LVM install, having problems

This whole new installation process combined with never doing a LVM setup before has me on a bit of a learning curve but after a few re-tries I think I'm getting close. I'm trying to install grub but I get a warning about core.img being unusually large and then it won't fit in the embedding area so it fails.

I have one giant physical partition and /, /home, /media virtual partitions with LVM.

Any help?

Offline

#2 2012-07-26 10:56:11

webspider
Member
Registered: 2012-07-19
Posts: 27

Re: Trying a LVM install, having problems

I'm sorry I can't really help you with this, but after installing GRUB on a LVM-on-LUKS setup failed for me as well, I resorted to syslinux.

Offline

#3 2012-07-26 11:13:55

Barrucadu
Member
From: York, England
Registered: 2008-03-30
Posts: 1,158
Website

Re: Trying a LVM install, having problems

You need to leave a bit of space before the first partition for the grub core.img to be embedded. IIRC, 31KB is the minimum, but I just usually leave a 1MB gap.

Offline

#4 2012-08-08 02:28:20

ill
Member
From: US
Registered: 2011-06-22
Posts: 115

Re: Trying a LVM install, having problems

Sorry it's taken me a while to get back to you all, this isn't my highest priority right now. I tried it again, with space at the beginning. Now when I run "grub-install --root-directory=/mnt /dev/sda" I get the error "/dev/sda does not have any corresponding BIOS drive".

Last edited by ill (2012-08-08 02:32:16)

Offline

#5 2012-08-08 07:09:55

tr!x0r
Member
From: Belgium
Registered: 2010-12-31
Posts: 55
Website

Re: Trying a LVM install, having problems

If I'm understanding correctly,

You have one drive, did you created your LVM structure with pvcreate /dev/sda or did you create a partition and gave it the code e8/8e ( I don't remember which one it was exactly).

Remember, to boot LVM you have to change a few settings. Also remember that your /boot partition should be a physical partition and not an LVM one, this will not work.

If you need any help, feel free to ask. I've been playing with LVM a lot lately so I think I should be able to help you.

Cheers


Remember, when using Linux, you're the one in control
http://www.linux-answered.com

Offline

Board footer

Powered by FluxBB