I think ur grub.conf should look like this:
-------------------------------------------
default 0
timeout 5
root (hd0,0)
kernel /boot/(ur kernel name) root=/dev/hda2
--------------------------------------------
It 'll work.
<quote who="Barry Berger">
> I made it through LFS 6.0 and everything is working fine but I missed
> some modules during configuration of the first kernel. So I built a new
> one and now I can't get it to boot.  Grub complains that the file can't
> be found.  /boot is on /dev/hda1, / is on /dev/hda2
>
> For fun, I copied the original, working kernel image to a new name,
> verified that system.map is the same size (assumming they are identical)
> ...I still get the same 'file not found' error from Grub. I've searched
> and read but have obviously missed something - is there something else I
> need to do after modifying menu.lst before I try to boot?
>
> My currnet /boot/menu.lst is:
>
> ============================================
> default 0
>
> # Allow 10 seconds before booting the default.
> timeout 10
>
> # Use prettier colors.
> color green/black light-green/black
>
> # The first entry is for LFS.
> title LFS 6.0
> root (hd0,2)
> kernel /boot/lfskernel-2.6.8.1 root=/dev/hda3
>
> # new kernel with additional module support
> title
> root (hd0,2)
> kernel /boot/lfskernel-2.6.8.1v root=/dev/hda3
>
> #copy of the original kernel
> title why doesn't this work?
> root (hd0,2)
> kernel /boot/lfskernel_copy root=/dev/hda3
> ============================================
>
> /boot loks like this:
>
> -rw-r--r--  1 root root  714486 Feb 23 21:33 System.map-2.6.8.1
> -rw-r--r--  1 root root  714486 Mar 12 07:41 System.map-2.6.8.1v
> -rw-r--r--  1 root root   26937 Feb 23 21:33 config-2.6.8.1
> -rw-r--r--  1 root root   27693 Mar 12 07:41 config-2.6.8.1v
> drwxr-xr-x  2 root root    1024 Mar 12 21:54 grub
> -rw-r--r--  1 root root 1372720 Feb 23 21:33 lfskernel-2.6.8.1
> -rw-r--r--  1 root root 1372836 Mar 12 07:39 lfskernel-2.6.8.1v
> -rw-r--r--  1 root root 1372720 Mar 12 18:33 lfskernel_copy
> drwx------  2 root root    1024 Mar 12 02:56 lost+found
>
>
> Any advice is greatly appreciated!
>
> Thanks,
>         Barry
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
>


-- 
Regards:
Mukesh Kaushal

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to