Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kernel source symlink
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Thu Oct 07, 2004 6:52 pm    Post subject: kernel source symlink Reply with quote

my linux symlink is pointing to the following:

/usr/src/linux-2.6.7-gentoo-r11

the instructions (which can be found in part 7b of the ppc manual) say that the symlink should be pointing to /usr/src/linux-2.6.7-r9

should i change it or leave as is?

thanks.
Back to top
View user's profile Send private message
ravensix
Apprentice
Apprentice


Joined: 18 Sep 2004
Posts: 220

PostPosted: Thu Oct 07, 2004 7:00 pm    Post subject: Reply with quote

linux symlink should point to the kernel you plan on using, if you're kernel source is linux-2.6.7-gentoo-r11 then its correct.
Back to top
View user's profile Send private message
nss
Guru
Guru


Joined: 04 Oct 2004
Posts: 389

PostPosted: Thu Oct 07, 2004 7:48 pm    Post subject: Reply with quote

it is now time to copy the kernel image to boot... the instructions say to use this command:

cp vmlinux /boot/kernel-2.6.7

should i enter this command as is or will mine differ slightly as my symlink did.

thanks.
Back to top
View user's profile Send private message
ravensix
Apprentice
Apprentice


Joined: 18 Sep 2004
Posts: 220

PostPosted: Thu Oct 07, 2004 7:54 pm    Post subject: Reply with quote

I'm not a PPC user but im going to take a wil;d shot and say basically you'll need to cop arch/ppc/boot/bzImage
granted you are already in /usr/src/linux

But the 2.6 kernel has its own make install, when i install my kernel i would just do this
Code:
make && make modules modules_install install && cp /boot/vmlinuz /boot/kernel-kv-patch


substitute kv-patch with the actually kernel kernel version and patch, for your case kernel-2.6.7-gentoo-r11
But I could very well be wrong.
Back to top
View user's profile Send private message
hielvc
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2805
Location: Oceanside, Ca

PostPosted: Fri Oct 08, 2004 3:51 am    Post subject: Reply with quote

I have used the install method for a long time but you dont need to copy vmlinuz to kernel-version. Heres my /boot
    ls -l /boot
    total 7926
    lrwxr-xr-x 1 root root 26 Sep 29 20:48 System.map -> System.map-2.6.8-gentoo-r4
    -rw-r--r-- 1 root root 953718 Sep 2 12:04 System.map-2.6.8-gentoo-r2
    -rw-r--r-- 1 root root 950574 Sep 29 20:48 System.map-2.6.8-gentoo-r4
    -rw-r--r-- 1 root root 950574 Sep 29 20:36 System.map-2.6.8-gentoo-r4.old
    lrwxr-xr-x 1 root root 30 Sep 29 20:48 System.map.old -> System.map-2.6.8-gentoo-r4.old
    lrwxrwxrwx 1 root root 1 Jun 22 2003 boot -> .
    lrwxr-xr-x 1 root root 22 Sep 29 20:48 config -> config-2.6.8-gentoo-r4
    -rw-r--r-- 1 root root 29441 Sep 2 12:04 config-2.6.8-gentoo-r2
    -rw-r--r-- 1 root root 26607 Sep 29 20:48 config-2.6.8-gentoo-r4
    -rw-r--r-- 1 root root 26607 Sep 29 20:36 config-2.6.8-gentoo-r4.old
    lrwxr-xr-x 1 root root 26 Sep 29 20:48 config.old -> config-2.6.8-gentoo-r4.old
    -rw-r--r-- 1 root root 29145 Aug 20 09:03 config267r14
    -rw-r--r-- 1 root root 29441 Aug 26 04:02 config268
    drwxr-xr-x 2 root root 1024 Sep 20 13:24 grub
    drwx------ 2 root root 12288 Mar 28 2003 lost+found
    lrwxr-xr-x 1 root root 23 Sep 29 20:48 vmlinuz -> vmlinuz-2.6.8-gentoo-r4
    -rw-r--r-- 1 root root 1690695 Sep 2 12:04 vmlinuz-2.6.8-gentoo-r2
    -rw-r--r-- 1 root root 1682696 Sep 29 20:48 vmlinuz-2.6.8-gentoo-r4
    -rw-r--r-- 1 root root 1682696 Sep 29 20:36 vmlinuz-2.6.8-gentoo-r4.old
    lrwxr-xr-x 1 root root 27 Sep 29 20:48 vmlinuz.old -> vmlinuz-2.6.8-gentoo-r4.old


and heres my grub.conf
    timeout 15
    splashimage=(hd0,0)/boot/grub/splash.xpm.gz

    title=Gentoo 2.6.8-gentoo-r4
    root (hd0,0)
    kernel (hd0,0)/vmlinuz root=0303 vga=791 hdc=ide-cd

    title=gentoo 2.6.8-gentoo-r2
    root (hd0,0)
    kernel (hd0,0)/vmlinuz-2.6.8-gentoo-r2 root=0303 vga=791 hdc=ide-cd


It works but I need to clean up my grub.conf :lol:
_________________
An A-Z Index of the Linux BASH command line
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum