[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #33501] can t boot on lvm volumes with pxe boot
From: |
christian dare |
Subject: |
[bug #33501] can t boot on lvm volumes with pxe boot |
Date: |
Thu, 09 Jun 2011 13:40:20 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux i686 on x86_64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1 |
URL:
<http://savannah.gnu.org/bugs/?33501>
Summary: can t boot on lvm volumes with pxe boot
Project: GNU GRUB
Submitted by: christian_dare
Submitted on: jeu. 09 juin 2011 13:40:19 GMT
Category: Network
Severity: Major
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release:
Release: other
Reproducibility: Every Time
Planned Release: None
_______________________________________________________
Details:
Hi,
I ve compiled grub 1.99 on a debian squeeze without any problem.
I ve used grub-mknetdir to create necessary files to pxe boot grub.
My computer boots fine with pxe grub , i ve got the menu i ve defined ,
evething seems OK.
But i can t boot my linux, grub can t see my lvm volumes.
I ve grub installed on the computer disk too with the same grub.cfg and if i
boot locally , it works.
Here what i ve done :
grub-mknetdir --net-directory=/tftpboot --subdir=pxegrub
configure dhcpd with filename "pxegrub/i386-pc/core.0";
create in pxegrub/i386-pc a grub.cfg like this :
menuentry 'Linux Sauvegarde/Restauration' --class debian --class gnu-linux
--class gnu --class os {
insmod lvm
insmod part_msdos
insmod ext2
set root='(lvmelec-boot)'
linux /vmlinuz-2.6.32-5-amd64 root=/dev/mapper/lvmelec-admin ro
initrd /initrd.img-2.6.32-5-amd64
}
After booting by pxe , on a grub console ,here what i see even after inserting
biosdisk lvm ext2 part_msdos modules:
grub>ls
(hd0) (hd0,msdos2) (hd0,msdos1) (pxe)
No lvm volumes
After booting locally, i have that in grub console :
grub>ls
(lvmelec-admin) (lvmelec-swap) (lvmelec-boot) (hd0) (hd0,msdos2) (hd0,msdos1)
I can see the lvm volumes !
I ve tried this to include the modules in core.0 but it s the same result :
grub-mknetdir --net-directory=/boot --subdir=pxegrub --modules=lvm
--modules=ext2 --modules=biosdisk --modules=normal --modules=part_msdos
Is there something bad in my method ? something missing ?
cheers,
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?33501>
_______________________________________________
Message posté via/par Savannah
http://savannah.gnu.org/
- [bug #33501] can t boot on lvm volumes with pxe boot,
christian dare <=