Find the answer to your Linux question:
Results 1 to 6 of 6
where can i find the kernal sources for debian and where can i chnage the setting to boot into text mode or what ever its called?...
  1. #1
    Just Joined!
    Join Date
    Aug 2005
    Posts
    41

    debian Kernal Sources and not booting into x

    where can i find the kernal sources for debian and where can i chnage the setting to boot into text mode or what ever its called?

  2. #2
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212

    Kernel source

    where can i find the kernal sources for debian
    For official kernel-sources (if you have a 2.6 kernel)
    Code:
    apt-get install kernel-image-2.6-686 kernel-source-2.6.8
    Otherwise, if you are unsure which kernel version you have:
    Code:
    cat /proc/version
    And then install the right packages accordingly...

    where can i chnage the setting to boot into text mode
    To boot in text mode, just choose "recovery mode" when booting your computer (at the grub menu).

    Should be something like, at the grub menu:
    Debian GNU/Linux, kernel 2.6.8-2-686 (recovery mode)

    Have fun!
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  3. #3
    Just Joined!
    Join Date
    Aug 2005
    Posts
    41
    how do i seti it to automaticly boot into recovery mode?

  4. #4
    Just Joined!
    Join Date
    Aug 2005
    Posts
    41
    and why wont nvidias drivers detect the kernal source?

  5. #5
    Linux Guru antidrugue's Avatar
    Join Date
    Oct 2005
    Location
    Montreal, Canada
    Posts
    3,212

    Grub loader

    Well...

    you should take a look at /boot/grub/menu.lst

    Everything is in there...

    Should look like that (at the end of /boot/grub/menu.lst):

    Code:
    title           Debian GNU/Linux, kernel 2.6.13.4
    root            (hd0,1)
    kernel          /boot/vmlinuz-2.6.13.4 root=/dev/sda2 ro
    initrd          /boot/initrd.img-2.6.13.4
    savedefault
    boot
    
    title           Debian GNU/Linux, kernel 2.6.13.4 (recovery mode)
    root            (hd0,1)
    kernel          /boot/vmlinuz-2.6.13.4 root=/dev/sda2 ro single
    initrd          /boot/initrd.img-2.6.13.4
    savedefault
    boot
    
    ### END DEBIAN AUTOMAGIC KERNELS LIST
    
    # This is a divider, added to separate the menu items below from the Debian
    # ones.
    title           Other operating systems:
    root
    
    
    # This entry automatically added by the Debian installer for a non-linux OS
    # on /dev/sda1
    title           Microsoft Windows XP Professional
    root            (hd0,0)
    savedefault
    makeactive
    chainloader     +1
    So, that means
    "Debian GNU/Linux, kernel 2.6.13.4" is entry 0
    and
    "Debian GNU/Linux, kernel 2.6.13.4 (recovery mode)" is entry 1

    Notice that at the beginning of the menu.lst, there is a line like this:
    Code:
    default         0
    Just change it to
    Code:
    default         1
    ... so it will load recovery mode by default.

    That's it, one number to change!

    I found that here:
    http://www.gnu.org/software/grub/manual/grub.html

    Have fun!

    P.S. Can't really help you with NVIDIA drivers... dont't know much about that. Sorry, ask techimoe
    "To express yourself in freedom, you must die to everything of yesterday. From the 'old', you derive security; from the 'new', you gain the flow."

    -Bruce Lee

  6. #6
    Just Joined!
    Join Date
    Jan 2005
    Location
    Topeka, KS, USA
    Posts
    88
    Alternatively, you can ininstall the graphical logon screen, which would be xdm, kdm, or gdm.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •