Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] booting to grub prompt, but config works
Date: Sat, 10 May 2008 17:29:03
Message-Id: 5bdc1c8b0805101029l3d86287cr59b1799ea5496970@mail.gmail.com
In Reply to: Re: [gentoo-user] booting to grub prompt, but config works by Alan McKinnon
1 On Sat, May 10, 2008 at 1:55 AM, Alan McKinnon <alan.mckinnon@×××××.com> wrote:
2 <SNIP>
3 > # change menu.lst to grub.conf
4 > if [[ ! -e ${dir}/grub.conf ]] && [[ -e ${dir}/menu.lst ]] ;
5 > then
6 > mv -f "${dir}"/menu.lst "${dir}"/grub.conf
7 > ewarn
8 > ewarn "*** IMPORTANT NOTE: menu.lst has been renamed to
9 > grub.conf"
10 > ewarn
11 > fi
12 >
13 >
14 > it's called essentially this way in post_inst():
15 >
16 > setup_boot_dir /boot
17 >
18 > what it does is in essence:
19 >
20 > 1. fail if /boot does not exist
21 > 2. create /boot/boot as a link to /boot
22 > 3. create /boot/grub
23 > 4. if you don't have a grub.conf and do have a menu.lst then rename it
24 > to grub.conf
25 >
26 >
27 >
28 > --
29 > Alan McKinnon
30
31 Yeah, it was that last bit that I wondered about. So, assuming you do
32 have a grub.conf what happens? Does nothing in the ebuild ever make
33 the menu.lst->grub.conf link? Did older ebuilds make this link? I have
34 no recollection of making one by hand.
35
36 The GNU grub manual I found online talks only about menu.lst. Is
37 having a grub.conf file a Gentoo thing? I've run *almost* nothing but
38 Gentoo for 8 years now so I have no real knowledge of how other
39 distros set this up.
40
41 - Mark
42 --
43 gentoo-user@l.g.o mailing list

Replies

Subject Author
Re: [gentoo-user] booting to grub prompt, but config works Alan McKinnon <alan.mckinnon@×××××.com>