public inbox for gentoo-amd64@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-amd64] initrd
@ 2005-10-28 14:13 DR GM SEDDON
  2005-10-28 14:54 ` Mark Knecht
  2005-10-29 15:36 ` [gentoo-amd64] initrd Hemmann, Volker Armin
  0 siblings, 2 replies; 36+ messages in thread
From: DR GM SEDDON @ 2005-10-28 14:13 UTC (permalink / raw
  To: gentoo-amd64

Dear list,
I have just started using Gentoo and up-to-now am impressed.  I have 
generated a kernel using 'genkernel' and the kernel is in /boot.  
However, I do not have 'initrd' but 'initramfs'.  is this a problem or 
should I modify grub appropriately?
Gavin.
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-28 14:13 [gentoo-amd64] initrd DR GM SEDDON
@ 2005-10-28 14:54 ` Mark Knecht
  2005-10-28 15:27   ` [gentoo-amd64] initrd Duncan
  2005-10-29 15:36 ` [gentoo-amd64] initrd Hemmann, Volker Armin
  1 sibling, 1 reply; 36+ messages in thread
From: Mark Knecht @ 2005-10-28 14:54 UTC (permalink / raw
  To: gentoo-amd64

On 10/28/05, DR GM SEDDON <gavin.m.seddon@manchester.ac.uk> wrote:
> Dear list,
> I have just started using Gentoo and up-to-now am impressed.  I have
> generated a kernel using 'genkernel' and the kernel is in /boot.
> However, I do not have 'initrd' but 'initramfs'.  is this a problem or
> should I modify grub appropriately?
> Gavin.

Possibly. I don't use an initrd at all and boot just fine, so it's
possible that you can skip the whole issue if you want to.

Cheers,
Mark

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* [gentoo-amd64]  Re: initrd
  2005-10-28 14:54 ` Mark Knecht
@ 2005-10-28 15:27   ` Duncan
  0 siblings, 0 replies; 36+ messages in thread
From: Duncan @ 2005-10-28 15:27 UTC (permalink / raw
  To: gentoo-amd64

Mark Knecht posted
<5bdc1c8b0510280754u28830e2bwa2b9fadba6b66a35@mail.gmail.com>, excerpted
below,  on Fri, 28 Oct 2005 07:54:17 -0700:

> On 10/28/05, DR GM SEDDON <gavin.m.seddon@manchester.ac.uk> wrote:
>> Dear list,
>> I have just started using Gentoo and up-to-now am impressed.  I have
>> generated a kernel using 'genkernel' and the kernel is in /boot.
>> However, I do not have 'initrd' but 'initramfs'.  is this a problem or
>> should I modify grub appropriately?
>> Gavin.
> 
> Possibly. I don't use an initrd at all and boot just fine, so it's
> possible that you can skip the whole issue if you want to.

initrd/initramfs isn't normally needed for boot sequences where the kernel
has the drivers required to mount / builtin.  It's there, for cases such
as / on RAID, where some initial setup is required before the normal /
partition can be loaded.

Another case where initrd/initramfs is used, is for mainly binary
distributions, where all the various file system and disk drive interface
chipset drivers are compiled as kernel modules, rather than built-in. 
Obviously, if a module needed to load / is stored in /lib/modules on the /
partition, it won't be reachable, thus an initrd (the old solution) or
initramfs (the newer one) is configured, containing the modules and
configuration needed to mount the normal /.  (I say normal /, because an
initrd/initramfs functions as a temporary / file system while these things
are loaded, then a pivot_root is used to transfer to the normal /
partition, once it is mounted.)

Gentoo's genkernel creates an initrd/initramfs because it bases its
initial configuration on that of the liveCD, after the LiveCD has detected
your hardware and loaded the appropriate modules.  The LiveCD uses an
initrd so it can load modules as necessary, and also so it can pivot-root
off of the read-only temporary CD root, to a read/write ramdisk root
created and loaded with the necessary goodies uncompressed off the CD. 
Because genkernel bases its default setup on the one off the CD, it too
defaults to an initrd/initramfs, even tho most folks don't actually need
one, once they have a kernel with the drivers necessary to mount root
compiled in.

So, answering the original question, initramfs is the new version of
initrd, so no, you don't have to worry about it.  However, chances are,
unless you are running your / on RAID or something similarly exotic, you
don't need an initramfs either, if you have at minimum, the drivers
necessary to mount your / filesystem, compiled directly into the kernel,
not as modules.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman in
http://www.linuxdevcenter.com/pub/a/linux/2004/12/22/rms_interview.html


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
@ 2005-10-28 16:19 Dmitri Pogosyan
  2005-10-29  6:12 ` Lee Thompson
  2005-10-29 13:21 ` DR GM SEDDON
  0 siblings, 2 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-28 16:19 UTC (permalink / raw
  To: gentoo-amd64

Not really, you can use initramfs in place of initrd. I have in grub.conf 
 
title=Gentoo Linux 2.6.13-r3 UDEV 
root (hd0,0) 
kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc 
real_root=/dev/sda2 vga=3847 udev 
initrd /initramfs-2.6.13-gentoo-r3 
 
 
 
 
> Dear list, 
> I have just started using Gentoo and up-to-now am impressed.  I have  
> generated a kernel using 'genkernel' and the kernel is in /boot.   
> However, I do not have 'initrd' but 'initramfs'.  is this a problem or  
> should I modify grub appropriately? 
> Gavin. 
> --  
> gentoo-amd64@gentoo.org mailing list 
 
 
 
-- 
Dmitri Pogosyan            Department of Physics 
Associate Professor        University of Alberta 
tel 1-780-492-2150         412 Avadh Bhatia Physics Labs 
fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA 
 
 
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-28 16:19 Dmitri Pogosyan
@ 2005-10-29  6:12 ` Lee Thompson
  2005-10-29 13:21 ` DR GM SEDDON
  1 sibling, 0 replies; 36+ messages in thread
From: Lee Thompson @ 2005-10-29  6:12 UTC (permalink / raw
  To: gentoo-amd64

Great write-up on initrd here
http://gentoo-wiki.com/HOWTO_fbsplash
very cool stuff

--- Dmitri Pogosyan <pogosyan@phys.ualberta.ca> wrote:

> Not really, you can use initramfs in place of
> initrd. I have in grub.conf 
>  
> title=Gentoo Linux 2.6.13-r3 UDEV 
> root (hd0,0) 
> kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0
> ramdisk=16384 init=/linuxrc 
> real_root=/dev/sda2 vga=3847 udev 
> initrd /initramfs-2.6.13-gentoo-r3 
>  
>  
>  
>  
> > Dear list, 
> > I have just started using Gentoo and up-to-now am
> impressed.  I have  
> > generated a kernel using 'genkernel' and the
> kernel is in /boot.   
> > However, I do not have 'initrd' but 'initramfs'. 
> is this a problem or  
> > should I modify grub appropriately? 
> > Gavin. 
> > --  
> > gentoo-amd64@gentoo.org mailing list 
>  
>  
>  
> -- 
> Dmitri Pogosyan            Department of Physics 
> Associate Professor        University of Alberta 
> tel 1-780-492-2150         412 Avadh Bhatia Physics
> Labs 
> fax 1-780-492-0714         Edmonton, AB, T6G 2J1,
> CANADA 
>  
>  
> -- 
> gentoo-amd64@gentoo.org mailing list
> 
> 



		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-28 16:19 Dmitri Pogosyan
  2005-10-29  6:12 ` Lee Thompson
@ 2005-10-29 13:21 ` DR GM SEDDON
  2005-10-29 13:29   ` Craig Webster
  2005-10-31  1:23   ` bruce harding
  1 sibling, 2 replies; 36+ messages in thread
From: DR GM SEDDON @ 2005-10-29 13:21 UTC (permalink / raw
  To: gentoo-amd64

Dmitri Pogosyan wrote:

>Not really, you can use initramfs in place of initrd. I have in grub.conf 
> 
>title=Gentoo Linux 2.6.13-r3 UDEV 
>root (hd0,0) 
>kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc 
>real_root=/dev/sda2 vga=3847 udev 
>initrd /initramfs-2.6.13-gentoo-r3 
> 
> 
> 
> 
>  
>
>>Dear list, 
>>I have just started using Gentoo and up-to-now am impressed.  I have  
>>generated a kernel using 'genkernel' and the kernel is in /boot.   
>>However, I do not have 'initrd' but 'initramfs'.  is this a problem or  
>>should I modify grub appropriately? 
>>Gavin. 
>>--  
>>gentoo-amd64@gentoo.org mailing list 
>>    
>>
> 
> 
> 
>  
>
I noticed your files are in / not /boot where mine  are.  Should I mv them?
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-29 13:21 ` DR GM SEDDON
@ 2005-10-29 13:29   ` Craig Webster
  2005-10-29 14:16     ` DR GM SEDDON
  2005-10-31  1:23   ` bruce harding
  1 sibling, 1 reply; 36+ messages in thread
From: Craig Webster @ 2005-10-29 13:29 UTC (permalink / raw
  To: gentoo-amd64

On 29 Oct 2005, at 14:21, DR GM SEDDON wrote:
> Dmitri Pogosyan wrote:
>> Not really, you can use initramfs in place of initrd. I have in  
>> grub.conf title=Gentoo Linux 2.6.13-r3 UDEV root (hd0,0) kernel / 
>> kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc  
>> real_root=/dev/sda2 vga=3847 udev initrd /initramfs-2.6.13-gentoo-r3
>>
>>> Dear list, I have just started using Gentoo and up-to-now am  
>>> impressed.  I have  generated a kernel using 'genkernel' and the  
>>> kernel is in /boot.   However, I do not have 'initrd' but  
>>> 'initramfs'.  is this a problem or  should I modify grub  
>>> appropriately? Gavin. --  gentoo-amd64@gentoo.org mailing list
>>>
>>
>>
> I noticed your files are in / not /boot where mine  are.  Should I  
> mv them?

They're in / only on the boot partition ie they are in the root of  
(hd0,0).

If you are specifying your files as living in /boot on the boot  
partition then this could stop your system booting fully.

Perhaps you could post your grub.conf?

Yours,
Craig
--
Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-29 13:29   ` Craig Webster
@ 2005-10-29 14:16     ` DR GM SEDDON
  2005-10-29 15:41       ` Karol Krizka
                         ` (2 more replies)
  0 siblings, 3 replies; 36+ messages in thread
From: DR GM SEDDON @ 2005-10-29 14:16 UTC (permalink / raw
  To: gentoo-amd64

my grub.conf:
' default 0
timeout     5
splashimage=(hd0.0)/grub/splash.xpm.gz

title=linux-2.6.13
root (hd0.0)
kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc 
ramdisk-8193 real_root=/dev/hda3 udev
initrd /initrd'

I see hoew by saying root (hd0,0) leaves things relative to /boot.  But 
there is no linuxrc in /boot.  I think this is the prob.

The error code is 15. 
Thanks


Craig Webster wrote:

> On 29 Oct 2005, at 14:21, DR GM SEDDON wrote:
>
>> Dmitri Pogosyan wrote:
>>
>>> Not really, you can use initramfs in place of initrd. I have in  
>>> grub.conf title=Gentoo Linux 2.6.13-r3 UDEV root (hd0,0) kernel / 
>>> kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc  
>>> real_root=/dev/sda2 vga=3847 udev initrd /initramfs-2.6.13-gentoo-r3
>>>
>>>> Dear list, I have just started using Gentoo and up-to-now am  
>>>> impressed.  I have  generated a kernel using 'genkernel' and the  
>>>> kernel is in /boot.   However, I do not have 'initrd' but  
>>>> 'initramfs'.  is this a problem or  should I modify grub  
>>>> appropriately? Gavin. --  gentoo-amd64@gentoo.org mailing list
>>>>
>>>
>>>
>> I noticed your files are in / not /boot where mine  are.  Should I  
>> mv them?
>
>
> They're in / only on the boot partition ie they are in the root of  
> (hd0,0).
>
> If you are specifying your files as living in /boot on the boot  
> partition then this could stop your system booting fully.
>
> Perhaps you could post your grub.conf?
>
> Yours,
> Craig
> -- 
> Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
> Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net
>
>

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-28 14:13 [gentoo-amd64] initrd DR GM SEDDON
  2005-10-28 14:54 ` Mark Knecht
@ 2005-10-29 15:36 ` Hemmann, Volker Armin
  1 sibling, 0 replies; 36+ messages in thread
From: Hemmann, Volker Armin @ 2005-10-29 15:36 UTC (permalink / raw
  To: gentoo-amd64

On Friday 28 October 2005 16:13, DR GM SEDDON wrote:
> Dear list,
> I have just started using Gentoo and up-to-now am impressed.  I have
> generated a kernel using 'genkernel' and the kernel is in /boot.
> However, I do not have 'initrd' but 'initramfs'.  is this a problem or
> should I modify grub appropriately?
> Gavin.

I touched genkernel only once (when a friend used it, and it made a totally 
useless kernel) and from my experience it builds inadequate kernels.
Plus, if you are not using raid, any initrd/initramfs just adds time and 
overhead to your booting. It is a waste of ressources.
The only ones who 'need' it are distributions, who do want to use a 'one 
kernel fits all' approach and people with / on a raid/dm device.

Just build a kernel by yourself. It is easy.
make menuconfig
mount /boot
make all modules_install install 
and let grub.conf point to vmlinuz and vmlinuz.old.

The install run will create a vmlinuz link to your latest kernel and a 
vmlinuz.old link to the one used.
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-29 14:16     ` DR GM SEDDON
@ 2005-10-29 15:41       ` Karol Krizka
  2005-10-30  9:48         ` DR GM SEDDON
  2005-10-29 16:40       ` Drake Donahue
  2005-10-29 17:15       ` William Tetrault
  2 siblings, 1 reply; 36+ messages in thread
From: Karol Krizka @ 2005-10-29 15:41 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 2027 bytes --]

On Saturday 29 October 2005 07:16, DR GM SEDDON wrote:
> my grub.conf:
> ' default 0
> timeout     5
> splashimage=(hd0.0)/grub/splash.xpm.gz
>
> title=linux-2.6.13
> root (hd0.0)
> kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc
> ramdisk-8193 real_root=/dev/hda3 udev
> initrd /initrd'
>
I have the sameconfig and it works ok exept the name of /initrd I 
have /initramfs-genkernel-x86_64-2.6.13-gentoo-r3. Maybe that is the problem?

> I see hoew by saying root (hd0,0) leaves things relative to /boot.  But
> there is no linuxrc in /boot.  I think this is the prob.
>
/linuxrc is in the initramfs thing so that's not the problem.

> The error code is 15.
> Thanks
>
> Craig Webster wrote:
> > On 29 Oct 2005, at 14:21, DR GM SEDDON wrote:
> >> Dmitri Pogosyan wrote:
> >>> Not really, you can use initramfs in place of initrd. I have in
> >>> grub.conf title=Gentoo Linux 2.6.13-r3 UDEV root (hd0,0) kernel /
> >>> kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc
> >>> real_root=/dev/sda2 vga=3847 udev initrd /initramfs-2.6.13-gentoo-r3
> >>>
> >>>> Dear list, I have just started using Gentoo and up-to-now am
> >>>> impressed.  I have  generated a kernel using 'genkernel' and the
> >>>> kernel is in /boot.   However, I do not have 'initrd' but
> >>>> 'initramfs'.  is this a problem or  should I modify grub
> >>>> appropriately? Gavin. --  gentoo-amd64@gentoo.org mailing list
> >>
> >> I noticed your files are in / not /boot where mine  are.  Should I
> >> mv them?
> >
> > They're in / only on the boot partition ie they are in the root of
> > (hd0,0).
> >
> > If you are specifying your files as living in /boot on the boot
> > partition then this could stop your system booting fully.
> >
> > Perhaps you could post your grub.conf?
> >
> > Yours,
> > Craig
> > --
> > Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
> > Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net

-- 
Karol Krizka

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-29 14:16     ` DR GM SEDDON
  2005-10-29 15:41       ` Karol Krizka
@ 2005-10-29 16:40       ` Drake Donahue
  2005-10-29 18:12         ` Drake Donahue
  2005-10-29 17:15       ` William Tetrault
  2 siblings, 1 reply; 36+ messages in thread
From: Drake Donahue @ 2005-10-29 16:40 UTC (permalink / raw
  To: gentoo-amd64

splashimage=(hd0.0)/grub/splash.xpm.gz should be
    splashimage=(hd0.0)/grub/splash.xpm.gz

root (hd0.0) should be
    root (hd0,0)

i.e. period should be a comma in both lines

sample in the documentation suggests to me:

        boot knoppix, mount hard drive root partion and read the directory:
             /kernel-2.6.13-r3 should be listed if not some other kernel 
should be listed in the directory and should be
             substituted for /kernel-2.6.13-r3 in the kernel line

kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc 
should be
    kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc 
ramdisk=8192 real_root=/dev/hda3 udev


 initrd /initrd' should be         (Maybe --didn't use genkernel and don't 
know it but if it copies kernel direct from cd to ramdisk this:)
    initrd /initramfs-genkernel-amd64-2.6.12-gentoo-r6
                                            (or Maybe --didn't use genkernel 
and don't know it but if it doesn't copy kernel direct from cd this:)
    initrd /initramfs-genkernel-amd64-2.6.13-gentoo-r3


----- Original Message ----- 
From: "DR GM SEDDON" <gavin.m.seddon@manchester.ac.uk>
To: <gentoo-amd64@lists.gentoo.org>
Sent: Saturday, October 29, 2005 10:16 AM
Subject: Re: [gentoo-amd64] initrd


> my grub.conf:
> ' default 0
> timeout     5
> splashimage=(hd0.0)/grub/splash.xpm.gz
>
> title=linux-2.6.13
> root (hd0.0)
> kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc 
> ramdisk-8193 real_root=/dev/hda3 udev
> initrd /initrd'

 default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.12
root (hd0,0)
kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 
real_root=/dev/hda3 udev
initrd /initramfs-genkernel-amd64-2.6.12-gentoo-r6 

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-29 14:16     ` DR GM SEDDON
  2005-10-29 15:41       ` Karol Krizka
  2005-10-29 16:40       ` Drake Donahue
@ 2005-10-29 17:15       ` William Tetrault
  2 siblings, 0 replies; 36+ messages in thread
From: William Tetrault @ 2005-10-29 17:15 UTC (permalink / raw
  To: gentoo-amd64

On Saturday 29 October 2005 09:16 am, DR GM SEDDON wrote:
> my grub.conf:
> ' default 0
> timeout     5
> splashimage=(hd0.0)/grub/splash.xpm.gz
>
> title=linux-2.6.13
> root (hd0.0)
try "kernel (hd0,0)/boot/genkernel-* ...."  I think the kernel line,without 
the "(hd0,0)/boot" tells grub to look for something which doesn't exist, 
especially if /genkernel is in the /boot directory on (hd0,0).
> kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc
> ramdisk-8193 real_root=/dev/hda3 udev
> initrd /initrd'
>
> I see hoew by saying root (hd0,0) leaves things relative to /boot.  But
> there is no linuxrc in /boot.  I think this is the prob.
>
> The error code is 15.
> Thanks
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-29 16:40       ` Drake Donahue
@ 2005-10-29 18:12         ` Drake Donahue
  0 siblings, 0 replies; 36+ messages in thread
From: Drake Donahue @ 2005-10-29 18:12 UTC (permalink / raw
  To: gentoo-amd64

oops:

splashimage=(hd0.0)/grub/splash.xpm.gz should be
   splashimage=(hd0,0)/grub/splash.xpm.gz

----- Original Message ----- 
From: "Drake Donahue" <donahue95@comcast.net>
To: <gentoo-amd64@lists.gentoo.org>
Sent: Saturday, October 29, 2005 12:40 PM
Subject: Re: [gentoo-amd64] initrd


> splashimage=(hd0.0)/grub/splash.xpm.gz should be
>    splashimage=(hd0,0)/grub/splash.xpm.gz
>
> root (hd0.0) should be
>    root (hd0,0)
>
> i.e. period should be a comma in both lines
>
> sample in the documentation suggests to me:
>
>        boot knoppix, mount hard drive root partion and read the directory:
>             /kernel-2.6.13-r3 should be listed if not some other kernel 
> should be listed in the directory and should be
>             substituted for /kernel-2.6.13-r3 in the kernel line
>
> kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc 
> should be
>    kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc 
> ramdisk=8192 real_root=/dev/hda3 udev
>
>
> initrd /initrd' should be         (Maybe --didn't use genkernel and don't 
> know it but if it copies kernel direct from cd to ramdisk this:)
>    initrd /initramfs-genkernel-amd64-2.6.12-gentoo-r6
>                                            (or Maybe --didn't use 
> genkernel and don't know it but if it doesn't copy kernel direct from cd 
> this:)
>    initrd /initramfs-genkernel-amd64-2.6.13-gentoo-r3
>
>
> ----- Original Message ----- 
> From: "DR GM SEDDON" <gavin.m.seddon@manchester.ac.uk>
> To: <gentoo-amd64@lists.gentoo.org>
> Sent: Saturday, October 29, 2005 10:16 AM
> Subject: Re: [gentoo-amd64] initrd
>
>
>> my grub.conf:
>> ' default 0
>> timeout     5
>> splashimage=(hd0.0)/grub/splash.xpm.gz
>>
>> title=linux-2.6.13
>> root (hd0.0)
>> kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc 
>> ramdisk-8193 real_root=/dev/hda3 udev
>> initrd /initrd'
>
> default 0
> timeout 30
> splashimage=(hd0,0)/grub/splash.xpm.gz
>
> title=Gentoo Linux 2.6.12
> root (hd0,0)
> kernel /kernel-2.6.12-gentoo-r6 root=/dev/ram0 init=/linuxrc ramdisk=8192 
> real_root=/dev/hda3 udev
> initrd /initramfs-genkernel-amd64-2.6.12-gentoo-r6
> -- 
> gentoo-amd64@gentoo.org mailing list
>
> 

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
@ 2005-10-29 23:49 Dmitri Pogosyan
  0 siblings, 0 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-29 23:49 UTC (permalink / raw
  To: gentoo-amd64

> On 29 Oct 2005, at 14:21, DR GM SEDDON wrote:
> > Dmitri Pogosyan wrote:
> >> Not really, you can use initramfs in place of initrd. I have in  
> >> grub.conf title=Gentoo Linux 2.6.13-r3 UDEV root (hd0,0) kernel / 
> >> kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc  
> >> real_root=/dev/sda2 vga=3847 udev initrd /initramfs-2.6.13-gentoo-r3
> >>
> >>> Dear list, I have just started using Gentoo and up-to-now am  
> >>> impressed.  I have  generated a kernel using 'genkernel' and the  
> >>> kernel is in /boot.   However, I do not have 'initrd' but  
> >>> 'initramfs'.  is this a problem or  should I modify grub  
> >>> appropriately? Gavin. --  gentoo-amd64@gentoo.org mailing list
> >>>
> >>
> >>
> > I noticed your files are in / not /boot where mine  are.  Should I  
> > mv them?
> 
> They're in / only on the boot partition ie they are in the root of  
> (hd0,0).
> 
> If you are specifying your files as living in /boot on the boot  
> partition then this could stop your system booting fully.
> 
Exactly, here is my

#ls -l /boot
-rw-r--r--  1 root root 1050830 Mar 30  2005 System.map-2.6.11-gentoo-r3
-rw-r--r--  1 root root 1050580 May 12 22:42 System.map-2.6.11-gentoo-r7
-rw-r--r--  1 root root 1214233 Oct 11 00:54 System.map-2.6.13-gentoo-r3
-rw-r--r--  1 root root 1019913 Mar  5  2005 System.map-2.6.9-gentoo-r14
-rw-r--r--  1 root root 1219082 Oct 11 17:54 System.map-2.6.13-gentoo-r3
lrwxrwxrwx  1 root root       1 Jan 11  2005 boot -> .
drwxr-xr-x  2 root root    1024 Oct 11 17:27 grub
-rw-r--r--  1 root root  884138 Oct 11 17:57 initramfs-2.6.13-gentoo-r3
-rw-r--r--  1 root root 1044636 Mar 30  2005 initrd-2.6.11-gentoo-r3
-rw-r--r--  1 root root 1035787 May 12 22:45 initrd-2.6.11-gentoo-r7
-rw-r--r--  1 root root 1055316 Mar  5  2005 initrd-2.6.9-gentoo-r14
-rw-r--r--  1 root root 1748333 Mar 30  2005 kernel-2.6.11-gentoo-r3
-rw-r--r--  1 root root 1745664 May 12 22:42 kernel-2.6.11-gentoo-r7
-rw-r--r--  1 root root 1795423 Oct 11 17:54 kernel-2.6.13-gentoo-r3
-rw-r--r--  1 root root 1663290 Mar  5  2005 kernel-2.6.9-gentoo-r14
drwx------  2 root root   12288 Jan 11  2005 lost+found





-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
@ 2005-10-29 23:54 Dmitri Pogosyan
  0 siblings, 0 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-29 23:54 UTC (permalink / raw
  To: gentoo-amd64

> On Saturday 29 October 2005 07:16, DR GM SEDDON wrote:
> > my grub.conf:
> > ' default 0
> > timeout     5
> > splashimage=(hd0.0)/grub/splash.xpm.gz
> >
> > title=linux-2.6.13
> > root (hd0.0)
> > kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc
> > ramdisk-8193 real_root=/dev/hda3 udev
> > initrd /initrd'
> >
> I have the sameconfig and it works ok exept the name of /initrd I 
> have /initramfs-genkernel-x86_64-2.6.13-gentoo-r3. Maybe that is the problem?
> 

Yep, initrd should point to the real initrd or initramfs file in /boot  !

Aso, why is this double dash in /genkernel--x86_64 ? Is it not a mistyping by
any chance ?






--
Dmitri Pogosyan            Department of Physics
Associate Professor        University of Alberta
tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-29 15:41       ` Karol Krizka
@ 2005-10-30  9:48         ` DR GM SEDDON
  2005-10-30 15:45           ` Karol Krizka
  2005-10-30 17:38           ` William Tetrault
  0 siblings, 2 replies; 36+ messages in thread
From: DR GM SEDDON @ 2005-10-30  9:48 UTC (permalink / raw
  To: gentoo-amd64

Karol Krizka wrote:

>On Saturday 29 October 2005 07:16, DR GM SEDDON wrote:
>  
>
>>my grub.conf:
>>' default 0
>>timeout     5
>>splashimage=(hd0.0)/grub/splash.xpm.gz
>>
>>title=linux-2.6.13
>>root (hd0.0)
>>kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc
>>ramdisk-8193 real_root=/dev/hda3 udev
>>initrd /initrd'
>>
>>    
>>
>I have the sameconfig and it works ok exept the name of /initrd I 
>have /initramfs-genkernel-x86_64-2.6.13-gentoo-r3. Maybe that is the problem?
>
>  
>
>>I see hoew by saying root (hd0,0) leaves things relative to /boot.  But
>>there is no linuxrc in /boot.  I think this is the prob.
>>
>>    
>>
>/linuxrc is in the initramfs thing so that's not the problem.
>
>  
>
>>The error code is 15.
>>Thanks
>>
>>Craig Webster wrote:
>>    
>>
>>>On 29 Oct 2005, at 14:21, DR GM SEDDON wrote:
>>>      
>>>
>>>>Dmitri Pogosyan wrote:
>>>>        
>>>>
>>>>>Not really, you can use initramfs in place of initrd. I have in
>>>>>grub.conf title=Gentoo Linux 2.6.13-r3 UDEV root (hd0,0) kernel /
>>>>>kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc
>>>>>real_root=/dev/sda2 vga=3847 udev initrd /initramfs-2.6.13-gentoo-r3
>>>>>
>>>>>          
>>>>>
>>>>>>Dear list, I have just started using Gentoo and up-to-now am
>>>>>>impressed.  I have  generated a kernel using 'genkernel' and the
>>>>>>kernel is in /boot.   However, I do not have 'initrd' but
>>>>>>'initramfs'.  is this a problem or  should I modify grub
>>>>>>appropriately? Gavin. --  gentoo-amd64@gentoo.org mailing list
>>>>>>            
>>>>>>
>>>>I noticed your files are in / not /boot where mine  are.  Should I
>>>>mv them?
>>>>        
>>>>
>>>They're in / only on the boot partition ie they are in the root of
>>>(hd0,0).
>>>
>>>If you are specifying your files as living in /boot on the boot
>>>partition then this could stop your system booting fully.
>>>
>>>Perhaps you could post your grub.conf?
>>>
>>>Yours,
>>>Craig
>>>--
>>>Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
>>>Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net
>>>      
>>>
>
>  
>
grub.conf
'default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz

title=linux-2.6.13
root (hd0,0)
kernel /genkernel-x86_64-2.6.13-gentoo-r3 root=/dev/ram0 
init=/initramfs-genkernel-x86_64-2.6.13-gentoo-r3 ramdisk=8192
real_boot=/dev/hda3 udev
initrd /initrd'

fstab
'# /etc/fstab: static file system information.
# $Header: /var/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.18.4.1 
2005/01/31 23:05:14 vapier Exp $
#
# noatime turns off atimes for increased performance (atimes normally 
aren't
# needed; notail increases performance of ReiserFS (at the expense of 
storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# See the manpage fstab(5) for more information.

# <fs>            <mountpoint>    <type>        <opts>        <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
#/dev/BOOT        /boot        ext2        noauto,noatime    1 2
#/dev/ROOT        /        ext3        noatime        0 1
#/dev/SWAP        none        swap        sw        0 0
#/dev/cdroms/cdrom0    /mnt/cdrom    iso9660        noauto,ro    0 0
#/dev/fd0        /mnt/floppy    auto        noauto        0 0

# NOTE: The next line is critical for boot!
#proc            /proc        proc        defaults    0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
#shm            /dev/shm    tmpfs        nodev,nosuid,noexec    0 0

#my fstab
/dev/hda1        /boot            ext3    defaults,noatime        1 2
/dev/hda2        none            swap    sw                0 0
/dev/hda3        /            ext3    noatime                0 1

none            /proc            proc    defaults            0 0
none            /dev/shm        tmpfs    nodev,nosuid,noexec        0 0

/dev/cdroms/cdrom0    /mnt/cdrom        auto    noauto,user            0 0
/dev/fd0        /mnt/floppy        auto    noauto,user            0 0
'

I wondered, should /boot be ext2?  Or should I use some of the 'default' 
entries?
Thanks.
I looked at the url mentioned it tells me my error(15) is grub not 
finding my kernel.  How do I tell grub to boot my kernel from the 
command line?  It tells me the kernel needs to be loaded first.
Gavin.



-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-30  9:48         ` DR GM SEDDON
@ 2005-10-30 15:45           ` Karol Krizka
  2005-10-30 17:38           ` William Tetrault
  1 sibling, 0 replies; 36+ messages in thread
