make boot cdrom pb:
Jean-Paul BALOCHE
jpbaloche at alcidian.net
Mon Nov 5 15:41:40 CET 2007
Jeken Jeken a écrit :
>> Thomas Lange a écrit :
>>
>>>>>>> On Fri, 02 Nov 2007 13:14:10 +0100, Jean-Paul BALOCHE
>>>>>>>
> <jpbaloche at alcidian.net> said:
>
>>> > can't find `/srv/fai/nfsroot/usr/lib/grub/i386-pc/stage?'
>>> make-fai-bootfloppy is not yet tested with FAI 3.2 and the path has changed.
>>> It also does not support kernels with an initrd yet.
>>>
>>>
>>> > Is that normal ? How can I do to create a bootable cdrom ?
>>> It depends on what you want to have on the CD. The command fai-cd
>>> creates a booteble CD with config space, nfsroot and package
>>> repository.
>>>
>
>
>> Hi thanks for your answer.
>> Well,
>> What I need is to have one fai server with all configurations and
>> classes and a bootable cdrom which will boot the client, mount nfsroot
>> and start the installation. My classes will be change several times and
>> I don't want to burn a cd each time.
>> Is there a way to do this in previous version or the fai-cd is the only
>> way know ?
>>
>
>
>> regards
>> Jean-Paul
>>
>
>
> Hi,
> edit /etc/fai/menu.lst
> .
> .
> title Fully Automatic Installation - dhcp, nfsroot
> kernel /boot/vmlinuz ip=dhcp root=/dev/nfs
> nfsroot=192.168.1.2:/srv/fai/nfsroot boot=live
> FAI_FLAGS="verbose,sshd,createvt" FAI_ACTION=install
> initrd /boot/initrd.img
>
> title Fully Automatic Installation - static, nfsroot
> kernel /boot/vmlinuz ip=192.168.1.17:192.168.1.2:192.168.1.1::::
> root=/dev/nfs nfsroot=192.168.1.2:/srv/fai/nfsroot boot=live
> FAI_FLAGS="verbose,sshd,createvt" FAI_ACTION=install
> initrd /boot/initrd.img
> .
> .
>
>
> I don have a local mirror so I just create an empty dir.
> # mkdir /root/mirror
> # fai-cd -f -m /root/mirror cd.iso
>
> Burn a cdrom.
>
> regards
> Jan-Eric
>
>
>
Hi,
I have tried this method but it doesn't work. Maybe I'm doing something
wrong ?
Here is what I did :
My fai server is : 192.168.1.204
I Add in the /etc/fai/menu.lst those lines :
title Fully Automatic Installation - dhcp, nfsroot
kernel /boot/vmlinuz ip=dhcp root=/dev/nfs
nfsroot=192.168.1.204:/srv/fai/nfsroot boot=live
FAI_FLAGS="verbose,sshd,createvt" FAI_ACTION=install
initrd /boot/initrd.img
title Fully Automatic Installation - static, nfsroot
kernel /boot/vmlinuz ip=192.168.1.251:::::
root=/dev/nfs nfsroot=192.168.1.204:/srv/fai/nfsroot boot=live
FAI_FLAGS="verbose,sshd,createvt" FAI_ACTION=install
initrd /boot/initrd.img
I don't use for the moment a local debian mirror, so I create an empty
directory :
/srv/fai/debmirror/
Then I ran this command :
fai-cd -f -m /srv/fai/debmirror/ cd_boot_fai.iso
I burned the iso image on a cdrom and then boot with this cd-rom on the
client machine.
When I boot with this cd-rom on the client computer, I have this message :
IP-Config: eth0 Complete (from 192.168.1.204)
address : 192.168.1.240 broadcast: 192.168.1.255 netmask 255.255.255.0
gateway : 192.168.1.2 dns0: 192.168.1.2 dns1:0.0.0.0
rootserver : 192.168.1.204 rootpath:
filename :
Begin : Running /scripts/nfs-premount ...
Done.
nfsmount : need a path
Done.
Begin: Retrying nfs mount ...
And it restart searching for an ip address and trying to mount nfs root.
When I mount nfs root from my own computer it's ok : mount -t nfs
192.168.1.204:/srv/fai/nfsroot /tmp/toto
ls /tmp/toto :
live
I don't understand what's going on, I also don't understand why there is
nothing after "rootpath" and "filename" ?
Have you got an idea ?
thanks for your help,
Jean-Paul
More information about the linux-fai
mailing list