This post didn't seem to make it to the list, so I am forwarding it now.

-------- Original Message --------
Subject: Re: Grub Setup
Date: Sun, 22 Apr 2007 19:07:06 +0200
From: Dan D. <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]



On Sun Apr 22 18:09 , Joel Means <[EMAIL PROTECTED]> sent:

>Dan D. wrote:
>> 
>> On Sun Apr 22 16:55 , 'Tijnema !' [EMAIL PROTECTED]> sent:
>> 
>>> On 4/22/07, Dan D. [EMAIL PROTECTED]> wrote:
>>>> Hello!
>>>>
>>>> setup (hd0)
>>>>  Checking if "/boot/grup/stage1" exists... no
>>>>  Checking if "/grup/stage1" exists... yes
>>>>  ...
>>>>
>>>> is this ok? I don't know, I think it isn't, because the 
>> LFS-Book
>>>> sais "If all went well, GRUB will have reported finding its 
>> files
>>>> in /boot/grub."
>>>>
>>>> I've mounted
>>>> /dev/hda1 in $LFS/boot and
>>>> /dev/hda3 in $LFS
>>>>
>>>> There are 3 files in /boot/grup/
>>>> e2fs_stage1_5
>>>> stage1
>>>> stage2
>>>>
>>> It is normal because you have a serperate boot partition, they 
>> path is
>>> relative to the boot partition. And i guess you mean it found 
the
>>> files in /grub? Else i don't know what you did :P
>> 
>> but there isn't a /grub directory.
>> 
>> I did:
>> 
>> root (hd0,0)
>> setup (hd0)
>> 
>> /boot/grub/menu.lst contains:
>> ...
>> title LFS 6.2
>> root (hd0,0)
>> kernel /boot/lfskernel-2.6.16.38 root=/dev/hda1
>> 
>> from hostsystems point of view is there a
>> /mnt/lfs/etc/grub/menu.lst broken symbolic link 
>> to '/boot/grub/menu.lst'
>> 
>> in /boot/grub are 4 files now, the new one is menu.lst ;)
>> 
>> If I try to boot I can choose 'LFS 6.2' but then
>> ...
>> kernel /boot/lfskernel-2.6.16.38 root=/dev/hda1
>> 
>> Error 15: File not found
>> 
>> but /boot/lfskernel-2.6.16.38 exists!!
>> 
>> what's wrong?
>> 
>> --
>> PS: My posts are breaking the threading. :( Can I avoid that?
>> 
>> 
>> Im www.uni.de Apple Store findet ihr die Palette der Apple 
Produkte zum Studentenpreis -- powered by uni.de --
>
>
>Grub isn't looking in $LFS/boot, it is looking directly 
at /dev/hda1.
>Since you have mounted /dev/hda1 on $LFS/boot, you see your files 
at
>$LFS/boot/*, but grub sees them at (/dev/hda1)/*.  So your 
menu.lst
>should have
>
>kernel /lfskernel-2.6.26.38 root=/dev/hda3
>
>I hope that makes sense.
>Joel

Ahh, I understand. The mount point /boot doesn't exists at that
time and root means the root directory (/), that resides on hda3.

The kernel is loading now, but I get another Error:

VFS: Cannot open root device "hda3" or unknown-block(0,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on
unknown-block(0,0)

If I change in menu.lst the 'root (hd0,0)' entry to 'root
(hd0,2)', the kernel wont load and I get an Error 15: File not
found again.


Im www.uni.de Apple Store findet ihr die Palette der Apple Produkte zum
Studentenpreis -- powered by uni.de --



-- 
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