Jump to content

debian newbie- can't get into X


Recommended Posts

Sure. But if you have a CD or DVD drive and a CD-RW drive, if you modprobe ide-scsi, it probably converts both drives to "scsi" devices, which may not be what you want. So, you'd have to add some options to your boot menu:

 

hdd=ide-scsi

 

where hdd is the device that is your burner.

 

You also need to specify:

 

options ide-cd ignore=/dev/hdd

 

in your /etc/modutils/options file, and then run update-modules.

 

If you still have problems with it all, let me know. ;)

Link to comment
Share on other sites

  • Replies 142
  • Created
  • Last Reply

Top Posters In This Topic

Nope. Make a new file called options.

 

The files I have in there are:

 

0keep apm i2c-2.4.20-gaming-r2 i2c-2.4.21-rc7 setserial

actions arch i2c-2.4.20-preempt options

aliases i2c-2.4.20-ck7 i2c-2.4.21 paths

alsa i2c-2.4.20-dolson4 i2c-2.4.21-preempt ppp

 

 

What you have varys on what you've got installed and what you've added youself. Basically, this is just a nice way of separating the sections of your /etc/modules.conf file. It's The Debian Way. ;)

Link to comment
Share on other sites

okay, here's my notes about IDE and SCSI emulation from when I first set up Debian:

 

SCSI and IDE drives

 

Put these in the appropriate sections of the /etc/modules.conf:

 

 

pre-install ide-scsi modprobe ide-cd

 

alias scd0 srmod

alias scsi_hostadapter ide-scsi

 

options ide-cd ignore=/dev/hdd

 

Hope that helps.

Link to comment
Share on other sites

OK, I have tried to install kernel-2.4.21 as per DOlson's advice.

The problem is after I edit lilo.conf and then run lilo, it keeps saying no such file or directory, I can see that the new vmlinuz is there, I cdan even re-name it to whatever I want, but...lilo only sees my 2 old entries, for linux and xp.

I don't know, so I hope somebody does...

Thanks!

Link to comment
Share on other sites

When you apt-get install a new kernel, or build debs of your own, and then install them, you get the option to have it update lilo for you. I would say yes and hope it works.

Link to comment
Share on other sites

Thanks DOlson, Im past that, and I don't recall seeing that, I just copied the bzImage created to /boot, edited lilo.conf to include it, and ran lilo.

Lilo won't see it for some reason.

By the way, Im about to give up, and that's something I hate to do. :cry:

 

PS I followed your example on the second page of this post, and I got errors when I got to:

dpkg -i kernel-image-2.4.21-preempt_10.00.Custom_i386.deb kernel-headers-2.4.21-preempt_10.00.Custom_i386.deb

 

so I guess that part didn't go...

all I wanted to do is get nvidia going, and man! So I can't use the default kernel 2.4.18-bf2.4, since there is no available matching kernel-source that I can find, and I can't seem to locate it on the CD.

I guess I'm done whining now! :wink:

Link to comment
Share on other sites

Well it sounds like you're not doing the kernel compile properly, especially if you're copying some bzImage file by hand...

 

Why not just try apt-get install kernel-image-2.4.21-4-k7 (assuming you have an AMD K7 chip)?

 

If you put Custom_10.00 in the filenames, then of course it won't work if the files aren't named that. You need to use whatever your .deb files are actually called.

 

If you can't figure it out, please post the errors from dpkg so I can help.

Link to comment
Share on other sites

bvc and DOlson and cybrjackle, thanks a lot guys.

The new kernel is in, and a whole lot easier than sdoing it the other way, thanks to apt.

Still, nvidia complains about no kernel-headers, and fails.

I also apt-got kernel-source and kernel-headers.

One little step at a time I guess. I'm gonna go bak to DOlson's nvidia tutorial and re-read it again. :)

Link to comment
Share on other sites

I have (for AMD k7 chip)

kernel-image-2.4.20-3-k7

kernel-headers-2.4.20-3-k7

alsa-modules-2.4.20-3-k7

all other alsa is version 0.9.4-1

/usr/src/kernel-source-2.4.20.tar.bz2 that you have to uncompress. I used nautilus>clicked it> it opened file-roller and gave me

/usr/src/kernel-source-2.4.20

you can do the same in konq but rt-click>open with ark (or whatever it is).

again....did you ls /usr/src to see if it's there?

Link to comment
Share on other sites

Crud.

This is what I get:

mike@debian:~$ ls /usr/src

kernel-headers-2.4.21-4 kernel-headers-2.4.21_10.00.Custom_i386.deb rpm

kernel-headers-2.4.21-4-k7 kernel-image-2.4.21_10.00.Custom_i386.deb

I can't figure this out, I have 2 kernel-headers and no kernel-source.

But it is installed, I am pretty sure,

 

EDIT :

Ok I screwed up, I installed kernel-source, now my list looks like this:

mike@debian:~$ ls /usr/src

kernel-headers-2.4.21-4 kernel-source-2.4.21

kernel-headers-2.4.21-4-k7 kernel-source-2.4.21.tar.bz2

kernel-headers-2.4.21_10.00.Custom_i386.deb rpm

kernel-image-2.4.21_10.00.Custom_i386.deb

 

Nvidia still don't see it. And why is my kernel-image not there?

 

mike@debian:~$ uname -r

2.4.21-4-k7

Link to comment
Share on other sites

okay, rm -rf those two deb files. you dont' need them if you're using debian's kernels.

 

EDIT: heh, I read your post wrong. give me a minute to look at my notes and see what happens next.

 

Okay, now, do this:

 

cd /lib/modules/2.4.21-4-k7/

ls -l

 

And check the output. You should see build -> /usr/src/kernel-source-2.4.21/

 

If you don't, make that symlink in there and see what happens. that's where the NVidia driver looks to find the source or the headers.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share


×
×
  • Create New...