Skip to contentSkip to conversation

Interactive installation with PXE booting

Linux-ia64 Christopher D. Maestas 3 participants 3 messages Jan 17, 2002

lore
Share & tools
lore
#0 lore raw

Has anyone been able to write an elilo.conf that allows for an interactive network installation? For example in pxelinux.cfg/default I can do:
---
label vgainteractiverh72
kernel vmlinuz.rh72
append vga=extended root=/dev/ram0 initrd=initrd.img.rh72 console=tty0
---

I tried in elilo.conf:
---
prompt
timeoutP
default=localdisk
verbose=5

image=vmlinuz.rh72-ia64
label=vgainteractiveia64
read-only
append = "vga=extended console=tty0"
---

And them type in vgainteractiveia64 when prompted, but the kernel panics because I didn't append a root option. I've tried root=/dev/ram0 and that doesn't work either.

Thanks,

Quoted 12 lines · Egan Ford

prompt
timeoutP
default=install

image=vmlinuz

	append="console=ttyS0,9600 ks=nfs:jupiter:/tftpboot/ia64.ks ksdevice=eth0"

label=install
read-only
initrd=ramdisk.img

This is what I use to boot RH's installation kernel and initrd with elilo and tftp.

Signature · 11 lines
Christopher D. Maestas
Compaq Federal, LLC
Professional Services
Consulting Associate III
5951 Jefferson Blvd. N.E. 
Albuquerque, NM 87109
E-Mail: [email protected]
        [email protected]
Sandia Office Phone: 1.505.284.3643
Pager: 1.800.759.8888 PIN # 1278656
Fax: 1.505.343.7027 
#1 lore raw

Christopher,

Quoted 7 lines · Christopher D. Maestas

Has anyone been able to write an elilo.conf that allows for an interactive network installation? For example in pxelinux.cfg/default I can do:
---
label vgainteractiverh72
kernel vmlinuz.rh72
append vga=extended root=/dev/ram0 initrd=initrd.img.rh72 console=tty0
---

Your problem has nothing to do with the fact that binaries are coming from the network.

Quoted 14 lines

I tried in elilo.conf:
---
prompt
timeoutP
default=localdisk
verbose=5

image=vmlinuz.rh72-ia64
label=vgainteractiveia64
read-only
append = "vga=extended console=tty0"
---

Quoted 4 lines

And them type in vgainteractiveia64 when prompted, but the kernel panics because I didn't append a root option. I've tried root=/dev/ram0 and that doesn't work either.

The kernel needs two things to boot from a filesystem. First it needs to have the device driver to access the disk controller. Second it needs to know which partition the root filesystem is in. The problem you're seing comes from the fact that your kernel does not have the valid device driver, most likely the SCSI controller, builtin. This is common with kernels from distributions. The device driver is dynamically loaded in the kernel via a kernel module which is stored into the initial ramdisk. So your problem is that you did not indicate a initrd= option in your elilo.conf. Something like this will do:

image=vmlinuz.rh72-ia64
label=vgainteractiveia64
initrd=initrd.rh72
append = "vga=extended console=tty0"

Signature · 1 line
-Stephane
#2 lore raw
In reply to Christopher D. Maestas

prompt
timeoutP
default=install

image=vmlinuz
label=install
read-only
initrd=ramdisk.img

Works, if you use the vmlinuz from CD/kernels and the ramdisk.img from CD/images with RH7.1. I have not receive my 7.2 CDs yet so I have not tested.

Quoted 67 lines

-----Original Message-----
From: Christopher D. Maestas [mailto:[email protected]]
Sent: Thursday, January 17, 2002 11:20 AM
To: Egan Ford
Cc: [email protected]
Subject: [Linux-ia64] Interactive installation with PXE booting

Has anyone been able to write an elilo.conf that allows for an interactive network installation? For example in pxelinux.cfg/default I can do:
---
label vgainteractiverh72
kernel vmlinuz.rh72
append vga=extended root=/dev/ram0 initrd=initrd.img.rh72
console=tty0
---

I tried in elilo.conf:
---
prompt
timeoutP
default=localdisk
verbose=5

image=vmlinuz.rh72-ia64
label=vgainteractiveia64
read-only
append = "vga=extended console=tty0"
---

And them type in vgainteractiveia64 when prompted, but the kernel panics because
I didn't append a root option. I've tried root=/dev/ram0 and that doesn't work either.

Thanks,

Quoted 6 lines · Egan Ford

prompt
timeoutP
default=install

image=vmlinuz

	append="console=ttyS0,9600 ks=nfs:jupiter:/tftpboot/ia64.ks

ksdevice=eth0"

Quoted 5 lines

label=install
read-only
initrd=ramdisk.img

This is what I use to boot RH's installation kernel and initrd

with elilo

Quoted 1 line

and tftp.

--
Christopher D. Maestas
Compaq Federal, LLC
Professional Services
Consulting Associate III
5951 Jefferson Blvd. N.E.
Albuquerque, NM 87109
E-Mail: [email protected]
[email protected]
Sandia Office Phone: 1.505.284.3643
Pager: 1.800.759.8888 PIN # 1278656
Fax: 1.505.343.7027