Thu 09 Jun 2011 01:40:19 PM UTC, original submission:
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,
|