[lfs-support] Q: HOWTO: chainload from GRUB2 on /dev/sdb to GRUB2 on /dev/sda ?

Bruce Dubbs bruce.dubbs at gmail.com
Mon Feb 27 09:50:05 PST 2012

Jeremy Henty wrote:
> Bruce Dubbs wrote:
>> I don't know  how to exactly do  what you are trying to  do, but try
>> dropping to  the grub  command line and  manually try  some commands
>> (ls, etc).  You might want to try something like:
>> grub> root (hd0,1)
>> grub> kernel /boot/grub/core.img
>> grub> boot
> Thanks,  but those  look  like  GRUB Legacy  commands.   What are  the
> equivalents for GRUB2?

I don't think that they have changed that much.



grub> linux (hd0,1)/grub/core.img
grub> boot

Change the partition number to where /boot is located.  Add /boot if 
it's not a separate partition.

   -- Bruce

More information about the lfs-support mailing list