LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 06-21-2004, 04:45 PM   #1
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Rep: Reputation: 47
recently compiled kernel


i recently compiled a new kernel. well, everything went great, but oops, forgot tulip. so i figured, no big deal, just recompile. Well, i recompiled the same source again and when i rebooted it couldn't find vmlinuz. so basically, i can't even get to the system. i booted with damn small and seen that everything looks like it is where it belongs, but the system won't start. any ideas, other than reinstalling would be great.
 
Old 06-21-2004, 04:56 PM   #2
korozion
Member
 
Registered: Apr 2004
Location: Canada
Distribution: Debian
Posts: 124

Rep: Reputation: 15
Did you remember to copy the new kernel from /usr/src/linux/arch/*yourarch*/boot to /boot? If so, did you remember to re-run lilo (assuming you are using lilo)?
 
Old 06-21-2004, 04:59 PM   #3
bosewicht
Senior Member
 
Registered: Aug 2003
Location: Houston, TX
Distribution: Arch
Posts: 1,381

Original Poster
Rep: Reputation: 47
yes, basically i wrote a script and named it /bin/compkern

cd /usr/src/linux
mv -f .config ..
make mrproper
mv -f ../.config .
make menuconfig
make clean bzImage modules modules_install
cd /boot
mv -f vmlinuz vmlinuz.old
mv -f System.map System.map.old
cd /usr/src/linux
cp -f arch/i386/boot/bzImage /boot/vmlinuz
cp -f System.map /boot
cd /boot
ls -chlrt
date
cd /


so it worked the first time, other than tulip. but when i ran the script a second time is when i lost everything
 
Old 07-06-2004, 12:17 PM   #4
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Quote:
make clean bzImage modules modules_install
I would do :
...
make
make modules_install
...
 
  


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
kernel compilation-From where it should be started for already compiled kernel b0nd Linux - Newbie 11 08-17-2005 01:08 PM
new kernel compiled successfully, but the kernel-source package is the same old? luqman Red Hat 2 03-03-2005 08:41 AM
compiled kernel 2.6.10 with slackware 10.0, kernel panic salviadud Linux - Newbie 1 02-09-2005 04:05 PM
How to transfer the compiled kernel to old kernel server ?? td0l2 Linux - Newbie 2 07-21-2004 01:22 AM
kernel panic on reboot of newly compiled kernel lyceum Linux - Newbie 4 09-09-2003 09:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 06:26 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