GRUB2 menulist configuration, root in LVM
Hi, I hope this is right place to ask this question. I did everything I could, googled, read manuals and still I have problem. I'll be really grateful if you can help!
First, some info. Partitioning of my hdd: sda1 - ntfs - Windows boot sda2 - ntfs - Windows C: sda3 - ntfs - Windows D: sda4 - extended -sda5 - ext4 - /boot -sda6 - lvm And inside sda6 there's LVM group calld G1 divided into volumes: home, root, tmp, usr, var, swap So, here's my story: I've just installed Debian Testing and GRUB2. Also disabled recovery mode for Debian in GRUB. After those operations I had two menu entries in GRUB: -Debian GNU/Linux, with Linux 3.2.0-3-amd64 -Windows 7 (loader) (on /dev/sda1) So far great! However, I'm a little bit pedant person and wanted to have just: -Windows 7 -Debian Wheezy Let's do it! Found this guide: http://www.dedoimedo.com/computers/g...mozTocId584691 No problems with Windows 7, created 11_windows7, inside: Quote:
Quote:
Quote:
Also, found interesting article here: https://wiki.archlinux.org/index.php/GRUB2#LVM and, accordingly tried: Quote:
PS.: I wrote the whole story, because, surely, I've made a lot of mistakes during configuration and partitioning or something could have been done better or more professionally. Maybe you are able to find some mistakes =) |
You need to point Grub to your /boot, not the /-partition, since the kernel and initrd reside in /boot. So it should be
Code:
set root=hd(0,5) Code:
root=/dev/VOLUME_GROUP/LOGICAL_VOLUME |
Tried, but without success. I used those combinations:
Quote:
Quote:
Quote:
Quote:
|
All times are GMT -5. The time now is 02:45 AM. |