LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 11-24-2010, 12:28 AM   #1
natman97
LQ Newbie
 
Registered: Nov 2010
Location: Earth
Distribution: Arch+Ubuntu
Posts: 2

Rep: Reputation: 0
"make install" information when compiling Linux


So I'm compiling linux from source and on "sudo make install" it doesn't work, I figured since make install only works with LiLO and I'm on GRUB, if anyone knew what make install does, so I could just do it manually. Thanks in advance!
 
Old 11-24-2010, 01:10 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
WHAT

how are you using "sudo" to build the operating system when there is NO OS built ?
how can you have sudo setup and users added if there are NO users yet to add ?

What is it you are building ?

Quote:
I figured since make install only works with LiLO
"make" and "make install" works for any make file build ( as long as it dose build on the OS )
it is NOT only for the bootloader lilo

so WHAT is it you are building ?
"linux from scratch" ? and have you read the book for it ?( you can buy it from amazon )
or something else ?
 
Old 11-24-2010, 01:11 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
You could always run 'make -n install 2>&1 | tee make_install.log'. The "-n" means doing a dry run and the 'tee make_install.log' allows you to read back or grep your make_install.log log file for specifics later on.
 
Old 11-24-2010, 09:41 AM   #4
natman97
LQ Newbie
 
Registered: Nov 2010
Location: Earth
Distribution: Arch+Ubuntu
Posts: 2

Original Poster
Rep: Reputation: 0
Clarity

I think I worded it wrong, let me rephrase: I'm building Linux itself (from kernel.org) I did "make menuconfig", "make modules", "make modules_install", etc.... so now i'm on the final step of make install, and make won't cp the files, or edit the GRUB config. Does that help anyone? or is it still confusing.
 
Old 11-24-2010, 09:49 AM   #5
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,083

Rep: Reputation: 405Reputation: 405Reputation: 405Reputation: 405Reputation: 405
Mmm, so, does "make" report any error? Or are you just assuming it's not copying the files into /boot?

It's not "make"'s task to edit your bootloader config files. You are the one to do that. In grub2 you have a tool to do that for you (grub-mkconfig), though you can always edit grub.cfg, menu.lst or grub.conf under /boot/grub/ by hand to add the new kernel.

You can see all the kernel images you have installed usually by doing ls /boot/, if /boot is into a separate partition you will need to mount it first, also before doing "make install" (otherwise you are installing it into the wrong place).
 
Old 11-24-2010, 02:58 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,623

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
so it is the kernel you are building
( i incorrectly assumed that a new user was calling "Linux" the operating system )

make will not edit the grub.conf - that is up to you to do by hand

as to copping them to there installed location
can you post the FULL command you are using
and also the Operating system you are building the new ( guessing it is the current release ?? but have NO way of knowing .) kernel on
and it's( the OS) version -- Arch or Ubuntu


and also why build it and not use the already built and configured and Arch.xz or ubuntu.deb ?
they have scripts that will change settings
 
  


Reply



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
Error installing "Mac On Linux" when i run make and make install rohedin Linux - Software 4 06-22-2010 06:30 AM
Compiling to make a "Linux dll" using windows cpp's, .h's, and .LIB a1drich Linux - Software 4 05-11-2007 04:41 AM
Constant errors during "make" or "make install" with SUSE 10.1 Alpha 4 TehFlyingDutchman Linux - Software 3 12-30-2005 06:25 PM
compiling tar.bz2... "./configure make make install" doesn't work dodo1983 Linux - Newbie 7 08-17-2004 12:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 11:02 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
Open Source Consulting | Domain Registration