* [gentoo-user] Problems with GRUB in the installation of Gentoo
@ 2006-02-12 16:48 Gilberto Martins
2006-02-12 17:12 ` [gentoo-user] " Gilberto Martins
2006-02-12 17:21 ` Gilberto Martins
0 siblings, 2 replies; 58+ messages in thread
From: Gilberto Martins @ 2006-02-12 16:48 UTC (permalink / raw
To: gentoo-user
Sorry, folks.
This is to correct my wrong post, for I haven`t changed the subject.
Sorry for this, and thanks for Benno Schulenmberg, who kindly pointed
me this mistake, in PVT. Thanks Benno.
2006/2/12, Gilberto Martins <zigotto@gmail.com>:
> Hi again ...
> ---cut---
> > > Then, kindly selected GRUB, and did this simple /boot/grub.conf file:
> > >
> > > default 0
> > > timeout 0
> > > splashimage=(dhb0,0)/boot/grub/splash.xpm.gz
> > >
> > > title Gentoo Linux 2.6.12.gentoo-r10
> > > root (hd0,0)
> > > kernel /boot/2.6.12-gentoo-r10 root=/dev/hdb3
> > >
> > Remove the "boot" part from path to kernel IIRC, check the docs.
> > Also check the kernel filename, usually it's named another way.
>
> I changed to this:
>
> splashimage=(dhb0,0)/grub/splash.xpm.gz
>
> and
>
> root (hd0,0)
> kernel /2.6.12-gentoo-r10 root=/dev/hdb3
>
> But nothing differente happened.
>
> Concerning to Kernel name, does it must have a specific name format ?
> If yes, wich would be the name ?
>
> Thanks again.
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 16:48 [gentoo-user] Problems with GRUB in the installation of Gentoo Gilberto Martins
@ 2006-02-12 17:12 ` Gilberto Martins
2006-02-12 21:44 ` Bo Andresen
2006-02-12 17:21 ` Gilberto Martins
1 sibling, 1 reply; 58+ messages in thread
From: Gilberto Martins @ 2006-02-12 17:12 UTC (permalink / raw
To: gentoo-user
Hi list again, and Norberto.
Gilberto Martins wrote:
> > > Then, kindly selected GRUB, and did this simple /boot/grub.conf file:
You meant /boot/grub/menu.conf (or /boot/grub/grub.conf)
Sorry, it was a typeing mistake, I have verified it here, and it is as
you corrected ...
> > > splashimage=(dhb0,0)/boot/grub/splash.xpm.gz
...=(hd0,0)/....
And this was another mistake ... it is written (hd0,0)
> > Also check the kernel filename, usually it's named another way.
...
> Concerning to Kernel name, does it must have a specific name format ?
> If yes, wich would be the name ?
It doesn't matter
That`s ok.
But it does not work yet ... 8(
I would not like to go back to LILO again ...
Once more, thanks for cooperating. I need help, and hope I can soon help others.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 16:48 [gentoo-user] Problems with GRUB in the installation of Gentoo Gilberto Martins
2006-02-12 17:12 ` [gentoo-user] " Gilberto Martins
@ 2006-02-12 17:21 ` Gilberto Martins
2006-02-12 18:02 ` John Jolet
1 sibling, 1 reply; 58+ messages in thread
From: Gilberto Martins @ 2006-02-12 17:21 UTC (permalink / raw
To: gentoo-user
Hi,
On Sun, 2006-02-12 at 13:30 -0300, Gilberto Martins wrote:
> Hi again ...
> ---cut---
> > > Then, kindly selected GRUB, and did this simple /boot/grub.conf file:
> > >
> > > default 0
> > > timeout 0
> > > splashimage=(dhb0,0)/boot/grub/splash.xpm.gz
think this is a typo^, mine is:splashimage=(hd0,0)/grub/splash.xpm.gz
You are right, I did it wrong here. But the correct one is as you typed here.
> Concerning to Kernel name, does it must have a specific name format ?
> If yes, wich would be the name ?
No i don't think is *has* to be a fixed name, but most people comply to
some conventions (e.x. kernel-2.6.15-r3, gentoo-kernel-2.6.15-r4 etc.)
Using 'genkernel' so don't remember, check install guide if interested.
Check grub man page & guide as Grub has some strange naming conventions.
I tried not to use genkernel, for I did some changes in kernel. Can
any buddie confirm wich are the kernel file and others that must be
copied to \boot after compiling it in hand ?
Thanks for all help you are giving. I was in other list many years
ago, and left for I haven`t received help, but RTFM as answers. I just
came here after reading gentoo handbook and Grub Manual and many
relative docs.
Thanks for help.
>
> Thanks again.
>
HTH.Rumen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 17:21 ` Gilberto Martins
@ 2006-02-12 18:02 ` John Jolet
2006-02-12 18:12 ` Gilberto Martins
0 siblings, 1 reply; 58+ messages in thread
From: John Jolet @ 2006-02-12 18:02 UTC (permalink / raw
To: gentoo-user
On 2/12/06 11:21 AM, "Gilberto Martins" <zigotto@gmail.com> wrote:
> Hi,
> On Sun, 2006-02-12 at 13:30 -0300, Gilberto Martins wrote:
>> Hi again ...
>> ---cut---
>>>> Then, kindly selected GRUB, and did this simple /boot/grub.conf file:
>>>>
>>>> default 0
>>>> timeout 0
>>>> splashimage=(dhb0,0)/boot/grub/splash.xpm.gz
> think this is a typo^, mine is:splashimage=(hd0,0)/grub/splash.xpm.gz
>
> You are right, I did it wrong here. But the correct one is as you typed here.
>
>> Concerning to Kernel name, does it must have a specific name format ?
>> If yes, wich would be the name ?
> No i don't think is *has* to be a fixed name, but most people comply to
> some conventions (e.x. kernel-2.6.15-r3, gentoo-kernel-2.6.15-r4 etc.)
> Using 'genkernel' so don't remember, check install guide if interested.
> Check grub man page & guide as Grub has some strange naming conventions.
>
> I tried not to use genkernel, for I did some changes in kernel. Can
> any buddie confirm wich are the kernel file and others that must be
> copied to \boot after compiling it in hand ?
It can be called anything, but the file name you give it in /boot, of
course, has to be the one you call out in the grub.conf line. So, you copy
(for instance) arch/i386/boot/bzImage to /boot/kernel-kernelversion (I
usually also copy .config to /boot/config-kernelversion).
>
> Thanks for all help you are giving. I was in other list many years
> ago, and left for I haven`t received help, but RTFM as answers. I just
> came here after reading gentoo handbook and Grub Manual and many
> relative docs.
>
> Thanks for help.
>>
>> Thanks again.
>>
> HTH.Rumen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 18:02 ` John Jolet
@ 2006-02-12 18:12 ` Gilberto Martins
2006-02-12 19:08 ` John Jolet
0 siblings, 1 reply; 58+ messages in thread
From: Gilberto Martins @ 2006-02-12 18:12 UTC (permalink / raw
To: gentoo-user
> It can be called anything, but the file name you give it in /boot, of
> course, has to be the one you call out in the grub.conf line. So, you copy
> (for instance) arch/i386/boot/bzImage to /boot/kernel-kernelversion (I
> usually also copy .config to /boot/config-kernelversion).
That`s what I thought. The ".config" tip, I wil do the same. What I
have to change in grub.conf ?
thanx
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 18:12 ` Gilberto Martins
@ 2006-02-12 19:08 ` John Jolet
0 siblings, 0 replies; 58+ messages in thread
From: John Jolet @ 2006-02-12 19:08 UTC (permalink / raw
To: gentoo-user
On 2/12/06 12:12 PM, "Gilberto Martins" <zigotto@gmail.com> wrote:
>> It can be called anything, but the file name you give it in /boot, of
>> course, has to be the one you call out in the grub.conf line. So, you copy
>> (for instance) arch/i386/boot/bzImage to /boot/kernel-kernelversion (I
>> usually also copy .config to /boot/config-kernelversion).
>
> That`s what I thought. The ".config" tip, I wil do the same. What I
> have to change in grub.conf ?
Okay, so you compile gentoo-sources.2.6.15-r4 (just as a made-up example).
So you copy arch/boot/bzImage to /boot/kernel-gentoo-2.6.15-r4, and copy
.config to /boot/config-gentoo-2.6.15-r4. Then edit your
/boot/grub/grub.conf and copy the whole stanza that was already there,
including:
title Linux-2.6.14-r2-2 win4lin enabled
root (hd0,0)
kernel /boot/kernel-2.6.14.2-w4l-2 root=/dev/hda2
Past it at the end. Change the title line to match the name you gave on the
copy (Linux-2.6.15-r4), and the "kernel" line (/boot/kernel-2.6.15-r4). At
the top of the file is the line:
default 0 (or whichever one is active). Change the number to match the
stanza you just added (remember they are numbered from zero, not one). Then
save the file.
>
> thanx
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 17:12 ` [gentoo-user] " Gilberto Martins
@ 2006-02-12 21:44 ` Bo Andresen
2006-02-12 21:59 ` Patrick Bloy
2006-02-12 22:23 ` Gilberto Martins
0 siblings, 2 replies; 58+ messages in thread
From: Bo Andresen @ 2006-02-12 21:44 UTC (permalink / raw
To: gentoo-user
On Sunday 12 February 2006 18:12, Gilberto Martins wrote:
> But it does not work yet ... 8(
>
Perhaps you should post the output of:
#ls -l /boot
#cat /boot/grup/grub.conf
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 21:44 ` Bo Andresen
@ 2006-02-12 21:59 ` Patrick Bloy
2006-02-12 22:12 ` Bo Andresen
2006-02-12 22:23 ` Gilberto Martins
1 sibling, 1 reply; 58+ messages in thread
From: Patrick Bloy @ 2006-02-12 21:59 UTC (permalink / raw
To: gentoo-user
Bo Andresen schrieb:
>On Sunday 12 February 2006 18:12, Gilberto Martins wrote:
>
>
>>But it does not work yet ... 8(
>>
>>
>>
>
>Perhaps you should post the output of:
>
>#ls -l /boot
>#cat /boot/grup/grub.conf
>
>
>
#cat /boot/grub/grub.conf ?!
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 21:59 ` Patrick Bloy
@ 2006-02-12 22:12 ` Bo Andresen
0 siblings, 0 replies; 58+ messages in thread
From: Bo Andresen @ 2006-02-12 22:12 UTC (permalink / raw
To: gentoo-user
On Sunday 12 February 2006 22:59, Patrick Bloy wrote:
> >Perhaps you should post the output of:
> >
> >#ls -l /boot
> >#cat /boot/grup/grub.conf
>
> #cat /boot/grub/grub.conf ?!
Eeh.... yes ??
root@BA:~# ls -l /boot/grub/menu.lst
lrwxrwxrwx 1 root root 9 Jun 1 2005 /boot/grub/menu.lst -> grub.conf
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 21:44 ` Bo Andresen
2006-02-12 21:59 ` Patrick Bloy
@ 2006-02-12 22:23 ` Gilberto Martins
2006-02-12 22:45 ` Bo Andresen
` (2 more replies)
1 sibling, 3 replies; 58+ messages in thread
From: Gilberto Martins @ 2006-02-12 22:23 UTC (permalink / raw
To: gentoo-user
Hi again !!!
> Perhaps you should post the output of:
>
> #ls -l /boot
> #cat /boot/grup/grub.conf
There it goes:
livecd / # ls -l /boot
total 2231
lrwxrwxrwx 1 root root 1 Feb 11 09:22 boot -> .
-rw-r--r-- 1 root root 32414 Feb 12 16:06 config-gentoo-2.6.12-gentoo-r10
drwxr-xr-x 2 root root 1024 Feb 12 13:16 grub
-rw-r--r-- 1 root root 2227076 Feb 12 16:01 kernel-gentoo-2.6.12-gentoo-r10
drwx------ 2 root root 12288 Feb 10 22:44 lost+found
livecd / # cat /boot/grub/grub.conf
default 0
timeout 0
#splashimage=(hd0,0)/grub/splash.xpm.gz
title Gentoo Linux 2.6.12.gentoo-r10
root (hd0,0)
kernel /kernel-gentoo-2.6.12-gentoo-r10 root=/dev/hdb3
#title Linux Testing
#rootnoverify (hd0,4)
#makeactive
#chainloader +1
livecd / #
Note that I started the gentoo boot disk, mounted it all, using the
folowing commands:
mount /dev/hdb3 /mnt/gentoo
mount /dev/hdb1 /mnt/gentoo/boot
swapon /dev/hdb2
mount -t proc none /mnt/gentoo/proc
mount -o bind /dev /mnt/gentoo/dev
and also chroot-ed it ...
chroot /mnt/gentoo /bin/bash
env-update
source /etc/profile
I appreciate your help a lot.
Thanx.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 22:23 ` Gilberto Martins
@ 2006-02-12 22:45 ` Bo Andresen
2006-02-12 23:04 ` Maarten
2006-02-12 23:07 ` Holly Bostick
2 siblings, 0 replies; 58+ messages in thread
From: Bo Andresen @ 2006-02-12 22:45 UTC (permalink / raw
To: gentoo-user
On Sunday 12 February 2006 23:23, Gilberto Martins wrote:
> livecd / # cat /boot/grub/grub.conf
[SNIP]
> root (hd0,0)
> kernel /kernel-gentoo-2.6.12-gentoo-r10 root=/dev/hdb3
[SNIP]
> mount /dev/hdb1 /mnt/gentoo/boot
I'm not really certain about this but isn't hdb in Linux syntax supposed to be
equivalent to hd1 in Grub syntax? Have you tried root(hd1,0)?
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 22:23 ` Gilberto Martins
2006-02-12 22:45 ` Bo Andresen
@ 2006-02-12 23:04 ` Maarten
2006-02-12 23:07 ` Holly Bostick
2 siblings, 0 replies; 58+ messages in thread
From: Maarten @ 2006-02-12 23:04 UTC (permalink / raw
To: gentoo-user
Gilberto Martins wrote:
> livecd / # cat /boot/grub/grub.conf
> default 0
> timeout 0
> #splashimage=(hd0,0)/grub/splash.xpm.gz
>
> title Gentoo Linux 2.6.12.gentoo-r10
> root (hd0,0)
> kernel /kernel-gentoo-2.6.12-gentoo-r10 root=/dev/hdb3
You say /dev/hdB, and above (hd0,0). Therefore implying that there is no
/dev/hdA in the system. Is that correct ? If not, and you do have a
hda device, the (hd0,0) is wrong and should probably be (hd1,0).
But in that case your BIOS will probably boot from hda anyway so grub
will never even be launched in the first place. What lives on hda,
windows ?
You can trivially check this by running 'grub' and, within grub, say
'root (hd0,0)'. It should then reply by saying "Filesystem type is XXX"
where XXX is ext2 or ext3 or whatever you used. If it says something
like FAT or yields an error (Selected disk does not exist | No such
partition) you have the wrong mapping. Trying 'root (hd1,0)' will then
be more successful probably. However, your BIOS would still boot hda in
most cases, so you had better look into installing grub on /dev/hda (but
without breaking whatever lives on hda)
If you have no hda, or if hda is the CDrom, it may be prudent to change
the cabling so that linux is on the /dev/hda device. Altough it is
possible to boot from the slave drive, but it is more straightforward to
boot from the master, and you may save yourself some headaches.
Maarten
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 22:23 ` Gilberto Martins
2006-02-12 22:45 ` Bo Andresen
2006-02-12 23:04 ` Maarten
@ 2006-02-12 23:07 ` Holly Bostick
2006-02-12 23:12 ` John Jolet
2006-02-12 23:25 ` Bo Andresen
2 siblings, 2 replies; 58+ messages in thread
From: Holly Bostick @ 2006-02-12 23:07 UTC (permalink / raw
To: gentoo-user
Gilberto Martins schreef:
> Hi again !!!
>
>> Perhaps you should post the output of:
>>
>> #ls -l /boot
>> #cat /boot/grup/grub.conf
>
> There it goes:
>
> livecd / # ls -l /boot total 2231 lrwxrwxrwx 1 root root 1 Feb
> 11 09:22 boot -> . -rw-r--r-- 1 root root 32414 Feb 12 16:06
> config-gentoo-2.6.12-gentoo-r10 drwxr-xr-x 2 root root 1024 Feb
> 12 13:16 grub -rw-r--r-- 1 root root 2227076 Feb 12 16:01
> kernel-gentoo-2.6.12-gentoo-r10 drwx------ 2 root root 12288 Feb
> 10 22:44 lost+found
Ummm... isn't there supposed to be a system.map for the kernel as well?
I myself don't manually copy my kernels after compiling it; I use make
install to do so, and I have the following files in /boot for all my
kernels:
la /boot
totaal 22M
-rw-r--r-- 1 root 512 apr 27 2005 14:23 backup_mbr
lrwxrwxrwx 1 root 1 apr 27 2005 18:52 boot -> .
lrwxrwxrwx 1 root 20 jan 07 2006 02:44 config -> config-2.6.15-gentoo
-rw-r--r-- 1 root 60K mrt 24 2005 01:31 config-2.6.11.4-20a-default
-rw-r--r-- 1 root 33K okt 13 2005 15:06 config-2.6.13-gentoo-r4
-rw-r--r-- 1 root 35K nov 07 2005 18:40 config-2.6.14-gentoo
-rw-r--r-- 1 root 35K jan 06 2006 21:34 config-2.6.14-gentoo-r7
-rw-r--r-- 1 root 36K jan 07 2006 02:44 config-2.6.15-gentoo
lrwxrwxrwx 1 root 23 jan 06 2006 21:34 config.old ->
config-2.6.14-gentoo-r7
drwxr-xr-x 2 root 1,0K jan 15 2006 06:06 grub
lrwxrwxrwx 1 root 27 apr 27 2005 14:23 initrd ->
initrd-2.6.11.4-20a-default
-rw-r--r-- 1 root 1,4M apr 27 2005 14:23 initrd-2.6.11.4-20a-default
-rw-r--r-- 1 root 0 apr 29 2005 00:47 .keep
drwx------ 2 root 12K apr 27 2005 14:13 lost+found
-rw-r--r-- 1 root 135K apr 27 2005 14:23 message
-rw-r--r-- 1 root 121 mrt 24 2005 01:31
README.vmlinux-2.6.11.4-20a-default.gz
-rw-r--r-- 1 root 67K mrt 24 2005 01:32
symvers-2.6.11.4-20a-i386-default.gz
lrwxrwxrwx 1 root 24 jan 07 2006 02:43 System.map ->
System.map-2.6.15-gentoo
-rw-r--r-- 1 root 693K mrt 24 2005 01:26 System.map-2.6.11.4-20a-default
-rw-r--r-- 1 root 948K okt 13 2005 15:06 System.map-2.6.13-gentoo-r4
-rw-r--r-- 1 root 736K nov 07 2005 18:40 System.map-2.6.14-gentoo
-rw-r--r-- 1 root 736K jan 06 2006 21:34 System.map-2.6.14-gentoo-r7
-rw-r--r-- 1 root 748K jan 07 2006 02:43 System.map-2.6.15-gentoo
lrwxrwxrwx 1 root 27 jan 06 2006 21:34 System.map.old ->
System.map-2.6.14-gentoo-r7
drwx------ 2 root 1,0K apr 29 2005 15:52 .Trash-root
lrwxrwxrwx 1 root 21 jan 07 2006 02:43 vmlinuz -> vmlinuz-2.6.15-gentoo
-rw-r--r-- 1 root 1,4M mrt 24 2005 01:26 vmlinuz-2.6.11.4-20a-default
-rw-r--r-- 1 root 3,6M okt 13 2005 15:06 vmlinuz-2.6.13-gentoo-r4
-rw-r--r-- 1 root 3,7M nov 07 2005 18:40 vmlinuz-2.6.14-gentoo
-rw-r--r-- 1 root 3,7M jan 06 2006 21:34 vmlinuz-2.6.14-gentoo-r7
-rw-r--r-- 1 root 3,4M jan 07 2006 02:43 vmlinuz-2.6.15-gentoo
lrwxrwxrwx 1 root 24 jan 06 2006 21:34 vmlinuz.old ->
vmlinuz-2.6.14-gentoo-r7
(ignore the 2.6.11.4-20a kernels, those are from my dual-boot SUSE install.)
In any case, for each available kernel, make install copies 3 files (and
makes 3 symlinks):
config-kernel.version
system.map-kernel.version
vmlinuz-kernel.version
the config file is just a convenience, but the vmlinuz and system.map
are, afaik, required to boot the kernel.
I don't know where system.map is copied from (the original compiled file
name), but if I was you (which I of course am not), I would cd to
/usr/src/linux and run make install to copy the kernel
files properly to boot, because I suspect this is not happening however
you're doing it.
Just my €0.02
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 23:07 ` Holly Bostick
@ 2006-02-12 23:12 ` John Jolet
2006-02-12 23:28 ` Holly Bostick
2006-02-12 23:25 ` Bo Andresen
1 sibling, 1 reply; 58+ messages in thread
From: John Jolet @ 2006-02-12 23:12 UTC (permalink / raw
To: gentoo-user
>
> Ummm... isn't there supposed to be a system.map for the kernel as well?
>
> I myself don't manually copy my kernels after compiling it; I use make
> install to do so, and I have the following files in /boot for all my
> kernels:
I've never done anything with a system.map. I manually copy it myself to
allow me to name them whatever I want.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 23:07 ` Holly Bostick
2006-02-12 23:12 ` John Jolet
@ 2006-02-12 23:25 ` Bo Andresen
2006-02-15 10:02 ` Neil Bothwick
1 sibling, 1 reply; 58+ messages in thread
From: Bo Andresen @ 2006-02-12 23:25 UTC (permalink / raw
To: gentoo-user
On Monday 13 February 2006 00:07, Holly Bostick wrote:
> Gilberto Martins schreef:
> In any case, for each available kernel, make install copies 3 files (and
> makes 3 symlinks):
>
> config-kernel.version
> system.map-kernel.version
> vmlinuz-kernel.version
>
> the config file is just a convenience, but the vmlinuz and system.map
> are, afaik, required to boot the kernel.
>
> I don't know where system.map is copied from (the original compiled file
> name), but if I was you (which I of course am not), I would cd to
> /usr/src/linux and run make install to copy the kernel
> files properly to boot, because I suspect this is not happening however
> you're doing it.
I always copy do:
cp arch/i386/boot/bzImage /boot/kernel-version-gentoo-r?
cp System.map /boot/System.map-version-gentoo-r?
cp .config /boot/config-version-gentoo-r?
System.map is a memory map of the kernel. It is quite informative in that
respect but it is certainly not necessary to boot. I just think it's
interesting to have.
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 23:12 ` John Jolet
@ 2006-02-12 23:28 ` Holly Bostick
2006-02-12 23:38 ` John Jolet
` (3 more replies)
0 siblings, 4 replies; 58+ messages in thread
From: Holly Bostick @ 2006-02-12 23:28 UTC (permalink / raw
To: gentoo-user
John Jolet schreef:
>
>> Ummm... isn't there supposed to be a system.map for the kernel as
>> well?
>>
>> I myself don't manually copy my kernels after compiling it; I use
>> make install to do so, and I have the following files in /boot for
>> all my kernels:
> I've never done anything with a system.map. I manually copy it
> myself to allow me to name them whatever I want.
>
>
Well, that's my point, sort of... what exactly do you copy, and has that
file been copied to Gilberto's /boot folder? From my /boot listing
previously, you can see that even SUSE creates a system.map in the /boot
folder, and that's a precompiled kernel (so it's not like it's copying
manually or via make install). So I kinda suspect that it's a needed
file across all distros, whatever it may be called.... and, looking in
/usr/src/linux, it is a separate file from the bzImage file, which is
the actual compiled kernel. The fact that the make install command also
finds it necessary to copy this file from /usr/src/linux to /boot is not
to be sneezed at either, imo.
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 23:28 ` Holly Bostick
@ 2006-02-12 23:38 ` John Jolet
2006-02-12 23:42 ` CapSel
` (2 subsequent siblings)
3 siblings, 0 replies; 58+ messages in thread
From: John Jolet @ 2006-02-12 23:38 UTC (permalink / raw
To: gentoo-user
On 2/12/06 5:28 PM, "Holly Bostick" <motub@planet.nl> wrote:
>> I've never done anything with a system.map. I manually copy it
>> myself to allow me to name them whatever I want.
>>
>>
> Well, that's my point, sort of... what exactly do you copy, and has that
> file been copied to Gilberto's /boot folder? From my /boot listing
> previously, you can see that even SUSE creates a system.map in the /boot
> folder, and that's a precompiled kernel (so it's not like it's copying
> manually or via make install). So I kinda suspect that it's a needed
> file across all distros, whatever it may be called.... and, looking in
> /usr/src/linux, it is a separate file from the bzImage file, which is
> the actual compiled kernel. The fact that the make install command also
> finds it necessary to copy this file from /usr/src/linux to /boot is not
> to be sneezed at either, imo.
I see your point. However, how critical can it be, if I have 10 versions of
kernels in /boot and in /boot/grub/grub.conf, and NEVER copied that file?
It gets created in /usr/src/linux-xxxx, but NOT in /boot. And is not
referenced anywhere in my grub.conf. If it's to be used, it needs to be
called on the kernel line of the grub.conf. And I've got 30 gentoo servers
running, without a one having the system.map file copied.
>
> Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 23:28 ` Holly Bostick
2006-02-12 23:38 ` John Jolet
@ 2006-02-12 23:42 ` CapSel
2006-02-13 0:18 ` Holly Bostick
2006-02-13 0:16 ` Bo Andresen
2006-02-13 1:07 ` Gilberto Martins
3 siblings, 1 reply; 58+ messages in thread
From: CapSel @ 2006-02-12 23:42 UTC (permalink / raw
To: gentoo-user
On 2/13/06, Holly Bostick <motub@planet.nl> wrote:
> John Jolet schreef:
> >
> >> Ummm... isn't there supposed to be a system.map for the kernel as
> >> well?
> >>
> >> I myself don't manually copy my kernels after compiling it; I use
> >> make install to do so, and I have the following files in /boot for
> >> all my kernels:
> > I've never done anything with a system.map. I manually copy it
> > myself to allow me to name them whatever I want.
> >
> >
> Well, that's my point, sort of... what exactly do you copy, and has that
> file been copied to Gilberto's /boot folder? From my /boot listing
> previously, you can see that even SUSE creates a system.map in the /boot
> folder, and that's a precompiled kernel (so it's not like it's copying
> manually or via make install). So I kinda suspect that it's a needed
> file across all distros, whatever it may be called.... and, looking in
> /usr/src/linux, it is a separate file from the bzImage file, which is
> the actual compiled kernel. The fact that the make install command also
> finds it necessary to copy this file from /usr/src/linux to /boot is not
> to be sneezed at either, imo.
>
> Holly
> --
> gentoo-user@gentoo.org mailing list
>
>
OT??
AFAIK system.map is not needed for lilo and not for grub. I don't have
it and all works without any errors or warnings about it.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 23:28 ` Holly Bostick
2006-02-12 23:38 ` John Jolet
2006-02-12 23:42 ` CapSel
@ 2006-02-13 0:16 ` Bo Andresen
2006-02-13 1:07 ` Gilberto Martins
3 siblings, 0 replies; 58+ messages in thread
From: Bo Andresen @ 2006-02-13 0:16 UTC (permalink / raw
To: gentoo-user
On Monday 13 February 2006 00:28, Holly Bostick wrote:
> From my /boot listing
> previously, you can see that even SUSE creates a system.map in the /boot
> folder, and that's a precompiled kernel (so it's not like it's copying
> manually or via make install). So I kinda suspect that it's a needed
> file across all distros, whatever it may be called.... and, looking in
> /usr/src/linux, it is a separate file from the bzImage file, which is
> the actual compiled kernel. The fact that the make install command also
> finds it necessary to copy this file from /usr/src/linux to /boot is not
> to be sneezed at either, imo.
http://www.google.com/linux?hl=en&q=system.map&btnI
This is getting a bit off topic, however, what you can read from the above
link is that there are programs which use System.map to resolve symbols from
the kernel. It just lists the addresses of where in the memory symbols are
located. But Grub certainly isn't one of those programs and unless you use
one of those programs it really isn't necessary.
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 23:42 ` CapSel
@ 2006-02-13 0:18 ` Holly Bostick
0 siblings, 0 replies; 58+ messages in thread
From: Holly Bostick @ 2006-02-13 0:18 UTC (permalink / raw
To: gentoo-user
CapSel schreef:
> On 2/13/06, Holly Bostick <motub@planet.nl> wrote:
>>>> Ummm... isn't there supposed to be a system.map for the kernel
>>>> as well?
>
> <snip> OT?? AFAIK system.map is not needed for lilo and not for grub.
> I don't have it and all works without any errors or warnings about
> it.
>
No, it's not OT, it was a question (is the absence of system.map in
Gilberto's /boot folder possibly relevant to the problems booting the
kernel?)
which you, among others, have answered (No).
Thanks.
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 23:28 ` Holly Bostick
` (2 preceding siblings ...)
2006-02-13 0:16 ` Bo Andresen
@ 2006-02-13 1:07 ` Gilberto Martins
2006-02-13 2:28 ` Daniel da Veiga
3 siblings, 1 reply; 58+ messages in thread
From: Gilberto Martins @ 2006-02-13 1:07 UTC (permalink / raw
To: gentoo-user
That's amazing, and that's what I am telling my wife as I read (with
her) all this messages, and show her how important is that we support
Free Software. The need of knowing more, by teaching the "newbies".
Thanks for all interest of each one who helped.
Maarten:
"If you have no hda, or if hda is the CDrom, it may be prudent to change
the cabling so that linux is on the /dev/hda device. Altough it is
possible to boot from the slave drive, but it is more straightforward to
boot from the master, and you may save yourself some headaches."
Yes, I have a CDROM as /dev/hda, and I really thought it would bring
me some troubles. Of course I can change it. But, I know (as you also
said) it is possible to boot from a slave hard disk. I haven't tested,
but it is like a poor solution, for I wouldn't be learning. I honestly
am almost considering going back to LILO and try after, but that would
not be learning.
Holly Bostick:
"Ummm... isn't there supposed to be a system.map for the kernel as well?"
Yes, I think. Should I hen modificate grub config file, as in LILO ?
if yes, how and where to make this change ?
In addition, there is a very good article about the topic "system.map"
in http://www.dirac.org/linux/system.map/. Mostly for debugging. also,
the command "ps" make some use of it.
I copied the following:
# cp /usr/src/linux/arch/i386/boot/bzImage /boot/kernel-gentoo-2.6.12-gentoo-r10
PS.: thanks for this valuable €0.02 !! 8)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 1:07 ` Gilberto Martins
@ 2006-02-13 2:28 ` Daniel da Veiga
2006-02-13 2:58 ` Gilberto Martins
0 siblings, 1 reply; 58+ messages in thread
From: Daniel da Veiga @ 2006-02-13 2:28 UTC (permalink / raw
To: gentoo-user
On 2/12/06, Gilberto Martins <zigotto@gmail.com> wrote:
> That's amazing, and that's what I am telling my wife as I read (with
> her) all this messages, and show her how important is that we support
> Free Software. The need of knowing more, by teaching the "newbies".
> Thanks for all interest of each one who helped.
>
>
> Maarten:
>
> "If you have no hda, or if hda is the CDrom, it may be prudent to change
> the cabling so that linux is on the /dev/hda device. Altough it is
> possible to boot from the slave drive, but it is more straightforward to
> boot from the master, and you may save yourself some headaches."
>
> Yes, I have a CDROM as /dev/hda, and I really thought it would bring
> me some troubles. Of course I can change it. But, I know (as you also
> said) it is possible to boot from a slave hard disk. I haven't tested,
Most modern BIOS have the option to boot from a lot of devices, you
can check if your BIOS have options to boot from hd1, or primary
slave, whatever your BIOS call it, just enter the SETUP and check for
it.
> but it is like a poor solution, for I wouldn't be learning. I honestly
> am almost considering going back to LILO and try after, but that would
> not be learning.
LILO won't help you, you're installing the boot loader in a slave
disk, whatever you do, your BIOS will still call for the master (in
most cases), check your grub config twice, change it for the slave
drive (hd(1,0)?!) and change your BIOS to boot from the slave...
Or, better, change the slave/master jumpers to a config where your HD
is the master, OR EVEN BETTER, make it so your CD/DVD drives go at the
secondary IDE (if your're using IDE, I suppose so from your posts).
When different drives with different speeds are in the same IDE one
may interfer and even slow down performance of the other.
>
>
> Holly Bostick:
>
> "Ummm... isn't there supposed to be a system.map for the kernel as well?"
>
> Yes, I think. Should I hen modificate grub config file, as in LILO ?
> if yes, how and where to make this change ?
> In addition, there is a very good article about the topic "system.map"
> in http://www.dirac.org/linux/system.map/. Mostly for debugging. also,
> the command "ps" make some use of it.
>
> I copied the following:
>
> # cp /usr/src/linux/arch/i386/boot/bzImage /boot/kernel-gentoo-2.6.12-gentoo-r10
>
> PS.: thanks for this valuable €0.02 !! 8)
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 2:28 ` Daniel da Veiga
@ 2006-02-13 2:58 ` Gilberto Martins
2006-02-13 8:05 ` Maarten
2006-02-13 17:02 ` Richard Fish
0 siblings, 2 replies; 58+ messages in thread
From: Gilberto Martins @ 2006-02-13 2:58 UTC (permalink / raw
To: gentoo-user
> Most modern BIOS have the option to boot from a lot of devices, you
> can check if your BIOS have options to boot from hd1, or primary
> slave, whatever your BIOS call it, just enter the SETUP and check for
> it.
Yeah, it is already configured to start the first Hard Disk.
> LILO won't help you, you're installing the boot loader in a slave
> disk, whatever you do, your BIOS will still call for the master (in
> most cases), check your grub config twice, change it for the slave
> drive (hd(1,0)?!) and change your BIOS to boot from the slave...
I really haven't checked for it, but i did "emerge lilo" to have a try
at lilo, anyway. After that, I "emerge --unmerge grub" it. Hope I
haven't done something too wrong.
Finally, I did:
cd /usr/src/linux
make install
After that, I had the folowing "/boot" content:
# cd /boot
# file *
System.map: symbolic link to `System.map-2.6.15-gentoo-r1'
System.map-2.6.15-gentoo-r1: ASCII text
System.map-2.6.15-gentoo-r1.old: ASCII text
System.map.old: symbolic link to
`System.map-2.6.15-gentoo-r1.old'
boot: symbolic link to `.'
boot.0340: x86 boot sector, code offset 0x48
config: symbolic link to `config-2.6.15-gentoo-r1'
config-2.6.15-gentoo-r1: ASCII English text
config-2.6.15-gentoo-r1.old: ASCII English text
config-gentoo-2.6.12-gentoo-r10: ASCII English text
config.old: symbolic link to `config-2.6.15-gentoo-r1.old'
grub: directory
kernel-gentoo-2.6.12-gentoo-r10: x86 boot sector
lost+found: directory
map: data
vmlinuz: symbolic link to `vmlinuz-2.6.15-gentoo-r1'
vmlinuz-2.6.15-gentoo-r1: x86 boot sector
vmlinuz-2.6.15-gentoo-r1.old: x86 boot sector
vmlinuz.old: symbolic link to `vmlinuz-2.6.15-gentoo-r1.old'
Now, after rebooting, it really went straight, with text menu. It
starts loading really fast the system,but all of a sudden, a "Kernel
Panic" says:
Warning - Unable to open an initial console
Kernel panic - not suncing: No init found. Try passing init= option to kernel
Which "init=" I should use ? the problem is the lack of a "initrd"
file ? I tried to read mkinitrd man page, but I guess this does not
apply.
This is the lilo.conf.
lba32
boot = /dev/hdb
default=gentoo
menu-scheme=Wb
prompt
delay = 50
vga = 791
image = /boot/vmlinuz
root = /dev/hdb1
label = Gentoo
read-only # read-only for checking
I adapted it from sample file. I can see that :
1) there was something missin in grub conf file;
2) I need to study a little bit more ... 8(
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 2:58 ` Gilberto Martins
@ 2006-02-13 8:05 ` Maarten
2006-02-13 12:04 ` Gilberto Martins
2006-02-13 17:02 ` Richard Fish
1 sibling, 1 reply; 58+ messages in thread
From: Maarten @ 2006-02-13 8:05 UTC (permalink / raw
To: gentoo-user
Gilberto Martins wrote:
>>Most modern BIOS have the option to boot from a lot of devices, you
>>can check if your BIOS have options to boot from hd1, or primary
>>slave, whatever your BIOS call it, just enter the SETUP and check for
>>it.
>
>
> Yeah, it is already configured to start the first Hard Disk.
>
>
>
>>LILO won't help you, you're installing the boot loader in a slave
>>disk, whatever you do, your BIOS will still call for the master (in
>>most cases), check your grub config twice, change it for the slave
>>drive (hd(1,0)?!) and change your BIOS to boot from the slave...
>
>
>
> I really haven't checked for it, but i did "emerge lilo" to have a try
> at lilo, anyway. After that, I "emerge --unmerge grub" it. Hope I
> haven't done something too wrong.
>
> Finally, I did:
>
> cd /usr/src/linux
> make install
>
>
>
> After that, I had the folowing "/boot" content:
>
> # cd /boot
> # file *
> System.map: symbolic link to `System.map-2.6.15-gentoo-r1'
> System.map-2.6.15-gentoo-r1: ASCII text
> System.map-2.6.15-gentoo-r1.old: ASCII text
> System.map.old: symbolic link to
> `System.map-2.6.15-gentoo-r1.old'
> boot: symbolic link to `.'
> boot.0340: x86 boot sector, code offset 0x48
> config: symbolic link to `config-2.6.15-gentoo-r1'
> config-2.6.15-gentoo-r1: ASCII English text
> config-2.6.15-gentoo-r1.old: ASCII English text
> config-gentoo-2.6.12-gentoo-r10: ASCII English text
> config.old: symbolic link to `config-2.6.15-gentoo-r1.old'
> grub: directory
> kernel-gentoo-2.6.12-gentoo-r10: x86 boot sector
> lost+found: directory
> map: data
> vmlinuz: symbolic link to `vmlinuz-2.6.15-gentoo-r1'
> vmlinuz-2.6.15-gentoo-r1: x86 boot sector
> vmlinuz-2.6.15-gentoo-r1.old: x86 boot sector
> vmlinuz.old: symbolic link to `vmlinuz-2.6.15-gentoo-r1.old'
>
>
>
> Now, after rebooting, it really went straight, with text menu. It
> starts loading really fast the system,but all of a sudden, a "Kernel
> Panic" says:
>
> Warning - Unable to open an initial console
> Kernel panic - not suncing: No init found. Try passing init= option to kernel
>
>
>
> Which "init=" I should use ? the problem is the lack of a "initrd"
> file ? I tried to read mkinitrd man page, but I guess this does not
> apply.
>
> This is the lilo.conf.
>
>
> lba32
> boot = /dev/hdb
> default=gentoo
> menu-scheme=Wb
> prompt
> delay = 50
> vga = 791
> image = /boot/vmlinuz
> root = /dev/hdb1
You're pointing the kernel to hdb1 as the system root partition. I bet
money hdb1 isn't; it's /boot. So point it to the hdb[2|3|4|...] which is
your main / partition, and all will be well.
Maarten
> label = Gentoo
> read-only # read-only for checking
>
>
>
> I adapted it from sample file. I can see that :
> 1) there was something missin in grub conf file;
> 2) I need to study a little bit more ... 8(
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 8:05 ` Maarten
@ 2006-02-13 12:04 ` Gilberto Martins
2006-02-13 12:17 ` Bo Andresen
0 siblings, 1 reply; 58+ messages in thread
From: Gilberto Martins @ 2006-02-13 12:04 UTC (permalink / raw
To: gentoo-user
2006/2/13, Maarten <gentoo@ultratux.org>:
> You're pointing the kernel to hdb1 as the system root partition. I bet
> money hdb1 isn't; it's /boot. So point it to the hdb[2|3|4|...] which is
> your main / partition, and all will be well.
So good I haven't bet, for I'd loose. 8)
Making this change solved the problem. Seems that grub works, but
there is something I am not doing the right way.
Take care you all
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 12:04 ` Gilberto Martins
@ 2006-02-13 12:17 ` Bo Andresen
2006-02-13 13:15 ` Gilberto Martins
0 siblings, 1 reply; 58+ messages in thread
From: Bo Andresen @ 2006-02-13 12:17 UTC (permalink / raw
To: gentoo-user
On Monday 13 February 2006 13:04, Gilberto Martins wrote:
> So good I haven't bet, for I'd loose. 8)
> Making this change solved the problem. Seems that grub works, but
> there is something I am not doing the right way.
1) Did you mean Lilo instead of Grub works??
2) Did you try root(hd1,0) with Grub?
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 12:17 ` Bo Andresen
@ 2006-02-13 13:15 ` Gilberto Martins
2006-02-13 14:27 ` Michael Kintzios
0 siblings, 1 reply; 58+ messages in thread
From: Gilberto Martins @ 2006-02-13 13:15 UTC (permalink / raw
To: gentoo-user
Hi again.
2006/2/13, Bo Andresen <bo.andresen@gmail.com>:
> On Monday 13 February 2006 13:04, Gilberto Martins wrote:
> > So good I haven't bet, for I'd loose. 8)
> > Making this change solved the problem. Seems that grub works, but
> > there is something I am not doing the right way.
>
> 1) Did you mean Lilo instead of Grub works??
YES
> 2) Did you try root(hd1,0) with Grub?
YES
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* RE: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 13:15 ` Gilberto Martins
@ 2006-02-13 14:27 ` Michael Kintzios
0 siblings, 0 replies; 58+ messages in thread
From: Michael Kintzios @ 2006-02-13 14:27 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Gilberto Martins [mailto:zigotto@gmail.com]
> Sent: 13 February 2006 13:16
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: Problems with GRUB in the
> installation of Gentoo
>
>
> Hi again.
>
> 2006/2/13, Bo Andresen <bo.andresen@gmail.com>:
> > On Monday 13 February 2006 13:04, Gilberto Martins wrote:
> > > So good I haven't bet, for I'd loose. 8)
> > > Making this change solved the problem. Seems that grub works, but
> > > there is something I am not doing the right way.
> >
> > 1) Did you mean Lilo instead of Grub works??
>
> YES
>
> > 2) Did you try root(hd1,0) with Grub?
>
> YES
Make sure that /etc/fstab has the correct devices/fs for each partition.
Usual error is that people leave it with the default entry e.g.
/dev/ROOT instead of the correct /dev/hdb3 in your case.
Also, check if you have chosen reiserfs and have not selected this as a
*built-in* option in your kernel (not a module). The default kernel
config does not select reiserfs.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 2:58 ` Gilberto Martins
2006-02-13 8:05 ` Maarten
@ 2006-02-13 17:02 ` Richard Fish
2006-02-13 17:49 ` Maarten
2006-02-14 2:40 ` Gilberto Martins
1 sibling, 2 replies; 58+ messages in thread
From: Richard Fish @ 2006-02-13 17:02 UTC (permalink / raw
To: gentoo-user
> Now, after rebooting, it really went straight, with text menu. It
> starts loading really fast the system,but all of a sudden, a "Kernel
> Panic" says:
>
> Warning - Unable to open an initial console
> Kernel panic - not suncing: No init found. Try passing init= option to kernel
This message usually means you are missing /dev/console on your root filesystem.
Boot from the live CD, mount your root, and do:
cp -a /dev/console /dev/null /dev/zero /mnt/gentoo/dev/
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 17:02 ` Richard Fish
@ 2006-02-13 17:49 ` Maarten
2006-02-14 2:39 ` Gilberto Martins
2006-02-14 9:18 ` Michael Kintzios
2006-02-14 2:40 ` Gilberto Martins
1 sibling, 2 replies; 58+ messages in thread
From: Maarten @ 2006-02-13 17:49 UTC (permalink / raw
To: gentoo-user
Richard Fish wrote:
>>Now, after rebooting, it really went straight, with text menu. It
>>starts loading really fast the system,but all of a sudden, a "Kernel
>>Panic" says:
>>
>>Warning - Unable to open an initial console
>>Kernel panic - not suncing: No init found. Try passing init= option to kernel
>
>
> This message usually means you are missing /dev/console on your root filesystem.
That warning, yes.
But the error right after that means what it says: No init found, ie. it
has mounted a filesystem (else you get another error-: Kernel panic -
cannot mount root partition) but it is unable to find 'init' there.
>From that, one can deduce the OP probably pointed the kernel to the
wrong root partition (ie. /boot, or /usr, etc.)
Maarten
> Boot from the live CD, mount your root, and do:
>
> cp -a /dev/console /dev/null /dev/zero /mnt/gentoo/dev/
>
> -Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 17:49 ` Maarten
@ 2006-02-14 2:39 ` Gilberto Martins
2006-02-14 10:26 ` Holly Bostick
2006-02-14 11:22 ` Maarten
2006-02-14 9:18 ` Michael Kintzios
1 sibling, 2 replies; 58+ messages in thread
From: Gilberto Martins @ 2006-02-14 2:39 UTC (permalink / raw
To: gentoo-user
> That warning, yes.
> But the error right after that means what it says: No init found, ie. it
> has mounted a filesystem (else you get another error-: Kernel panic -
> cannot mount root partition) but it is unable to find 'init' there.
> From that, one can deduce the OP probably pointed the kernel to the
> wrong root partition (ie. /boot, or /usr, etc.)
You are right. I pointed it to hdb1 and not to hdb3. It is working.
What is OP ?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 17:02 ` Richard Fish
2006-02-13 17:49 ` Maarten
@ 2006-02-14 2:40 ` Gilberto Martins
2006-02-14 4:49 ` Richard Fish
1 sibling, 1 reply; 58+ messages in thread
From: Gilberto Martins @ 2006-02-14 2:40 UTC (permalink / raw
To: gentoo-user
> Boot from the live CD, mount your root, and do:
>
> cp -a /dev/console /dev/null /dev/zero /mnt/gentoo/dev/
Hum ..
Shouldn`t it already exist ? Why should I have to copy it ? What can
cause this absence ?
Thanks
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-14 2:40 ` Gilberto Martins
@ 2006-02-14 4:49 ` Richard Fish
2006-02-14 12:56 ` Gilberto Martins
0 siblings, 1 reply; 58+ messages in thread
From: Richard Fish @ 2006-02-14 4:49 UTC (permalink / raw
To: gentoo-user
On 2/13/06, Gilberto Martins <zigotto@gmail.com> wrote:
> Hum ..
> Shouldn`t it already exist ? Why should I have to copy it ? What can
> cause this absence ?
Not likely to happen during installation, but if you use udev, the
device nodes may not exist in your backups (depending upon how you do
your backups...). So a restore of a backup of your root filesystem
from a crash recovery or live CD may not restore any device nodes to
your root filesystem.
Anyway, ignore my message...I didn't quite understand that the problem
was resolved.
-Richard
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* RE: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-13 17:49 ` Maarten
2006-02-14 2:39 ` Gilberto Martins
@ 2006-02-14 9:18 ` Michael Kintzios
1 sibling, 0 replies; 58+ messages in thread
From: Michael Kintzios @ 2006-02-14 9:18 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Maarten [mailto:gentoo@ultratux.org]
> Sent: 13 February 2006 17:49
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: Problems with GRUB in the
> installation of Gentoo
>
>
> Richard Fish wrote:
> >>Now, after rebooting, it really went straight, with text menu. It
> >>starts loading really fast the system,but all of a sudden, a "Kernel
> >>Panic" says:
> >>
> >>Warning - Unable to open an initial console
> >>Kernel panic - not suncing: No init found. Try passing
> init= option to kernel
> >
> >
> > This message usually means you are missing /dev/console on
> your root filesystem.
>
> That warning, yes.
> But the error right after that means what it says: No init
> found, ie. it
> has mounted a filesystem (else you get another error-: Kernel panic -
> cannot mount root partition) but it is unable to find 'init' there.
> From that, one can deduce the OP probably pointed the kernel to the
> wrong root partition (ie. /boot, or /usr, etc.)
. . or, on a multipartition installation they've missed out some
rather important directory which needs to be in / for it to boot, like
e.g. /sbin.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-14 2:39 ` Gilberto Martins
@ 2006-02-14 10:26 ` Holly Bostick
2006-02-14 11:22 ` Maarten
1 sibling, 0 replies; 58+ messages in thread
From: Holly Bostick @ 2006-02-14 10:26 UTC (permalink / raw
To: gentoo-user
Gilberto Martins schreef:
>
> You are right. I pointed it to hdb1 and not to hdb3. It is working.
Hurrah!!
>
> What is OP ?
>
"Original Post" or "Original Poster", referring to the person who
started a thread if you forgot their name and don't have time to scroll
back through a long thread to find it.
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-14 2:39 ` Gilberto Martins
2006-02-14 10:26 ` Holly Bostick
@ 2006-02-14 11:22 ` Maarten
1 sibling, 0 replies; 58+ messages in thread
From: Maarten @ 2006-02-14 11:22 UTC (permalink / raw
To: gentoo-user
Gilberto Martins wrote:
> What is OP ?
>
_O_riginal _P_oster, I believe.
Maarten
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-14 4:49 ` Richard Fish
@ 2006-02-14 12:56 ` Gilberto Martins
2006-02-14 16:42 ` Cláudio Henrique
0 siblings, 1 reply; 58+ messages in thread
From: Gilberto Martins @ 2006-02-14 12:56 UTC (permalink / raw
To: gentoo-user
> Not likely to happen during installation, but if you use udev, the
> device nodes may not exist in your backups (depending upon how you do
> your backups...). So a restore of a backup of your root filesystem
> from a crash recovery or live CD may not restore any device nodes to
> your root filesystem.
Well, I am not using udev. It is a install from scratch. So there is no backup.
>
> Anyway, ignore my message...I didn't quite understand that the problem
> was resolved.
No way, pal. Now I will read about udev, and see if I can get some
advantage out of it. 8)
Thanks!!!
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-14 12:56 ` Gilberto Martins
@ 2006-02-14 16:42 ` Cláudio Henrique
0 siblings, 0 replies; 58+ messages in thread
From: Cláudio Henrique @ 2006-02-14 16:42 UTC (permalink / raw
To: gentoo-user
hey, gilberto, how about the grub trouble?
use udev, check this out:
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#book_part1_chap9
have you heard of RR4? is a live dvd distro based on gentoo:
http://www.lxnaydesign.net/index.php?option=com_content&task=view&id=16&Itemid=27
and so is vida linux:
http://www.vidalinux.com/
[]'s
claudio.
On 2/14/06, Gilberto Martins <zigotto@gmail.com> wrote:
> > Not likely to happen during installation, but if you use udev, the
> > device nodes may not exist in your backups (depending upon how you do
> > your backups...). So a restore of a backup of your root filesystem
> > from a crash recovery or live CD may not restore any device nodes to
> > your root filesystem.
>
> Well, I am not using udev. It is a install from scratch. So there is no backup.
>
> >
> > Anyway, ignore my message...I didn't quite understand that the problem
> > was resolved.
> No way, pal. Now I will read about udev, and see if I can get some
> advantage out of it. 8)
>
> Thanks!!!
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-12 23:25 ` Bo Andresen
@ 2006-02-15 10:02 ` Neil Bothwick
2006-02-15 10:19 ` Michael Kintzios
2006-02-15 12:44 ` [gentoo-user] " Bo Andresen
0 siblings, 2 replies; 58+ messages in thread
From: Neil Bothwick @ 2006-02-15 10:02 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 498 bytes --]
On Mon, 13 Feb 2006 00:25:52 +0100, Bo Andresen wrote:
> I always copy do:
> cp arch/i386/boot/bzImage /boot/kernel-version-gentoo-r?
> cp System.map /boot/System.map-version-gentoo-r?
> cp .config /boot/config-version-gentoo-r?
make install does exactly the same, and sets up the vmlinuz and
vmlinuz.old symlinks to point to your new and previous kernel
respectively, so you don't need to edit grub.conf.
--
Neil Bothwick
I used to live in the real world, but I got evicted.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 58+ messages in thread
* RE: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-15 10:02 ` Neil Bothwick
@ 2006-02-15 10:19 ` Michael Kintzios
2006-02-16 16:10 ` Neil Bothwick
2006-02-15 12:44 ` [gentoo-user] " Bo Andresen
1 sibling, 1 reply; 58+ messages in thread
From: Michael Kintzios @ 2006-02-15 10:19 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Neil Bothwick [mailto:neil@digimed.co.uk]
> Sent: 15 February 2006 10:02
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: Problems with GRUB in the
> installation of Gentoo
>
>
> On Mon, 13 Feb 2006 00:25:52 +0100, Bo Andresen wrote:
>
> > I always copy do:
> > cp arch/i386/boot/bzImage /boot/kernel-version-gentoo-r?
> > cp System.map /boot/System.map-version-gentoo-r?
> > cp .config /boot/config-version-gentoo-r?
>
> make install does exactly the same, and sets up the vmlinuz and
> vmlinuz.old symlinks to point to your new and previous kernel
> respectively, so you don't need to edit grub.conf.
Hmm, it doesn't on my two boxen. :-( I do not have a vmlinuz,
System.map and config links.
Do I have to first set up the symlinks manually?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-15 10:02 ` Neil Bothwick
2006-02-15 10:19 ` Michael Kintzios
@ 2006-02-15 12:44 ` Bo Andresen
1 sibling, 0 replies; 58+ messages in thread
From: Bo Andresen @ 2006-02-15 12:44 UTC (permalink / raw
To: gentoo-user
On Wednesday 15 February 2006 11:02, Neil Bothwick wrote:
> On Mon, 13 Feb 2006 00:25:52 +0100, Bo Andresen wrote:
> > I always copy do:
> > cp arch/i386/boot/bzImage /boot/kernel-version-gentoo-r?
> > cp System.map /boot/System.map-version-gentoo-r?
> > cp .config /boot/config-version-gentoo-r?
>
> make install does exactly the same, and sets up the vmlinuz and
> vmlinuz.old symlinks to point to your new and previous kernel
> respectively, so you don't need to edit grub.conf.
Now we are at it is there someone who is willing to explain to me how make
install works (I do know make i.e the basics)? I mean looking in the Makefile
I don't see any directives as to how to make install...
--
Bo Andresen
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-15 10:19 ` Michael Kintzios
@ 2006-02-16 16:10 ` Neil Bothwick
2006-02-16 17:05 ` Michael Kintzios
0 siblings, 1 reply; 58+ messages in thread
From: Neil Bothwick @ 2006-02-16 16:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 655 bytes --]
On Wed, 15 Feb 2006 10:19:36 -0000, Michael Kintzios wrote:
> > make install does exactly the same, and sets up the vmlinuz and
> > vmlinuz.old symlinks to point to your new and previous kernel
> > respectively, so you don't need to edit grub.conf.
>
> Hmm, it doesn't on my two boxen. :-( I do not have a vmlinuz,
> System.map and config links.
>
> Do I have to first set up the symlinks manually?
Looking as /sbin/installkernel, it doesn't appear that you have to create
the links. Of course, you do have to make sure /boot is mounted first :)
--
Neil Bothwick
-Come, come, why they couldn't hit an elephant from this dist-
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 58+ messages in thread
* RE: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-16 16:10 ` Neil Bothwick
@ 2006-02-16 17:05 ` Michael Kintzios
2006-02-16 20:48 ` John Jolet
` (2 more replies)
0 siblings, 3 replies; 58+ messages in thread
From: Michael Kintzios @ 2006-02-16 17:05 UTC (permalink / raw
To: gentoo-user
> -----Original Message-----
> From: Neil Bothwick [mailto:neil@digimed.co.uk]
> Sent: 16 February 2006 16:10
> To: gentoo-user@lists.gentoo.org
> Subject: Re: [gentoo-user] Re: Problems with GRUB in the
> installation of Gentoo
>
> > > make install does exactly the same, and sets up the vmlinuz and
> > > vmlinuz.old symlinks to point to your new and previous kernel
> > > respectively, so you don't need to edit grub.conf.
> >
> > Hmm, it doesn't on my two boxen. :-( I do not have a vmlinuz,
> > System.map and config links.
> >
> > Do I have to first set up the symlinks manually?
>
> Looking as /sbin/installkernel, it doesn't appear that you
> have to create
> the links. Of course, you do have to make sure /boot is
> mounted first :)
Yep, /boot is always mounted (just to be sure I won't forget it, I
always mount it before I even cd into /usr/src/linux). Running make &&
make modules_install does *not* create any links in my /boot directory,
ever. Could it be that there's something wrong with my system(s) - at
least three installations have always behaved like this . . .
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-16 17:05 ` Michael Kintzios
@ 2006-02-16 20:48 ` John Jolet
2006-02-16 21:40 ` [gentoo-user] " Mick
2006-02-16 21:03 ` [gentoo-user] " Holly Bostick
2006-02-16 21:10 ` [gentoo-user] " Neil Bothwick
2 siblings, 1 reply; 58+ messages in thread
From: John Jolet @ 2006-02-16 20:48 UTC (permalink / raw
To: gentoo-user
On 2/16/06 11:05 AM, "Michael Kintzios" <michaelkintzios@lycos.co.uk> wrote:
>
>
>> -----Original Message-----
>> From: Neil Bothwick [mailto:neil@digimed.co.uk]
>> Sent: 16 February 2006 16:10
>> To: gentoo-user@lists.gentoo.org
>> Subject: Re: [gentoo-user] Re: Problems with GRUB in the
>> installation of Gentoo
>>
>>>> make install does exactly the same, and sets up the vmlinuz and
>>>> vmlinuz.old symlinks to point to your new and previous kernel
>>>> respectively, so you don't need to edit grub.conf.
>>>
>>> Hmm, it doesn't on my two boxen. :-( I do not have a vmlinuz,
>>> System.map and config links.
>>>
>>> Do I have to first set up the symlinks manually?
>>
>> Looking as /sbin/installkernel, it doesn't appear that you
>> have to create
>> the links. Of course, you do have to make sure /boot is
>> mounted first :)
>
> Yep, /boot is always mounted (just to be sure I won't forget it, I
> always mount it before I even cd into /usr/src/linux). Running make &&
> make modules_install does *not* create any links in my /boot directory,
> ever. Could it be that there's something wrong with my system(s) - at
> least three installations have always behaved like this . . .
No, make makes the bzImage under /usr/src/linux.....arch/.....boot
And make modules_install installes the modules in /lib, I think. Neither of
them touches /boot. I THINK there's a make install that's supposed to do
some stuff for you, but I prefer to do those steps by hand.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-16 17:05 ` Michael Kintzios
2006-02-16 20:48 ` John Jolet
@ 2006-02-16 21:03 ` Holly Bostick
2006-02-16 21:19 ` Frino Klauss
2006-02-16 21:48 ` [gentoo-user] " Mick
2006-02-16 21:10 ` [gentoo-user] " Neil Bothwick
2 siblings, 2 replies; 58+ messages in thread
From: Holly Bostick @ 2006-02-16 21:03 UTC (permalink / raw
To: gentoo-user
Michael Kintzios schreef:
>
>> -----Original Message----- From: Neil Bothwick
>> [mailto:neil@digimed.co.uk] Sent: 16 February 2006 16:10 To:
>> gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re:
>> Problems with GRUB in the installation of Gentoo
>>
>>>> make install does exactly the same, and sets up the vmlinuz and
>>>> vmlinuz.old symlinks to point to your new and previous kernel
>>>> respectively, so you don't need to edit grub.conf.
>>> Hmm, it doesn't on my two boxen. :-( I do not have a vmlinuz,
>>> System.map and config links.
>>>
>>> Do I have to first set up the symlinks manually?
>> Looking as /sbin/installkernel, it doesn't appear that you have to
>> create the links. Of course, you do have to make sure /boot is
>> mounted first :)
>
> Yep, /boot is always mounted (just to be sure I won't forget it, I
> always mount it before I even cd into /usr/src/linux). Running make
> && make modules_install does *not* create any links in my /boot
> directory,
Neither make nor make modules_install is *supposed* to create any links
in your /boot directory.
Make compiles the kernel and static modules, make modules_install
compiles the dynamic modules and installs them in
/lib/modules/<kernel-version/<wherever_they_belong>.
This is why you then have to either copy the compiled kernel (and
supplemental files like .config and system.map, if you want) to /boot.
make install (which is a different command than make modules_install)
does this automatically, and additionally makes symlinks called vmlinuz
and vmlinuz.old (if a previous kernel exists), and updates lilo (if
available). If you use grub, if grub.conf is set to load vmlinuz as the
current kernel, and vmlinuz.old as the previous kernel, you don't then
have to update grub in any way when you have used make install to
install your newly-compiled kernel, because make install changes the
symlink for the previous kernel to vmlinuz.old, and makes the symlink
for the newly installed kernel vmlinuz. Kernels older than the current
and most-recent-previous can be added manually to the menu directly.
My impression is that you haven't yet run make install.
HTH,
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-16 17:05 ` Michael Kintzios
2006-02-16 20:48 ` John Jolet
2006-02-16 21:03 ` [gentoo-user] " Holly Bostick
@ 2006-02-16 21:10 ` Neil Bothwick
2006-02-16 22:39 ` [gentoo-user] " Mick
2 siblings, 1 reply; 58+ messages in thread
From: Neil Bothwick @ 2006-02-16 21:10 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 696 bytes --]
On Thu, 16 Feb 2006 17:05:24 -0000, Michael Kintzios wrote:
> Yep, /boot is always mounted (just to be sure I won't forget it, I
> always mount it before I even cd into /usr/src/linux). Running make &&
> make modules_install does *not* create any links in my /boot directory,
> ever. Could it be that there's something wrong with my system(s) - at
> least three installations have always behaved like this . . .
That's because you are not running make install. make modules_install
installs the modules, make install installs the kernel. You need
make && make modules_install && make install
--
Neil Bothwick
As a computer, I find your faith in technology amusing.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-16 21:03 ` [gentoo-user] " Holly Bostick
@ 2006-02-16 21:19 ` Frino Klauss
2006-02-16 21:43 ` Holly Bostick
2006-02-16 21:49 ` Daniel da Veiga
2006-02-16 21:48 ` [gentoo-user] " Mick
1 sibling, 2 replies; 58+ messages in thread
From: Frino Klauss @ 2006-02-16 21:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 152 bytes --]
On 2/16/06, Holly Bostick <motub@planet.nl> wrote:
>
> My impression is that you haven't yet run make install.
>
Can't you use genkernel instead ?
[-- Attachment #2: Type: text/html, Size: 419 bytes --]
^ permalink raw reply [flat|nested] 58+ messages in thread
* [gentoo-user] Re: Re: Problems with GRUB in the installation of Gentoo
2006-02-16 20:48 ` John Jolet
@ 2006-02-16 21:40 ` Mick
2006-02-16 22:33 ` Holly Bostick
2006-02-16 23:07 ` John Jolet
0 siblings, 2 replies; 58+ messages in thread
From: Mick @ 2006-02-16 21:40 UTC (permalink / raw
To: gentoo-user
John Jolet wrote:
>
>
>
> On 2/16/06 11:05 AM, "Michael Kintzios" <michaelkintzios@lycos.co.uk>
> wrote:
>
>>
>>
>>> -----Original Message-----
>>> From: Neil Bothwick [mailto:neil@digimed.co.uk]
>>> Sent: 16 February 2006 16:10
>>> To: gentoo-user@lists.gentoo.org
>>> Subject: Re: [gentoo-user] Re: Problems with GRUB in the
>>> installation of Gentoo
>>>
>>>>> make install does exactly the same, and sets up the vmlinuz and
>>>>> vmlinuz.old symlinks to point to your new and previous kernel
>>>>> respectively, so you don't need to edit grub.conf.
>>>>
>>>> Hmm, it doesn't on my two boxen. :-( I do not have a vmlinuz,
>>>> System.map and config links.
>>>>
>>>> Do I have to first set up the symlinks manually?
>>>
>>> Looking as /sbin/installkernel, it doesn't appear that you
>>> have to create
>>> the links. Of course, you do have to make sure /boot is
>>> mounted first :)
>>
>> Yep, /boot is always mounted (just to be sure I won't forget it, I
>> always mount it before I even cd into /usr/src/linux). Running make &&
>> make modules_install does *not* create any links in my /boot directory,
>> ever. Could it be that there's something wrong with my system(s) - at
>> least three installations have always behaved like this . . .
> No, make makes the bzImage under /usr/src/linux.....arch/.....boot
> And make modules_install installes the modules in /lib, I think. Neither
> of
> them touches /boot. I THINK there's a make install that's supposed to do
> some stuff for you, but I prefer to do those steps by hand.
I am confused: how many 'make install's are there? Don't they 'all' do the
same? Are we talking about a customised (hacked) make install here?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-16 21:19 ` Frino Klauss
@ 2006-02-16 21:43 ` Holly Bostick
2006-02-16 21:49 ` Daniel da Veiga
1 sibling, 0 replies; 58+ messages in thread
From: Holly Bostick @ 2006-02-16 21:43 UTC (permalink / raw
To: gentoo-user
Frino Klauss schreef:
> On 2/16/06, Holly Bostick <motub@planet.nl> wrote:
>> My impression is that you haven't yet run make install.
>>
> Can't you use genkernel instead ?
>
I have no idea; I've never used genkernel, and am unlikely to ever do
so. Since it is a mostly automated process (though you can use some sort
of switch to go to a manual menuconfig), I suppose it would compile and
install the kernel to /boot as part of its functioning, but I have no
idea what it actually does, or how to make it do what it does.
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* [gentoo-user] Re: Re: Problems with GRUB in the installation of Gentoo
2006-02-16 21:03 ` [gentoo-user] " Holly Bostick
2006-02-16 21:19 ` Frino Klauss
@ 2006-02-16 21:48 ` Mick
1 sibling, 0 replies; 58+ messages in thread
From: Mick @ 2006-02-16 21:48 UTC (permalink / raw
To: gentoo-user
Holly Bostick wrote:
>
> My impression is that you haven't yet run make install.
>
> HTH,
> Holly
Spot on! I'll try it out next time I compile a kernel Holly, thank you for
clarifying matters.
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Problems with GRUB in the installation of Gentoo
2006-02-16 21:19 ` Frino Klauss
2006-02-16 21:43 ` Holly Bostick
@ 2006-02-16 21:49 ` Daniel da Veiga
1 sibling, 0 replies; 58+ messages in thread
From: Daniel da Veiga @ 2006-02-16 21:49 UTC (permalink / raw
To: gentoo-user
On 2/16/06, Frino Klauss <frino.klauss@gmail.com> wrote:
>
> On 2/16/06, Holly Bostick <motub@planet.nl> wrote:
> > My impression is that you haven't yet run make install.
> >
> Can't you use genkernel instead ?
>
Yes, if you want, if you use it with --install it will copy the latest
kernel, map and initrd to /boot... I only use genkernel, but of course
with --menuconfig.
--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Re: Problems with GRUB in the installation of Gentoo
2006-02-16 21:40 ` [gentoo-user] " Mick
@ 2006-02-16 22:33 ` Holly Bostick
2006-02-16 22:49 ` [gentoo-user] " Mick
2006-02-16 23:47 ` [gentoo-user] " Neil Bothwick
2006-02-16 23:07 ` John Jolet
1 sibling, 2 replies; 58+ messages in thread
From: Holly Bostick @ 2006-02-16 22:33 UTC (permalink / raw
To: gentoo-user
Mick schreef:
> John Jolet wrote:
>>
>> On 2/16/06 11:05 AM, "Michael Kintzios"
>> <michaelkintzios@lycos.co.uk> wrote:
>>>
>>>> From: Neil Bothwick [mailto:neil@digimed.co.uk]
>>>>
>>>>>> make install does exactly the same, and sets up the vmlinuz
>>>>>> and vmlinuz.old symlinks to point to your new and previous
>>>>>> kernel respectively, so you don't need to edit grub.conf.
>>>>> Hmm, it doesn't on my two boxen. :-( I do not have a
>>>>> vmlinuz, System.map and config links.
>>>>>
>>>>> Do I have to first set up the symlinks manually?
>
>>> Yep, /boot is always mounted (just to be sure I won't forget it,
>>> I always mount it before I even cd into /usr/src/linux). Running
>>> make && make modules_install does *not* create any links in my
>>> /boot directory, ever. Could it be that there's something wrong
>>> with my system(s) - at least three installations have always
>>> behaved like this . . .
>> No, make makes the bzImage under /usr/src/linux.....arch/.....boot
>> And make modules_install installes the modules in /lib, I think.
>> Neither of them touches /boot. I THINK there's a make install
>> that's supposed to do some stuff for you, but I prefer to do those
>> steps by hand.
>
> I am confused: how many 'make install's are there? Don't they 'all'
> do the same? Are we talking about a customised (hacked) make install
> here?
There is only one make install. It is the optional command out of the
set of commands used to compile and install a kernel:
make (which now includes make modules, whereas under 2.4-series kernels
you had to run make modules as a separate command) -- compiles the
kernel and modules
make modules_install -- installs dynamic (loadable) modules to
/lib/modules/<kernel-version>/
and you can then either copy the kernel manually to /boot, or use the
make install command to do so.
This functionality is not in any way a hack:
equery belongs /sbin/installkernel
[ Searching for file(s) /sbin/installkernel in *... ]
sys-apps/debianutils-2.15 (/sbin/installkernel)
Programs That Depend On debianutils
app-admin/sysklogd
app-portage/gentoolkit
app-text/noweb
dev-util/bazaar
dev-util/larch
dev-util/pbuilder
dev-util/tla
mail-filter/clamassassin
sys-apps/apmd
sys-boot/arcboot
x11-misc/sux
x11-wm/fvwm
And it's not in my world file, so it was probably installed by
gentoolkit or sux, which are the only two RDEPENDS of this list I have
installed (other than fvwm, but that's recent and I'm sure that I had
the ability to make install long before that). So I suppose it's possible
that some users might not have this, unless it's part of system, which I
don't know how to check.
But any utility ported from Debian certainly can't be considered a hack
by any stretch of the imagination
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* [gentoo-user] Re: Re: Problems with GRUB in the installation of Gentoo
2006-02-16 21:10 ` [gentoo-user] " Neil Bothwick
@ 2006-02-16 22:39 ` Mick
0 siblings, 0 replies; 58+ messages in thread
From: Mick @ 2006-02-16 22:39 UTC (permalink / raw
To: gentoo-user
Neil Bothwick wrote:
> On Thu, 16 Feb 2006 17:05:24 -0000, Michael Kintzios wrote:
>
>> Yep, /boot is always mounted (just to be sure I won't forget it, I
>> always mount it before I even cd into /usr/src/linux). Running make &&
>> make modules_install does *not* create any links in my /boot directory,
>> ever. Could it be that there's something wrong with my system(s) - at
>> least three installations have always behaved like this . . .
>
> That's because you are not running make install. make modules_install
> installs the modules, make install installs the kernel. You need
>
> make && make modules_install && make install
Thanks Neil, Holly explained it to me. For some reason the existence of
this command had escaped me (if it was just the only one ;-)
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* [gentoo-user] Re: Re: Re: Problems with GRUB in the installation of Gentoo
2006-02-16 22:33 ` Holly Bostick
@ 2006-02-16 22:49 ` Mick
2006-02-16 23:47 ` [gentoo-user] " Neil Bothwick
1 sibling, 0 replies; 58+ messages in thread
From: Mick @ 2006-02-16 22:49 UTC (permalink / raw
To: gentoo-user
Holly Bostick wrote:
> But any utility ported from Debian certainly can't be considered a hack
> by any stretch of the imagination
>
> Holly
It seems that my previous message crossed in the post with this one and the
one from Neil. I didn't know of the make install command, but thanks to
your previous and this posts I now know quite a lot about it. :)
Next time I compile a kernel I'll try it out. I guess that's a good way as
any to find out if it works on my system?
--
Regards,
Mick
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Re: Problems with GRUB in the installation of Gentoo
2006-02-16 21:40 ` [gentoo-user] " Mick
2006-02-16 22:33 ` Holly Bostick
@ 2006-02-16 23:07 ` John Jolet
1 sibling, 0 replies; 58+ messages in thread
From: John Jolet @ 2006-02-16 23:07 UTC (permalink / raw
To: gentoo-user
>
> I am confused: how many 'make install's are there? Don't they 'all' do the
> same? Are we talking about a customised (hacked) make install here?
Install is a target to make. Install_modules is a target to make. What's
confusing? Make is a command. Install or install_modules, or install_docs
(for other things) are targets in the Makefile.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Re: Problems with GRUB in the installation of Gentoo
2006-02-16 22:33 ` Holly Bostick
2006-02-16 22:49 ` [gentoo-user] " Mick
@ 2006-02-16 23:47 ` Neil Bothwick
2006-02-17 13:45 ` Holly Bostick
1 sibling, 1 reply; 58+ messages in thread
From: Neil Bothwick @ 2006-02-16 23:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 945 bytes --]
On Thu, 16 Feb 2006 23:33:15 +0100, Holly Bostick wrote:
> This functionality is not in any way a hack:
>
> equery belongs /sbin/installkernel
> [ Searching for file(s) /sbin/installkernel in *... ]
> sys-apps/debianutils-2.15 (/sbin/installkernel)
>
> Programs That Depend On debianutils
> app-admin/sysklogd
> app-portage/gentoolkit
> app-text/noweb
> dev-util/bazaar
> dev-util/larch
> dev-util/pbuilder
> dev-util/tla
> mail-filter/clamassassin
> sys-apps/apmd
> sys-boot/arcboot
> x11-misc/sux
> x11-wm/fvwm
>
> And it's not in my world file, so it was probably installed by
> gentoolkit or sux, which are the only two RDEPENDS of this list I have
> installed
It's part of system.
# emerge -C debianutils
!!! 'sys-apps/debianutils' is part of your system profile.
!!! Unmerging it may be damaging to your system.
--
Neil Bothwick
If your VCR still flashes 12:00 - then Linux is not for you.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Re: Problems with GRUB in the installation of Gentoo
2006-02-16 23:47 ` [gentoo-user] " Neil Bothwick
@ 2006-02-17 13:45 ` Holly Bostick
2006-02-17 14:01 ` Neil Bothwick
0 siblings, 1 reply; 58+ messages in thread
From: Holly Bostick @ 2006-02-17 13:45 UTC (permalink / raw
To: gentoo-user
Neil Bothwick schreef:
> On Thu, 16 Feb 2006 23:33:15 +0100, Holly Bostick wrote:
>
>> This functionality is not in any way a hack:
>>
>> equery belongs /sbin/installkernel [ Searching for file(s)
>> /sbin/installkernel in *... ] sys-apps/debianutils-2.15
>> (/sbin/installkernel)
>
>
> It's part of system.
>
> # emerge -C debianutils
>
> !!! 'sys-apps/debianutils' is part of your system profile. !!!
> Unmerging it may be damaging to your system.
>
>
I suspected that (since it would be eminently logical for the package
that provides the 'make install' command to be on the system by
default), but as I said in an unquoted part of that mail I don't know
how to check what's in system.
Is there another way to get a list of packages that comprise the system
profile (other than just trying to unmerge one and getting a warning)?
Holly
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 58+ messages in thread
* Re: [gentoo-user] Re: Re: Problems with GRUB in the installation of Gentoo
2006-02-17 13:45 ` Holly Bostick
@ 2006-02-17 14:01 ` Neil Bothwick
0 siblings, 0 replies; 58+ messages in thread
From: Neil Bothwick @ 2006-02-17 14:01 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 508 bytes --]
On Fri, 17 Feb 2006 14:45:39 +0100, Holly Bostick wrote:
> Is there another way to get a list of packages that comprise the system
> profile (other than just trying to unmerge one and getting a warning)?
You could look at the packages files in the directory linked to
by /etc/make.profile and its parents. Or you could do emerge -pe system
$ emerge -pe system | grep debian
[ebuild N ] sys-apps/debianutils-2.15
--
Neil Bothwick
"Bother" said Rue, when Eeyore called him a sellout
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 191 bytes --]
^ permalink raw reply [flat|nested] 58+ messages in thread
end of thread, other threads:[~2006-02-17 14:13 UTC | newest]
Thread overview: 58+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-12 16:48 [gentoo-user] Problems with GRUB in the installation of Gentoo Gilberto Martins
2006-02-12 17:12 ` [gentoo-user] " Gilberto Martins
2006-02-12 21:44 ` Bo Andresen
2006-02-12 21:59 ` Patrick Bloy
2006-02-12 22:12 ` Bo Andresen
2006-02-12 22:23 ` Gilberto Martins
2006-02-12 22:45 ` Bo Andresen
2006-02-12 23:04 ` Maarten
2006-02-12 23:07 ` Holly Bostick
2006-02-12 23:12 ` John Jolet
2006-02-12 23:28 ` Holly Bostick
2006-02-12 23:38 ` John Jolet
2006-02-12 23:42 ` CapSel
2006-02-13 0:18 ` Holly Bostick
2006-02-13 0:16 ` Bo Andresen
2006-02-13 1:07 ` Gilberto Martins
2006-02-13 2:28 ` Daniel da Veiga
2006-02-13 2:58 ` Gilberto Martins
2006-02-13 8:05 ` Maarten
2006-02-13 12:04 ` Gilberto Martins
2006-02-13 12:17 ` Bo Andresen
2006-02-13 13:15 ` Gilberto Martins
2006-02-13 14:27 ` Michael Kintzios
2006-02-13 17:02 ` Richard Fish
2006-02-13 17:49 ` Maarten
2006-02-14 2:39 ` Gilberto Martins
2006-02-14 10:26 ` Holly Bostick
2006-02-14 11:22 ` Maarten
2006-02-14 9:18 ` Michael Kintzios
2006-02-14 2:40 ` Gilberto Martins
2006-02-14 4:49 ` Richard Fish
2006-02-14 12:56 ` Gilberto Martins
2006-02-14 16:42 ` Cláudio Henrique
2006-02-12 23:25 ` Bo Andresen
2006-02-15 10:02 ` Neil Bothwick
2006-02-15 10:19 ` Michael Kintzios
2006-02-16 16:10 ` Neil Bothwick
2006-02-16 17:05 ` Michael Kintzios
2006-02-16 20:48 ` John Jolet
2006-02-16 21:40 ` [gentoo-user] " Mick
2006-02-16 22:33 ` Holly Bostick
2006-02-16 22:49 ` [gentoo-user] " Mick
2006-02-16 23:47 ` [gentoo-user] " Neil Bothwick
2006-02-17 13:45 ` Holly Bostick
2006-02-17 14:01 ` Neil Bothwick
2006-02-16 23:07 ` John Jolet
2006-02-16 21:03 ` [gentoo-user] " Holly Bostick
2006-02-16 21:19 ` Frino Klauss
2006-02-16 21:43 ` Holly Bostick
2006-02-16 21:49 ` Daniel da Veiga
2006-02-16 21:48 ` [gentoo-user] " Mick
2006-02-16 21:10 ` [gentoo-user] " Neil Bothwick
2006-02-16 22:39 ` [gentoo-user] " Mick
2006-02-15 12:44 ` [gentoo-user] " Bo Andresen
2006-02-12 17:21 ` Gilberto Martins
2006-02-12 18:02 ` John Jolet
2006-02-12 18:12 ` Gilberto Martins
2006-02-12 19:08 ` John Jolet
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox