boot-install error lfs 8
hy
when i execute boot-install /dev/sdb grub file is created in /boot but end up with error "is device mounted in /dev. in /dev folder i only have "console" and "null" , no sda or sda3 where i install lfs. i execute this in chroot. when i reboot and try boot, grub gives error no device with that uuid and show uuid of host system hard disk on /sda. using qemu-kvm |
You should bind mount /dev from host system.
|
when i bind do i do grub-install from host or chroot. and way i get wrong uuid when booting. grub tell that cant find uuid XXXXXX and that number is from machine where i build not fron lfs disk.
|
I copied the kernel and its other 2 files into /boot on the lfs partition and rebooted into my host Ubuntu system and then ran update-grub and it found lfs and added it to the boot menu.
Both systems are on the same drive though, /dev/sda. |
update-grub solved. booting like a charm.
|
I am glad my suggestion worked for you.
|
All times are GMT -5. The time now is 01:43 AM. |