|
|
| Gentoo Linux - Kernel Configuration - Modules |
|
bamccaig
Member #7,536
July 2006
|
I'm going to attempt to rebuild the kernel tonight (I hope). I wish there was a disable-all option so I could start with a bare kernel. IIRC, many of the modules are enabled by default. Thanks to CGamesPlay, Thomas Fjellstrom, BAF, [and anybody I forgot to mention] for the module help. I will try to identify the required modules tonight. Don Freeman said:
Are you even listening to me?!?:o I am trying to help you out...:P Read my post about the file: /boot/grub/device.map
Yes, I'm listening to you! BTW, is there a reason that I don't have a /boot/grub/device.map? Don Freeman said: It would be nice if you showed us the output of lsmod with the gentoo cd kernel running. That way you can get an idea of what modules you will need.:P Ah yes, lsmod! I was trying to remember what command that was and couldn't... I did a search of the thread and couldn't find it anywhere (maybe it was said in the last thread?). It was also in the Gentoo Handbook, but at the time I was too exhausted to continue looking for it. I will try to post that tonight. Don Freeman said: Also, are you using hd0,1 or hd1,0 for the root in your /boot/grub/grub.conf file?
I already posted my /boot/grub/grub.conf file and the bootable revision. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
le_y_mistar
Member #8,251
January 2007
|
hahahahaha what a roller coaster of a thread, how many days have you been compiling gentoo with all these kids?:P ----------------- |
|
Don Freeman
Member #5,110
October 2004
|
Quote:
Yes, I'm listening to you! I guess I wasn't listening...::);D I will try to help you more...got to get back to my computer first. In the mean time, try to If that does not create one for you, simple create the file /boot/grub/default.map Then fill it in like: (hd0) /dev/sda (hd1) /dev/sdb And in the /boot/grub/grub.conf file: (using the above example from default.map) root (hd1,0) //really /dev/sdb1 kernel /vmlinuz-2.6.22-gentoo-r2 root=/dev/sdb3 //set root= to your actual / directory Any time that you change the /boot/grub/default.map file you should re-run: >grub grub> root (hd0,0) #(Specify where your /boot partition resides) grub> setup (hd0) #(Install GRUB in the MBR) grub> quit #(Exit the GRUB shell) Just remember that the number will be one less than the actual partition number, just like in fdisk. (/dev/sdb1 is really (hd1,0) and /dev/sdb4 is really (hd1,3)::) Edit: Quote: For whatever reason, booting my slave drive (/dev/sdb) from the BIOS makes grub believe that it is actually (hd0). This has been confirmed by creating a listing for each and attempting to boot both. I can't explain, but if you can then please do. Marco Radaelli has confirmed that grub works the same way for him. If you are using the BIOS to manually boot your second drive, then it will! If you properly installed grub, then you should not have to do that. You install grub in the mbr of the first drive and then from there, everything is relative to that. If you want to manually boot using your BIOS, then in your /boot/grub/grub.conf: map (hd0) (hd1) map (hd1) (hd0) root (hd1,0) //really /dev/sdb1 kernel /vmlinuz-2.6.22-gentoo-r2 root=/dev/sdb3 //set root= to your actual This will swap the drives around.::) -- |
|
bamccaig
Member #7,536
July 2006
|
Don Freeman said: It would be nice if you showed us the output of lsmod with the gentoo cd kernel running. That way you can get an idea of what modules you will need.:P
-- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
Don Freeman
Member #5,110
October 2004
|
Hi bamccaig...I edited my last post. Read the edit about the map command. Slow getting home.:'( Thanks for posting that...should help us figure that out for you.8-) Edit: -- |
|
bamccaig
Member #7,536
July 2006
|
Don Freeman said: If you properly installed grub, then you should not have to do that. You install grub in the mbr of the first drive and then from there, everything is relative to that. Yeah, but I've heard that Windows has a tendency to overwrite the MBR at it's own leisure, which for dual-booters can often require booting a rescue CD or something to reinstall their bootloader. I just find it easier to install grub on my slave drive and boot my slave drive from my BIOS. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
Don Freeman
Member #5,110
October 2004
|
I have done this and yet to have had a problem. The only time windows will try to rewrite the mbr is if you are reinstalling windows. Even then, a simple boot into you distro of choice, and do a grub-install. Simple.;) Even better, keep a backup of the mbr for situations like this.8-) -- |
|
Jonatan Hedborg
Member #4,886
July 2004
|
Am i the only one who finds le_y_mistar annoying? And I don't even use gentoo. My god, there is not a single thread where you don't mention gentoo. It's almost like gentoo broke your heart at some point, and you are really really bitter about it.
|
|
Don Freeman
Member #5,110
October 2004
|
I totally agree....if he doesn't like Gentoo...then go somewhere else...or at least shut the fuck up!;D -- |
|
bamccaig
Member #7,536
July 2006
|
Don Freeman said: Also, what are your modules that you have in your kernel? You can post your /usr/src/linux/.config file.::) This way we can see what you need compared to what you selected.:D -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
Don Freeman
Member #5,110
October 2004
|
Ok...I am fixing this for you... -- |
|
CGamesPlay
Member #2,559
July 2002
|
bamccaig, what is your current status? -- Ryan Patterson - <http://cgamesplay.com/> |
|
bamccaig
Member #7,536
July 2006
|
CGamesPlay said:
bamccaig, what is your current status?
Too exhausted to attempt to compile a kernel tonight... -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
Don Freeman
Member #5,110
October 2004
|
bamccaig: what kind of sound card and video card do you have...I almost have your .config done...::) -- |
|
CGamesPlay
Member #2,559
July 2002
|
So this is your most recent kernel output? http://www.allegro.cc/forums/thread/594244/713620#target -- Ryan Patterson - <http://cgamesplay.com/> |
|
Don Freeman
Member #5,110
October 2004
|
Never mind...this should work!;D Do the following: >cp config /usr/src/linux/.config >cd /usr/src/linux >make oldconfig >make menuconfig >make && make modules_install && make install That should do ya!::)8-) Edit: -- |
|
BAF
Member #2,981
December 2002
|
Quote: Am i the only one who finds le_y_mistar annoying? And I don't even use gentoo. My god, there is not a single thread where you don't mention gentoo. It's almost like gentoo broke your heart at some point, and you are really really bitter about it.
Just ignore him. If he doesn't get any attention for trolling, he will stop eventually. |
|
bamccaig
Member #7,536
July 2006
|
CGamesPlay said: So this is your most recent kernel output? Yep. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
Don Freeman
Member #5,110
October 2004
|
I've modified your config file. It should work for you. It is here, along with instructions on how to use it. Well...got to get some sleep. 6:00am comes early.:-/Will check in later tomorrow. Don't know if I will get a chance to at work, but hopefully.8-) -- |
|
bamccaig
Member #7,536
July 2006
|
"Clear!" [Bzzzt!] -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
CGamesPlay
Member #2,559
July 2002
|
Uhm, we're waiting for output from you... -- Ryan Patterson - <http://cgamesplay.com/> |
|
bamccaig
Member #7,536
July 2006
|
CGamesPlay said: Uhm, we're waiting for output from you...
I was just keeping it alive until I could get around to...requiring output. -- acc.js | al4anim - Allegro 4 Animation library | Allegro 5 VS/NuGet Guide | Allegro.cc Mockup | Allegro.cc <code> Tag | Allegro 4 Timer Example (w/ Semaphores) | Allegro 5 "Winpkg" (MSVC readme) | Bambot | Blog | C++ STL Container Flowchart | Castopulence Software | Check Return Values | Derail? | Is This A Discussion? Flow Chart | Filesystem Hierarchy Standard | Clean Code Talks - Global State and Singletons | How To Use Header Files | GNU/Linux (Debian, Fedora, Gentoo) | rot (rot13, rot47, rotN) | Streaming |
|
MiquelFire
Member #3,110
January 2003
|
You could have made a part three. --- |
|
CGamesPlay
Member #2,559
July 2002
|
Naw, trilogies never work out. Just look at the Matrix and Pirates of the Caribbean. -- Ryan Patterson - <http://cgamesplay.com/> |
|
Jakub Wasilewski
Member #3,653
June 2003
|
Or Star Wars. --------------------------- |
|
|
|