[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[linux-lvm] Dual booting with LVM


I'm trying to dual boot my new laptop with both WinXP, Ubuntu Hoary, and Debian
Sid, and am getting stuck.  This is not strictly a LVM problem, but LVM is the
main cause of my situation.  This is what I have so far:

hda1 is NTFS, is WinXP
hda2 is ext3, is /boot
hda3 is a LVM2 PV

The PV is split into four LVs: "ubuntu", "debian", "home", and "swap". 
Currently ubuntu has a fresh Hoary install in, and home is obviously my home
directory.  My plan is to put Debian Sid into the debian LV.

However, I'm getting confused about how LVM, grub, and the boot sequence will
work.  At the moment the MBA contains grub, which reads configuration and
Ubuntu's kernel from hda2 as grub can't read kernels from a LVM partition.  If I
install Debian into the debian LV, what do I do with it's /boot?  Would I need
to create a new partition outside the LVM for it, or is there a way I can share
hda2 with both Debian and Ubuntu as /boot?

If anyone has done this before, some advise would be much appreciated.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]