Jump to content


Photo

Xebian1.1.4 Kernel Upgrade Help Please


  • Please log in to reply
2 replies to this topic

#1 lizard_king825

lizard_king825

    X-S Enthusiast

  • Members
  • 4 posts

Posted 18 September 2007 - 09:47 AM

I have Xebian 1.1.4 installed on my xbox on E:/
I have tryed following this guide: http://xbox.coresec.de/
was trying to install Xebian Kernel 2.6.16.20.
I am a bit confused I can not get it to boot to the new kernel yet, here is what happens:

xebian:/home/admin# dpkg -i kernel-image-2.6.16.20_coresec.2.6.16.20_i386.deb
(Reading database ... 36586 files and directories currently installed.)
Preparing to replace kernel-image-2.6.16.20 coresec.2.6.16.20 (using kernel-image-2.6.16.20_coresec.2.6.16.20_i386.deb) ...
Unpacking replacement kernel-image-2.6.16.20 ...
Setting up kernel-image-2.6.16.20 (coresec.2.6.16.20) ...
Not updating image symbolic links since we are being updated (coresec.2.6.16.20)
A new kernel image has been installed, and usually that means
that some action has to be taken to make sure that the new
kernel image is used next time the machine boots. Usually,
this entails running a ``bootloader'' like SILO, loadlin, LILO,
ELILO, QUIK, VMELILO, ZIPL, or booting from a floppy. (Some
boot loader, like grub, for example, do not need to be run on
each new image install, so please ignore this if you are using
such a boot loader).

A new kernel image has been installed at /boot/vmlinuz-2.6.16.20
(Size: 1186kB)


Symbolic links, unless otherwise specified, can be found in /

LILO sets up your system to boot Linux directly from your hard
disk, without the need for booting from a boot floppy.


WARNING
If you are keeping another operating system or another version
of Linux on a separate disk partition, you should not have LILO
install a boot block now. Wait until you read the LILO documentation.
That is because installing a boot block now might make the other
system un-bootable. If you only want to run this version of Linux,
go ahead and install the boot block here. If it does not work, you
can still boot this system from a boot floppy.

Would you like to create a boot floppy now? [No]
You already have a LILO configuration in /etc/lilo.conf
Install a boot block using the existing /etc/lilo.conf? [Yes]
Testing lilo.conf ...
An error occurred while running lilo in test mode, a log is
available in /var/log/lilo_log.979. Please edit /etc/lilo.conf
manually and re-run lilo, or make other arrangements to boot
your machine.
Please hit return to continue



xebian:/home/admin# cat /var/log/lilo_log.979
Warning: COMPACT may conflict with LBA32 on some systems
Fatal: Sorry, don't know how to handle device 0x0700

I then tryed to install the xbox kernel:
Would you like to create a boot floppy now? [No]
You already have a LILO configuration in /etc/lilo.conf
Install a boot block using the existing /etc/lilo.conf? [Yes] no
Wipe out your old LILO configuration and make a new one? [No] no

this is what I have in my /boot
System.map config-2.4.31-xbox initrd linuxboot.cfg.fatx_f vmlinuz-2.6.11.8
System.map-2.4.31-xbox config-2.6.11.8 initrd.splash.gz linuxboot.cfg.hdd_xbe vmlinuz-2.6.16.20
System.map-2.6.11.8 config-2.6.16.20 linuxboot.cfg vmlinuz vmlinuz.old
System.map-2.6.16.20 default.xbe linuxboot.cfg.fatx_e vmlinuz-2.4.31-xbox

I tryed editing /boot/linuxboot.cfg
xebian:/boot# cat /boot/linuxboot.cfg
title v2_6
kernel /boot/vmlinuz-2.6.16.20
append root=/dev/ide/host0/bus0/target0/lun0/part2 devfs=mount kbd-reset xbox=hdd
xboxfb y

title v2_4_old
kernel /boot/vmlinuz.old
append root=/dev/ide/host0/bus0/target0/lun0/part2 devfs=mount kbd-reset xbox=hdd
xboxfb y

title v2_4_old
kernel /boot/vmlinuz
append root=/dev/ide/host0/bus0/target0/lun0/part2 devfs=mount kbd-reset xbox=hdd
xboxfb y

default 2_6

#kernel /boot/vmlinuz
#append root=/dev/ide/host0/bus0/target0/lun0/part2 devfs=mount kbd-reset xbox=hdd
#xboxfb y


when it reboots still shows the stock installed kernel:
xebian:~# uname -a
Linux xebian.localdomain.local 2.4.31-xbox #1 Fri Jun 10 17:57:47 CEST 2005 i686 GNU/Linux

I am doing something wrong here, someone give me a hand getting this to boot to the 2.6 kernel please?
thanks

#2 Keo-Keo

Keo-Keo

    X-S Genius

  • Members
  • PipPipPipPip
  • 871 posts
  • Location:Cincinnati Ohio
  • Interests:Modded.. Shell scripting all sorts of things.
  • Xbox Version:v1.0

Posted 22 September 2007 - 08:41 AM

Change

