Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93178 - genkernel doesn't support second level (or deeper) /dev devices for root with grub
Summary: genkernel doesn't support second level (or deeper) /dev devices for root with...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: genkernel (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Genkernel Maintainers
URL:
Whiteboard:
Keywords:
: 59192 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-05-19 03:46 UTC by hvjunk
Modified: 2005-07-09 17:42 UTC (History)
1 user (show)

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 hvjunk 2005-05-19 03:46:31 UTC
* Adding kernel to /boot/grub/grub.conf...
/usr/share/genkernel/gen_bootloader.sh: line 42: /dev/evms/sda1-1: syntax error:
operand expected (error token is "/dev/evms/sda1-1")

Looking at the code, it barfs at a match which assumes a single level, ie.
/dev/sda1 and not a second level like this case /dev/evms/sda1. The code for
this also doesn't appear to take into consideration /dev/evms/rootdisk (ie. no
number) for grub.conf.

Reproducible: Always
Steps to Reproduce:
1. put / on a evms2 (or other second level) /dev device
2. let genkernel add stuff to grub.conf


Actual Results:  
* Adding kernel to /boot/grub/grub.conf...
/usr/share/genkernel/gen_bootloader.sh: line 42: /dev/evms/sda1-1: syntax error:
operand expected (error token is "/dev/evms/sda1-1")


Expected Results:  
Clean installation :)
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-06-02 12:56:07 UTC
I think the issue here is that it's hard to automate second-level /dev devices
since we don't know what GRUB will end up calling them... any way to get GRUB to
let us know about a GRUB device name if we give it a device node?
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2005-06-02 12:56:44 UTC
*** Bug 59192 has been marked as a duplicate of this bug. ***
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-07-09 17:42:57 UTC
Should be fixed properly in 3.2.1... please give that a go and reopen this bug
if issues persist. Thanks!