From: "Lord Sauron" <lordsauronthegreat@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel
Date: Wed, 29 Mar 2006 16:11:51 -0800 [thread overview]
Message-ID: <e5a3e9ac0603291611s5c2fa3d8xcce855722f60165c@mail.gmail.com> (raw)
In-Reply-To: <200603292349.06274.bo.andresen@gmail.com>
On 3/29/06, Bo Andresen <bo.andresen@gmail.com> wrote:
> On Wednesday 29 March 2006 21:58, Lord Sauron wrote:
> > Okay, here's where I've isolated the problem to. This might be a
> > rather lengthy explanation, so make sure you have about 15 minutes on
> > your hands before diving in. However, the explanation shouldn't take
> > long - I've never actually compiled/installed/used a kernel before.
> > Okay, enough apologising in advance: down to business.
> >
> > I know that it correctly compiles the kernel. I put a new name for
> > the new kernel (test1) to try and ID it as it floats about all the
> > other kernels I'm too scared to delete.
> >
> > # make install
> >
> > Sticks it into /boot. /boot now reads
> >
> > System.map config.old
> > System.map-2.6.15-gentoo-r1 grub
> > System.map-2.6.15-gentoo-r1.old
> > initramfs-genkernel-x86-2.6.15-gentoo-r5 System.map-2.6.15-gentoo-r1test1
> > kernel-genkernel-x86-2.6.15-gentoo-r5
> > System.map-2.6.15-gentoo-r1test1.old lost+found
> > System.map.old vmlinuz
> > boot vmlinuz-2.6.15-gentoo-r1
> > config vmlinuz-2.6.15-gentoo-r1.old
> > config-2.6.15-gentoo-r1 vmlinuz-2.6.15-gentoo-r1test1
> > config-2.6.15-gentoo-r1.old vmlinuz-2.6.15-gentoo-r1test1.old
> > config-2.6.15-gentoo-r1test1 vmlinuz.old
> > config-2.6.15-gentoo-r1test1.old
> >
> > Not terribly exciting. However, I went to /boot/grub/menu.lst and it
> > reads as such:
> >
> > localhost boot # cat ./grub/menu.lst
> > default 0
> > timeout 7
> > splashimage=(hd0,0)/grub/splash.xpm.gz
> > title=Gentoo Linux
> > root (hd0,0)
> > kernel /kernel-genkernel-x86-2.6.15-gentoo-r5 root=/dev/ram0
> > init=/linuxrc ramdisk=8192 real_root=/dev/hda3
> > initrd /initramfs-genkernel-x86-2.6.15-gentoo-r5
> >
> > The most concerning part is the last three lines. For any kernel, it
> > appears to demand the kernel itself. If you'll refer back to # ls
> > /boot then you'll notice that kernel-2.6.15-gentoo-r1test1 isn't
> > there.
>
> Sure it is. It's vmlinuz-2.6.15-gentoo-r1test1 and make install even made a
> symlink to it: vmlinuz.
So that's what it's all about... Okay, that makes sense now.
> If you type ls -l /boot/vmlinuz it should give something that end on:
> /boot/vmlinuz -> vmlinuz-2.6.15-gentoo-r1test1
>
> > Nor is the initrd.
>
> If you don't use genkernel you don't actually need an initrd. If you want one
> you have to enable it. I can't tell you how since I don't use it myself.
Okay. So there are two ways of making kernels, and one of them is
with Genkernel and I'm not using that so I don't need to worry, right?
> > I don't know where they might be, or if
> > they're not there then how to generate them.
>
> Try adding the following to /boot/grub/menu.lst:
>
> title Gentoo Linux test1
> root (hd0,0)
> kernel /vmlinuz root=/dev/hda3
>
> This will create a new menu item in Grub during start up. If you want this
> kernel to be selected by default you either add above the genkernel menu item
> shown above or change the default to 1. After default you can add a fallback
> line and set it to another kernel than the default.
>
> This is a part of my menu.lst:
> ================================================================
> # Boot automatically after 30 secs.
> timeout 5
>
> # By default, boot the first entry.
> default 0
>
> # Fallback to the second entry.
> fallback 1
>
> # Reboot 5 seconds after a kernel panic
> panic=5
>
> # Nice splash image for grub :)
> splashimage=(hd0,1)/grub/splash.xpm.gz
>
> title Gentoo Linux
> root (hd0,1)
> kernel /vmlinuz root=/dev/hda6 video=vesafb-tng:1400x1050-32@60,mtrr,ywrap
> splash=silent,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1
> initrd /fbsplash-livecd-2006.0-1400x1050
>
> title Gentoo Linux (Old)
> root (hd0,1)
> kernel /vmlinuz.old root=/dev/hda6 video=vesafb-tng:1400x1050-32@60,mtrr,ywrap
> splash=verbose,theme:livecd-2006.0 quiet CONSOLE=/dev/tty1
> initrd /boot/fbsplash-livecd-2006.0-1024x768
> ================================================================
>
> The indented lines are on the end of the kernel line above them. My initrd's
> are create by splashutils and have nothing to do with compiling the kernel.
> If they are removed it boots just as well just without the livecd-2006 theme.
>
> > If I can find out those two things then I should be able to test my
> > new kernel and see if it actually worked.
> >
> > On 3/28/06, Neil Bothwick <neil@digimed.co.uk> wrote:
> > > On Tue, 28 Mar 2006 11:51:11 +0200, Bo Andresen wrote:
> > > > > Sorry, what does YMMV mean?
> > > >
> > > > Those are the resources that I use for that kind of questions:
> > > >
> > > > http://en.wikipedia.org/wiki/YMMV
> > > > http://www.urbandictionary.com/define.php?term=ymmv
> > >
> > > You can also emerge wtf.
> >
> > I assume wtf will tell me what wtf stands for... is the last letter
> > representative of a forbidden word, by any chance?
>
> Of course ;) :
>
> $ wtf wtf
> WTF: {what,when,where,who,why} the fuck
>
> > > $ wtf ymmv
> > > YMMV: your mileage may vary
> > >
>
> Yeah, it's just that the wiki and sometimes the urban dictionary are often
> more detailed. :)
>
> --
> Bo Andresen
> --
> gentoo-user@gentoo.org mailing list
>
>
--
========== GCv3.12 ==========
GCS d-(++) s+: a? C++ UL+>++++ P+
L++ E--- W+(+++) N++ o? K? w--- O? M+
V? PS- PE+ Y-(--) PGP- t+++ 5? X R tv-- b+
DI+++ D+ G e* h- !r !y
========= END GCv3.12 ========
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2006-03-30 0:16 UTC|newest]
Thread overview: 47+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-24 7:10 [gentoo-user] New To Gentoo and Emerge, No ACPI in Kernel Lord Sauron
2006-03-24 8:19 ` Gabriel Dain
2006-03-24 8:27 ` Teresa and Dale
2006-03-25 0:14 ` Lord Sauron
2006-03-25 1:22 ` Lord Sauron
2006-03-25 1:31 ` Ryan Tandy
2006-03-25 2:21 ` Teresa and Dale
2006-03-25 7:21 ` Lord Sauron
2006-03-25 16:56 ` Teresa and Dale
2006-03-25 21:17 ` Lord Sauron
2006-03-25 21:22 ` Lord Sauron
2006-03-25 21:58 ` Peter Ruskin
2006-03-25 15:10 ` Josh Helmer
2006-03-26 7:26 ` Lord Sauron
2006-03-26 23:20 ` Gabriel Dain
2006-03-26 23:24 ` Lord Sauron
2006-03-27 1:18 ` Gabriel Dain
2006-03-27 4:43 ` Teresa and Dale
2006-03-27 6:35 ` Lord Sauron
2006-03-27 18:13 ` Teresa and Dale
2006-03-27 19:39 ` Lord Sauron
2006-03-27 20:09 ` Lord Sauron
2006-03-27 20:13 ` Devon Miller
2006-03-28 2:18 ` Teresa and Dale
2006-03-28 2:51 ` Lord Sauron
2006-03-28 9:51 ` Bo Andresen
2006-03-28 11:01 ` Neil Bothwick
2006-03-29 19:58 ` Lord Sauron
2006-03-29 21:12 ` Holly Bostick
2006-03-29 21:49 ` Bo Andresen
2006-03-30 0:11 ` Lord Sauron [this message]
2006-03-30 0:53 ` Lord Sauron
2006-03-30 1:44 ` Bo Andresen
2006-03-30 1:19 ` Teresa and Dale
2006-03-28 2:29 ` Teresa and Dale
2006-03-28 2:55 ` Lord Sauron
2006-03-28 3:25 ` Lord Sauron
2006-03-28 4:45 ` Jeremy Olexa
2006-03-28 5:43 ` Teresa and Dale
2006-03-28 6:02 ` Lord Sauron
2006-03-25 14:07 ` Alexander Skwar
2006-03-24 9:34 ` Neil Bothwick
2006-03-24 9:02 ` Alexander Kirillov
2006-03-24 16:38 ` Richard Fish
2006-03-24 16:39 ` Richard Fish
2006-03-24 19:25 ` Mike Myers
2006-03-25 3:44 ` Mait
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=e5a3e9ac0603291611s5c2fa3d8xcce855722f60165c@mail.gmail.com \
--to=lordsauronthegreat@gmail.com \
--cc=gentoo-user@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