title v2_4_old
kernel /boot/vmlinuz
append root=/dev/ide/host0/bus0/target0/lun0/part2 devfs=mount kbd-reset xbox=hdd
xboxfb y

to

title v2.6_test
kernel /boot/vmlinuz
append root=/dev/ide/host0/bus0/target0/lun0/part2 devfs=mount kbd-reset xbox=hdd
xboxfb y

/boot/vmlinuz has a sys link to the correct kernel

also do a

ls -al /boot and show here

Let me know if this works!

#3 mazhive

mazhive

    X-S Enthusiast

  • Members
  • 1 posts

Posted 28 December 2007 - 03:15 PM

i got allmost the similar problem i only use a rootfs file on e:/debian and i wanted to implement the new kernel because i need to fix the fan control
my xbox is getting to hot... and tried to get the fans to control ..
in the guide of http://xbox.coresec.de/ it states you need to change the /boot/linuxboot.cfg
but why do i need to change ?? i have the same files in the e:/debian/ of my xbox started with xbmc.
don't i have to change that instead of the one in the rootfs ( /boot/linuxboot.cfg)

i noticed that the symbolic link is put in the root (/) why is that . I cant copy it because of an in use error.

ls -all on /boot

**********begin****************

drwxr-xr-x 2 root root 4096 Dec 28 14:15 .
drwxr-xr-x 24 root root 4096 Dec 28 14:12 ..
lrwxrwxrwx 1 root root 28 Dec 27 19:47 System.map -> /boot/System.map-2.4.31-xbox
-rw-r--r-- 1 root root 513926 Jun 10 2005 System.map-2.4.31-xbox
-rw-r--r-- 1 root root 538514 Jun 7 2006 System.map-2.6.16.20
-rw-r--r-- 1 root root 32496 Jun 10 2005 config-2.4.31-xbox
-rw-r--r-- 1 root root 60616 Apr 30 2005 config-2.6.11.8
-rw-r--r-- 1 root root 34380 Jun 7 2006 config-2.6.16.20
-rwxr-xr-x 1 root root 21760 Jun 13 2005 default.xbe
-rw-r--r-- 1 root root 1241088 Jun 13 2005 initrd
-rw-r--r-- 1 root root 4413 Jun 13 2005 initrd.splash.gz
-rw-r--r-- 1 root root 113 May 28 2004 linuxboot.cfg
-rw-r--r-- 1 root root 128 May 28 2004 linuxboot.cfg.fatx_e
-rw-r--r-- 1 root root 128 May 28 2004 linuxboot.cfg.fatx_f
-rw-r--r-- 1 root root 107 May 28 2004 linuxboot.cfg.hdd_xbe
lrwxrwxrwx 1 root root 25 Dec 27 19:47 vmlinuz -> /boot/vmlinuz-2.4.31-xbox
-rw-r--r-- 1 root root 932586 Jun 10 2005 vmlinuz-2.4.31-xbox
-rw-r--r-- 1 root root 1214862 Jun 7 2006 vmlinuz-2.6.16.20

**********end***************************************

ls -all on /

*************begin***********************************

drwxr-xr-x 24 root root 4096 Dec 28 14:12 .
drwxr-xr-x 24 root root 4096 Dec 28 14:12 ..
drwxr-xr-x 2 root root 4096 Jun 10 2005 bin
drwxr-xr-x 2 root root 4096 Dec 28 14:15 boot
drwxr-xr-x 2 root root 4096 Aug 20 2004 cdrom
drwxr-xr-x 2 root root 4096 Jan 2 2005 data
drwxr-xr-x 1 root root 0 Jan 1 1970 dev
drwxr-xr-x 86 root root 4096 Dec 28 14:17 etc
drwxrwsr-x 4 root staff 4096 Dec 27 20:44 home
drwxr-xr-x 1 root root 316 Dec 28 14:00 initrd
drwxr-xr-x 12 root root 8192 Dec 27 16:56 lib
drwx------ 2 root root 16384 Dec 27 19:46 lost+found
drwxr-xr-x 2 root root 4096 May 25 2004 media
drwxr-xr-x 2 root root 4096 Apr 26 2004 mnt
drwxr-xr-x 2 root root 4096 May 25 2004 opt
dr-xr-xr-x 115 root root 0 Dec 28 14:00 proc
drwxr-xr-x 4 root root 4096 Dec 28 14:16 root
drwxr-xr-x 4 root root 4096 Dec 27 21:23 sambadir
drwxr-xr-x 2 root root 4096 Dec 27 20:55 sbin
drwxr-xr-x 2 root root 4096 May 25 2004 srv
drwxr-xr-x 2 root root 4096 Apr 21 2004 sys
drwxrwxrwt 7 root root 4096 Dec 28 14:01 tmp
drwxr-xr-x 12 root root 4096 Apr 19 2005 usr
drwxr-xr-x 15 root root 4096 Dec 27 21:22 var
lrwxrwxrwx 1 root root 22 Dec 28 14:12 vmlinuz -> boot/vmlinuz-2.6.16.20

*************end************************


It would be nice to solve this because i can allmost toast an egg on my xbox...

sleep.gif




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users