Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161376 - genkernel-3.4.6 doesn't name correctly the initramfs file in grub.conf
Summary: genkernel-3.4.6 doesn't name correctly the initramfs file in grub.conf
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-10 19:15 UTC by Jimmy.Jazz
Modified: 2007-01-11 09:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jimmy.Jazz 2007-01-10 19:15:14 UTC
example for kernel 2.6.19-gentoo-r3.
initramfs in cache directory is named initramfs-2.6.19-gentoo-r3
also, in grub.conf
initrd /initramfs-genkernel-x86_64-2.6.19-gentoo-r3
should be written
initrd /initramfs-2.6.19-gentoo-r3


Reproducible: Always

Steps to Reproduce:
1. genkernel --no-install --no-clean --evms2 --kerneldir=/usr/src/linux all
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 19:16:27 UTC
No, it shouldn't. The name is correct.
Comment 2 Jimmy.Jazz 2007-01-10 22:21:56 UTC
(In reply to comment #1)
> No, it shouldn't. The name is correct.
> 

If i'm right, --no-install does not install the files in /boot.
genkernel modifies grub.conf if /boot is accessible and let the user the choice to copy them manually from the cache directory to /boot.
Next reboot the box will not be able to boot again. Grub will not find the initrd file in /boot because both names are not identical (in grub and in the /boot directory)

The idea would be to give identical name to the files in the cache directory and  their equivalent in grub.conf in order to avoid confusion.

Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 22:53:18 UTC
genkernel doesn't touch grub.conf at all unless you call it w/ --bootloader=grub; if you do then I fail to see what's the point of using --no-install at the same time.
Comment 4 Jimmy.Jazz 2007-01-11 09:14:46 UTC
(In reply to comment #3)
> genkernel doesn't touch grub.conf at all unless you call it w/
> --bootloader=grub; 

yes i set it  in /etc/genkernel.conf.

if you do then I fail to see what's the point of using
> --no-install at the same time.
> 

Not enough room in /boot for instance

The program would be more coherent at least form the user's point of view. All the files in CACHE_DIR have an genkernel-XYZ extension except for the file initramfs-XXX.

I did not intend to annoy you with that. Just my 2c.