From: Kurt Kiefer <kekiefer@umail.ucsb.edu>
To: gentoo-embedded@lists.gentoo.org
Subject: Re: [gentoo-embedded] x86 Howto
Date: Tue, 28 Jun 2005 20:57:41 -0700 [thread overview]
Message-ID: <EBACC9F9-B348-4D31-A4F7-2C0C9F4EFDCD@umail.ucsb.edu> (raw)
>> nano -w /embedded_rootfs/boot/grub/grub.conf
>> /*
>> default 0
>> timeout 10
>> splashimage=(hd0,0)/boot/grub/splash.xpm.gz
>>
>> title=Linux 2.6.x
>> root (hd0,0)
>> kernel /vmlinuz-2.6.x root=/dev/hda1 vga=792
>> */
> the latter should be
> kernel /boot/vmlinuz-2.6.x root=/dev/hda1 vga=792
I didn't follow Heath's HowTo exactly, and my setup is probably a bit
different, but I just want to get this out in the open to make sure
everything is clear.
- If you mount /dev/hda1 at /boot (as in the big Gentoo manual) and
then put your kernel here, root (hd0,0) and kernel /vmlinuz-2.6.x are
correct, but it should have been root=/dev/hda3.
- It seems in the howto, /boot is on /dev/hda2 of the flash
installation, so (hd0,1) and /vmlinuz would be correct (the first
drive's second partition). Root=/dev/hda1 is ok that that case if
that's where your filesystem is.
- Now, if the kernel is in the directory /boot of /dev/hda1 and the
root file system is also /dev/hda1, Pierre's above solution is correct.
Basically, though, a bootloader knows nothing of your local mount
points.
As for your problem, Pierre, check that you're getting your paths to
your init right and don't forget to think about what grub sees. In
this grub conf, the kernel is on /dev/hda1 and the root filesystem is
on /dev/hda3. This also runs pre-init (part of the filesystem on /dev/
hda3) instead of init:
title=Linux 2.6.x
root (hd0,0)
kernel /vmlinuz-2.6.x root=/dev/hda3 init=/sbin/pre-init
Kurt
PS: I apologize if I broke threads in your mailreaders, but I just
signed up for the list after reading some archives online and had to
copy and paste into my reply.
--
gentoo-embedded@gentoo.org mailing list
next reply other threads:[~2005-06-29 3:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-29 3:57 Kurt Kiefer [this message]
2005-06-29 4:07 ` [gentoo-embedded] x86 Howto Ow Mun Heng
2005-06-29 7:03 ` Kurt Kiefer
-- strict thread matches above, loose matches on Subject: below --
2005-06-28 9:05 Pierre Cassimans
2005-06-28 9:36 ` Ow Mun Heng
2005-06-29 2:09 ` Ned Ludd
2005-06-29 2:27 ` Ow Mun Heng
2005-06-29 4:15 ` Ned Ludd
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EBACC9F9-B348-4D31-A4F7-2C0C9F4EFDCD@umail.ucsb.edu \
--to=kekiefer@umail.ucsb.edu \
--cc=gentoo-embedded@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox