[gentoo-user] mkinitrd

2004-01-08 Thread David Chapman
I,m new to this so be gentle. Having come from a point and click SuSE install.
I,ve installed Gentoo 1.4 stage3 OK but I want to recompile a 2.6 or 2.4.22 
smp kernel in place of the genkernel that I installed.

Now that I have emerged mkinitrd I get
all your loop back devices are busy
when I do 
mkinitrd /boot/initrd-2.4.22  gentoo-2.4.22-r3

RTFM or just a prod in the right direction will be most appreciated.

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] mkinitrd

2004-01-08 Thread Mark Knecht
 I,m new to this so be gentle. Having come from a point and click
 SuSE install.
 I,ve installed Gentoo 1.4 stage3 OK but I want to recompile a 2.6
 or 2.4.22
 smp kernel in place of the genkernel that I installed.

 Now that I have emerged mkinitrd I get
 all your loop back devices are busy
 when I do
 mkinitrd /boot/initrd-2.4.22  gentoo-2.4.22-r3

 RTFM or just a prod in the right direction will be most appreciated.

I haven't done an initrd image under Gentoo, but under Redhat this happened
when my running kernel was not configured in the first place to enable loop
back devices at all. Check the status of the kernel you just built in this
regard, and good luck!

- Mark



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mkinitrd

2004-01-08 Thread Nuckerl Stefan
Are you sure you have use for an initrd, I'd say 99% of the people don't
need a initrd.



- Original Message - 
From: David Chapman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 7:26 PM
Subject: [gentoo-user] mkinitrd


 I,m new to this so be gentle. Having come from a point and click SuSE
install.
 I,ve installed Gentoo 1.4 stage3 OK but I want to recompile a 2.6 or
2.4.22
 smp kernel in place of the genkernel that I installed.

 Now that I have emerged mkinitrd I get
 all your loop back devices are busy
 when I do
 mkinitrd /boot/initrd-2.4.22  gentoo-2.4.22-r3

 RTFM or just a prod in the right direction will be most appreciated.

 --
 [EMAIL PROTECTED] mailing list






--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mkinitrd

2004-01-08 Thread Dave Chapman
My box is a retired Server.
Intel SC450NX
quad PII Xeon 450Mhz
2.5GB ram
6x 9GB  sca harddrives
1x scsi DVD
Nuckerl Stefan wrote:

Are you sure you have use for an initrd, I'd say 99% of the people don't
need a initrd.
 

- Original Message - 
From: David Chapman [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 08, 2004 7:26 PM
Subject: [gentoo-user] mkinitrd

 

I,m new to this so be gentle. Having come from a point and click SuSE
   

install.
 

I,ve installed Gentoo 1.4 stage3 OK but I want to recompile a 2.6 or
   

2.4.22
 

smp kernel in place of the genkernel that I installed.

Now that I have emerged mkinitrd I get
all your loop back devices are busy
when I do
   mkinitrd /boot/initrd-2.4.22  gentoo-2.4.22-r3
RTFM or just a prod in the right direction will be most appreciated.

--
[EMAIL PROTECTED] mailing list


   



--
[EMAIL PROTECTED] mailing list
 



--
[EMAIL PROTECTED] mailing list


Re: [gentoo-user] mkinitrd

2004-01-08 Thread Bill Kenworthy
emerge the kernel you want, remake the symlink in /usr/src, rerun
genkernel --config

If the kernel is not too different to what you are currently using, copy
the /etc/kernel/config-n to the new version number and genkernel will
startup with most of the correct options set.

The error you are seeing is to do with loop - did you add the kernel
option, and if modular (reccomended), did you insert the module?

BillK


On Fri, 2004-01-09 at 02:26, David Chapman wrote:
 I,m new to this so be gentle. Having come from a point and click SuSE install.
 I,ve installed Gentoo 1.4 stage3 OK but I want to recompile a 2.6 or 2.4.22 
 smp kernel in place of the genkernel that I installed.
 
 Now that I have emerged mkinitrd I get
 all your loop back devices are busy
 when I do 
 mkinitrd /boot/initrd-2.4.22  gentoo-2.4.22-r3
 
 RTFM or just a prod in the right direction will be most appreciated.
 
 --
 [EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mkinitrd

2003-08-08 Thread Dirk Heinrichs
Am Dienstag, 5. August 2003 04:25 schrieb ext wes chow:
 Which package has the mkinitrd program?  I can't seem to find it...
Short answer: None.

Longer answer: mkinitrd usually is a shell script specific to a particular 
distribution. In Gentoo, creating an initrd is part of the genkernel 
ebuild, which provieds a script (genkernel) to build your kernel together 
with a matching initrd with one command. OTOH, since I use EVMS2, I've just 
taken the example mkinitrd script that comes with EVMS and modified it for 
my needs.

In most cases, you don't even need an initrd.

HTH...

Dirk
-- 
Dirk Heinrichs  | Tel:  +49 (0)151 1513 6954
Configuration Manager   | Fax:  +49 (0)211 47068 111
Cap Gemini Ernst  Young| Mail: [EMAIL PROTECTED]
Hambornerstraße 55  | Web:  http://www.cgey.com
D-40472 Düsseldorf  | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: www.keyserver.net


pgp0.pgp
Description: signature


Re: [gentoo-user] mkinitrd

2003-08-07 Thread Shane Hickey
On Thu, 7 Aug 2003 08:33:36 +0200
Dirk Heinrichs [EMAIL PROTECTED] wrote:

 In most cases, you don't even need an initrd.

However, if you really want an initrd, check out genkernel (it's in
portage).  It's a fancy little script to help you compile your kernel. 
I was monkeying around with it and I noticed that it built an initrd for
my kernel choices.

--
Shane Hickey [EMAIL PROTECTED]: Nerd
http://www.nerddiary.org 
GPG KeyID: 777CBF3F
Key fingerprint: 254F B2AC 9939 C715 278C  DA95 4109 9F69 777C BF3F

--
[EMAIL PROTECTED] mailing list



[gentoo-user] mkinitrd...

2003-06-26 Thread [EMAIL PROTECTED]
I've made the switch from redhat to gentoo and I like what I see but I have a
couple of questions.

1) Is there some form of mkinitrd?  I need to create a ramdisk to load some
modules (like reiserfs, evms, etc).  However I've installed stage1 and stage2
and I don't see the program anywhere.

2) Is there a way to search the portage tree for a paticular program?  In this
case it would be nifty if I could search for mkinitrd even if it is in a
package that doesn't have the name in its title.

3) I made a Raid 1 partition for /boot.  Can i do this and boot with grub?

Thanks
Amith



--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mkinitrd...

2003-06-26 Thread Shane Hickey
On Thu, 26 Jun 2003 13:29:26 -0400
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 1) Is there some form of mkinitrd?  I need to create a ramdisk to load
 some modules (like reiserfs, evms, etc).  However I've installed
 stage1 and stage2 and I don't see the program anywhere.

I was wondering the same thing.  From what I've seen, most Gentoo people
just build things that they _really_ need (like reiserfs, scsi support,
raid and such) right into the kernel and not as modules.

 2) Is there a way to search the portage tree for a paticular program? 
 In this case it would be nifty if I could search for mkinitrd even if
 it is in a package that doesn't have the name in its title.

Try emerge search --searchdesc string just on the off chance that it's
in the description of the package.  You might be able to use qpkg, but I
think a 'qpkg -f filename' will only list what packages a file belongs
to if you actually have that package installed.  I might be wrong,
though.

 3) I made a Raid 1 partition for /boot.  Can i do this and boot with
 grub?

I think grub can only access physical drives.  So, you could have your
/boot partition be a raid partition, but you'd need to have grub look at
one of the individual partitions making up the raid.  Here's a good link
about Gentoo and RAID:

http://forums.gentoo.org/viewtopic.php?t=8813highlight=raid

-- 
Shane Hickey [EMAIL PROTECTED]: Nerd
http://www.nerddiary.org 
GPG KeyID: 777CBF3F
Key fingerprint: 254F B2AC 9939 C715 278C  DA95 4109 9F69 777C BF3F
Listening to: Bright Eyes - Soon you will be leaving your man

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mkinitrd...

2003-06-26 Thread Kai Lindenberg
Hi Amith,

Am Donnerstag, 26. Juni 2003 19:29 schrieb [EMAIL PROTECTED]:
[...]
 1) Is there some form of mkinitrd?  I need to create a ramdisk to
 load some modules (like reiserfs, evms, etc).  However I've
 installed stage1 and stage2 and I don't see the program anywhere.

there is the program lvmcreate_initrd in the package 
sys-apps/lvm-user, that should give you a good starting point.

[...]

 3) I made a Raid 1 partition for /boot.  Can i do this and boot
 with grub?

no, I think you need lilo then, there should be a patched version 
that can boot from raided partitions if one hd fails.

Kai



--
[EMAIL PROTECTED] mailing list