janu mam wrote: > hi all > in my system windows was there on -sda1,sda2-extended partition ,personal > data drive-sda5 > i am doing lfs6.7(book)- on sda6,swap-sda7(i am using lfs-livecd) > ------------------------------------------------------------------- > > see this is my grub.cfg file >
> /sbin/reboot > ... > grub> root (hd0,6) > grub> kernel /boot/grub/core.img > grub> boot > > question: when i issued above command its rebooted > on screen > one warning came and > stopping process.... > > stopping process... > stopping process.... > take cd remove cr tray,press enter > ------------------------------ > > so i removed cd and i pressed enter > then its directly booted into windows > why its not return to root(means to lfs) > > i would appreciate any help The reason you get windows is that the book assumes that your MBR boots to Grub. Your system's MBR still has a Windows boot loader. You will have to do 'grub-setup /dev/sda' and forgo the testing in section 8.4.3. To get to windows from grub, you will need to do the following either from the grub command line or grub.cfg insmod chain insmod ntfs set root=(hd0,1) chainloader +1 See http://www.gnu.org/software/grub/manual/html_node/Chain_002dloading.html#Chain_002dloading -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
