Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 3rd June 2009, 23:58
reapur reapur is offline
Junior Member
 
Join Date: May 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can I do a re-install from grub's menu.lst? hard to explain...

trying to rebuild a server from grub/menu.lst
Hi,
I have a network installation working perfectly. I can install over pxe without any problems at all.

What I need to do is the following.
I have a server that has already been installed via pxe. We use this server for testing and we need to rebuild it all the time.
So instead of having to walk into the computer room to access the console and hit F12 for pxe boot (sorry, no KVM available) I would like to add an entry to the /boot/grub/menu.lst file that will effectively do a network boot.

I have done this on a SLES 10 server with no problems.

I've been trying with RHEL 5.3 for a couple of days and it's driving me crazy right about now.

Now I can't find any documentation on how to do it so I'm using what I did for SLES as a starting point.

On the DVD there are pxe vmlinuz and initrd.img files that I'm assuming I have to use. so I copy them to /boot and try the following (because if I use the existing files, the server just boots normally) inside the menu.lst file:

# installRHEL53.1.1
title Redhat Install from network
# root (hd0,0)
kernel /boot/vmlinuz
initrd=/boot/initrd.img ks=ftp://x.x.x.x/pub/linux/REDHAT/R53.1.1
/zks.cfg

The idea is to boot the server and select the "install from network" option from the grub menu and have it do a new install.

So here are the problems that I'm having.
If I use just boot with the above syntax, it won't read the ks file and proceeds to do an interactive install.
if I preceed initrd with 'append' I get a kernel panic at boot.

What am I supposed to do? how do I get this simple thing to work?

Thanks for all the help

Cheers
Reply With Quote
Sponsored Links
  #2  
Old 8th June 2009, 16:50
reapur reapur is offline
Junior Member
 
Join Date: May 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

So why does

# installRHEL53.1.1
title Redhat Install from network
# root (hd0,0)
kernel /boot/vmlinuz
append initrd=/boot/initrd.img ks=ftp://x.x.x.x/pub/linux/REDHAT/R53.1.1
/zks.cfg

cause kernel panic? I've looked thru the docs for grub.conf and it seems that we can used append initrd.
Even if I just do

# installRHEL53.1.1
title Redhat Install from network
# root (hd0,0)
kernel /boot/vmlinuz
initrd=/boot/initrd.img

it results in kernel panic.

any ideas?
Thanks,
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Install failure -- Apache 1.3 missing? Allen15 Installation/Configuration 11 24th February 2009 09:53
can't help ispconfig to install please help steve51184 Installation/Configuration 17 20th February 2009 10:37
How to install OpenOficeOrg 3.0.0 in Ubuntu 8.04 ernesthagger HOWTO-Related Questions 43 23rd December 2008 14:42
ISPConfig install issues... flyingaggie Installation/Configuration 2 18th July 2008 10:46
New Linux Package - Grub's Menu.lst changed. What do I need to change back? ClarkVent HOWTO-Related Questions 3 3rd May 2008 21:06


All times are GMT +2. The time now is 11:36.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.