You are not logged in.

#1 2011-07-27 18:34:40

carebearboy
Member
Registered: 2011-07-03
Posts: 56

What command to start kernel 3.0 in /boot/grub/menu.lst? [solved]

Currently I have:

# (0) Arch Linux
title  Arch Linux
root   (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/b37afb64-426a-4f68-81eb-a2b3eaa1df73 ro
initrd /kernel26.img

Last edited by carebearboy (2011-07-28 02:30:25)

Offline

#2 2011-07-27 18:44:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: What command to start kernel 3.0 in /boot/grub/menu.lst? [solved]

http://projects.archlinux.org/svntogit/ … ux.install
"compat symlinks for the initramfs images" should take care of that. Keep it as it is.

Offline

#3 2011-07-27 18:51:22

carebearboy
Member
Registered: 2011-07-03
Posts: 56

Re: What command to start kernel 3.0 in /boot/grub/menu.lst? [solved]

karol wrote:

http://projects.archlinux.org/svntogit/ … ux.install
"compat symlinks for the initramfs images" should take care of that. Keep it as it is.

Is this a script that I need to install or run?

Sorry for my newbieism.


Basically I followed these instructions (Script Method):
https://wiki.archlinux.org/index.php/Ke … _New_Users


It says to configure /boot/grub/menu.lst to run the new kernel.

Offline

#4 2011-07-27 18:55:34

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: What command to start kernel 3.0 in /boot/grub/menu.lst? [solved]

Why not use the new kernel from the testing repo?

http://projects.archlinux.org/svntogit/ … nux.preset
I'm not sure what

ALL_kver="/boot/vmlinuz-linux"

does, the presets looked a bit different for kernel26 http://projects.archlinux.org/svntogit/ … l26.preset

Edit: Ah, ALL_kver was being set in /etc/mkinitcpio.d/kernel26.kver

[karol@black ~]$ cat /etc/mkinitcpio.d/kernel26.kver
# DO NOT EDIT THIS FILE
ALL_kver='2.6.39-ARCH'

Last edited by karol (2011-07-27 19:13:51)

Offline

#5 2011-07-27 19:17:22

carebearboy
Member
Registered: 2011-07-03
Posts: 56

Re: What command to start kernel 3.0 in /boot/grub/menu.lst? [solved]

karol wrote:

Why not use the new kernel from the testing repo?

http://projects.archlinux.org/svntogit/ … nux.preset
I'm not sure what

ALL_kver="/boot/vmlinuz-linux"

does, the presets looked a bit different for kernel26 http://projects.archlinux.org/svntogit/ … l26.preset

I'll try to boot without that line. I noticed that too.


As for installing the kernel from [testing], I get this:

[root@myhost user]# pacman -Syu
:: Synchronizing package databases...
 testing is up to date
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
:: Replace kernel26 with testing/linux? [Y/n] y
:: Replace kernel26-headers with testing/linux-headers? [Y/n] y
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: audit: requires kernel26-headers>=2.6.30
[root@myhost user]# pacman -S linux linux-headers
resolving dependencies...
looking for inter-conflicts...
:: linux and kernel26 are in conflict. Remove kernel26? [y/N] y
:: linux-headers and kernel26-headers are in conflict. Remove kernel26-headers? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: audit: requires kernel26-headers>=2.6.30
:: nvidia: requires kernel26>=2.6.39
:: nvidia: requires kernel26<2.6.40
[root@myhost user]#
[root@myhost user]# pacman -Qi kernel26-headers
Name           : kernel26-headers
Version        : 2.6.39.3-1
URL            : http://www.kernel.org
Licenses       : GPL2
Groups         : None
Provides       : None
Depends On     : None
Optional Deps  : None
Required By    : audit
Conflicts With : None
Replaces       : None
Installed Size : 42316.00 K
Packager       : Thomas Bächler <thomas@archlinux.org>
Architecture   : x86_64
Build Date     : Sat 09 Jul 2011 09:02:41 AM EDT
Install Date   : Wed 27 Jul 2011 03:03:45 PM EDT
Install Reason : Installed as a dependency for another package
Install Script : No
Description    : Header files and scripts for building modules for kernel26

[root@myhost user]# 

Should I 'Pacman Rdd kernel26-headers', or is that a bad idea?



* EDIT *

Compiling just finished:

  *Summary of Changes - File(s) Created and/or Deleted*

                               8 File(s) Created:

                               /usr/src/linux-3.0-KNL/
                               /boot/vmlinuz-3.0-ARCH
                               /boot/kernel30-3.0-ARCH.img
                               /lib/modules/3.0.0-ARCH/
                               /usr/src/linux
                               /usr/src/linux-3.0
                               /boot/System.map-3.0
                               /boot/System.map

                                         *No Files Were Deleted*


                                   *SUCCESS - Main Processes COMPLETE*

                      *NVIDIA users, please make additional NECESSARY adjustments*

          *Please Configure /boot/grub/menu.lst accordingly and you are done. Then REBOOT & TEST!*

It's probably better just to use the compiled image now that I know it's successful.

Last edited by carebearboy (2011-07-27 19:23:50)

Offline

#6 2011-07-27 19:24:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: What command to start kernel 3.0 in /boot/grub/menu.lst? [solved]

Testing repo is for people who know how to fix things when they break, so you might be not qualified.

Offline

#7 2011-07-27 19:25:28

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: What command to start kernel 3.0 in /boot/grub/menu.lst? [solved]

you should remove  audit or rebuild that without having kernel26-headers versioned


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2011-07-27 19:35:19

carebearboy
Member
Registered: 2011-07-03
Posts: 56

Re: What command to start kernel 3.0 in /boot/grub/menu.lst? [solved]

Mission aborted. I can see that I'm not yet there in terms on knowledge so I'm going to just leave this as is.

Thank you both for the help.

Offline

#9 2011-07-27 19:44:13

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: What command to start kernel 3.0 in /boot/grub/menu.lst? [solved]

carebearboy wrote:

Mission aborted. I can see that I'm not yet there in terms on knowledge so I'm going to just leave this as is.

Thank you both for the help.

you will have the same problem when the kernel is moved in core.

:: audit: requires kernel26-headers>=2.6.30


Give what you have. To someone, it may be better than you dare to think.

Offline

#10 2011-07-28 02:29:59

carebearboy
Member
Registered: 2011-07-03
Posts: 56

Re: What command to start kernel 3.0 in /boot/grub/menu.lst? [solved]

wonder wrote:
carebearboy wrote:

Mission aborted. I can see that I'm not yet there in terms on knowledge so I'm going to just leave this as is.

Thank you both for the help.

you will have the same problem when the kernel is moved in core.

:: audit: requires kernel26-headers>=2.6.30

Got it to work! I deleted audit and deleted the kernel I compiled and the /lib/modules/linux-3* directory... Had I just added [testing] this would have went alot easier, but whats the fun in that! tongue

Offline

Board footer

Powered by FluxBB