Hello, I've read Anas Nashif's AutoYast2 document, and am trying to get an IBM X330 to setup with autoyast. I've created a autoinst.xml file with all the configs I want. The machine is networked, and I have a SuSE 8.0 machine I'm using as the NFS server for the distribution files. What I'd like to eventually do is get the system to boot remotely using PXE or etherboot, but for the moment just for testing purposes, I'd just like to be able to boot from floppy and have it find the autoinst.xml file and then go off to the NFS server for the rest of the installation. What do I need to put on the floppy to get this to happen? I've tried the Grub floppy (it stops after it discovers the NIC), the bootdisk/modules (it can't find the initrd, but that's too big to put on a floppy), and the contents of the initdisk.gz (just a black screen). Can anyone provide a step-by-step of how they made their installation work? Many thanks in advance. Amanda -- Amanda K. Dahl Senior Systems Administrator Biopendium Production Inpharmatica, Ltd. 60 Charlotte Street London, W1T 2NU United Kingdom 020 7074 4686 tel 020 7074 4700 fax amanda@inpharmatica.co.uk http://www.inpharmatica.co.uk
Amanda Dahl,(4686) writes:
Hello, I've read Anas Nashif's AutoYast2 document, and am trying to get an IBM X330 to setup with autoyast. I've created a autoinst.xml file with all the configs I want. The machine is networked, and I have a SuSE 8.0 machine I'm using as the NFS server for the distribution files. What I'd like to eventually do is get the system to boot remotely using PXE or etherboot, but for the moment just for testing purposes, I'd just like to be able to boot from floppy and have it find the autoinst.xml file and then go off to the NFS server for the rest of the installation. What do I need to put on the floppy to get this to happen? I've tried the Grub floppy (it stops after it discovers the NIC), the bootdisk/modules (it can't find the initrd, but that's too big to put on a floppy), and the contents of the initdisk.gz (just a black screen). Can anyone provide a step-by-step of how they made their installation work? Many thanks in advance.
I currently use the Grub floppy. On my DHCP-server I have the files "initrd" and "linux" in /tftpboot and I have enabled tftp in /etc/inetd.conf. I've also edited boot/grub/menu.lst on the floppy to look like the following: color white/blue black/light-gray default 0 timeout 8 framebuffer 1 title autoinstall-bootp bootp root (nd) kernel (nd)/tftpboot/linux install=nfs://130.225.103.33/dist/suse/8.1 autoyast=nfs://130.225.103.33/dist/suse/control-files/ vga=791 initrd (nd)/tftpboot/initrd I have the 8.1-tree on the NFS-server 130.225.103.22 in the directory /dist/suse/8.1 and the control file in /dist/suse/control-files. My control file is called "default". The "vga=791" option is just for fun. Best regards, Rasmus -- Rasmus Borup Hansen, system adm. Email: rbh@math.ku.dk Institute for Mathematical Sciences Phone: +45 353 20759 Universitetsparken 5 Cell phone: +45 20829308 DK-2100 Ø, Denmark Office: E208
Rasmus Borup Hansen writes:
/etc/inetd.conf. I've also edited boot/grub/menu.lst on the floppy to look like the following:
color white/blue black/light-gray default 0 timeout 8 framebuffer 1
title autoinstall-bootp bootp root (nd) kernel (nd)/tftpboot/linux install=nfs://130.225.103.33/dist/suse/8.1 autoyast=nfs://130.225.103.33/dist/suse/control-files/ vga=791 initrd (nd)/tftpboot/initrd
I have the 8.1-tree on the NFS-server 130.225.103.22 in the directory
Oh, that's 130.225.103.33. The other one is my DHCP-server. I presume you get the idea anyway. Best regards, Rasmus -- Rasmus Borup Hansen, system adm. Email: rbh@math.ku.dk Institute for Mathematical Sciences Phone: +45 353 20759 Universitetsparken 5 Cell phone: +45 20829308 DK-2100 Ø, Denmark Office: E208
Hi Rasmus, Thank you for the advice. I'm almost there now. Question: how does the system tell from the menu.lst where the tftp server is? Does it automatically find it or is that specified by the DHCP server? Cheers, Amanda Rasmus Borup Hansen wrote:
Rasmus Borup Hansen writes:
/etc/inetd.conf. I've also edited boot/grub/menu.lst on the floppy to look like the following:
color white/blue black/light-gray default 0 timeout 8 framebuffer 1
title autoinstall-bootp bootp root (nd) kernel (nd)/tftpboot/linux install=nfs://130.225.103.33/dist/suse/8.1 autoyast=nfs://130.225.103.33/dist/suse/control-files/ vga=791 initrd (nd)/tftpboot/initrd
I have the 8.1-tree on the NFS-server 130.225.103.22 in the directory
Oh, that's 130.225.103.33. The other one is my DHCP-server. I presume you get the idea anyway.
Best regards,
Rasmus
-- Amanda K. Dahl Senior Systems Administrator Biopendium Production Inpharmatica, Ltd. 60 Charlotte Street London, W1T 2NU United Kingdom 020 7074 4686 tel 020 7074 4700 fax amanda@inpharmatica.co.uk http://www.inpharmatica.co.uk
The default tftp server is the dhcp server itself. If you want to use a different tftp server you can use the "next-server" directive in your dhcp.conf (see the man page for dhcp.conf for more details). I don't know how to configure Grub to use another tftp server, but I guess it is possible. Best regards, Rasmus -- Rasmus Borup Hansen, system adm. Email: rbh@math.ku.dk Institute for Mathematical Sciences Phone: +45 353 20759 Universitetsparken 5 Cell phone: +45 20829308 DK-2100 Ø, Denmark Office: E208 Amanda Dahl,(4686) writes:
Hi Rasmus, Thank you for the advice. I'm almost there now. Question: how does the system tell from the menu.lst where the tftp server is? Does it automatically find it or is that specified by the DHCP server? Cheers, Amanda
Rasmus Borup Hansen wrote:
Rasmus Borup Hansen writes:
/etc/inetd.conf. I've also edited boot/grub/menu.lst on the floppy to look like the following:
color white/blue black/light-gray default 0 timeout 8 framebuffer 1
title autoinstall-bootp bootp root (nd) kernel (nd)/tftpboot/linux install=nfs://130.225.103.33/dist/suse/8.1 autoyast=nfs://130.225.103.33/dist/suse/control-files/ vga=791 initrd (nd)/tftpboot/initrd
I have the 8.1-tree on the NFS-server 130.225.103.22 in the directory
Oh, that's 130.225.103.33. The other one is my DHCP-server. I presume you get the idea anyway.
Best regards,
Rasmus
-- Amanda K. Dahl Senior Systems Administrator Biopendium Production Inpharmatica, Ltd. 60 Charlotte Street London, W1T 2NU United Kingdom
020 7074 4686 tel 020 7074 4700 fax
amanda@inpharmatica.co.uk http://www.inpharmatica.co.uk
participants (2)
-
Amanda Dahl,(4686)
-
Rasmus Borup Hansen