[lfs-support] Error: invalid file name When Booting For the First Time

Fernando de Oliveira famobr at yahoo.com.br
Sat Nov 23 02:03:48 PST 2013


Em 23-11-2013 06:43, Pierre Labastie escreveu:
> Le 23/11/2013 03:39, Alan Feuerbacher a écrit :


>> Contents of /boot/grub/grub.cfg:
>> ##########
>> # Begin /boot/grub/grub.cfg
>> set default=0
>> set timeout=5
>>
>> insmod ext2
>> set root=(hd1,1)
>> menuentry "GNU/Linux, Linux 3.12-lfs-SVN-20131105" {
>> linux vmlinuz-3.12-lfs-SVN-20131105 root=/dev/sdb1 ro
>> }
>> ##########

Pierre probably found the problem. Just for consistency, not very
relevant, I think it will not matter for booting, also:

s/20131105/20131119/ in menuentry.

>> ##########

>> -rw-r--r-- 1 root root 6341328 Nov 22 20:39 vmlinuz-3.12
>> -rw-r--r-- 1 root root 6341328 Nov 22 20:39 vmlinuz-3.12-lfs
>> -rw-r--r-- 1 root root 6341328 Nov 20 22:09 vmlinuz-3.12-lfs-SVN-20131119
>> -rw-r--r-- 1 root root 6341328 Nov 22 20:40 vmlinuz-3.12-lfs.x86_64
>> ##########
>>
>> Listing of /boot/grub:
>> ##########


>> drwxr-xr-x 2 root root 12288 Nov 22 19:20 i386-pc

>> ##########


>> sdb 8:16 0 1.8T 0 disk
>> ├─sdb1 8:17 0 1G 0 part /boot
>> ├─sdb2 8:18 0 16G 0 part [SWAP]
>> ├─sdb3 8:19 0 100G 0 part /


> I do not see "vmlinuz-3.12-lfs-SVN-20131105" (as mentioned in
> /boot/grub/grub.cfg) in the listing of the /boot directory...
> 
> I think the line in grub.cfg could be:
> linux /vmlinuz-3.12-lfs-SVN-20131119 root=/dev/sdb3 ro
> 
> with 3 changes:
> vmlinuz  -> /vmlinuz
> 20131105 -> 20131119
> /dev/sdb1 -> /dev/sdb3
> 
> The last one is because your root filesystem is on /dev/sdb3. root=... tells
> the kernel where / is.


-- 
[]s,
Fernando



More information about the lfs-support mailing list