From: Karol Krizka @ 2005-10-30 15:45 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 3370 bytes --]

On Sunday 30 October 2005 01:48, DR GM SEDDON wrote:
> Karol Krizka wrote:
> >On Saturday 29 October 2005 07:16, DR GM SEDDON wrote:
> >>my grub.conf:
> >>' default 0
> >>timeout     5
> >>splashimage=(hd0.0)/grub/splash.xpm.gz
> >>
> >>title=linux-2.6.13
> >>root (hd0.0)
> >>kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc
> >>ramdisk-8193 real_root=/dev/hda3 udev
> >>initrd /initrd'
> >
> >I have the sameconfig and it works ok exept the name of /initrd I
> >have /initramfs-genkernel-x86_64-2.6.13-gentoo-r3. Maybe that is the
> > problem?
> >
> >>I see hoew by saying root (hd0,0) leaves things relative to /boot.  But
> >>there is no linuxrc in /boot.  I think this is the prob.
> >
> >/linuxrc is in the initramfs thing so that's not the problem.
> >
> >>The error code is 15.
> >>Thanks
> >>
> >>Craig Webster wrote:
> >>>On 29 Oct 2005, at 14:21, DR GM SEDDON wrote:
> >>>>Dmitri Pogosyan wrote:
> >>>>>Not really, you can use initramfs in place of initrd. I have in
> >>>>>grub.conf title=Gentoo Linux 2.6.13-r3 UDEV root (hd0,0) kernel /
> >>>>>kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 init=/linuxrc
> >>>>>real_root=/dev/sda2 vga=3847 udev initrd /initramfs-2.6.13-gentoo-r3
> >>>>>
> >>>>>>Dear list, I have just started using Gentoo and up-to-now am
> >>>>>>impressed.  I have  generated a kernel using 'genkernel' and the
> >>>>>>kernel is in /boot.   However, I do not have 'initrd' but
> >>>>>>'initramfs'.  is this a problem or  should I modify grub
> >>>>>>appropriately? Gavin. --  gentoo-amd64@gentoo.org mailing list
> >>>>
> >>>>I noticed your files are in / not /boot where mine  are.  Should I
> >>>>mv them?
> >>>
> >>>They're in / only on the boot partition ie they are in the root of
> >>>(hd0,0).
> >>>
> >>>If you are specifying your files as living in /boot on the boot
> >>>partition then this could stop your system booting fully.
> >>>
> >>>Perhaps you could post your grub.conf?
> >>>
> >>>Yours,
> >>>Craig
> >>>--
> >>>Craig Webster | t: +44 (0)131 516 8595 | e: craig@xeriom.net
> >>>Xeriom.NET    | f: +44 (0)709 287 1902 | w: http://xeriom.net
>
> grub.conf
> 'default 0
> timeout 5
> splashimage=(hd0,0)/grub/splash.xpm.gz
>
> title=linux-2.6.13
> root (hd0,0)
> kernel /genkernel-x86_64-2.6.13-gentoo-r3 root=/dev/ram0
> init=/initramfs-genkernel-x86_64-2.6.13-gentoo-r3 ramdisk=8192
> real_boot=/dev/hda3 udev
> initrd /initrd'
>
Try replacing the kernel name with kernel-genkernel-x86_64-2.6.13-gentoo-r3, 
if that dosn't work show us the outpot of ls /boot.

<snip>
>
> I wondered, should /boot be ext2?  Or should I use some of the 'default'
> entries?
This is my line for the boot partition:
/dev/hda1               /boot           auto            noauto,noatime,notail 
1 1
It's reiserFS I think. I used "auto" because I wasn't sure what to type for 
it.

> Thanks.
> I looked at the url mentioned it tells me my error(15) is grub not
> finding my kernel.  How do I tell grub to boot my kernel from the
> command line?  It tells me the kernel needs to be loaded first.
Press e over the kernel you want to boot, then choose the line you want to 
edit and press e again. You can also use d to delete a line. There is 
instructions for more key bindings on the bottom of GRUB.

-- 
Karol Krizka

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
@ 2005-10-30 15:59 Dmitri Pogosyan
  2005-10-30 17:35 ` Karol Krizka
  2005-10-31  9:33 ` DR GM SEDDON
  0 siblings, 2 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-30 15:59 UTC (permalink / raw
  To: gentoo-amd64


> > I wondered, should /boot be ext2?  Or should I use some of the 'default'
> > entries?
> This is my line for the boot partition:
> /dev/hda1               /boot           auto            noauto,noatime,notail 
> 1 1
> It's reiserFS I think. I used "auto" because I wasn't sure what to type for 
> it.
> 
I have

/dev/sda1		/boot		ext3		noatime		1 1
/dev/sda2		/		reiserfs	noatime		0 0

and the rest are reiserfs. Do you, by the way, have reiserfs build into the
kernel or as a module ?


> -- 
> Karol Krizka



--
Dmitri Pogosyan            Department of Physics
Associate Professor        University of Alberta
tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
@ 2005-10-30 15:59 Dmitri Pogosyan
  0 siblings, 0 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-30 15:59 UTC (permalink / raw
  To: gentoo-amd64


> > I wondered, should /boot be ext2?  Or should I use some of the 'default'
> > entries?
> This is my line for the boot partition:
> /dev/hda1               /boot           auto            noauto,noatime,notail 
> 1 1
> It's reiserFS I think. I used "auto" because I wasn't sure what to type for 
> it.
> 
I have

/dev/sda1		/boot		ext3		noatime		1 1
/dev/sda2		/		reiserfs	noatime		0 0

and the rest are reiserfs. Do you, by the way, have reiserfs build into the
kernel or as a module ?



-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-30 15:59 Dmitri Pogosyan
@ 2005-10-30 17:35 ` Karol Krizka
  2005-10-31  9:33 ` DR GM SEDDON
  1 sibling, 0 replies; 36+ messages in thread
From: Karol Krizka @ 2005-10-30 17:35 UTC (permalink / raw
  To: gentoo-amd64

[-- Attachment #1: Type: text/plain, Size: 913 bytes --]

On Sunday 30 October 2005 07:59, Dmitri Pogosyan wrote:
> > > I wondered, should /boot be ext2?  Or should I use some of the
> > > 'default' entries?
> >
> > This is my line for the boot partition:
> > /dev/hda1               /boot           auto           
> > noauto,noatime,notail 1 1
> > It's reiserFS I think. I used "auto" because I wasn't sure what to type
> > for it.
>
> I have
>
> /dev/sda1		/boot		ext3		noatime		1 1
> /dev/sda2		/		reiserfs	noatime		0 0
>
> and the rest are reiserfs. Do you, by the way, have reiserfs build into the
> kernel or as a module ?
>
In kernel, but as I understand from this thread it dosn't matter since it's 
the point of initrd to make sure the modules are loaded. But that's not the 
problem as you need to access /boot before the kernel is loaded. And ext3 is 
almost the same as ext2 but with journaling as I understand it.

-- 
Karol Krizka

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-30  9:48         ` DR GM SEDDON
  2005-10-30 15:45           ` Karol Krizka
@ 2005-10-30 17:38           ` William Tetrault
  1 sibling, 0 replies; 36+ messages in thread
From: William Tetrault @ 2005-10-30 17:38 UTC (permalink / raw
  To: gentoo-amd64

On Sunday 30 October 2005 03:48 am, DR GM SEDDON wrote:
> Karol Krizka wrote:
> >On Saturday 29 October 2005 07:16, DR GM SEDDON wrote:
> >>my grub.conf:
> >>' default 0
> >>timeout     5
> >>splashimage=(hd0.0)/grub/splash.xpm.gz
> >>
> >>title=linux-2.6.13
> >>root (hd0.0)
> >>kernel /genkernel--x86_64-2.6.13-gentoo-r3 root=/dev/ram0  init=/linuxrc
> >>ramdisk-8193 real_root=/dev/hda3 udev
> >>initrd /initrd'
SNIP
> >
> >>>>I noticed your files are in / not /boot where mine  are.  Should I
> >>>>mv them?
> >>>
> >>>They're in / only on the boot partition ie they are in the root of
> >>>(hd0,0).
> >>>
> >>>If you are specifying your files as living in /boot on the boot
> >>>partition then this could stop your system booting fully.
> >>>
> >>>Perhaps you could post your grub.conf?
SNIP

I've been using gentoo for 3 yrs now and using a grub.conf exactly as follows 
for all that time.  It has <never> failed to work.  I did not create 
the /boot dir with mkdir, that was done when I cp'd my bzImage 
from /usr/src/linux/arch/x86_64/boot/bzImage to /boot, and I did it that way 
because that's how the docs said to do it.

tbill@Shooter ~ $ cat /boot/grub/grub.conf
default 0
timeout 10
splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title=Gentoo (linux kernel 2.6.11-gentoo-r10)
root (hd0,0)
kernel (hd0,0)/boot/bzImage root=/dev/sda1

If you, when you installed gentoo in the first place, placed /boot in its own 
partition, then anything you copy to that partition is going to start with 
"/boot...".  How else are you going to tell the kernel to copy something to 
the boot partition when /boot is all you've mounted there?  If you, as root, 
tell the system to mount the partition where you've installed grub.conf, how 
else do you specify it except as "mount /boot".  I don't mean to belabor the 
point, but....

So tell grub to look on "(hd0,0)/boot/bzImage" for the kernel to boot, 
only,since you don't have a bzImage but a genkernel, change it accordingly: 
(hd0,0)/boot/genkernel-*.  I assure you that this <does not> "stop your 
system from booting fully."

Also, since you're getting error code 15, what you have in /etc/fstab is 
completely immaterial.  Grub can't even find your kernel, and grub's interest 
stops at finding the kernel, so take care of grub's errors first, then worry 
about whether your fstab is properly set up.

Bill Tetrault
Madison, WI
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
@ 2005-10-30 18:07 Dmitri Pogosyan
  2005-10-30 19:24 ` William Tetrault
  0 siblings, 1 reply; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-30 18:07 UTC (permalink / raw
  To: gentoo-amd64


> I've been using gentoo for 3 yrs now and using a grub.conf exactly as follows 
> for all that time.  It has <never> failed to work.  I did not create 
> the /boot dir with mkdir, that was done when I cp'd my bzImage 
> from /usr/src/linux/arch/x86_64/boot/bzImage to /boot, and I did it that way 
> because that's how the docs said to do it.
> 
> tbill@Shooter ~ $ cat /boot/grub/grub.conf
> default 0
> timeout 10
> splashimage=(hd0,0)/boot/grub/splash.xpm.gz
> 
> title=Gentoo (linux kernel 2.6.11-gentoo-r10)
> root (hd0,0)
> kernel (hd0,0)/boot/bzImage root=/dev/sda1
> 
> If you, when you installed gentoo in the first place, placed /boot in its own 
> partition, then anything you copy to that partition is going to start with 
> "/boot...".  How else are you going to tell the kernel to copy something to 
> the boot partition when /boot is all you've mounted there?  If you, as root, 
> tell the system to mount the partition where you've installed grub.conf, how 
> else do you specify it except as "mount /boot".  I don't mean to belabor the 
> point, but....
> 
> So tell grub to look on "(hd0,0)/boot/bzImage" for the kernel to boot, 
> only,since you don't have a bzImage but a genkernel, change it accordingly: 
> (hd0,0)/boot/genkernel-*.  I assure you that this <does not> "stop your 
> system from booting fully."
> 
> Also, since you're getting error code 15, what you have in /etc/fstab is 
> completely immaterial.  Grub can't even find your kernel, and grub's interest 
> stops at finding the kernel, so take care of grub's errors first, then worry 
> about whether your fstab is properly set up.
> 

Actually, that reminds me that a year ago on amd64 architecture the compiled
grub did not work for me (it did compile but fail to boot) and I had
to use grub-static-0.93, which worked fine.  I looked now and see that
I still use this version of grub on all my amd64 machines. 



--
Dmitri Pogosyan            Department of Physics
Associate Professor        University of Alberta
tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-30 18:07 Dmitri Pogosyan
@ 2005-10-30 19:24 ` William Tetrault
  2005-10-30 20:32   ` Nuitari
  2005-10-31  9:47   ` DR GM SEDDON
  0 siblings, 2 replies; 36+ messages in thread
From: William Tetrault @ 2005-10-30 19:24 UTC (permalink / raw
  To: gentoo-amd64

I too have been on the amd64 platform since early last year, and am still 
using grub-static, although I know that grub now compiles fine for this 
platform (at least, that is what I've heard - I'm still using grub-static).  
But whether one uses grub or grub-static, the installed files are the same, 
and grub works the same regardless of which is chosen.  My grub.conf has not 
changed from when I was using Athlon XP's (although it's no longer called 
grub.lst).

On Sunday 30 October 2005 12:07 pm, Dmitri Pogosyan wrote:
> Actually, that reminds me that a year ago on amd64 architecture the
> compiled grub did not work for me (it did compile but fail to boot) and I
> had to use grub-static-0.93, which worked fine.  I looked now and see that
> I still use this version of grub on all my amd64 machines.
>
>
>
> --
> Dmitri Pogosyan            Department of Physics
> Associate Professor        University of Alberta
> tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
> fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-30 19:24 ` William Tetrault
@ 2005-10-30 20:32   ` Nuitari
  2005-10-31  9:52     ` DR GM SEDDON
  2005-10-31 13:43     ` DR GM SEDDON
  2005-10-31  9:47   ` DR GM SEDDON
  1 sibling, 2 replies; 36+ messages in thread
From: Nuitari @ 2005-10-30 20:32 UTC (permalink / raw
  To: gentoo-amd64

I finally switched my only grub system to lilo yesterday.

On Sun, 30 Oct 2005, William Tetrault wrote:

> Date: Sun, 30 Oct 2005 13:24:30 -0600
> From: William Tetrault <xcourse97@charter.net>
> Reply-To: gentoo-amd64@lists.gentoo.org
> To: gentoo-amd64@lists.gentoo.org
> Subject: Re: [gentoo-amd64] initrd
> 
> I too have been on the amd64 platform since early last year, and am still
> using grub-static, although I know that grub now compiles fine for this
> platform (at least, that is what I've heard - I'm still using grub-static).
> But whether one uses grub or grub-static, the installed files are the same,
> and grub works the same regardless of which is chosen.  My grub.conf has not
> changed from when I was using Athlon XP's (although it's no longer called
> grub.lst).
>
> On Sunday 30 October 2005 12:07 pm, Dmitri Pogosyan wrote:
>> Actually, that reminds me that a year ago on amd64 architecture the
>> compiled grub did not work for me (it did compile but fail to boot) and I
>> had to use grub-static-0.93, which worked fine.  I looked now and see that
>> I still use this version of grub on all my amd64 machines.
>>
>>
>>
>> --
>> Dmitri Pogosyan            Department of Physics
>> Associate Professor        University of Alberta
>> tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
>> fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA
>
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
@ 2005-10-31  0:56 Dmitri Pogosyan
  0 siblings, 0 replies; 36+ messages in thread
From: Dmitri Pogosyan @ 2005-10-31  0:56 UTC (permalink / raw
  To: gentoo-amd64

It is not needed, I believe, with new kernels. Remnants from the earlier 
days, in my case. I am still mostly on 2.6.11 kernel with devfs, actually, 
and am used to combinations udev+nodevfs, devfs+noudev (which had quite 
magical interactions between themselves, BTW) 
 
 
> On Sat, 29 Oct 2005 14:21:52 +0100 
> DR GM SEDDON <gavin.m.seddon@manchester.ac.uk> wrote: 
>  
> > Dmitri Pogosyan wrote: 
> >  
> > >Not really, you can use initramfs in place of initrd. I have in 
> > >grub.conf  
> > >  
> > >title=Gentoo Linux 2.6.13-r3 UDEV  
> > >root (hd0,0)  
> > >kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384 
> > >init=/linuxrc real_root=/dev/sda2 vga=3847 udev  
> > >initrd /initramfs-2.6.13-gentoo-r3  
>  
> I've notice that some ppl are putting udev on the kernel line.  I was 
> under the impression that this was not needed to get udev working? 
>  
> -- 
> bruce 
> --  
> gentoo-amd64@gentoo.org mailing list 
 
 
 
 
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-29 13:21 ` DR GM SEDDON
  2005-10-29 13:29   ` Craig Webster
@ 2005-10-31  1:23   ` bruce harding
  1 sibling, 0 replies; 36+ messages in thread
From: bruce harding @ 2005-10-31  1:23 UTC (permalink / raw
  To: gentoo-amd64

On Sat, 29 Oct 2005 14:21:52 +0100
DR GM SEDDON <gavin.m.seddon@manchester.ac.uk> wrote:

> Dmitri Pogosyan wrote:
> 
> >Not really, you can use initramfs in place of initrd. I have in
> >grub.conf 
> > 
> >title=Gentoo Linux 2.6.13-r3 UDEV 
> >root (hd0,0) 
> >kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 ramdisk=16384
> >init=/linuxrc real_root=/dev/sda2 vga=3847 udev 
> >initrd /initramfs-2.6.13-gentoo-r3 


I've notice that some ppl are putting udev on the kernel line.  I was
under the impression that this was not needed to get udev working?

--
bruce
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-30 15:59 Dmitri Pogosyan
  2005-10-30 17:35 ` Karol Krizka
@ 2005-10-31  9:33 ` DR GM SEDDON
  1 sibling, 0 replies; 36+ messages in thread
From: DR GM SEDDON @ 2005-10-31  9:33 UTC (permalink / raw
  To: gentoo-amd64

Dmitri Pogosyan wrote:

>>>I wondered, should /boot be ext2?  Or should I use some of the 'default'
>>>entries?
>>>      
>>>
>>This is my line for the boot partition:
>>/dev/hda1               /boot           auto            noauto,noatime,notail 
>>1 1
>>It's reiserFS I think. I used "auto" because I wasn't sure what to type for 
>>it.
>>
>>    
>>
>I have
>
>/dev/sda1		/boot		ext3		noatime		1 1
>/dev/sda2		/		reiserfs	noatime		0 0
>
>and the rest are reiserfs. Do you, by the way, have reiserfs build into the
>kernel or as a module ?
>
>No, I use ext3 since rfs involved more 'tweaking' and I have never used it.  Gavin.
>  
>
>>-- 
>>Karol Krizka
>>    
>>
>
>
>
>--
>Dmitri Pogosyan            Department of Physics
>Associate Professor        University of Alberta
>tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
>fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA
>
>
>  
>

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-30 19:24 ` William Tetrault
  2005-10-30 20:32   ` Nuitari
@ 2005-10-31  9:47   ` DR GM SEDDON
  1 sibling, 0 replies; 36+ messages in thread
From: DR GM SEDDON @ 2005-10-31  9:47 UTC (permalink / raw
  To: gentoo-amd64

William Tetrault wrote:

>I too have been on the amd64 platform since early last year, and am still 
>using grub-static, although I know that grub now compiles fine for this 
>platform (at least, that is what I've heard - I'm still using grub-static).  
>But whether one uses grub or grub-static, the installed files are the same, 
>and grub works the same regardless of which is chosen.  My grub.conf has not 
>changed from when I was using Athlon XP's (although it's no longer called 
>grub.lst).
>
>On Sunday 30 October 2005 12:07 pm, Dmitri Pogosyan wrote:
>  
>
>>Actually, that reminds me that a year ago on amd64 architecture the
>>compiled grub did not work for me (it did compile but fail to boot) and I
>>had to use grub-static-0.93, which worked fine.  I looked now and see that
>>I still use this version of grub on all my amd64 machines.
>>
>>    
>>
Hi, shall I try 'emerge unmerge grub' and 'emerge grub-static'?  Then 
'install-grub' to start the system using the static ver/

This seems v. promising.

Gavin.

>>
>>--
>>Dmitri Pogosyan            Department of Physics
>>Associate Professor        University of Alberta
>>tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
>>fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA
>>    
>>

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-30 20:32   ` Nuitari
@ 2005-10-31  9:52     ` DR GM SEDDON
  2005-10-31 13:43     ` DR GM SEDDON
  1 sibling, 0 replies; 36+ messages in thread
From: DR GM SEDDON @ 2005-10-31  9:52 UTC (permalink / raw
  To: gentoo-amd64

Hi, if I cannot get grub towork.  How do I go-about making the change to 
lilo?
Thanks
Gavin.


Nuitari wrote:

> I finally switched my only grub system to lilo yesterday.
>
> On Sun, 30 Oct 2005, William Tetrault wrote:
>
>> Date: Sun, 30 Oct 2005 13:24:30 -0600
>> From: William Tetrault <xcourse97@charter.net>
>> Reply-To: gentoo-amd64@lists.gentoo.org
>> To: gentoo-amd64@lists.gentoo.org
>> Subject: Re: [gentoo-amd64] initrd
>>
>> I too have been on the amd64 platform since early last year, and am 
>> still
>> using grub-static, although I know that grub now compiles fine for this
>> platform (at least, that is what I've heard - I'm still using 
>> grub-static).
>> But whether one uses grub or grub-static, the installed files are the 
>> same,
>> and grub works the same regardless of which is chosen.  My grub.conf 
>> has not
>> changed from when I was using Athlon XP's (although it's no longer 
>> called
>> grub.lst).
>>
>> On Sunday 30 October 2005 12:07 pm, Dmitri Pogosyan wrote:
>>
>>> Actually, that reminds me that a year ago on amd64 architecture the
>>> compiled grub did not work for me (it did compile but fail to boot) 
>>> and I
>>> had to use grub-static-0.93, which worked fine.  I looked now and 
>>> see that
>>> I still use this version of grub on all my amd64 machines.
>>>
>>>
>>>
>>> -- 
>>> Dmitri Pogosyan            Department of Physics
>>> Associate Professor        University of Alberta
>>> tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
>>> fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA
>>
>>

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-30 20:32   ` Nuitari
  2005-10-31  9:52     ` DR GM SEDDON
@ 2005-10-31 13:43     ` DR GM SEDDON
  2005-10-31 16:39       ` Drake Donahue
  1 sibling, 1 reply; 36+ messages in thread
From: DR GM SEDDON @ 2005-10-31 13:43 UTC (permalink / raw
  To: gentoo-amd64

I have tried installing lilo, it says it is masked.   So I emerged 
grub-static and found no differenc however I just remembered; do I need 
to do install-grub-static?  Finally, the system will not let me 
'--unmerge grub'.  How do I change grub?
Gavin.



Nuitari wrote:

> I finally switched my only grub system to lilo yesterday.
>
> On Sun, 30 Oct 2005, William Tetrault wrote:
>
>> Date: Sun, 30 Oct 2005 13:24:30 -0600
>> From: William Tetrault <xcourse97@charter.net>
>> Reply-To: gentoo-amd64@lists.gentoo.org
>> To: gentoo-amd64@lists.gentoo.org
>> Subject: Re: [gentoo-amd64] initrd
>>
>> I too have been on the amd64 platform since early last year, and am 
>> still
>> using grub-static, although I know that grub now compiles fine for this
>> platform (at least, that is what I've heard - I'm still using 
>> grub-static).
>> But whether one uses grub or grub-static, the installed files are the 
>> same,
>> and grub works the same regardless of which is chosen.  My grub.conf 
>> has not
>> changed from when I was using Athlon XP's (although it's no longer 
>> called
>> grub.lst).
>>
>> On Sunday 30 October 2005 12:07 pm, Dmitri Pogosyan wrote:
>>
>>> Actually, that reminds me that a year ago on amd64 architecture the
>>> compiled grub did not work for me (it did compile but fail to boot) 
>>> and I
>>> had to use grub-static-0.93, which worked fine.  I looked now and 
>>> see that
>>> I still use this version of grub on all my amd64 machines.
>>>
>>>
>>>
>>> -- 
>>> Dmitri Pogosyan            Department of Physics
>>> Associate Professor        University of Alberta
>>> tel 1-780-492-2150         412 Avadh Bhatia Physics Labs
>>> fax 1-780-492-0714         Edmonton, AB, T6G 2J1, CANADA
>>
>>

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-31 13:43     ` DR GM SEDDON
@ 2005-10-31 16:39       ` Drake Donahue
  2005-11-01 14:45         ` DR GM SEDDON
  0 siblings, 1 reply; 36+ messages in thread
From: Drake Donahue @ 2005-10-31 16:39 UTC (permalink / raw
  To: gentoo-amd64

   Grub really does work. The problem you are having is that grub can't
find your kernel.

   May I suggest:

    Boot the gentoo install cd:

    At the prompt  -  livecd gentoo #  -  execute the following commands:

mount /dev/hda1 /mnt/gentoo/boot
cd /mnt/gentoo/boot
ls -l
ls kernel* initramfs*

    The output of  "mount /dev/hda1 /mnt/gentoo" will tell you about the
filesystem on the boot partition and should contain no surprises.
    The output of  "ls -l" is the boot file and directory structure that 
grub will
see if  "root (hd0,0)" is in grub.conf.
    The output of  "ls kernel* initramfs*" is the kernel name and the 
initramfs
name that need to appear in grub.conf.
    If a 'No such file or directory' error appears, the kernel and/or the 
initramfs
is not located in /mnt/gentoo/boot and thus is not in (hd0,0)/ as far as 
grub is
concerned. In this case look for a boot -->'something' symbolic link that 
points
 to 'something' as the kernel location. Most likely a boot directory will 
appear
in the "ls -l" output and you should look there for kernel and initramfs. If
mislocated, I think you should move them to /mnt/gentoo/boot and rerun
" ls kernel* initramfs* ".

    I believe that the " ls kernel* initramfs* " output you see will be
"kernel-2.6.13-gentoo-r3   initramfs-genkernel-amd64-2.6.13-gentoo-r3".

    In that case, I believe grub.conf should read:

default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.13
root (hd0,0)
kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 
real_root=/dev/hda3 udev
initrd /initramfs-genkernel-amd64-2.6.13-gentoo-r3

    If  " ls kernel* initramfs* " produced other results, then "the other 
kernel name" must be
substituted exactly for 'kernel-2.6.13-gentoo-r3' above and "the other 
initramfs name" for
'initramfs-genkernel-amd64-2.6.13-gentoo-r3' above respectively. Don't lose 
the initial
slashes in the process.

    If you try this and it does not help, posting the results of the 
commands and the grub.conf
may get more help from the smarter than I multitude. 

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-10-31 16:39       ` Drake Donahue
@ 2005-11-01 14:45         ` DR GM SEDDON
  2005-11-01 17:31           ` Drake Donahue
  0 siblings, 1 reply; 36+ messages in thread
From: DR GM SEDDON @ 2005-11-01 14:45 UTC (permalink / raw
  To: gentoo-amd64

Yes, I had missing the initial 'kernel-' from its definition in 
grub.conf.  It is down to me writing it on a pad with other stuff, I was 
ignoring the kernel word.  Extremely xorry.

Now it boots but asksme to
'specifya device to boot' it boots when I enter 'dev/hda3'.  It is 
specified in 'grub.conf' and 'fstab'.  Any ideas?

Also, I get 'dhcpd:required function  'interface _is_up' but networking 
isn't working.  And, I get 'netmount not started'.  Are these issues 
related.  Can you help?
Regards,
Gavin.

Drake Donahue wrote:

>   Grub really does work. The problem you are having is that grub can't
> find your kernel.
>
>   May I suggest:
>
>    Boot the gentoo install cd:
>
>    At the prompt  -  livecd gentoo #  -  execute the following commands:
>
> mount /dev/hda1 /mnt/gentoo/boot
> cd /mnt/gentoo/boot
> ls -l
> ls kernel* initramfs*
>
>    The output of  "mount /dev/hda1 /mnt/gentoo" will tell you about the
> filesystem on the boot partition and should contain no surprises.
>    The output of  "ls -l" is the boot file and directory structure 
> that grub will
> see if  "root (hd0,0)" is in grub.conf.
>    The output of  "ls kernel* initramfs*" is the kernel name and the 
> initramfs
> name that need to appear in grub.conf.
>    If a 'No such file or directory' error appears, the kernel and/or 
> the initramfs
> is not located in /mnt/gentoo/boot and thus is not in (hd0,0)/ as far 
> as grub is
> concerned. In this case look for a boot -->'something' symbolic link 
> that points
> to 'something' as the kernel location. Most likely a boot directory 
> will appear
> in the "ls -l" output and you should look there for kernel and 
> initramfs. If
> mislocated, I think you should move them to /mnt/gentoo/boot and rerun
> " ls kernel* initramfs* ".
>
>    I believe that the " ls kernel* initramfs* " output you see will be
> "kernel-2.6.13-gentoo-r3   initramfs-genkernel-amd64-2.6.13-gentoo-r3".
>
>    In that case, I believe grub.conf should read:
>
> default 0
> timeout 5
> splashimage=(hd0,0)/grub/splash.xpm.gz
> title=Gentoo Linux 2.6.13
> root (hd0,0)
> kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc 
> ramdisk=8192 real_root=/dev/hda3 udev
> initrd /initramfs-genkernel-amd64-2.6.13-gentoo-r3
>









>    If  " ls kernel* initramfs* " produced other results, then "the 
> other kernel name" must be
> substituted exactly for 'kernel-2.6.13-gentoo-r3' above and "the other 
> initramfs name" for
> 'initramfs-genkernel-amd64-2.6.13-gentoo-r3' above respectively. Don't 
> lose the initial
> slashes in the process.
>
>    If you try this and it does not help, posting the results of the 
> commands and the grub.conf
> may get more help from the smarter than I multitude.


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-11-01 14:45         ` DR GM SEDDON
@ 2005-11-01 17:31           ` Drake Donahue
  2005-11-01 18:06             ` Drake Donahue
  2005-11-02 12:38             ` DR GM SEDDON
  0 siblings, 2 replies; 36+ messages in thread
From: Drake Donahue @ 2005-11-01 17:31 UTC (permalink / raw
  To: gentoo-amd64

    The entry:
"kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 
real_root=/dev/hda3 udev"
in grub.conf should be on one line -- sorry --
I see that it was split into two lines at the space between 8192 and 
real_root when it came back to me through the mail list handler and my mail 
client. Probably happened to you also. As " real_root=/dev/hda3 udev " are 
kernel arguments they need to be on the same line as "kernel".
This should solve the first problem.
Make the change above to grub.conf .
Reboot.

    I think the second problem is not related to the first. There is 
probably a problem with the network settings. Page 40 to 46 of the amd64 
gentoo handbook are a good start on the networking problem. Short summary 
follows. My best guess is that adding dhcpcd to rc is necessary and not 
documented.

    May I suggest (presuming your intent was to have the network mount 
automatically and you connect via ethernet):

Run the command:

dir /sbin/dh*

If the response is "/sbin/dhcpcd" then the dhcp client demon is installed. 
If "No such file or directory" error occurs, dhcpcd needs to be emerged. (Or 
you wanted to use some other dhcp client.)

Run the command: (modified if you wanted to use and have emerged some other 
dhcp client.)

rc-update add dhcpcd default

nano -w /etc/conf.d/hostname
        and
(Set the HOSTNAME variable to your hostname)
HOSTNAME="yourcomputername"

nano -w /etc/conf.d/domainname

(Set the DNSDOMAIN variable to your domain name)
DNSDOMAIN="yourhomenetworkname"rc-update add domainname defaultnano -w 
/etc/conf.d/net
 (should be blank or all lines commented)

rc-update add net.eth0 default

/etc/init.d/net.eth0 start


----- Original Message ----- 
From: "DR GM SEDDON" <gavin.m.seddon@manchester.ac.uk>

<snip>

> Now it boots but asksme to
> 'specifya device to boot' it boots when I enter 'dev/hda3'.  It is 
> specified in 'grub.conf' and 'fstab'.  Any ideas?
>
> Also, I get 'dhcpd:required function  'interface _is_up' but networking 
> isn't working.  And, I get 'netmount not started'.  Are these issues 
> related.  Can you help?
> Regards,
> Gavin.

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-11-01 17:31           ` Drake Donahue
@ 2005-11-01 18:06             ` Drake Donahue
  2005-11-02 12:38             ` DR GM SEDDON
  1 sibling, 0 replies; 36+ messages in thread
From: Drake Donahue @ 2005-11-01 18:06 UTC (permalink / raw
  To: gentoo-amd64

 oops, another mangle occurred.



 The entry:


"kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 
real_root=/dev/hda3 udev"


 in grub.conf should be on one line -- sorry --
 I see that it was split into two lines at the space between 8192 and
 real_root when it came back to me through the mail list handler and my mail
 client. Probably happened to you also. As " real_root=/dev/hda3 udev " are
 kernel arguments they need to be on the same line as "kernel".
 This should solve the first problem.
 Make the change above to grub.conf .
 Reboot.

    I think the second problem is not related to the first. There is
 probably a problem with the network settings. Page 40 to 46 of the amd64
 gentoo handbook are a good start on the networking problem. Short summary
 follows. My best guess is that adding dhcpcd to rc is necessary and not
 documented.

    May I suggest (presuming your intent was to have the network mount
 automatically and you connect via ethernet):

 Run the command:

 dir /sbin/dh*

 If the response is "/sbin/dhcpcd" then the dhcp client demon is installed.
 If "No such file or directory" error occurs, dhcpcd needs to be emerged. 
(Or
 you wanted to use some other dhcp client.)

 Run the command: (modified if you wanted to use and have emerged some other
 dhcp client.)

 rc-update add dhcpcd default

 nano -w /etc/conf.d/hostname
        and
 (Set the HOSTNAME variable to your hostname)
 HOSTNAME="yourcomputername"

 nano -w /etc/conf.d/domainname

 (Set the DNSDOMAIN variable to your domain name)
 DNSDOMAIN="yourhomenetworkname"

rc-update add domainname default

nano -w  /etc/conf.d/net
 (should be blank or all lines commented)

 rc-update add net.eth0 default

 /etc/init.d/net.eth0 start


-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-11-01 17:31           ` Drake Donahue
  2005-11-01 18:06             ` Drake Donahue
@ 2005-11-02 12:38             ` DR GM SEDDON
  2005-11-02 13:14               ` Harm Geerts
  1 sibling, 1 reply; 36+ messages in thread
From: DR GM SEDDON @ 2005-11-02 12:38 UTC (permalink / raw
  To: gentoo-amd64

Hi,
Yes, this worked for booting.

rc-update add net.rth0 default gave
'already installed in runlevel default'
and
/etc/init.d/net.eth0 start
'dhcpd:missing required function interface_is_up'

The final message is the same as vI receive when booting.
Gavin.


Drake Donahue wrote:

>    The entry:
> "kernel /kernel-2.6.13-gentoo-r3 root=/dev/ram0 init=/linuxrc 
> ramdisk=8192 real_root=/dev/hda3 udev"
> in grub.conf should be on one line -- sorry --
> I see that it was split into two lines at the space between 8192 and 
> real_root when it came back to me through the mail list handler and my 
> mail client. Probably happened to you also. As " real_root=/dev/hda3 
> udev " are kernel arguments they need to be on the same line as "kernel".
> This should solve the first problem.
> Make the change above to grub.conf .
> Reboot.
>
>    I think the second problem is not related to the first. There is 
> probably a problem with the network settings. Page 40 to 46 of the 
> amd64 gentoo handbook are a good start on the networking problem. 
> Short summary follows. My best guess is that adding dhcpcd to rc is 
> necessary and not documented.
>
>    May I suggest (presuming your intent was to have the network mount 
> automatically and you connect via ethernet):
>
> Run the command:
>
> dir /sbin/dh*
>
> If the response is "/sbin/dhcpcd" then the dhcp client demon is 
> installed. If "No such file or directory" error occurs, dhcpcd needs 
> to be emerged. (Or you wanted to use some other dhcp client.)
>
> Run the command: (modified if you wanted to use and have emerged some 
> other dhcp client.)
>
> rc-update add dhcpcd default
>
> nano -w /etc/conf.d/hostname
>        and
> (Set the HOSTNAME variable to your hostname)
> HOSTNAME="yourcomputername"
>
> nano -w /etc/conf.d/domainname
>
> (Set the DNSDOMAIN variable to your domain name)
> DNSDOMAIN="yourhomenetworkname"rc-update add domainname defaultnano -w 
> /etc/conf.d/net
> (should be blank or all lines commented)
>
> rc-update add net.eth0 default
>
> /etc/init.d/net.eth0 start
>
>
> ----- Original Message ----- From: "DR GM SEDDON" 
> <gavin.m.seddon@manchester.ac.uk>
>
> <snip>
>
>> Now it boots but asksme to
>> 'specifya device to boot' it boots when I enter 'dev/hda3'.  It is 
>> specified in 'grub.conf' and 'fstab'.  Any ideas?
>>
>> Also, I get 'dhcpd:required function  'interface _is_up' but 
>> networking isn't working.  And, I get 'netmount not started'.  Are 
>> these issues related.  Can you help?
>> Regards,
>> Gavin.
>
>

-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

* Re: [gentoo-amd64] initrd
  2005-11-02 12:38             ` DR GM SEDDON
@ 2005-11-02 13:14               ` Harm Geerts
  0 siblings, 0 replies; 36+ messages in thread
From: Harm Geerts @ 2005-11-02 13:14 UTC (permalink / raw
  To: gentoo-amd64

On Wednesday 02 November 2005 13:38, DR GM SEDDON wrote:
> Hi,
> Yes, this worked for booting.
>
> rc-update add net.rth0 default gave
> 'already installed in runlevel default'
> and
> /etc/init.d/net.eth0 start
> 'dhcpd:missing required function interface_is_up'

Triple check your networking config:
nano -w  /etc/conf.d/net

Read the documentation/examples in /etc/conf.d/net.example

All your problems are user errors and have nothing to do with amd64.
Are you sure Gentoo is the right distribution for you?
-- 
gentoo-amd64@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 36+ messages in thread

end of thread, other threads:[~2005-11-02 13:17 UTC | newest]

Thread overview: 36+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-28 14:13 [gentoo-amd64] initrd DR GM SEDDON
2005-10-28 14:54 ` Mark Knecht
2005-10-28 15:27   ` [gentoo-amd64] initrd Duncan
2005-10-29 15:36 ` [gentoo-amd64] initrd Hemmann, Volker Armin
  -- strict thread matches above, loose matches on Subject: below --
2005-10-28 16:19 Dmitri Pogosyan
2005-10-29  6:12 ` Lee Thompson
2005-10-29 13:21 ` DR GM SEDDON
2005-10-29 13:29   ` Craig Webster
2005-10-29 14:16     ` DR GM SEDDON
2005-10-29 15:41       ` Karol Krizka
2005-10-30  9:48         ` DR GM SEDDON
2005-10-30 15:45           ` Karol Krizka
2005-10-30 17:38           ` William Tetrault
2005-10-29 16:40       ` Drake Donahue
2005-10-29 18:12         ` Drake Donahue
2005-10-29 17:15       ` William Tetrault
2005-10-31  1:23   ` bruce harding
2005-10-29 23:49 Dmitri Pogosyan
2005-10-29 23:54 Dmitri Pogosyan
2005-10-30 15:59 Dmitri Pogosyan
2005-10-30 17:35 ` Karol Krizka
2005-10-31  9:33 ` DR GM SEDDON
2005-10-30 15:59 Dmitri Pogosyan
2005-10-30 18:07 Dmitri Pogosyan
2005-10-30 19:24 ` William Tetrault
2005-10-30 20:32   ` Nuitari
2005-10-31  9:52     ` DR GM SEDDON
2005-10-31 13:43     ` DR GM SEDDON
2005-10-31 16:39       ` Drake Donahue
2005-11-01 14:45         ` DR GM SEDDON
2005-11-01 17:31           ` Drake Donahue
2005-11-01 18:06             ` Drake Donahue
2005-11-02 12:38             ` DR GM SEDDON
2005-11-02 13:14               ` Harm Geerts
2005-10-31  9:47   ` DR GM SEDDON
2005-10-31  0:56 Dmitri Pogosyan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox