Java Mailing List Archive

http://www.redhatconfig.com/

Home » Gentoo Linux »

Re: [gentoo-user] booting to grub prompt, but config works

Mark Knecht

2008-05-10

Replies: Find Java Web Hosting

Author LoginPost Reply
On Sat, May 10, 2008 at 1:55 AM, Alan McKinnon <alan.mckinnon@(protected):
<SNIP>
>     # change menu.lst to grub.conf
>     if [[ ! -e ${dir}/grub.conf ]] && [[ -e ${dir}/menu.lst ]] ;
> then
>           mv -f "${dir}"/menu.lst "${dir}"/grub.conf
>           ewarn
>           ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to
> grub.conf"
>           ewarn
>     fi
>
>
> it's called essentially this way in post_inst():
>
> setup_boot_dir /boot
>
> what it does is in essence:
>
> 1. fail if /boot does not exist
> 2. create /boot/boot as a link to /boot
> 3. create /boot/grub
> 4. if you don't have a grub.conf and do have a menu.lst then rename it
> to grub.conf
>
>
>
> --
> Alan McKinnon

Yeah, it was that last bit that I wondered about. So, assuming you do
have a grub.conf what happens? Does nothing in the ebuild ever make
the menu.lst->grub.conf link? Did older ebuilds make this link? I have
no recollection of making one by hand.

The GNU grub manual I found online talks only about menu.lst. Is
having a grub.conf file a Gentoo thing? I've run *almost* nothing but
Gentoo for 8 years now so I have no real knowledge of how other
distros set this up.

- Mark
--
gentoo-user@(protected)

©2008 redhatconfig.com - Jax Systems, LLC, U.S.A.