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
root:/# cat /boot/grub/grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by /usr/sbin/grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_
- Hide quoted text -
entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set f02e767d-d75e-4e3c-93ac-85d3fdadcec0
set locale_dir=($root)/boot/grub/locale
set lang=
insmod gettext
set timeout=5
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry "GNU/Linux, with Linux 2.6.35.4-lfs-6.7" --class gnu-linux --class
gnu --class os {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set
f02e767d-d75e-4e3c-93ac-85d3fdadcec0
echo Loading Linux 2.6.35.4-lfs-6.7 ...
linux /boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda6 ro
}
menuentry "GNU/Linux, with Linux 2.6.35.4-lfs-6.7 (recovery mode)" --class
gnu-linux --class gnu --class os {
insmod ext2
set root='(hd0,6)'
search --no-floppy --fs-uuid --set
f02e767d-d75e-4e3c-93ac-85d3fdadcec0
echo Loading Linux 2.6.35.4-lfs-6.7 ...
linux /boot/vmlinux-2.6.35.4-lfs-6.7 root=/dev/sda6 ro single
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type
the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
-----------------------------
right now i am here
8.4.3. Testing the Configuration
/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
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page