'/usr/sbin/grub-probe: error: cannot stat `/dev/root'
Hi everybody
I build target BLFS, now I want to use LFS as a standalone OS and boot directly from Bios, not as a bootable partition by host. I have installed grub2 on LFS7.2 and I'd make my grub.cfg file. my partition that LFS is located on it, is sdb1 now I am booted on BLFS through my host grub and below info is from booted BLFS(that have X and fluxbox and Firefox). Code:
root [ /home/blfs ]# mount Code:
root [ /home/blfs ]# cat /boot/grub/grub.cfg Code:
root [ /home/blfs ]# grub-install -v Code:
root [ /home/blfs ]# grub-install /dev/sdb |
this is my /proc/self/mountinfo file
Code:
root [ /home/blfs ]# cat /proc/self/mountinfo I read thisquestion but I don't find how the problem has been solved! |
Hi
So you want lfs to control the booting? Is lfs built on a usb devivce? Can you post Code:
sudo fdisk -l |
Hi Spiky0011
I build LFS on a VM. yesterday I wanted to boot LFS as a standalone OS and the problem have been solved with this thread. for install grub, I logout from LFS GUI and chroot to LFS env according to LFS book instructions and the problem solved and now LFS is booted on a VM. but now I want to transfer LFS on a hardware like flash or thin. to do this, I first compressed LFS to lfs.tar.bz2 that its size is about 500M and my thin memory is 2G. I first run a iso os like fedora 13 then I mount my flash and my thin to live fedora and copy lfs.tar.bz2 to my hard. but when I extract the lfs.tar.bz2 because the size of LFS is about 1.4G then my memory space not is enough. what do I do? please give me your suggestions. thank you every body |
Hi
I have done similar using dd but you need at least the same size partition |
All times are GMT -5. The time now is 09:16 PM. |