LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-08-2007, 03:51 AM   #1
Toods
Member
 
Registered: Dec 2005
Location: UK
Distribution: Slackware 12.1
Posts: 249

Rep: Reputation: 32
Booting a New Kernel to Test


I have a dual-boot setup on one of my PCs and I am always nervous when building a new kernel to run Lilo and go through the 'dd etc' procedure to create a boot sector file for my Windows 'ntldr' to use to boot Linux.

Can I initially test the new kernel this way?:

Quote:
Build the kernel and install the vmlinuz-x.xx.xx and System.map-x.xx.xx in the /boot directory (which is in /dev/hdb7) and also the modules in /lib/modules/x.xx.xx.

Then boot the Slackware installion Cd to the prompt and issue: boot = /dev/hdb7 image = vmlinuz-x.xx.xx root = /dev/hdb7
Will that boot the new kernel and file system?.

Thanks,

Bill.
 
Old 11-08-2007, 04:03 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
Quote:
create a boot sector file for my Windows 'ntldr' to use to boot Linux.
I don't blame you, why not use grub (instead of lilo) to boot both OSs?

Quote:
Will that boot the new kernel and file system?.
Probably.
 
Old 11-08-2007, 07:00 AM   #3
samwise17
Member
 
Registered: Jul 2007
Location: Sydney
Distribution: Arch,Slackware,Puppy
Posts: 87

Rep: Reputation: 15
If you used grub, you can boot the kernel on the fly from the grub commandline, or edit an existing entry at bootup. Grub is more flexible in this way.
 
  


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
Test kernel 2.6.15.6- How to check this kernel is installed extremeware Slackware 2 04-11-2006 04:27 AM
Problem booting Fedora Core 2 Test 3 on HP Compaq nc6000 j_r Linux - Laptop and Netbook 2 05-23-2004 03:49 PM
booting new kernel. Booting new kernel dies with INIT: VFS issue, really mus335 Linux - General 0 04-21-2004 11:52 AM
Help! Installing Fedora Core 2 Test 2 without cd-rom (Booting to an Install from DOS) Jami Fedora - Installation 5 04-15-2004 03:43 PM
2.6 test kernel is OUT!!! MasterC Linux - General 35 07-21-2003 03:15 PM

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

All times are GMT -5. The time now is 01:13 AM.

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