Hello,

Building my first rescue CD on a linux machine (RHEL4 Update3) i have
seen that the VLAN tag support was not included. The scripts that made
the CD does not read the vlans that we have created on the server. My
case:

[EMAIL PROTECTED] bacula-maquina23]# ll
total 104
-rw-r--r--  1  500 pegasus   163 Apr 11  2005 backup.etc.list
drwxr-xr-x  4  500 pegasus  4096 Jul 11 12:21 bacula
drwxr-xr-x  2  500 pegasus  4096 Jul 11 12:01 bin
-rwxr-xr-x  1  500 pegasus   296 Aug 29  2006 copy_static_bacula
-rwxr-xr-x  1  500 pegasus   201 Apr 11  2005 copy_to_roottree
-rwxr-xr-x  1 root root      287 Jul 11 12:01 create-lv
-rwxr-xr-x  1 root root      412 Jul 11 12:01 create-pv
-rwxr-xr-x  1 root root      375 Jul 11 12:01 create-vg
drwxr-xr-x  2 root root     4096 Jul 11 12:01 diskinfo
-rwxr-xr-x  1 root root      748 Jul 11 12:01 format.sda
-rwxr-xr-x  1  500 pegasus 13026 Jul  1  2006 getdiskinfo
-rw-r--r--  1 root root     2229 Jul 11 12:00 Makefile
-rw-r--r--  1  500 pegasus  1113 Dec 30  2006 Makefile.in
-rwxr-xr-x  1  500 pegasus  1065 Jun  3  2006 make_rescue_disk
-rwxr-xr-x  1  500 pegasus  2051 Sep 13  2006 make_static_bacula
-rwxr-xr-x  1 root root      319 Jul 11 12:01 mount_drives
-rwxr-xr-x  1 root root      711 Jul 11 12:01 partition.sda
-rwxr-xr-x  1  500 pegasus   212 Oct 28  2005 restore_bacula
-rwxr-xr-x  1  500 pegasus   265 Dec 27  2006 restore_etc
-rwxr-xr-x  1  500 pegasus   573 Apr 11  2005 run_grub
-rwxr-xr-x  1  500 pegasus   126 Apr 11  2005 run_lilo
-rwxr-xr-x  1 root root      189 Jul 11 12:01 start_network
-rwxr-xr-x  1  500 pegasus   154 Jul 11 12:01 umount_drives
[EMAIL PROTECTED] bacula-maquina23]# more start_network 
#!/bin/sh
#
#  Start network -- created by getdiskinfo
#
ip=
dev=eth0
ifconfig lo up
ifconfig $dev up $ip
ip1=
dev1=eth1
ifconfig $dev1 up $ip1
route add default gw 10.0.27.124 dev eth0.23
[EMAIL PROTECTED] bacula-maquina23]# ls /etc/sysconfig/network-scripts/
ifcfg-eth0              ifcfg-eth1.51           ifdown-ippp
ifup-ib                 ifup-routes
ifcfg-eth0.23           ifcfg-eth1.52           ifdown-ipsec
ifup-ippp               ifup-sit
ifcfg-eth0.25           ifcfg-lo                ifdown-ipv6
ifup-ipsec              ifup-sl
ifcfg-eth0.50           ifcfg-lo:23             ifdown-isdn
ifup-ipv6               ifup-wireless
ifcfg-eth0.51           ifcfg-lo:25             ifdown-post
ifup-ipx                init.ipv6-global
ifcfg-eth0.52           ifcfg-lo:50             ifdown-ppp
ifup-isdn               network-functions
ifcfg-eth1              ifcfg-lo:51             ifdown-sit
ifup-plip               network-functions-ipv6
ifcfg-eth1.23           ifcfg-lo:52             ifdown-sl
ifup-plusb              route-eth0.23
ifcfg-eth1.25           ifdown                  ifup
ifup-post               route-eth1.23
ifcfg-eth1.50           ifdown-aliases          ifup-aliases
ifup-ppp                
[EMAIL PROTECTED] bacula-maquina23]#


Is there any patch to make this work automatically, that is, without
having to make the changes manually and compilling the iso again?

Regards.

NOTES:

I have used bacula-rescue-2.0.0.tar.gz and bacula-2.0.3.tar.gz. The
installation of bacula is working fine, and the compiling of the bacula
rescue cd was:

[EMAIL PROTECTED] bacula-rescue-2.0.0]# ./configure \
>    --with-static-fd=/opt/bacula/rescue \
>    --with-bacula-scripts=/opt/bacula/rescue
checking for true... /bin/true
checking for false... /bin/false
checking for gawk... gawk
checking for gawk... /bin/gawk
configuring for Rescue 2.0.0 (4 January 2007)
checking for a BSD-compatible install... /usr/bin/install -c
checking for mv... /bin/mv
checking for rm... /bin/rm
checking for cp... /bin/cp
checking for echo... /bin/echo
checking for ar... /usr/bin/ar
checking for cdrecord... cdrecord
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for Operating System Distribution... done
configure: creating ./config.status
config.status: creating autoconf/Make.common
config.status: WARNING:  autoconf/Make.common.in seems to ignore the
--datarootdir setting
config.status: creating Makefile
config.status: creating linux/Makefile
config.status: creating linux/cdrom/Makefile
config.status: creating linux/cdrom/bacula/Makefile
config.status: creating linux/cdrom/cdtree/boot/isolinux/boot.msg
config.status: creating knoppix/cdrom/Makefile
config.status: creating knoppix/cdrom/bacula/Makefile
config.status: creating freebsd/Makefile
config.status: creating solaris/Makefile
config.status: executing default commands

Configuration on Wed Jul 11 12:00:21 CEST 2007:

  Host:                       i686-pc-linux-gnu -- redhat Enterprise
release
  Rescue version:             2.0.0 (4 January 2007)
  Bacula scripts location:    /opt/bacula/rescue
  Source code location:       
  Static FD location:         /opt/bacula/rescue
  Specific kernel version:    
  CDROM device:               ATA:3,0,0

The make:

[EMAIL PROTECTED] cdrom]# make
./makekernel 
Updating modules in root RAM disk
Coping /boot/vmlinuz-2.6.9-34.ELsmp to
/root/frcm/bacula-rescue-2.0.0/linux/cdrom/cdtree/boot/isolinux/vmlinuz
./makebinaries
Building root /sbin. Some Could not find messages are normal ...
==== Could not find ata-id on your system ====
==== Could not find busybox on your system ====
==== Could not find checkproc on your system ====
==== Could not find dhcpd on your system ====
==== Could not find fsck.jfs on your system ====
==== Could not find hwup on your system ====
==== Could not find lilo on your system ====
==== Could not find mkfs.jfs on your system ====
==== Could not find mkreiserfs on your system ====
==== Could not find nmap on your system ====
==== Could not find path_id on your system ====
==== Could not find raidstart on your system ====
==== Could not find reiserfsck on your system ====
==== Could not find scsi_info on your system ====
==== Could not find udevcontrol on your system ====
==== Could not find udevsettle on your system ====
==== Could not find udevtrigger on your system ====
==== Could not find vol_id on your system ====
==== Could not find vim on your system ====
Building root shared libaries ...
Building /etc ...
=====================================================
====                                             ====
==== Warning your /etc/ssh directory was copied. ====
==== Keep this directory and the CDROM secure.   ====
====                                             ====
=====================================================
make[1]: Entering directory
`/root/frcm/bacula-rescue-2.0.0/linux/cdrom/bacula'
./getdiskinfo
Begin collecting system info ...
Gathering LVM information
  No volume groups found
  No volume groups found
Done collecting info.
Begin creating scripts ...
Done making partitioning scripts
Begin making formatting script(s) ...
Begin making LVM formatting script(s) ...
Done building scripts.
./make_rescue_disk
./copy_to_roottree
make[1]: Leaving directory
`/root/frcm/bacula-rescue-2.0.0/linux/cdrom/bacula'
./makeinitrd
Creating the Initial RAM disk image.... 
Initial RAM disk contents will be 54468 KB
54468+0 records in
54468+0 records out
Building initial RAM disk done
Compressing the RAM disk image.... 
Ramdisk size is 55775232
Making isolinux.cfg
Initial RAM disk initrd.img is built.
rm -f bootcd.iso
mkisofs -A "Bacula Rescue Disk" -V "Bacula Rescue Disk" \
  -J -R -T -o bootcd.iso \
  -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat \
  -no-emul-boot -boot-load-size 4 -boot-info-table cdtree
INFO:   UTF-8 character encoding detected by locale settings.
        Assuming UTF-8 encoded filenames on source filesystem,
        use -input-charset to override.
Size of boot image is 4 sectors -> No emulation
 50.29% done, estimate finish Wed Jul 11 12:21:58 2007
Total translation table size: 5149
Total rockridge attributes bytes: 1821
Total directory bytes: 4096
Path table size(bytes): 38
Max brk space used 0
9958 extents written (19 MB)
[EMAIL PROTECTED] cdrom]#


Antes de imprimir este e-mail piense bien si es necesario hacerlo.

*********
Este mensaje es privado y CONFIDENCIAL y se dirige exclusivamente a su 
destinatario. Si usted ha recibido este mensaje por error, no debe revelar, 
copiar, distribuir o usarlo en ningun sentido. Le rogamos lo comunique al 
remitente y borre dicho mensaje y cualquier documento adjunto que pudiera 
contener. El correo electronico via Internet no permite asegurar la 
confidencialidad de los mensajes que se transmiten ni su integridad o correcta 
recepcion. JAZZTEL no asume responsabilidad por estas circunstancias. Si el 
destinatario de este mensaje no consintiera la utilizacion del correo 
electronico via Internet y la grabacion de los mensajes, rogamos lo ponga en 
nuestro conocimiento de forma inmediata.Cualquier opinion expresada en este 
mensaje pertenece unicamente al autor remitente, y no representa necesariamente 
la opinion de JAZZTEL, a no ser que expresamente se diga y el remitente este 
autorizado para hacerlo.
*********
This message is private and CONFIDENTIAL and it is intended exclusively for its 
addressee. If you receive this message in error, you should not disclose, copy, 
distribute this e-mail or use it in any other way. Please inform the sender and 
delete the message and attachments from your system.Internet e-mail neither 
guarantees the confidentiality nor the integrity or proper receipt of the 
messages sent. JAZZTEL does not assume any liability for those circumstances. 
If the addressee of this message does not consent to the use of Internet e-mail 
and message recording, please notify us immediately.Any views or opinions 
contained in this message are solely those of the author, and do not 
necessarily represent those of JAZZTEL, unless otherwise specifically stated 
and the sender is authorised to do so. 
*********


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to