1 |
On Mon, Jun 25, 2012 at 1:05 AM, Dale <rdalek1967@×××××.com> wrote: |
2 |
> Howdy, |
3 |
> |
4 |
> It appears that grub2 is coming soon. Thread on -dev said a couple |
5 |
> months or so till it hits the tree, keyworded and/or masked I'm sure. I |
6 |
> guess it is about time to jump off the cliff and give this a try. I |
7 |
> installed Kubuntu on a system for my brother and it uses grub2. I have |
8 |
> had to edit the config and then run the update script. I have sort of |
9 |
> installed and made a config change to grub2, even tho it was only once. |
10 |
> Basically, I sort of seen the thing at least. o_O |
11 |
> |
12 |
> My first question is, how hard is this to change from old grub to |
13 |
> grub2? I only run Gentoo here, no windoze at all and no other distro |
14 |
> either. I figure that may make it easier. I must confess tho, I'm a |
15 |
> hoarder of kernels. LOL I generally have several versions of them on |
16 |
> here. Is there a way for it to only see say the last 3 versions or so? |
17 |
> I only have three right now but I cleaned out all the non-init kernels a |
18 |
> while back. Given time, I may have a dozen or so. I would rather not |
19 |
> have that many lines on the grub screen when booting. |
20 |
> |
21 |
> Also, will it know what init thingy image to connect the kernels too? I |
22 |
> name my kernels with the version and name the init thingy with a similar |
23 |
> name. Looks someting like this: |
24 |
> |
25 |
> root@fireball / # ls -al /boot/bzImage-3.* |
26 |
> -rw-r--r-- 1 root root 4740064 May 16 20:25 /boot/bzImage-3.3.5-2 |
27 |
> -rw-r--r-- 1 root root 4758496 May 23 13:09 /boot/bzImage-3.4.0-1 |
28 |
> -rw-r--r-- 1 root root 4758816 Jun 14 09:00 /boot/bzImage-3.4.2.r1-1 |
29 |
> root@fireball / # ls -al /boot/initramfs-3.* |
30 |
> -rw-r--r-- 1 root root 3560934 May 12 05:03 /boot/initramfs-3.3.5-1.img |
31 |
> -rw-r--r-- 1 root root 3560423 May 23 13:10 /boot/initramfs-3.4.0.img |
32 |
> -rw-r--r-- 1 root root 3561170 Jun 14 09:05 /boot/initramfs-3.4.2.img |
33 |
> root@fireball / # |
34 |
> |
35 |
> There are times when I may have more than one kernel but only one init |
36 |
> thingy tho. So far, one init thingy will work with any kernel of that |
37 |
> version. I have not tried mixing tho. |
38 |
> |
39 |
> Also, how much disk space does grub take up on /boot? Mine is on a |
40 |
> separate partition and I hope it is large enough. |
41 |
> |
42 |
> Thoughts. Info. |
43 |
> |
44 |
> Thanks in advance. |
45 |
> |
46 |
|
47 |
Thanks for "announcing" this Dale. grub-2.00 is in ~arch as of last night. |
48 |
|
49 |
Given your current naming scheme, grub2-mkconfig will not detect your |
50 |
kernels. They must be named vmlinuz-version or kernel-version. For |
51 |
example: |
52 |
|
53 |
/boot/vmlinuz-3.4.3 |
54 |
/boot/kernel-2.6.39-gentoo |
55 |
|
56 |
Your initramfs files look good. |
57 |
|
58 |
Space wise, grub needs a couple hundred sectors after your MBR to |
59 |
embed itself. If you used the default fdisk setting when you |
60 |
partitioned your drive, you should have 2047 free sectors that it can |
61 |
use. |
62 |
|
63 |
If you have your kernels named properly and some free sectors on your |
64 |
hard drive, setting up grub:2 is a very easy process. See the wiki |
65 |
page for more info. |
66 |
|
67 |
http://wiki.gentoo.org/wiki/GRUB2_Quick_Start |