Debian This forum is for the discussion of Debian Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
12-15-2004, 08:06 AM
|
#61
|
|
LQ Newbie
Registered: Dec 2004
Posts: 4
Rep:
|
Everything was going very smoothly when all of a sudden!!
Everything was going very smoothly when all of a sudden!!
I know i've made some mistake....
10. make-kpkg clean
make-kpkg --initrd --append-to-version=-colonelkernel kernel_image
(this is my first try to ever play with kernel, so im guessing you name it what you want here?)
cd /usr/src
Got to this point, fell asleep waiting! Woke up in the morning. I did get a few errors but tried to run
dpkg -i kernel-image-2.6.7-colonelkernel_10.00.Custom_i386.deb
anyhow.
dpkg: error processing kernel-image-2.6.7-colonelkernel_10.Custom_i386.deb (--install):
cannot access archive: No such file or directory
Errors were encountered while processing:
kernel-image-2.6.7-colonelkernel_10.Custom_i386.deb
Now, those errors...where are they logged again?
(still learning the file system)
However, I still boot up into Linux 2.6.7-1-386 at this point no problems, and I haven't tried to install my nvidia driver yet. (couldent get that accomplished on last kernel 2.4.27)
only difference i did was not install win4lin
Was fun at any rate!
Thanks
|
|
|
|
12-15-2004, 08:10 AM
|
#62
|
|
LQ Newbie
Registered: Dec 2004
Posts: 4
Rep:
|
Last edited by verus; 12-15-2004 at 08:12 AM.
|
|
|
|
12-16-2004, 08:30 AM
|
#63
|
|
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,158
Original Poster
Rep:
|
verus,
The error message that you get when trying to install with dpkg is because the kernel package wasn't created or because you made a typo in the kernel package name. When you move to the directory /usr/src ("cd /usr/src"), type "ls" or "dir" to list the files in the directory. Check and see if there is a custom image ending with the extension ".deb". That will be what you want to try and install. If there is no custum .deb package, it means it failed to compile for some reason.
It is common to have some warnings during the compile. It usually isn't a cause for concern, but the compile may have failed for some reason in your case. I don't know where these warning are logged. Most log files are found in the directory "/var/log" You can check there, but I am not sure if it is there. I would suggest trying to recompile and take note of the errors you get at the end when the compile fails. Post them here and someone may be able to help.
|
|
|
|
12-16-2004, 09:08 PM
|
#64
|
|
LQ Newbie
Registered: Dec 2004
Posts: 4
Rep:
|
Thank you sir. Yes the file is there.
kernel-image-2.6.7colonelkernel_10.00.Custom_i386.deb
And although it must not be a "complete" installation, it certainly did work somewhat.
For instance, with my old kernel i could not use my 3rd mouse button for scrolling, there have been a couple of other changes also.
I could not find anything in /var/log.
I'm gonna give it another go perhaps in a few days. The other good news is that my nvidia driver installed after the kernel upgrade.
Thanks again.
|
|
|
|
12-17-2004, 10:14 PM
|
#65
|
|
LQ Newbie
Registered: Aug 2003
Location: Red Bank, NJ
Distribution: Redhat 9 - 2.4.20-8
Posts: 7
Rep:
|
2.6.8 - Graphical Login Screen Does Not Accept Character Input
Hi,
I managed to compile and install a kernel for debian 2.6.8. My kernel and initrd load and the boot process continues until I see the graphical login screen. When I attempt to type my username nothing happens. The computer does not seem to be accepting input from my keyboard.
I made a number of changes to the kernel options but it's not obvious to me what I may have changed that would cause this problem.
Has anyone seen this before or have any suggestions?
Thanks,
Scott Mollica
|
|
|
|
12-21-2004, 10:11 AM
|
#66
|
|
Member
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41
Rep:
|
Is it possible to use apt-get to updgrade my kernel and still keep my current kernel untill I work out the bugs and get it to boot properly. Also how can I make a boot disk.
I have Debian Sarge with kernel 2.2.20-idepci
|
|
|
|
12-21-2004, 02:07 PM
|
#67
|
|
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,158
Original Poster
Rep:
|
If you install a new kernel via apt, it will set up an entry for it in grub (not sure about lilo). Your old kernel will still have a grub entry. You can select which kernel to boot. After you are satisfied with the new one, you can manually delect the entry for the old one in the boot menu located in /boot/grub/menu.lst for grub.
|
|
|
|
12-22-2004, 10:20 PM
|
#68
|
|
Member
Registered: Nov 2003
Location: Mexico
Distribution: Debian sarge (x86 & PPC), Ubuntu Breezy
Posts: 42
Rep:
|
Now this is strange ...
I downloaded kernel-image-2.6.8-1-686 & installed, using update-grub configured it into the bootloader. I was able to boot into the new kernel. Great. Now I've downloaded kernel-source-2.6.8, also via apt-get & untarred it in /usr/src. I've created a 'linux' symlink to it in /usr/src. I cd to the directory & issue 'make xconfig' or 'make menuconfig', and I get:
=======================================================================
root@gwlap:/usr/src/linux# cp /boot/config-2.6.8-1-686 .config
root@gwlap:/usr/src/linux# make xconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from scripts/basic/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
=======================================================================
... I have no idea what it's telling me. Has anyone seen this?
I'm using Debian sarge on a PIII Coppermine laptop. 2.4.22 & 2.4.24 recompiled just fine on it.
|
|
|
|
12-22-2004, 10:44 PM
|
#69
|
|
Member
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41
Rep:
|
I'm trying to use 2.6.8-1 kernel and when it boots it sayes unable to mount root must specify root= what do I have to add for this kernel to work
this ia the part in my lilo.conf that loads the 2.6.8-1 kernel
image=/vmlinuz
label=Linux
read-only
# restricted
alias=1
Last edited by RRolleston; 12-22-2004 at 10:52 PM.
|
|
|
|
12-23-2004, 02:40 PM
|
#70
|
|
Member
Registered: Dec 2004
Location: Granville, NY
Distribution: Debian
Posts: 41
Rep:
|
When booting a new 2.6.8 kernel I get the following message.
kernel panic VFS: Unable to mount root fs on unknown -block(3,1)
I currently have debian sarge 2.2.20-idepci
Any help would be greatly appreciated
|
|
|
|
12-23-2004, 02:55 PM
|
#71
|
|
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,158
Original Poster
Rep:
|
I use grub, but here is my entry:
Quote:
title Linux, 2.6.7-win4lin
root (hd0,0)
kernel /boot/vmlinuz-2.6.7-w4ldeb root=/dev/hda1 ro hdc=scsi video=vesa:ywrap,mtrr vga=0x317
initrd /boot/initrd.img-2.6.7-w4ldeb
savedefault
boot
|
I think your lilo configuration is probably wrong. If you used the 2.6.8 kernel from the Debian sources, it uses an initrd, located at /boot/initrd.img-2.6.8-1 (not sure of your exact name). You will need the initrd to boot the kernel because the root filesystem support is built as a module and not directly into the kernel. The other thing is, I would point directly to the kernel image at /boot/vmlinuz-2.6.8-1 (once again not certain of the name for yours) rather than /vmlinuz. I think /vmlinuz is a symbolic link to one kernel image and that gets confusing if you have several kernels.
Last edited by m_yates; 12-23-2004 at 02:58 PM.
|
|
|
|
12-23-2004, 02:57 PM
|
#72
|
|
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,158
Original Poster
Rep:
|
Quote:
Originally posted by bcalder01
Now this is strange ...
=======================================================================
root@gwlap:/usr/src/linux# cp /boot/config-2.6.8-1-686 .config
root@gwlap:/usr/src/linux# make xconfig
HOSTCC scripts/basic/fixdep
In file included from /usr/include/sys/socket.h:35,
from /usr/include/netinet/in.h:24,
from scripts/basic/fixdep.c:107:
/usr/include/bits/socket.h:305:24: asm/socket.h: No such file or directory
make[1]: *** [scripts/basic/fixdep] Error 1
make: *** [scripts_basic] Error 2
=======================================================================
|
It is strange. I haven't seen that before. Sorry. 
|
|
|
|
12-24-2004, 06:58 PM
|
#73
|
|
LQ Newbie
Registered: Dec 2004
Posts: 4
Rep:
|
well i didn't read all replies to this post, but this howto realy helped me.
|
|
|
|
12-25-2004, 09:54 PM
|
#74
|
|
Senior Member
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,158
Original Poster
Rep:
|
|
|
|
|
12-26-2004, 12:35 AM
|
#75
|
|
LQ Newbie
Registered: Dec 2004
Posts: 4
Rep:
|
sorry, as i said - i was too lazy to read all replies :]
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:02 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|