> > Now, system can find Linux kernel and boot to the root :)
> > But at first, it tells "error: file not found" and I have to press a key to 
> > continue; do you have any idea please?
> 
> Could you post your grub.cfg please?
> 
> Andy
> -- 
> > Thanks a lot Andrew; Now, system can find Linux kernel and boot to the root 
> > :)
> OK, that part is solved.


> > But at first, it tells "error: file not found" and I have to press a key to 
> > continue; do you have any idea please?

> We need a bit more info.  This is equivalent to saying  'it doesn't work, '

> We can,t help without more data.

>   -- Bruce

Thanks for the replies; here are more detailed info:

root@slax:~# cat /mnt/sda7/grub/grub.cfg
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5
# WHEN I SELECT THIS ENTRY IT TELLS "error: no argument specified" BUT AFTER 
KEY PRESS ENTERS TO WINDOWS SUCCESSFULLY
menuentry "Windows 7 (loader) (on /dev/sda3)" {
    insmod part_msdos
    insmod ntfs
    set root='(hd0,msdos3)'
    search --no-floppy --fs-uuid --set 125c5cdd5c5cbd63
    chainloader +1
}
# WHEN I SELECT THIS ONE IT TELLS "error: file not found" BUT AFTER KEY PRESS 
ENTERS TO LFS SUCCESSFULLY
menuentry "GNU/Linux, Linux 3.4.1-lfs-SVN-20120617" {
    insmod ext3
    set root=(hd0,7)
    linux   /vmlinuz-3.4.1-lfs-SVN-20120617 root=/dev/sda6 ro
}

root@slax:~# cat /mnt/sda6/etc/fstab
# Begin /etc/fstab

# file system  mount-point  type     options             dump  fsck
#                                                              order

/dev/sda6     /            ext3    defaults            1     1
/dev/sda7     /boot            ext3    defaults            1     1
/dev/sda11     /home            ext3    defaults            1     1
/dev/sda10     /opt            ext3    defaults            1     1
/dev/sda9     /tmp            ext3    defaults            1     1
/dev/sda8     /usr/src            ext3    defaults            1     1
/dev/sda5     swap         swap     pri=1               0     0
proc           /proc        proc     nosuid,noexec,nodev 0     0
sysfs          /sys         sysfs    nosuid,noexec,nodev 0     0
devpts         /dev/pts     devpts   gid=5,mode=620      0     0
tmpfs          /run         tmpfs    defaults            0     0
devtmpfs       /dev         devtmpfs mode=0755,nosuid    0     0

# End /etc/fstab

root@slax:~# fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe0000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           9       72261   de  Dell Utility
/dev/sda2              10        1315    10485760    7  HPFS/NTFS
/dev/sda3            1315       14674   107309851    7  HPFS/NTFS
/dev/sda4           14674       30402   126329857    5  Extended
/dev/sda5           29929       30402     3793920   82  Linux swap
/dev/sda6           21215       23468    18096128   83  Linux
/dev/sda7   *       14675       14687      102400   83  Linux
/dev/sda8           24708       29929    41942016   83  Linux
/dev/sda9           24447       24708     2096128   83  Linux
/dev/sda10          23468       24447     7863296   83  Linux
/dev/sda11          14687       21215    52428800   83  Linux

Partition table entries are not in disk order

root@slax:~# ls /mnt/sda6 -Rh > /sda6ls.txt
<file have been attached><attached file have been removed because of maximum 
size of ML>
<NOTE 1: I done all LFS steps with no problem and all tests passed as expected 
in chapter 6 (except Glibc - see note 2), so I don't think that there is any 
problem with a file missing in /mnt/sda6's file-system; However, I attached a 
list of all of them>
<NOTE 2: 6.Glibc-2.15's test failed; failed cases are completely different from 
what have been provided in LFS-SVN e.g. I did not get any thing about cpu-clock 
instead about locale, but when I searched failed cases, I found out that people 
say that these are expected bugs; currently I do not remember fail cases but 
when I can successfully boot to the root and running commands with no problem 
then my Glibc is working, right?>

Sorry if there are a lot info; I was not sure which info can help.

Thanks in advance!
                                                                                
  
-- 
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