View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: GRUB entry
PostPosted: Mon Sep 25, 2006 1:22 am 
Offline
Joined: Mon Sep 25, 2006 1:14 am
Posts: 2
so, i have Knoppmyth R5D1 installed on hda1. lilo is installed on the same. I have an old grub installed on the mbr. so, how do i chainload from grub into lilo? i need these questions answered:

*** what kernel is R5D1?
*** what should initrd be?

Here is my existing entry (doesnt work):
Code:
# This entry is added by me.  Knoppmyth section.
title      Knoppmyth
root      (hd0,0)
rootnoverify (hd0,0)
makeactive
chainloader   +1

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
#title      Microsoft Windows XP Home Edition
#root      (hd0,0)
#savedefault
#makeactive
#chainloader   +1


knoppmyth replaced the XP partition.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 25, 2006 3:57 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
Don't know how you have grub however you will need to edit menu.lst

Mine looks like this:

title KnoppMyth (on /dev/sda5)
root (hd0,2)
kernel /boot/vmlinuz-2.6.17-chw-8 root=/dev/sda5 ro splash=silent apm=power-off nomce
initrd /boot/initrd.gz
savedefault
boot

notice the (hd0,#) is one less than the actual partition. Watch out for the line wrap. You could have setup dual boot.
Mike


Top
 Profile  
 
 Post subject: Cool
PostPosted: Mon Sep 25, 2006 10:47 pm 
Offline
Joined: Mon Sep 25, 2006 1:14 am
Posts: 2
I actually figured it out, and it looks pretty much like that, thanks!

I am actually trying to chainload. GRUB boots first, and would be my ubuntu instal, and then it would turn over stuff to lilo (if i wanted knoppmyth) which would only handle knoppmyth, and be set to just load knoppmyth.

However, as I (and you) have it, grub can fire up whatever it feels like booting (completely skipping lilo).


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 25, 2006 10:54 pm 
Offline
Joined: Sun Jun 12, 2005 10:55 pm
Posts: 3161
Location: Warwick, RI
Hi,
Yes, I really like grub.. If you upgrade in the future, besure to do it as a manual install and save lilo to partition or it will hose grub. I don't know how to recover from that oop :(

Then you can simply edit /boot/grub/menu.lst to reflect the changes as in kernel numbers.

Best of luck and enjoy KM!
Mike


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu