I'm trying to install a linux from sources inside my home directory(as oposed to creating a dedicated partition). The basic system(glibc, kernel and init) is installed at $HOME/lfs/root. I'm booting this system using grub installed inside my usb drive, here is the relevant part in grub.cfg(I have to change grub root to hd1 since hd0 is my usb stick):
menuentry "Custom linux HD" { set root='(hd1,1)' linux /home/thiago/lfs/root/boot/bzImage root=/dev/sda1/home/thiago/lfs/root ro }
It seems only devices are valid parameters for 'root='. Is there any way to work arround that? I don't want to mess with my current partitions.