LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-25-2001, 08:17 AM   #1
bschmer
LQ Newbie
 
Registered: Jan 2001
Posts: 2

Rep: Reputation: 0

My situation is a little strange, but I'm hoping that someone will be able to provide a little insight.

I have a machine on which I would like to reinstall RedHat. The catch is that I would like to be able to perform the reinstall without having to sit in front of the machine to insert/eject a floppy or change a bios setting. I have serial console access to the machine and have kickstart set up such that I would normally insert the network install image and type "linux ks=nfs:(server ip):(kickstart file path)". So I figured that I could extract the kernel and the initrd from the bootnet.img file into my /boot directory, munge lilo and have what I want. Not quite.

Here's my current setup:

[root@steelphantom /boot]# ls -l !$
ls -l /boot/*reinst*
-rwxrwxr-x 1 root root 2048000 Jan 18 09:44 /boot/initrd-reinst
-rwxrwxr-x 1 root root 587970 Jan 18 09:43 /boot/vmlinuz-reinst
[root@steelphantom /boot]#

[root@steelphantom /boot]# cat /etc/lilo.conf
boot=/dev/sda
map=/boot/map
install=/boot/boot.b
prompt
timeout=50
default=linux
serial=0,19200n8

image=/boot/vmlinuz-reinst
label=reinstall
ramdisk=2048
append="network ks=nfs:10.2.2.31:/space/ks/steelphantom initrd=initrd-reinst root=/dev/ram"

<other lilo.conf stuff removed>

With this config, I get a "Can't mount root device on 08:34". This makes sense since the vmlinuz from bootnet.img says that the rootdev is /dev/sdd4. I thought that specifying root= on the boot line overrides the kernel, but perhaps I'm specifying it incorrectly. I've tried leaving the initrd image compressed as well as other values for root, but neither seems to help.

Any suggestions are welcome.
 
Old 01-25-2001, 12:49 PM   #2
bschmer
LQ Newbie
 
Registered: Jan 2001
Posts: 2

Original Poster
Rep: Reputation: 0
Nothing like answering my own question ;-)

It seems that I had too much cruft on my boot line for the reinstall image. The following works just fine:
image=/boot/vmlinuz-reinst
label=reinstall
initrd=/boot/initrd-reinst
append="network ks=nfs:10.2.2.31:/space/ks/steelphantom"

I'm pretty sure that I had tried this before, but perhaps I had left out the initrd line or the initrd image was compressed.

At any rate, it appears to be working just fine now.
 
  


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
How to boot a fedora 3 cd from a rehat linux 8.0 floppy disk llcoolj Linux - Newbie 1 04-22-2005 09:00 AM
Network install without floppy/CD patrik1982 Debian 0 01-23-2005 07:17 AM
reinstall grub and make boot floppy hraposo Fedora 1 08-11-2004 09:12 AM
CD, floppy, and network all died at once. cirofren Mandriva 9 11-27-2003 12:53 AM
network boot floppy jagadish Linux - Networking 0 07-01-2003 12:50 AM

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

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