LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 04-30-2008, 09:53 PM   #1
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Rep: Reputation: 30
Unhappy boot Vanilla kernel


I have built the 2.4.36 kernel. I want to know how to boot it and connect to the internet. What Vanilla stuff can I build to get it to boot? This is new to me. Can you explain what to do to get it to boot. I want a Vanilla kernel boot. Not a distribution.
 
Old 04-30-2008, 09:57 PM   #2
Smedley
Registered User
 
Registered: Apr 2008
Distribution: Slackware
Posts: 74

Rep: Reputation: 15
http://www.kroah.com/lkn/

http://www.oreilly.com/catalog/linuxkernel/
 
Old 04-30-2008, 10:12 PM   #3
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,592

Rep: Reputation: 188Reputation: 188
You need a bootloader pointing to the kernel. Configuring and installing the bootloader is no different for a vanilla kernel than for a distribution kernel. (This is not difficult. It also isn't really part of a kernel compile.)

You do not need an initrd. By compiling your own kernel you can avoid having an initrd altogether. Instead you make sure that every module that you need to boot is part of the kernel and not a loadable module.

To connect to the internet be sure that you have compiled pppd into the kernel.

Then after you boot you configure pppd and start pppd (which is not trivial but it really isn't part of a kernel compile).

----------------------
Steve Stites
 
Old 04-30-2008, 10:12 PM   #4
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Original Poster
Rep: Reputation: 30
Thumbs up That is neat

Thank you so much. I had no idea that you can get a free book about Linux that is published by OReilly.

After my parents found out I got accepted to art school and am not going to study biology like they want me to, they ditched their promise to pay for my college. They also want to make my behind raw for telling them that my computer stopped working and that M$crosoft Vista is needed. I better get this Linux thing to work!
 
Old 04-30-2008, 10:22 PM   #5
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Original Poster
Rep: Reputation: 30
Question bootloader

Thank you for your comment.

"You need a bootloader pointing to the kernel. Configuring and installing the bootloader is no different for a vanilla kernel than for a distribution kernel. (This is not difficult. It also isn't really part of a kernel compile.)

You do not need an initrd. By compiling your own kernel you can avoid having an initrd altogether. Instead you make sure that every module that you need to boot is part of the kernel and not a loadable module.

To connect to the internet be sure that you have compiled pppd into the kernel.

Then after you boot you configure pppd and start pppd (which is not trivial but it really isn't part of a kernel compile)."


1) Where can I get a bootloader? Which one is easier to build and use for a vanilla kernel?

2) I want to connect via the ethernet and not a dial up modem. Would I still use pppd?
 
Old 04-30-2008, 10:41 PM   #6
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,592

Rep: Reputation: 188Reputation: 188
Quote:
Originally Posted by newtovanilla View Post

1) Where can I get a bootloader? Which one is easier to build and use for a vanilla kernel?

2) I want to connect via the ethernet and not a dial up modem. Would I still use pppd?
You can use either grub or lilo for a boot loader. If you want to acquire the software for your new system without using anything from a distribution then you should look at Linux From Scratch.

http://www.linuxfromscratch.org/

---------------------
Steve Stites
 
Old 05-01-2008, 11:10 PM   #7
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Original Poster
Rep: Reputation: 30
Smile

Quote:
Originally Posted by jailbait View Post
If you want to acquire the software for your new system without using anything from a distribution then you should look at Linux From Scratch.

http://www.linuxfromscratch.org/

---------------------
Steve Stites
Thank you for your comment. That is what I was asking. You put it in the words that I did not know how to do. I was asking about making a Linux from scratch system. That link had a book about it.
 
Old 05-04-2008, 02:01 AM   #8
newtovanilla
Member
 
Registered: Apr 2008
Posts: 267

Original Poster
Rep: Reputation: 30
Smedley, Thank you for the link to the book about the kernel. I did help me with some things.

On page 29, it says that you should use "sudo", and that depending on how sudo is set up that you will either enter in your password or the root password. I am new to using "sudo", and want to have it so that you enter the user password and not the root password. When I tried to use "sudo", then I get it asking me for: Enter root password:

How can I change it so that it will be only asking for the user password? I already tried to edit the /etc/sudouser file and added the user name to it, but it still asks for the root password. This is on KDE 3.5, Opensuse.
 
  


Reply

Tags
boot, kernel, vanilla


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
What is Vanilla kernel ? suriyamohan Linux - General 8 08-07-2008 10:34 AM
Red Hat kernel customizations compared to vanilla kernel Z98 Red Hat 1 09-16-2007 03:27 PM
Vanilla Kernel paddyjoy Linux - Newbie 3 06-08-2005 01:49 AM
vanilla kernel b123coder Red Hat 1 12-05-2004 02:58 PM
Vanilla kernel RichardSimmons Linux - General 2 03-21-2004 01:25 PM


All times are GMT -5. The time now is 03:23 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration