Re: [gentoo-user] Is anyone using initramfs on Gentoo?

2006-04-30 Thread Norberto Bensa
Norberto Bensa wrote:
   Unable to mount root fs on unknown block (1,0)

Bug in mkinitd. It uses -c (old ascii format) and kernel seems to expect newc 
(srv4) 
 
Everything is working now. 

Thanks everyone!

Regards,
Norberto


pgpjI6fMsynsj.pgp
Description: PGP signature


Re: [gentoo-user] Is anyone using initramfs on Gentoo?

2006-04-30 Thread Maurice E Johnson




I do hope you have read the appropriate documentation.
In the Gentoo world, we have a thing called genkernel. Genkernel 
receives a lot of bad publicity sometimes but it realy is a nice tool 
if you graduate from the simple command line.

Under genkernel you have several options for building either
kernel
modules
initramfs
 
In fact, the default under 2.6.x kernels is to build an initramfs for you.
it will also install the entire mess for you.

And make the Correct entry in your grub.conf

Here's the magic. if you go in and take a look at the scripts that make up genkernel,
you will start to see that you can create any type of initramfs you like.

For further information,

RTFM

On Sun, 2006-04-30 at 02:24 -0300, Norberto Bensa wrote:


Hello list,

I've tried to move my built-in ide (via) and rootfs (reiser) modules outside 
of the kernel, but when I try to boot the new kernel and its corresponding 
initramfs, it fails miserably with one of the following messages.

If I use root=/dev/hda7 (my root):

  Unable to mount root fs on unknown block (3,7)

If I use root=/dev/ram (that's the device in the initramfs made with 
mkinitrd):

  Unable to mount root fs on unknown block (1,0)


I do this every day using Debian boxes, so why it is so hard on Gentoo? What's 
the correct way to make _and_ use an initramfs on Gentoo? 


Many thanks in advance,
Norberto








Re: [gentoo-user] Is anyone using initramfs on Gentoo?

2006-04-30 Thread John Jolet
On Sunday 30 April 2006 16:30, Maurice E Johnson wrote:
 I do hope you have read the appropriate documentation.
 In the Gentoo world, we have a thing called genkernel. Genkernel
 receives a lot of bad publicity sometimes but it realy is a nice tool
 if you graduate from the simple command line.

 Under genkernel you have several options for building either
 kernel
 modules
 initramfs

 In fact, the default under 2.6.x kernels is to build an initramfs for
 you.
 it will also install the entire mess for you.

which is how i'm booting off a raid 1 /boot partition, which everything else 
(including / and swap) on an lvm on a raid5.  genkernel will allow you to 
also issue --menuconfig which will allow you into the kernel configuration 
process.
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is anyone using initramfs on Gentoo?

2006-04-30 Thread Norberto Bensa
John Jolet wrote:
 genkernel will allow you
 to also issue --menuconfig which will allow you into the kernel
 configuration process.

I really didn't know that! I thought genkernel just compiled everything!

Anyway, I fixed the problem with my initramfs. It was a bug in mkinitrd. I 
still need to open a bug about this issue.

Many thanks to everyone (forums and gentoo-user)!

-- 
Norberto Bensa
Cel: 5654-9539
Ciudad de Buenos Aires, Argentina



pgpXWV0u1xoeB.pgp
Description: PGP signature


[gentoo-user] Is anyone using initramfs on Gentoo?

2006-04-29 Thread Norberto Bensa
Hello list,

I've tried to move my built-in ide (via) and rootfs (reiser) modules outside 
of the kernel, but when I try to boot the new kernel and its corresponding 
initramfs, it fails miserably with one of the following messages.

If I use root=/dev/hda7 (my root):

  Unable to mount root fs on unknown block (3,7)

If I use root=/dev/ram (that's the device in the initramfs made with 
mkinitrd):

  Unable to mount root fs on unknown block (1,0)


I do this every day using Debian boxes, so why it is so hard on Gentoo? What's 
the correct way to make _and_ use an initramfs on Gentoo? 


Many thanks in advance,
Norberto


-- 
Norberto Bensa
Cel: 5654-9539
Ciudad de Buenos Aires, Argentina



pgphTUshuabKn.pgp
Description: PGP signature