LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-15-2003, 10:51 AM   #1
mcgiv
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Rep: Reputation: 0
Problems upgrading to 2.6


Hi,
I'm new to Linux so please be patient with me.
I installed knoppix 3.3 onto my hard drive and then using kpackage installed the 2.6.0-test4 kernel. It said to update lilo and I'm not too sure if I've done this properly.
----------------------------------------------------------

image=/vmlinuz
label="Linux 2.6"
read-only
initrd=/initrd.img // tried without this aswell

------------------------------------------------------------

/vmlinuz = /boot/vmlinuz-2.6.0-test4-1-386
/initrd.img = /boot/initrd.img-2.6.0-test4--386

I also set vga=normal as I had read there may be some problems other wise, also used the origional setting.

when I ran lilo I got a warning message saying: "The boot sector and map file are on different disks" but I don't think that is my problem as I can boot into 2.4 OK.


When I boot and choose 2.6 all I get is
"Uncompressing Linux... Ok, booting the kernel"
and then nothing happens.

Could I please get some help to get 2.6 running as I'm working with a device that only works under 2.6.


Cheers
McGiv
 
Old 10-15-2003, 03:24 PM   #2
TigerOC
Senior Member
 
Registered: Jan 2003
Location: Devon, UK
Distribution: Debian Etc/kernel 2.6.18-4K7
Posts: 2,380

Rep: Reputation: 49
Firstly you give the following lines;
/vmlinuz = /boot/vmlinuz-2.6.0-test4-1-386
/initrd.img = /boot/initrd.img-2.6.0-test4--386
Note in initrd line there is --386 which is not the same as -1-386. This maybe just a typo on the submission but if it exists could be the reason why it won't boot.
I found Lilo a real pain in this situation (2 drives) and would recommend grub. Apt-get install grub then do update-grub. You'll find grub in /boot/grub. Open device.map and have a look at the entries then open menu.lst and edit it to suit your own needs and save it. You'll love grub. Use the recommended mods and it'll automatically update grub when you install a new kernel.
 
Old 10-16-2003, 11:20 AM   #3
mcgiv
LQ Newbie
 
Registered: Sep 2003
Posts: 7

Original Poster
Rep: Reputation: 0
Yes sorry that was just a typo

should be:
/vmlinuz = /boot/vmlinuz-2.6.0-test4-1-386
/initrd.img = /boot/initrd.img-2.6.0-test4-1-386
 
Old 10-17-2003, 02:41 AM   #4
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
Quote:
The boot sector and map file are on different disks
The problem is in front of you...
put the map file in the /boot dir.
Rerun lilo.
 
Old 10-17-2003, 02:44 AM   #5
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
and read the man page for lilo...

I think the previous answer will not help you and you will have to dig into "man lilo"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
problems after upgrading to MD2006 frankp_live Linux - Newbie 9 11-03-2005 10:46 AM
problems after upgrading X perryub Linux - Software 3 11-21-2004 12:15 PM
some problems after upgrading 9.1 to 10.0 Y0jiMb0 Slackware - Installation 2 11-05-2004 02:01 PM
Upgrading to MySQL 4 problems Rv5 Linux - Software 1 02-19-2004 02:37 PM
Problems Upgrading to KDE 3.1 with qt Dalius Linux - Software 1 09-19-2003 03:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration