# changelog

author: Steven Shiau <steven _at_ nchc org tw> 1.0-12drbl
changelog:
  - force not to check the filesystem when save partition to server. It seems that some ext3 partitions are not friendly to the file system checking of partimage.


author: Steven Shiau <steven _at_ nchc org tw> 1.1-15drbl
changelog:
  - fix the bugs for multicast ocs, we can NOT remove the files mcastListener mcastSender partimage_stdin in dir $drbl_common_root/sbin in drbl-ocs script.


author: Steven Shiau <steven _at_ nchc org tw> 1.1-16drbl
changelog:
  - fix bug for multicast, sync_server should be assigned runtime in client.
  - multicast default gateway should listen on one ethernet port.


author: Steven Shiau <steven _at_ nchc org tw> 1.1-17drbl
changelog:
  - fix bug for checking n_clients when it's not in multicast mode, 
  - make clonezilla/checkInodeForDevice.c as static link.
  - add batch mode, NIC and swtich notes when using multicast.


author: Steven Shiau <steven _at_ nchc org tw> 1.1-19drbl
changelog:
  - rewrite notify_ocsmgrd as function.
  - add code to restore the inittab so that if ocsmgr fails to get the message, the client will not clone again.


author: Steven Shiau <steven _at_ nchc org tw> 1.1-20drbl
changelog:
  - fix the bug for failing to change inittab and inittab.org in clients....

  - add code to restore the inittab so that if ocsmgr fails to get the message, the client will not clone again.


author: Steven Shiau <steven _at_ nchc org tw> 1.1-21drbl
changelog:
  - It seems sometimes reboot or shutdown will stop to continue when the cloning finishs... So we force to run reboot or shutdown three times in the end of clone.


author: Steven Shiau <steven _at_ nchc org tw> 1.1-23drbl
changelog:
  - Add a function to detect grub root partition, now "auto" can be the parameter, i.e. drbl-ocs -g auto...


author: Steven Shiau <steven _at_ nchc org tw> 1.2.1-1drbl
changelog:
  - now drbl-ocs can deal with devfs style format in /proc/partitions
  - requires drbl-setup > 1.3.1 for its drbl-functions
  - works for /dev/sdx


author: Steven Shiau <steven _at_ nchc org tw> 1.2.2-1drbl
changelog:
  - add -m|--module and -s|--skip-hw-detect for drbl-ocs
  - add kudzu/harddrake service default
  - rewrite some codes, now use ocsmgrd.lock (no more /home/pargimag/ocsmgrd) and /opt/drbl/sbin/drbl-ocs (no more copy and run in /sbin/drbl-ocs in client)


author: Steven Shiau <steven _at_ nchc org tw> 1.3.1-1
changelog:
  - Add startparts to save/restore some partitions only.
  - Adopt Blake's multicast funtion so that it can process time-to-wait or client-to-wait.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.1-3
changelog:
  - use the new method for hda1 start/task_restore/task_multicastrestore. Now put the images into a directory.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.2-4
changelog:
  - add "-h|--hosts IP_LIST" option, now instead of all DRBL clients, we can assign some mode for some clients by IP address, like: -h "192.168.0.1 192.168.0.2".


author: Steven Shiau <steven _at_ nchc org tw> 1.3.2-5
changelog:
  - fixed the bug - the HOST_OPT1 "$HOST_OPT2" does NOT work when drbl-client-switch run without "-h $IP_LIST"
  - ocsmgrd can work with 01-MAC style pxelinux config file.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.2-10
changelog:
  - bug fixed, clean the stale $ihost/etc/ocs/config before appending it.
  - ocsmgrd will show countdown secs.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.2-11
changelog:
  - add function kill_ocsmgrd_daemon so that it's easier to clean stale ocsmgrd before start it.
  - check if root in ocsmgrd before run itself.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.2-14
changelog:
  - change "gunzip < $gzipped_image | wc -c" to "zcat $gzipped_image | wc -c".
  - change the VOL_LIMIT to 600 from 2000 to avoid the gzip file bug (> 2 GB).


author: Steven Shiau <steven _at_ nchc org tw> 1.3.2-22
changelog:
  - use system call and lockfile from procmail instead of perl module IO::LockedFile
  - change $ocsroot/ocsmgrd.lock to $ocsroot/clonezilla.lock


author: Steven Shiau <steven _at_ nchc org tw> 1.3.3-1
changelog:
  - use udpcast to send and receive multicast data.
  - ocsmgrd now only generate PXE config file, no more dealing with time_to_wait and client_to_wait


author: Steven Shiau <steven _at_ nchc org tw> 1.3.3-7
changelog:
  - add "unicast" description in pxe menu
  - add "sleep 5" after udp-receiver to let the udp-receivers to finish their jobs then start the next ones.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.4-1
changelog:
  - Since drbl-setup, drbl-script and drbl-gdm are merged to a single package "drbl", now clonezilla only depends on drbl.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-3
changelog:
  - use /opt/drbl/bin/gethostip.static since some necessary pxelinux files is already included in syslinux, and gethostip is compiled as gethostip.static.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-7
changelog:
  - fixed a typo variable.
  - add an option (-u) so that user can choose restoring image in client.
  - add options -k and -t so that we can skip sfdisk and MBR restoring in client.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-8
changelog:
  - fix a bug, we should not remove all start service (except S*single) in rc1.d. Keep what they are. We just remove those services added by "drbl-ocs start".
  - do not mix nfs in all distributions, since nfs is server for RH-like, while it's client program in SuSE.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-10
changelog:
  - use routing table for multicast, otherwise it will fail in some situation in Debian.
  - use 224.0.0.1 for multicast only


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-13
changelog:
  - add a function "check_if_input_device_exist" in drbl-ocs.
  - remove sync_server and multicast_addr, since sync_server is not necessary when using udpcast, and we only use 224.0.0.1 as the multicast address.
  - remove some unnecessary codes, like sync_server, task_notify_connect().
  - check if the input devices exist or not.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-15
changelog:
  - refine grep command when mapping the image file size.
  - use cat and stdin input for partimage restore to avoid the bug of split images file "Can't read block 0 from image (0)"


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-16
changelog:
  - show "-bz2 is not implemented yet" in partimage_stdin usage.
  - comment the "Options for saving:" (-z0, -z1) in usage in drbl-ocs, since now only gzip format image (-z1) works in unicast/multicast restoring.
  - fix the bug for unable to make partimage no-gui.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-18
changelog:
  - update partimage_stdin, since Blake released a new version for partimage_stdin, support -z0/-bzip2.
  - change the path partimage_stdin from /sbin to /usr/bin.
  - make the partimage_stdin use the flag partimage_stdin_comp_flag (-z0/-gz/-bz2) in drbl-ocs.
  - turn on the flags -z0/-z1/-z2 in drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-21
changelog:
  - support clonezilla restore server mode (always-restore)
  - change the option --input-name-in-client to --select-img-in-client


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-1
changelog:
  - fix the bug for 2nd or later partition waiting time.
  - Many thanks to Christian Treczoks for providing "dd skip=1" method, so now partimage_stdin and size record in the image directory are not necessary.
  - use /opt/drbl/conf/drbl-ocs.conf.
  - add an option -i|--image-size so that we can assign image volume size.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-3
changelog:
  - It seems in partiamge 0.6.5-beta2, when using --debug=0 to save NTFS partition, partimage will crash. However, 0.6.5-beta1 works without this problem.  To avoid this, we set debug_level=1 as default value in /opt/drbl/conf/drbl-ocs.conf


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-5
changelog:
  - set the default save volume size as 500GiB in drbl-ocs.conf so that in most of cases when restoring it will be faster.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-6
changelog:
  - extract some functions as ocs-functions so that drbl-ocs and ocs-onthefly can use them.
  - delete some unnecessary codes in ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-9
changelog:
  - fix a bug for unable to do partition no. > 1 clone over network in ocs-onthefly.
  - create swap partiton if exists i ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-12
changelog:
  - we have to remove " (comes with checklist in dialog) so that for loop will work in drbl-ocs, so change target_parts="$(cat $ANS_TMP)" to target_parts="$(cat $ANS_TMP | tr -d \")". This is specially for FC.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-14
changelog:
  - checkInodeForDevice should be done only in clone_client in ocs-onthefly.
  - put "-q 0" for netcat in DRBL Debian ocs-onthefly, otherwise the default is wait forever.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-15
changelog:
  - add -i|--filter prompt for client to run in ocs-onthefly.
  - check filter program exists or not in ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-17
changelog:
  - For ocs-onthefly:
  - use nc to send and receive pt.sf, mbr
  - use nc to notify source machine the job.
  - default to gzip data before pipe to nc.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-19
changelog:
  - add partition resize function to solve the small partition image restored to larger partition problem.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-22
changelog:
  - Since the results of "parted /dev/xxx p" are different in OpenSuSE 10.0 and FC in resize_part, fix that.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-27
changelog:
  - let MBR clone before sfdisk in ocs-onthefly.
  - add clean_cylinder_boundary_warning to clean the warning in pt.sf in ocs-function and drbl-ocs..


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-28
changelog:
  - bug fixed, OS_Version is global variable, so just run check_distribution_name should to get OS_Version.
  - use $FULL_OS_Version in pxelinux menu.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-29
changelog:
  - remove the "clean_cylinder_boundary_warning $sfdisk_partition_layout_file" in create_partition() of ocs-functions. It will make pt.sf empty when all the clients are run almost the same time.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.7-1
changelog:
  - Client will send MAC address when clone finishes, a "01-MAC" file will always be created in /tftpboot/nbi_img/pxelinux.cfg/. This will be better when range is used in dhcpd.conf, since now we can force client to boot local OS by MAC address.
  - Check if the target HD exists or not before process it.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.8-2
changelog:
  - add or remove runlevel 1 to pxelinux kernel append parameter.
  - abolish /etc/ocs/config, just get the ocs server IP from client's IP and the port from drbl-ocs.conf.
  - fix the bug that in DRBL SSI mode, client fails to notify ocs server when finishing cloning.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.9-1
changelog:
  - add loading drbl_deploy.conf to know if it's in clonezilla_box_mode.
  - If it's clonezilla_box_mode, clean dhcpd leases.
  - clonezilla box mode is ready.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.9-2
changelog:
  - fix some minor bugs.
  - add a mechanism to randomly sleep before notifying clonezilla server, so clients will not notify server at almost same time.
  - if device.map exists, remove it to avoid some problem when run "-g auto".


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-1
changelog:
  - support LVM2 (LVM1 not yet).
  - remove the function to save & restore hda1, since we can use save & restore partitions.
  - rewrite the code, all save/restore (unicast/multicast partition/disk) are based on partitions save/restore.
  - add option to give parameters "$mcast_wait_time", "$n_clients" and "$mcast_max_wait_time", so now the multicast start can be batch mode, EX: /opt/drbl/sbin/drbl-ocs -l 0 -g auto -b --clients-to-wait 5 --max-time-to-wait 100 startdisk multicast_restore d5, or /opt/drbl/sbin/drbl-ocs -l 0 -g auto -b --clients-to-wait 1 --max-time-to-wait 100 startparts multicast_restore p5 "hda1 hda3"


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-2
changelog:
  - change function name get_existing_part_image to get_existing_parts_image so it can be used in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.1-1
changelog:
  - add multicast restoration example in drbl-ocs Usage.
  - update the comments in ocs-funtion.
  - add option -x|--full-duplex in drbl-ocs.
  - rewrite the code to use function udp_send_part_img to do the real job so that we can reuse the function both in normal partitions and LVM LVs.
  - add a script get_part_info to get the partition info (start, end, size, type, filesystem and flag).
  - option to use ntfsclone to save a partition.
  - change the variable MULTICAST_ADDR to MULTICAST_ALL_ADDR.
  - add lzop support for ntfsclone.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.1-3
changelog:
  - add more prompt for ntfsclone when saving image in client.
  - fix the bug when host is specified, some unrelated host will be chosen, too.
  - other minor changes.
  - bug fixed: unicast with lzop fails.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.1-4
changelog:
  - add an option -a|--no-force-dma-on so that HD DMA is not always be turn on, since some new machine will have problem if DMA is forced on.
  - udpcast verbose message is shown when -v is specificed in drbl-ocs.
  - -nogui|--nogui are the same option.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.1-6
changelog:
  - Add ntfsclone restoration statistics report.
  - For better security, chmod 600 for ntfsclone saved image file.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.1-8
changelog:
  - image name "hda1" without ".000" is supported, since if partimage --volume=0, the image name is "hda1" instead of "hda1.000"
  - set VOL_LIMIT_DEFAULT="0" in drbl-ocs.conf


author: Steven Shiau <steven _at_ nchc org tw> 1.4.1-10
changelog:
  - change variable NTFSCLONE_CMP to IMG_CLONE_CMP.
  - change function to image_save from partimage_save.
  - if disk or partition info file is not able to be written when clone finishing, show it and wait for user to confirm.
  - correct variable typos: updcast_stderr -> udpcast_stderr.
  - create a testing block in ocs-function to use partimage stdout with lzop with fat.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.1-17
changelog:
  - if -z3 is assigned and the partition is not NTFS, we use partimage with -z0 then stdout pipe to lzop to save the image.
  - change SLEEP_TIME_AFTER_PART_CLONED to 15 from 10, and use random time to avoid request udpcast server at same time when 1st partiton clone finishes.
  - bug fixed: if -z3 is chosen, the 2nd partition will be save without compression.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.1-18
changelog:
  - avoid the sleep time too short compared with mcast_max_wait_time.
  - add recommended max wait time when run drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.2-1
changelog:
  - update echo prompt for grub-install.
  - add a mechanism to check if disk and parts files are empty.
  - rename some functions so it's easier to be identified.
  - now by default we directly use dd to dump partition table in target harddisk from saved image file "mbr".
  - add the option "--create-part-by-sfdisk" in drbl-ocs, 
  - when restoring MBR, only dd the first 446 bytes instead of 512 bytes.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.2-2
changelog:
  - use better variable name in create_partiton in ocs-functions.
  - Make kernel re-read the partiton table of target hardisk before clone.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-1
changelog:
  - add scripts drbl-chnthn and drbl-chnthn-functions, which are developed by Ceasar Sun, so that we can change the hostname of M$ windows XP/2K when cloning is finished.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-3
changelog:
  - add option -o|--run-post-dir in drbl-ocs so that we can run-parts files in /opt/drbl/ocs/postrun.
  - add -hn0, -hn1 in drbl-ocs so that we can directly change M$ windows hostname via ntfs-3g


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-7
changelog:
  - add arm-wol as a necessary service in clonezilla (runlevel 1)
  - add option --mcast-iface so that user can assign the multicast seed ethernet port.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-10
changelog:
  - bug fixed: parted-17.1-15 in FC5 updates has new format. Modify get_part_info. Thanks to Dave Haakenhout for the bug report.
  - update the Usage function in drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-13
changelog:
  - clonezilla can not be multi-image, so it will be a mess if just stop some clients. Therefore if "$LIST_HOST" = "on", we still stop all the clonezilla process.
  - bug fixed: when in drbl ssi mode or clonezilla box mode, if hosts is selected, default_skeleton is removed by "drbl-ocs stop" in gen_ssi_files.
  - bug fixed: when in drbl ssi mode or clonezilla box mode, if hosts is selected,, self process won't be killed by turn-drbl-ssi-mode.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-15
changelog:
  - To avoid there is no input output in rc running, we add exec </dev/console >/dev/console 2>&1 in S19ocs-run. Thanks to Scott James Remnant (keybuk).
  - report image name when clone finishes.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-16
changelog:
  - when multicast restoring finishes, root will get a report via email if mutt is installed in clonezilla server.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-18
changelog:
  - add -j0, and change the default action to create partition by sfdisk. Since the dd method will have problem in different CHS harddisk.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-20
changelog:
  - use $ocs_lock_dir/clonezilla.lock instead of $drbl_syscfg/clonezilla.lock (ocs_lock_dir is /var/lock/clonezilla).


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-22
changelog:
  -  estimate delay times as 30 secs + others for time_to_pause_before_mail, i.e. =$((30+$SLEEP_TIME_AFTER_PART_CLONED+$NOTIFY_OCS_SERVER_TIME_LIMIT)) (ocs-functions).


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-24
changelog:
  - we just accept those image name is alpha, digit, _ and -.
  - bug fixed: uncompressed ntfsclone image now can be restored. Thanks to Guy Carpenter <guyc _at_ atgis com au> for reporting and identifying this bug.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-26
changelog:
  - Sleep 5 before reboot/poweroff when clone finishes.
  - add options " -ns, --ntfs-progress-in-server" in drbl-ocs, so that we can save the ntfsclone progress tmp file in the server, therefore the progress can be check in the server (Default in to be put in local /tmp/, which is local tmpfs)


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-27
changelog:
  - bug fixed in drbl-chnthn-functions: different parted gives different outputs, the ntfs/vfat partition is not found in Ubuntu 6.10.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.3-30
changelog:
  - update the help messages of drbl-ocs.
  - add a function turn_off_swap_and_LVM2 to be reused.
  - if drbl-ocs task save/restore is ran not in DRBL client, we won't notify the ocsmgrd.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.0-1
changelog:
  - rewrite drbl-ocs and ocs-functions as drbl-ocs, ocs-sr and ocs-functions. This will be easier to use ocs-sr in client or partition umounted machine.
  - 1step_ocs_restore.sh is removed, not maintained anymore.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.0-2
changelog:
  - add check_if_source_dev_busy() in ocs-functions.
  - before create partition, we will check if it's in drbl client or not. If not, show warning messages.
  - bug fixed: when non-existing partitions are inputted, it will be filtered.
  - check if the partition is busy before creating partitions.
  - add function is_spawned_by_drbl_ocs and use that in ocs-functions to decide some action for ocs-sr.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.0-4
changelog:
  - ps -eo uid,ucmd output format is different in different dists, some with extra space in the beginning. Now is_spawned_by_drbl_ocs should work for all dists.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.1-1
changelog:
  - now ocs-sr can assign ocsroot in command line (-or|--ocsroot DIR).
  - bug fixed: when restore parts, the imagename is ask_user, it will fail due to wrong variable then wrong path. 
  - now we can use dialog to interactivly input the parameters in ocs-sr.
  - add "-p choose" in ocs-function.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.1-2
changelog:
  - rewrite the countdown and confirm mechanism due to default to turn on -c (confirm) option when using select-in-client mode.
  - check if reserved image name (ask_user) is inputted.
  - rewrite drbl-ocs, no more a lot of $1/$2/$3/$4, put them in variables in the beginning.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.1-5
changelog:
  - add check_DIA_set_ESC to let drbl-ocs and ocs-sr can use dialog/whiptail/Xdialog if necessary.
  - rewrite the postrun mechanism as function in ocs-functions.
  - merge some code in S19ocs-run to ocs-function so that ocs-sr can process postrun and other commands.
  - ocs-function honors -y0/-y1 in select-in-client mode.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.1-6
changelog:
  - use language file for some prompts.
  - default to turn on -c (confirm) before saving in select-in-client mode.
  - prevent input dev is empty when saving image, dialog will ask again.
  - a file cnvt-ocs-dev is added to convert the image from hda to sda or vice versa.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.1-7
changelog:
  - update USAGE in cnvt-ocs-dev.
  - drbl-ocs and ocs-functions should keep "MENU PASSWD" for label block "local" in pxelinux config file when -y0/-y1 is set.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.0-1
changelog:
  - support multiple harddrives. From 2.0, the clonezilla image format is different from that in clonzilla 1.x. Now we use something like hda-mbr, hda-pt.sf, hda-chs.sf (was mbr, pt.sf, and chs.sf). The image data (hda1, hda1.ntfs-img...) remains the same format with that in clonezilla 1.x.
  - bug fixed: when restoring "hda1 hda3" in restoreparts, only hda1 is restored.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.0-2
changelog:
  - bug fixed: when saving hda & hdb, the input name ""hda"" ""hdb"" created by dialog is not accpted.
  - bug fixed: when hda and hdb are selected, only partitions hdb* are saved.
  - make cnvt-ocs-dev compatible with clonezilla 2.0 image format


author: Steven Shiau <steven _at_ nchc org tw> 2.0.0-3
changelog:
  - bug fixed: dialog can not run normally when disk containing 2 disks.
  - bug fixed: when 2 disks are chosen to restore, only the first is restored, and unicast/multicast in a mess.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.0-4
changelog:
  - rewrite parameters parsing mechanism in ocs-functions.
  - -x|--interactive is added to ocs-sr.
  - add -p|--mcast-port in ocs-sr, and use that in ocs-functions.
  - we can choose only the disk we want to restore when there are more than 2 disks in an saved image.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.0-5
changelog:
  - drbl-ocs also can choose only the disk we want to restore when there are more than 2 disks in an saved image


author: Steven Shiau <steven _at_ nchc org tw> 2.0.0-7
changelog:
  - put run_post_cmd_when_clone_end "$postrun" inside ocs-sr instead of S19ocs-run.
  - bug fixed: some files are not modified in cnvt-ocs-dev


author: Steven Shiau <steven _at_ nchc org tw> 2.0.0-8
changelog:
  - rewrite funtion ocs_inittab as $node_ip instead of inittab (ocs-functions).
  - let modules loading be run in ocs-sr instead of S19ocs-run.
  - use ocs-related-srv in ocs-functions.
  - use --language en instead of --language 0 to avoid init 0 problem.
  - /etc/ocs/clonezilla.conf is not necessary any more
  - use service ocs-run in client to do save/restore, and ocs-srv-reset in server to reset the server when client boot or shutdown.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-1
changelog:
  - update the comments in ocs-srv-reset.
  - use "both" for ocs_client_trig_type in drbl-ocs.conf and ocs-functions.
  - add an option to keep ocs related serivces in client.
  - this version should work without modifying files in client's system files when clonezilla start, just change the ocs_opt in kernel bootparam, and clonezilla client can work..


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-2
changelog:
  - separate drbl and clonezilla in pxelinux menu, use clonezilla block for clonezilla only. Do not touch drbl block now.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-4
changelog:
  - use tune-clientdir-opt instead of turn-drbl-ssi-mode in ocs-functions.
  - do not use "shift 3" in drbl-ocs, use shift 3 times. Otherwise in some case, it will fail.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-7
changelog:
  - add -y2|--always-restore-default-drbl in clonezilla.
  - if en_US.utf8 or en_US.UTF-8 is found, set it as LANG in ocs-run to avoid dialog distoration.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-9
changelog:
  - variable POST_RUN_DIR is changed to OCS_POSTRUN_DIR, another OCS_PRERUN_DIR is added in drbl-ocs.conf. Now clonezilla also supports pre-run some scripts in $OCS_PRERUN_DIR before clonezilla starts.
  - drbl-ocs, ocs-sr supports -d[0-4].


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-10
changelog:
  - add exit for "ocs-sr -x", and ocs-sr can be save-only or restore-only.
  - new function: a file /opt/drbl/sbin/ocs-iso is added to put clonezilla image into debian-live iso. Therefore we can restore clonezilla image by debian live CD/DVD, DRBL server is not alway necessary for restoring image now.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-11
changelog:
  - bug fixed: help message should be shown before downloading debian live cd for clonezilla (ocs-iso).


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-15
changelog:
  - update usage message in ocs-iso.
  - put checkInodeForDevice, ide_info_drbl and scsi_info_drbl in /opt/drbl/sbin/


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-16
changelog:
  - show estimated target iso file, and will give warnning message when > 4.7GB.
  - validate template iso file by MD5SUM, clean tmp dir if HUP in ocs-iso.
  - ocs-iso will check if file is too large so that mkisofs can not handle that.
  - ocs-iso will give short volume ID if image name is over 32 characters.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-18
changelog:
  - ocs-live-restore and ocs-live-save are added in /opt/drbl/setup/files/ocs.
  - now by running "ocs-iso -s", we can create an iso without clonezilla image. This iso can be use to saved image.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-21
changelog:
  - add an option HALT_REBOOT_OPT in drbl-ocs.conf so that we can control to use force halt/reboot or normal force/reboot.
  - add LC_ALL=C before perl in ocs-functions, get_part_info, cnvt-ocs-dev, drbl-chnthn-functions, and ocs-onthefly.
  - S05kbd-config can load loadkey from /etc/ocs/ocs-live.conf


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-22
changelog:
  - add -f|--on-the-fly to let ocs-iso to write output to CD/DVD writer directly instead of ISO file. Thanks to Louie Chen for providing the method.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-23
changelog:
  - bug fixed: when estimating the size in ocs-iso, we should follow symbolic link (du -L).
  - update usage and comment in ocs-iso.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-24
changelog:
  - remove -p choose in ocs-live-restore, since now default in ocs-sr -x, we will use -p choose.
  - use tarball opt_drbl.tgz to save space and avoid FAT no symbolic link.
  - ocs-sr -x will only list unmounted partition/disk when saving (ocs-functions).
  - add VOL_LIMIT_IN_INTERACTIVE="2000" in drbl-ocs.conf.
  - remove tsize param in ocs-iso.
  - add ocs-live-dev to put Debian live CD + DRBL/Clonezilla programs in USB pendrive.
  - now clonezilla can split images in ntfsclone.


author: Steven Shiau <steven _at_ nchc org tw> 2.0.1-25
changelog:
  - bug fixed: When using pipe stdout in partimage, --volume=0 is a must. Otherwise it will create a file like stdout.000.
  - bug fixed: it's not always /home/partimag in the live media. Therefore replace /home/partimag by $ocsroot in ocs-live-restore ocs-live-save, now when creating iso or live device by ocs-iso or ocs-live-dev, we will put all images into $ocsroot in the target media.
  - add -b|--boot-loader in ocs-live-dev.
  - bug fixed: if target dev is /dev/sda2, grub-install put wrong config.
  - bug fixed: now split volume from ntfsclone can be used in multicast restore.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-1
changelog:
  - default to use -p choose in ocs-sr -x.
  - use ocs-live-save-for-ro & ocs-live-save-for-rw for ocs-iso and ocs-live-dev, respectively.
  - use gzip/bzip2/lzop and split to do compression and split, not the functions in partimage. The split volume file name is like hda1.aa, hda1.ab, hda1.ac...


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-2
changelog:
  - update prompt is ocs-functions.
  - ocs-live-dev=ocs-live-dev+makeboot.sh, now ocs-live-dev can release a zip file for USB stick, later user can download it and make his/her USB stick bootable with FAT16/FAT32 under M$ windows.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-4
changelog:
  - move create-debian-live from drbl.
  - now create-debian-live puts /etc/rc2.d/S99ocs-run to run /live_medis/ocs/ scrpts.
  - move ocs-live-save-for-rw ocs-live-save-for-ro ocs-live-restore from /opt/drbl/setup/files/ocs to /opt/drbl/sbin/
  - clonezilla live now supports Traditional Chinese when restoring and saving.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-6
changelog:
  - bug fixed: ocs_live_run="$DRBL_SCRIPT_PATH/sbin/ocs-live-save-for-rw" instead of ocs-live-save-for-ro


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-8
changelog:
  - add warning for reserved iamge name 1-6, a, b, -b in ocs-functions.
  - bug fixed: since now we use split instead of the split function in partimage, VOL_LIMIT should not be 0 in drbl-ocs.conf. Default to set it as 100GB.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-10
changelog:
  - clonezilla live save and restore both support English/Chinese.
  - use syslinux/isolinux boot menu in clonezilla live, a clonezilla live background png file is added.
  - bug fixed: only selected target partitions will be resized if the resize flag is on.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-11
changelog:
  - if -p true after cloning, do not show the command prompt.
  - bug fixed: unnecessary space when checking LVM in ocs-funtions. Thanks to Sam Soffa for reporting this bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-12
changelog:
  - check some necessary programs (syslinux, grub-install) in makeboot.sh.
  - use variable ocs_logo_img_syslinux instead of ocs_logo_img in ocs-live-dev and ocs-iso.
  - grub menu use color background as default. menus are added. Thanks to Louie Chen.
  - bug fixed: -l should not be used twice in ocs-live-dev.
  - add --no-floppy for grub-install if it's availalbe (ocs-function).


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-13
changelog:
  - default to use root as (hd0,0), and root=/dev/sda1 for usb flash drive in grub config (makeboot.sh).


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-15
changelog:
  - bug fixed: duplicate save in LVM
  - use pipe to stdout in partimage then gzip/bzip2/lzip in save_logv().


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-17
changelog:
  - put settings in drbl-ocs.conf instead of in ocs-iso and ocs-live-deb.
  - if unifont.bgf is found in working directory, just copy it instead of downloading it again in ocs-iso and ocs-live-deb.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-18
changelog:
  - bug fixed: use cat /proc/partitions instead of cp -a to create the partition table file, which is broken in OpenSuSe 10.2.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.0-19
changelog:
  - update hints in ocs-functions.
  - add a program cv-ocsimg-v1-to-v2 to be used for conversion.
  - add --broadcast for drbl-ocs, this can avoid some multicast block problem in network switch.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.1-4
changelog:
  - Clonezilla now can save and restore LABEL/UUID of swap device (partition or LV). This will avoid that cloned GNU/Linux fails to use UUID/LABEL based swap partition in /etc/fstab.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.1-6
changelog:
  - update prompt in ocs-live-dev.
  - check if target_dir and target_parts nothing in function task_restoreparts (ocs-functions).


author: Steven Shiau <steven _at_ nchc org tw> 2.1.1-7
changelog:
  - update comment in ocs-functions.
  - clonezilla now accepts image name like "2007-2-24-img", not only "2007-02-24-img", by using "$(echo $tgt_img_name | grep -E "(^|[[:space:]]+)([1-6ab]|-b)($|[[:space:]]+)")" instead of "$(echo $tgt_img_name | grep -Ew "([1-6ab]|-b)")" in ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-3
changelog:
  - add -d|--debug option for ocs-run so that it's easier to debug.
  - bug fixed: if $ocs_root is in the same disk, it should be excluded when running ocs-sr -x.
  - use function trigger_dd_status_report in ocs-functions for dd clone.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-5
changelog:
  - add usage about ntfs-3g mount message in show-general-ocs-live-prompt (ocs-functions).
  - change create-debian-live to respect the variable setting PKG_FROM_DBN_MINIMAL_NEED and PKG_FROM_DBN_WHICH_OCS_LIVE_NEED in drbl.conf


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-6
changelog:
  - bug fixed: wrongly clean /usr/share/make-live/hooks/minimal in create-debian-live
  - rename minimal_hook as ocs_minimal_hook so it's easier to be identified.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-7
changelog:
  - create-ocs-srv-live is added to create DRBL/Clonezilla server live based on Debian live (not successful yet, squashfs 3.2 is required).


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-8
changelog:
  - Use user space nfs service to overcome squashfs + kernel nfs problem in Clonezilla server live (create-ocs-srv-live). This also has a benefit, the mounted /home/partimage is ready to be seen by client.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-9
changelog:
  - ocs-live reads language setting from /etc/ocs/ocs-live.conf if exists (ocs-functions).
  - use /opt/drbl/setup/files/ocs/ocs.d. instead of single file (ocs-iso, ocs-live-deb).
  - add a localboot menu in clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-11
changelog:
  - we can assign drbl branch in create-ocs-srv-live.
  - add "clonezilla live (safe mode)" in ocs-live-boot-menu for clonezilla live.
  - use variable VGA_MODE_DEF instead of VGA_MODE in drbl-ocs.conf
  - add -e|--title for ocs-live-boot-menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-13
changelog:
  - use ocs-live-boot-menu -m $image_file for all live creating programs.
  - add codes about drbl boot menu in create-ocs-srv-live


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-15
changelog:
  - use memtest from drbl, instead of debian live.
  - create-ocs-srv-live now also create drbl live zip file.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-17
changelog:
  - add casper-getty in boot param for DRBL live.
  - Since account casper works, remove account drbl in DRBL live.
  - use boot menu "failsafe mode" instead of "safe mode" in Clonezilla live.
  - add locale boot menu (zh_TW) in DRBL live.
  - account casper and root password set should be before drblsrv -i and drblpush -i in ocs-srv-live-hook.
  - create-ocs-srv-live can create iso or zip file for CD and USB flash drive, respectively.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-18
changelog:
  - live-package changed, we have to use code name "testing" instead of "etch", otherwise GPG from DRBL won't be added. The problem is in /usr/share/make-live/scripts/14chroot.sh, it will add apt key for testing and unstable, not etch or sid.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-21
changelog:
  - each ethernet card provide 40 clients in DRBL live.
  - force to load xfs and jfs so that gparted can grow filesystem in gparted in DRBL Live.
  - use debconf-communicate to set localepurge in drbl live (ocs-srv-live-hook).


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-22
changelog:
  - remove unnecessary file fdos_1440.img in drbl live zip.
  - reorg /opt/drbl/setup/files/ocs/live-chroot/, add ocs-live.conf and ocs-live-hook-functions.
  - put more info in DRBL-Live-Version inside live CD/zip.
  - unifont.bgf now is in /opt/drbl/lib in DRBL and Clonezilla live (was in /opt/lib/).
  - unifont.bgf will be downloaded and put in /opt/drbl/lib in DRBL live.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-23
changelog:
  - use variable live_pkg_hook_dir to be prepared for live-helper in drbl-ocs.conf.
  - bug fixed: mlterm installation should be done before drblpush in ocs-srv-live-hook.
  - do not remove xterm, now we use update-alternatives to set x-terminal-emulator as mlterm.
  - add toram option in boot menu for DRBL/Clonezilla live (ocs-live-boot-menu).


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-24
changelog:
  - add xfs, jfs, fuse moduels for drbl live clients.
  - use more variables from drbl.conf in ocs-srv-live-hook.
  - boot title renamed as "DRBL Live" instead of "DRBL server live".


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-27
changelog:
  - force to create locale en_US.UTF-8 if it does not exist in ocs-run, S05kbd-conf, and S30ocs-live-menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-30
changelog:
  - fix the prompt in ocs-live-save-for-ro. If mount point is a symbolic, not dir, sshfs will complain it's nonempty. Although this is for readonly device (CD), but if user choose to use "toram", then it becomes in the RAM, which is writable (ocs-functions).


author: Steven Shiau <steven _at_ nchc org tw> 2.1.2-31
changelog:
  - bug fixed: /etc/exports should be kept before "apt-get --purge remove nfs-kernel-server" in DRBL live.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.3-1
changelog:
  - not only 1-6, a, b, -b are reserved, but also 0, 7-9, single and s when used for image name.
  - bug fixed: ocs-onthefly is broken (LVM support not yet).
  - update some prompt in ocs-functions.
  - use function to deal with UUID/Label of swap.
  - remove function resize_partition in ocs-functions, which is obsolete for a long time, now we use $DRBL_SCRIPT_PATH/sbin/resize_part. 
  - use global variable partimage_support_fs in drbl-ocs.conf and ocs-functions.
  - bug fixed: it's drbl-partimage, not partimage in required in clonezilla.spec.
  - bug fixed: get_part_info can get the filesystem info about LVM now.
  - bug fixed: swap LV should not saved with dd, just UUID/Label is saved.
  - use function image_save for LVM.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.3-3
changelog:
  - bug fixed: for some version of nc, it's necessary to add -d when receiving data (ocs-onthefly).
  - speedup get_part_info.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.3-4
changelog:
  - bug fixed: blkid might have 2 TYPE: SEC_TYPE="ext2" TYPE="ext3" (get_part_info)
  - better method to parse UUID and LABEL for swap dev (ocs-functions)
  - add check_partimage_partition_integrity before saving partimage partition.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.3-6
changelog:
  - show message if UUID and LABEL of swap dev are not found when saving image.
  - add turn_off_swap_and_LVM2 before choosing dev to save in ocs-sr.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.4-1
changelog:
  - bug fixed: /home/casper/Desktop owner should be casper in drbl live.
  - typos ms_choose_* fixed as msg_choose_*.
  - we can choose to skip lvm in get_input_dev_name in ocs-functions.
  - ocs-live and prep-ocsroot is added for clonezilla-live, now with ocs-live it's much easier to mount device/sshfs/smbfs as /home/partimag.
  - update ocs-live-hook-functions, using fset to set the flag seen for localepurge.
  - update create-debian-live and create-drbl-live to work with stable etch.
  - option "-i|--assign-version-no" is added in create-drbl-live, ocs-iso and ocs-live-dev to set DRBL/Clonezilla live version no.
  - rename output file name clonezilla-live-usb-*.zip as "clonezilla-live-*.zip in ocs-live-dev.
  - ocs-live-save is added to replace ocs-live-save-for-r[ow].


author: Steven Shiau <steven _at_ nchc org tw> 2.1.4-2
changelog:
  - /opt/drbl/setup/files/ocs/ocs.d/S30ocs-live-menu is renamed to /opt/drbl/sbin/ocs-live-run-menu
  - ocs.d/ is renamed as ocs-live.d/
  - now clonezilla live is run in casper login shell (only in tty1) instead of rc2.d/S99ocs-live-run. Therefore we can use different vt (ctrl-alt-f[2-6] to diagnose or whatever you want.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.4-3
changelog:
  - add -l|--drbl-live-branch option for create-drbl-live and create-debian-live.
  - add warning message about mounting NTFS partition by ntfs-3g.
  - rename ocs-minimal-hook as ocs-live-hook.
  - rename dir live-chroot as live-hook.
  - now the root passwd of drbl/clonezilla live can be assigned in ocs-live.conf, random password is also supported.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.4-6
changelog:
  - do not run reboot/shutdown in ocs-live-restore or ocs-live-save, run them after bterm is done, i.e. in text console. (ocs-live-run-menu)
  - do not set root's passwd in drbl/clonezilla live, just follow Debian live. (This can be changed in ocs-live.conf).


author: Steven Shiau <steven _at_ nchc org tw> 2.1.4-7
changelog:
  - wait for enter press before showing df -h result in prep-ocsroot in skip.
  - bug fixed: when ocs_lang is en, LANG should be exported as en_US.UTF-8, otherwise there is zh_TW fonts in dialog (ocs-live-run-menu).
  - wait for press enter before exit when ntfs filesystem is found corrupt before saving.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-1
changelog:
  - bug fixed: check_if_input_device_exist should exit if input dev is nothing (ocs-functions).
  - ocs-live-save is renamed as ocs-live-general.
  - add -x (interactive mode) in ocs-onthefly. 
  - MAJOR BUG FIXED: when a stale ocs_opt in pxelinux.cfg/default, drbl-ocs will fail to overwrite the stale ocs_opt if run it again.
  - now use /opt/drbl/sbin/ocs to be the default program when choose to use "select-in-client" in clonezilla-start.
  - bug fixed: batch mode failed in ocs-sr -b ... Thanks to Alexander Scholler <alexander.scholler _at_ augsburg de>


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-2
changelog:
  - suppress the error message when querying drbl-etherboot file list in ocs-iso.
  - keep opt/drbl/{doc,setup,etc} in create_live_media_opt_drbl_tarball


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-6
changelog:
  - rewrite part of ocs-functions with those partition_table related.
  - Major bug fixed: grub-install fails if there is a separate boot partition. Now we will mount root partition if there is a separate boot partition before running grub-install (ocs-functions). This only failed in FC6 and CentOS 5.0 or later version (maybe), now no more.
  - Use better detection in function find_ocsroot_dev_description() in prep-ocsroot.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-8
changelog:
  - bug fixed: when disk to disk clone in ocs-onthefly, the "-g auto" should only guess the disk in target disk.
  - add an experimental branch in create-debian-live.
  - update function ask_time_or_clients_to_wait in ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-9
changelog:
  - add an option not to start network connection in clonezilla live (ocs-live-boot-menu)
  - increase the timeout as 30 secs in clonezilla live boot menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-10
changelog:
  - minor bug fixed: create-debian-live prompt.
  - umount $output_dev after some commands (like sfdisk -R $output_dev_hd, which will cause gnome/kde to auto mount the partition for USB flash drive) in makeboot.sh.
  - use memtest instead of memtest86, since if it's USB stick with FAT filesystem, will be unable to load the memtest file.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-11
changelog:
  - bug fixed: disk to remote disk clone failed in ocs-onthefly.
  - bug fixed: resize should only run in the target partition instead of all partitions in ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-13
changelog:
  - bug fixed: In Ubuntu 6.10, when saving a disk with 10 or more partitions, it will faild. Due to the output sfdisk with 10 or more partitions is not in the standard format. Thanks to Tom Ed (vi0lam0n) for identifying this bug: https://sourceforge.net/forum/message.php?msg_id=4289601


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-15
changelog:
  - bug fixed: Unable to put the ocs_opt in pxelinux menu file when using Clonezilla box mode and choosing only part of the clients (except 1st one in the list) to save or restore. Thank Dave Haakenhout for reporting this bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-16
changelog:
  - add an option to use backports repository and an option to assign kernel package in create-debian-repo.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-17
changelog:
  - bug fixed: vfat is added in partimage_support_fs in drbl-ocs.conf. Thanks to Remi Turboult for reportiing this bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-19
changelog:
  - Bug fixed: If image is uncompressed and ocsroot is on M$ windows samba server, clonezlla will fail to identify the image format. Thanks to <ericj.tw _at_ gmail.com> for reporting this bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.5-21
changelog:
  - bug fixed: "-s" should not be used as OCS_OPT, which will make debian/ubuntu fail to enter clonezilla mode (select in client). Thanks to kibidouil for reporting this bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.6-1
changelog:
  - add an option so that a custom-ocs file can be put in clonezilla live.
  - a sample program custom-ocs which backup or restore /dev/hda1 to/from /dev/hda5 is in /opt/drbl/sample/custom-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.6-2
changelog:
  - bug fixed: get_existing_partitions_from_img should not skip mounted partition in the server, since it's nothing to do with that in clients (ocs-functions). Thanks to cyleen2345 _at_ yahoo com tw for reporting this bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.6-4
changelog:
  - Bug fixed: Disable kudzu to telinit 5 if it's in rc1.d for clonezilla (ocs-related-srv)
  - Add comments in /etc/ocs-live.conf created by ocs-iso or ocs-live-deb.
  - Default to enter command prompt when running "run_post_cmd_when_clone_end choose" after clone. Thanks to Ron Kelley (rkelleyrtp) for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.6-6
changelog:
  - add option -ntfs-ok|--ntfs-ok for drbl-ocs and ocs-sr. With this option, we can force to save the partition or aviod the false alarm caused by ntfsresize.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.6-7
changelog:
  - bug fixed: device description was wrong when running prep-ocsroot in Clonezilla live (booting from CD).
  - use --menu instead of --radiolist in most of the dialog programs.
  - no more using basename and dirname in drbl-ocs.conf.
  - debian iso template url and filename can be assigned in ocs-iso and ocs-live-dev.
  - add ftpfs in prep-ocsroot.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.6-9
changelog:
  - use shorter directory name /images instead of /work/smb (for samba) or /home/partimage (for ftpfs) in prep-ocsroot.
  - add option -b in resize_part.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.7-1
changelog:
  - bug fixed: $drblroot/$node_ip/etc/ocs/ is created if it's full drbl/clonezilla mode so that the ocs_param.conf will exist in client. It's easier to debug clonezilla in client.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.7-4
changelog:
  - HALT_REBOOT_OPT="" instead of HALT_REBOOT_OPT="-f -n" in drbl-ocs.conf, since  without a normal soft-shutdown, wake-on-LAN might fail. Thanks to Dave Haakenhout for reporting this bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.8-1
changelog:
  - ocs-function does not need scsi_info_drbl and ide_info_drbl anymore.
  - checkInodeForDevice is not required since partimage 0.6.6 can run batchly now.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.8-2
changelog:
  - support samba domain in prep-ocsroot.
  - update language files.
  - add option -o0/-o1 for --run-prerun-dir and --run-postrun-dir.
  - move "run prerun" and "run postrun" right after confirmation instead of before it.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.9-1
changelog:
  - cciss raid card is supported. Thanks to Ron Kelley <rkelley _at_ employees org> for providing idea and patches.
  - remove unnecessary include files and other junk/extra files in mkswap-uuid.


author: Steven Shiau <steven _at_ nchc org tw> 2.1.9-2
changelog:
  - add e2fsprogs-devel (uuid/uuid.h), glibc-devel (sys/user.h) and glibc-kernheaders (asm/page.h) in BuildRequires in rpm spec file.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.0-1
changelog:
  - update Makefile for mkswap-uuid.
  - bug fixed about clonezilla.spec.
  - extract mkswap-uuid from clonezilla, make it as a standalone package.
  - remove ocs-srv-reset and related action.
  - a sample program is added: create-2P-pt-sf. Put it in /opt/drbl/share/ocs/prerun/ and used with -o0 -k -r, then it can auto create 2 partitions, the size of 1st partition is total disk size - 3 GB, the 2nd partition is swap with 3 GB.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.0-5
changelog:
  - bug fixed: when mounting samba server as clonezilla home, the path should contain only / instead of //. Thanks to Jun-Ye Sun.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.0-6
changelog:
  - another sample script is added: create-1P-pt-sf, which will automatically create a partition with size = disk size, and the partition ID is ntfs (7).
  - minor bug fixed in create-2P-pt-sf.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-1
changelog:
  - typos fixed in comments in ocs-functions.
  - A network config program: ocs-netconf added.
  - The network config can be done in prep-ocsroot also.
  - Bug fixed: swap partition in lvm was not parsed correctly in ocs-onthefly.
  - Remove "No network" option in the boot menu in clonezilla live, since now the network setup is done when it's necessary (like sshfs, nfs...).
  - The image name is shown in the boot menu when ocs-iso/ocs-live-dev is run with image built in iso/zip.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-2
changelog:
  - minor change of message in ocs-live-netcfg.
  - add a hint to use space key to mark the selection in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-7
changelog:
  - update ocs-live-netcfg. Make dialog look better.
  - create the directories $OCS_PRERUN_DIR and $OCS_POSTRUN_DIR in ocs-iso and ocs-live-dev.
  - update ocs-srv-live-hook and ocs-live.conf for drbl live. 1 NIC should be able to run DRBL server.
  - do not write network config file in drbl live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-9
changelog:
  - bug fixed: only with clonezilla installed, we can load variable $DEBIAN_ISO_ETC_PATH_DEF in ocs-srv-live-hook.
  - auto login accounts are created in drbl-live.sh instead of ocs-srv-live-hook.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-11
changelog:
  - just create 1 client for each ethernet port in drbl live. The cient number is assigned in ocs-live.conf and is applied to drbl-live.sh (it is run to start drbl service after the live cd is booted).


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-12
changelog:
  - Add another checking mechanism by parted to check if the created partiton is ok or not, since sfdisk with -f won't return correct code (ocs-functions). The existing partition table in disk will also be checked by parted before saving the clonezilla image. Thanks to Barny Sanchez for reporting this bug.
  - A mechanism is added to check if the blocks per group in ext2/3 is 32768 or not. If not, show error messages then exit. Ref: http://sourceforge.net/forum/forum.php?thread_id=1833628&forum_id=663168


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-13
changelog:
  - A patched partimage (from Thomas Tsai) will work for non-32768 blocks per group in ext2/ext3. Therefore the check mechanism check_blocks_per_group_of_ext2_3 is commented.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-15
changelog:
  - add -o|--normal-menu so that even if a clonezilla image is inserted in clonezilla live restored iso, the menu of ocs-sr can show menu of save mode.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-17
changelog:
  - 4 params can be assigned as kernel params in Clonezilla live: (1) ocs_lang (for language, ex: en, tw.UTF-8) & ocs_live_keymap (For keyboard, Ex: none) (2) ocs_sr_opt (to be run with ocs-sr) and ocs_onthefly_opt (to be run with ocs-onthefly) in clonezilla live. If one of them is assigned, clonezilla will run ocs-sr or ocs-onthefly according to the param. i.e. the normal interactive mode of clonezilla live won't be run. For example, you can put the following in the boot param: ocs_lang=en ocs_live_keymap=NONE ocs_sr_opt="-g auto -c restoredisk IMAGE1 hda", so when clonezilla live boot, it will use English environment, default (US) keyboard layout, and restore IMAGE1 into hda. Here the IMAGE1 should exist in the clonezilla live media.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-20
changelog:
  - Before using dhclient in ocs-live-netcfg, we create /etc/resolv.conf to suppress the warning. Since /etc/resolv.conf is removed when Debian Live is created by live package.
  - in ocs-srv-live-hook, we clean the template node and tarballs: (1) save the space (2) if user uses different subnet for NIC, the template directory (Ex: /tftpboot/nodes/192.168.100.1) and tarball are useless. Since we will re-run drblpush in drbl-live.sh after drbl live boots. They will be created again.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-21
changelog:
  - Those .desktop files are moved to /opt/drbl/setup/files/misc/desktop-icons/drbl-live (ocs-srv-live-hook).


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-22
changelog:
  - portmap and nfs-common are started in drbl/clonezilla live if not started (prep-ocsroot).
  - ocs-srv-live.sh was added.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-23
changelog:
  - Network card menu won't appear in German in ocs-live-netcfg.
  - A mechanism was added to replace kernel mode nfs by unfs or not.
  - Remove BuildRequires in clonezilla.spec.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-29
changelog:
  - update prompt in ocs-live-netcfg.
  - enter shell instead of closing windows after clonezilla starts in ocs-srv-live.sh. This will avoid udp-sender process is killed by terminal.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-32
changelog:
  - add --no-restore-mbr when restoring in custom-ocs.
  - highlight the warning after clonezilla server edition is started in drbl live.
  - assign language en_US for drblsrv/drblpush in ocs-srv-live-hook.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-34
changelog:
  - provide a chance to run ntfsfix in clonezilla. 
  - show-ocs-live-save-ro-prompt is removed from ocs-functions and ocs-live-help.
  - rewrite the prompt for clonezilla live when user want to re-run it again.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-40
changelog:
  - "--fast" was added for gzip compression in clonezilla.
  - show ethx link status and model in ocs-live-netcfg. Thanks to Les Mikesell for this idea.
  - if network is not configured, ocs-live-netcfg will ask if run again.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-44
changelog:
  - sort the network device in ocs-live-netcfg.
  - prompt partition table is recreated if -k is not chosen when restoring.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-46
changelog:
  - warning messages of $msg_option_k_is_not_chosen_part_table_will_be_recreated" is only shown in restoreparts.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-48
changelog:
  - update the comments in /etc/ocs/ocs-live.conf created by ocs-iso and ocs-live-dev.
  - bug fixed: partition id=82 will be tested if it's really a swap partition or Solars filesystem.
  - now it's possible to force to save ntfs filesystem even if it's dirty if user want to do that.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-51
changelog:
  - ocs-srv-live.sh updated with newer drbl-live.sh, i.e. --no-prompt-drbl-live is used when running drbl-live.sh.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-52
changelog:
  - Unmount Clonezilla home when starting over in clonezilla live. Thanks to João Santos.
  - If ntfsclone_extra_opt is assigned, show the warning.
  - Bug fixed: -live-kernel-pkg was an invalid option for create-drbl-live. Thanks to Louie Chen.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-53
changelog:
  - Bug fixed: hfs+ is not supported by partimage. Function is_partimage_support_fs in ocs-functions was buggy about that. Thanks to Justin Fitzhugh from mozilla.com.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.1-54
changelog:
  - A new mechanism is added so that the partition in GPT format can be read, i.e. use the /proc/partitions instead of the output from "sfdisk -d".


author: Steven Shiau <steven _at_ nchc org tw> 2.2.2-1
changelog:
  - A new option was added in Clonezilla: -q1 (--force-to-use-dd) was added. Therefore now we can force to use dd to save any filesystem. Thanks to Justin Fitzhugh from mozilla.com for this idea.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.2-4
changelog:
  - Help messages about -q1|--force-to-use-dd was added.
  - Bug fixed: large number of disks and partitions will be listed and can be scrolled down. Thanks to simon (selisha) for reporting this bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.2-6
changelog:
  - create-ubuntu-live was added (not finished).
  - ocs-live-hook-functions was updated with create-ubuntu-live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.2-7
changelog:
  - Bug fixed: drbl branch was not correct set in create-ubuntu-live.
  - Switch to use live helper instead of live package. Thanks to Louie Chen for providing patches.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-1
changelog:
  - Bug fixed: create-debian-live was broken for kernel in live-experimental. Now it should work for live-helper.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-3
changelog:
  - live-package related codes are removed.
  - Bug fixed: initrd1.img instead of initrd1.gz in drbl-ocs.conf.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-4
changelog:
  - Bug fixed: kernel & initrd are in /casper now in ocs-live-dev.
  - Bug fixed: memtest, fdos menu were not on created clonezilla live.
  - Prompt was updated in prep-ocsroot.
  - Use "dpkg-reconfigure console-data" instead of kbd-config.
  - Put most of the boot-related images in /casper in clonezilla live.
  - Improvement: vmlinuz and initrd in /boot in filesystem.squashfs are not necessary for Live CD and USB stick, so removed. This will reduce file size by about 7 MB. Thanks to Louie Chen.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-8
changelog:
  - Better codes for finding $LIVE_MEDIA in clonezilla live.
  - Put S99start-ocs-live in rcS.d instead of rc2.d because of Ubuntu in Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-9
changelog:
  - The filename of kernel and initrd are searched, not fixed in Clonezilla live.
  - Apply the solution from https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/65230 to fix the bug about login start too early in ubuntu live.
  - Bug fixed: LIVE_MEDIA initial value should be none.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-10
changelog:
  - Test if /etc/event.d exists or not before modifying them in ocs-live-hook-function.
  - Improvement: live helper from sid using /live instead of /casper for system files. ocs-iso and ocs-live-dev will automatically find the path.
  - Now live boot param will be parsed from template iso so that ocs-iso/ocs-live-dev can assign the right boot param (Ex: boot=live union=aufs).


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-11
changelog:
  - Bug fixed: empty dir $ocsroot will be removed first if we want to make a link in the "dirname $ocsroot".


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-12
changelog:
  - Improvement: add more param for failsafe mode in ocs-live-boot-menu.
  - Since if the template iso for clonezilla live is built from Ubuntu, we have to force to add username=ubuntu in the isolinux.cfg. Otherwise boot will fail.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-13
changelog:
  - Bug fixed: LVM device file was not converted by cnvt-ocs-dev.
  - create-ubuntu-live should be ready for Ubuntu 7.10 with some bug fixed packages in live-experimental in DRBL repository.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-14
changelog:
  - Bug fixed: For clonezilla live based on Ubuntu, modules fbcon and vesafb should be included in live-initramfs if they are modules (especially in Ubuntu).


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-15
changelog:
  - Prompt in create-ubuntu-live was updated.
  - A comment was added for /etc/initramfs-tools/modules in live-initramfs.
  - To avoid this bug: https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/129910 in clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-16
changelog:
  - Test /etc/modprobe.d/blacklist-framebuffer before modifying it.
  - append username=ubuntu in create-ubuntu-live. Thanks to Louie Chen.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-17
changelog:
  - Clonezilla version number is shown in the boot menu. Thanks to evilmrb for this idea.
  - Help messages in create-ubuntu-live were updated.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.3-18
changelog:
  - ocs-functions was polished. More functions were used.
  - ocs-run was polished.
  - Some codes related about partclone (especially clone.hfsp) were added in ocs-functions. By default it won't run.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-1
changelog:
  - An experimental option -q2 for clonezilla was added (Priority: ntfsclone, partclone > partimage > dd).
  - An global variable partclone_support_fs was added in drbl-ocs.conf.
  - Partclone was added for hfs+, reiser4, ext2, ext3 and reiserfs. Now we can clone Intel Mac efficiently.
  - An helper file ocs-rm-win-swap-hib was added to clean swap and hibernation files in M$ windows system before saving. Thanks to Kristof Vansant for this idea.
  - Two more options -t1|--restore-raw-mbr and -rm-win-swap-hib|--rm-win-swap-hib were added for drbl-ocs and ocs-sr.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-2
changelog:
  - Partclone was installed when creating debian/ubuntu template for clonezilla-live.
  - Only when /sbin/start-stop-daemon.REAL exists, we will run apt-get -y --purge remove cdebootstrap-helper-diverts.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-3
changelog:
  - drbl.conf was put into hook dir in create-ubuntu-live.
  - An /etc/fstab will be touched in ocs-live-hook for debian/ubuntu live.
  - Variable BUILD_SYSTEM in /etc/live.conf in chroot will be updated in hooks.
  - create-ubuntu-live was updated so that it's possible to run for hardy.
  - Typo fixed: For NFS mount, "Mount Samba server" was fixed as "Mount NFS server" in prep-ocsroot.
  - Bug fixed: Custom LiveCD failed in some case. (https://sourceforge.net/forum/message.php?msg_id=4706371) Thanks to ser_kan and micahboggs.
  - A New program ocs-create-gpt was added.
  - Codes to deal with gpt partition was added in ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-5
changelog:
  - Comments in ocs-onthefly was updated.
  - If $LIVE_MEDIA is not found, not exit, just warning in ocs-functions. Since it's maybe run in ocs-onthefly.
  - When saving partitions, the partition from which disk will be shown in ocs-sr.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-6
changelog:
  - Clonezilla live ubuntu based now uses generic kernel instead of i386 (create-ubuntu-live).
  - The content of file parts in clonezilla image is used for disk restoration instead of the results from [hs]dx-pt.sf (ocs-functions).
  - Use set command instead of toggle of parted in ocs-create-gpt.
  - ocs-create-gpt was updated for partition name with spaces.
  - Use dd to backup and restore GPT in ocs-functions instead of parted, since GUID in GPT is unique.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-8
changelog:
  - create-ubuntu-live can use live-helper_1.0~a37 from Debian Sid now.
  - By default, we create hardy live in create-ubuntu-live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-10
changelog:
  - create-ubuntu-live was updated for newer kernel in Ubuntu 8.04 beta.
  - -k is checked when restoreparts in ocs-sr and dcs.
  - Partitioin will be checked if it exists before restoring image on it.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-11
changelog:
  - Bug fixed: If clonezilla image is on Samba disk, LVM restoration will fail. Thanks to Thanks to Gerald HERMANT <ghermant _at_ astrel fr> for reporting this bugs.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-13
changelog:
  - Set hardy_release_kernel_ver="2.6.24-8" in create-ubuntu-live.
  - Show more info when chosing disk or partition in savedisk or saveparts.
  - Add more specific descriptions and an option for 640x480 VGA mode in ocs-live-boot-menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-16
changelog:
  - Bug fixed: When "ocs-iso -s" or "ocs-live-dev -c -s" was run in Clonezilla live, etherboot and freedos image were not copied. Thanks to Spiros Georgaras.
  - Suppress the error messages if /etc/live.conf can not be grepped in function update_build_system_in_etc_live_conf in ocs-live-hook-functions.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-18
changelog:
  - Prompt messages in Clonezilla live boot menu were updated.
  - More prompt about [sh]d[a-z] descriptions in clonezilla dialog were added.
  - hardy_release_kernel_ver="2.6.24-10" in create-ubuntu-live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-19
changelog:
  - -t|--batch was added in create-ubuntu-live.
  - Bug fixed: On Ubuntu 7.10 with newer mkisofs, recovery CD was buggy without extra / in ocs-iso.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-20
changelog:
  - hardy_release_kernel_ver="2.6.24-11" in create-ubuntu-live.
  - A new option "-x, --extra-boot-param" was added in ocs-iso and ocs-live-dev.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-21
changelog:
  - release_kernel_ver will be automatically get from repository.
  - Two parameters (-m|--mirror-url, -s|--mirror-security-url) were added in create-ubuntu-live.
  - Bug fixed: /opt/drbl/sbin/ocs-live-run-menu permission shoud be checked by sudo in ocs-live-hook-functions.
  - Now ocs-live-dev will use syslinux.exe and makeboot.bat from DRBL, no more downloading and no more makeboot.exe.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-26
changelog:
  - Umount chroot/dev/pts before create ubuntu live.
  - create-drbl-live is based on live helper now.
  - syslinux related files are in /syslinux now for clonezilla live or drbl live zip.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-27
changelog:
  - Set hardy_release_kernel_ver_def="2.6.24-12" in create-ubuntu-live.
  - Some files to create gparted live were added (not finished).
  - ocs-live-boot-menu can create menus for drbl live, clonezilla live and gparted live now.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-30
changelog:
  - Install xserver-xorg-video-all in gparted live.
  - Typos fixed: makeboot.exe should be makeboot.bat in the prompt of create-drbl-live and ocs-live-dev.
  - A parameter -s was added to ocs-live-boot-menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-31
changelog:
  - zh_TW boot menu for syslinux was removed in gparted live.
  - ocs-functions was updated with more prompts when target disk is not found.
  - More info about disk or partition were added before saving or restoring an image.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-33
changelog:
  - An option dirty_hacking_remove_files_for_ocs_live was added in ocs-live.conf so that when we create clonezilla live template those man/doc files can be removed. By default we will remove man/doc files in Clonezilla live now.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-34
changelog:
  - Set LH_MEMTEST=disabled, i.e. no memtest from debian or ubuntu when creating drbl/clonezilla live, we will use the one from drbl since it's newer.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-35
changelog:
  - Bug fixed: sda10, sda11... were not mapped for the partition /dev/cciss/c0d0p10... Thanks to Bob Dingman for this bug report.
  - --includes "$ocs_live_script_dir" was removed in lh_config param in create-debian-live, create-drbl-live and create-gparted-live since we copy it config/chroot_local-includes.
  - /doc is excluded in those create-*-live and ocs-iso/ocs-live-dev.
  - Live hook files are in /chroot/live-hook-dir instead of / in chroot.
  - ocs-srv-live-hook was renamed as drbl-live-hook.
  - create-gparted-live is ready for Lenny-based. Thanks to Louie Chen.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-37
changelog:
  - GParted locales are kept in filesystem.squashfs in gparted live.
  - Language and keymap selection were included in gparted live.
  - Some Asian fonts were added in gparted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-38
changelog:
  - Bug fixed: regression in create-ubuntu-live.
  - Bug fixed: space missed in ocs-live-hook-functions.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-40
changelog:
  - Bug fixed: https://sourceforge.net/forum/message.php?msg_id=4861197. Thanks to Francisco Gonzalez and Rob Wynne for reporting this bug.
  - Bug fixed: swappt-*.info was not converted by cnvt-ocs-dev.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-41
changelog:
  - Use live-initramfs instead of casper in create-gparted-live.
  - Bug fixed: keymap was not set in X as system keymap in gparted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-43
changelog:
  - Use a smaller font ttf-arphic-newsung instead of ttf-arphic-uming in create-gparted-live.
  - An option of port for sshfs was added in prep-ocsroot. Thanks to Rob Wynne for this idea.
  - Allow nonempty mountpoint in sshfs in clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-45
changelog:
  - hardy_release_kernel_ver_def="2.6.24-14" in create-ubuntu-live.
  - For lenny, mksquashfs dropped -nolzma, so rm this opton in create-gparted-live.
  - Set numberlock on when booting for drbl/clonezilla/gparted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-46
changelog:
  - create-gparted-live, create-debian-live, create-drbl-live and create-ubuntu-live now are based on live-helper 1.0-a42.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-48
changelog:
  - /lib/modules/$KVER/lib should not be removed in gparted live hook, in Lenny we need lib/zlib_*/ for isofs. Thanks to Louie Chen.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-49
changelog:
  - GParted live maintainer is listed in boot menu in gparted live.
  - Hints were updated in create-ubuntu-live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-50
changelog:
  - "noprompt" was added for live USB.
  - create-*-live now all use live-initramfs instead of casper.
  - All the auto login accounts in gparted/clonezilla/drbl live are "user" now. No more "casper" or "ubuntu". Since it's confusing to use acccount "casper" while it's live-initramfs, not casper.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-51
changelog:
  - A dummy file /var/log/dmesg was preseeded to avoid some daemon complaining.
  - Sleep 1 sec before gparted is started in gparted live.
  - Bug fixed: When swap partitions number > 2, and in /dev/[hs]d10 or more, restorartion failed. Thanks to frankiehung for reporting this bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-52
changelog:
  - Make those log files size 0 but keep them in those live images, otherwise if we clean them, some daemon will complain.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-53
changelog:
  - Prompt message was updated in prep-ocsroot.
  - Rewrite some parts of ftpfs to test curlftpfs in prep-ocsroot. ftpfs is still disabled in prep-ocsroot.
  - Those files create-*-live (Etch based) now can use kernel 2.6.24-etchnhalf.1 and aufs.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-54
changelog:
  - By default we turn on batch mode for resize_part in ocs-functions.
  - Do not put EtchAndAHalf in the apt sources.list in those create-*-live.
  - In DRBL live, /lib/udev/vol_id is linked to /sbin/vol_id.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-55
changelog:
  - -G has higher (from partition table) priority than -g (from kernel) for sfdisk to dump harddrive geometry in ocs-functions (https://sourceforge.net/forum/message.php?msg_id=4902424). Thanks to Orgad Shaneh for this idea.
  - Bug fixed: When /home/partimag is sshfs, the prompt message in prep-ocsroot was not correct in clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-56
changelog:
  - Bug fixed: In DRBL live, /tftpboot/node_root/bin/hostname was deconfigured by lh_chroot_hostname. We have to move /tftpboot/node_root/bin/hostname.orig as /tftpboot/node_root/bin/hostname.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-60
changelog:
  - ocs-related-srv was updated for Mandriva 2008.1, since now the service is nfs-common instead of nfslock.
  - Minor changed in ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.4-61
changelog:
  - Bug fixed: When checking swap or Solaris partition (ID=82), should not detected the local partition. Use the parted output info instead.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.5-1
changelog:
  - resize partition was moved to before grub install.
  - A new program ocs-expand-mbr-pt was added to expand partition table of target disk. Now it's possible to clone small disk to larger disk proportionally (-k1 option) with filesystem matchs partition size.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.5-2
changelog:
  - *-pt.parted was not converted in cnvt-ocs-dev.
  - ocs-expand-mbr-pt was refined, with -b|--batch option added.
  - Function usage was added in create-cciss-mapping.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.5-7
changelog:
  - create-gparted-live was updated for GParted 0.3.7: hal package was added. Default to use lenny since gparted 0.3.7 requires hal-lock which does not exist in Etch.
  - Network drivers were kept in GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.5-8
changelog:
  - Some codes about mounting iSCSI dev were added in prep-ocsroot, however, not ready.
  - gPXE boot option was added in Clonezilla live boot menu.
  - Put makr " for cifs usename in prep-ocsroot.
  - ocs-onthefly was improved by adding a function to clone small disk to larger one.
  - Bug fixed: ocs-onthefly failed to clone 2nd and the rest of LV remotely, due to the file descriptor problem.
  - Bug fixed: LVM multicast restoring failed for partclone image.  
  - Use file descriptor 3 for LV restoring in ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.5-10
changelog:
  - Bug fixed: harddisk serial number might be shown with white space, which made dialog/whiptail fail.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.5-11
changelog:
  - Parameters of ocs-onthefly were modified to be the same with ocs-sr, i.e. -k/-k1/-k2, and -r.
  - By default, we back to use partimage instead of partclone in ocs-onthefly due to some problems with xfs.
  - xfs and jfs growing functions were added in resize_part.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.5-12
changelog:
  - Bug fixed: harddisk serial number might be shown with white space for IDE device, which made dialog/whiptail fail.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.5-13
changelog:
  - Bug fixed: ocs-onthefly failed to clone disk hda to disk hdb remotely.
  - Bug fixed: ocs-onthefly should not automatically create swap partition.


author: Steven Shiau <steven _at_ nchc org tw> 2.2.5-14
changelog:
  - Japanese and French languages options were added.
  - ocs-functions was updated due to program langchooser was renamed as drbl-langchooser.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-1
changelog:
  - /usr/share/locale/* are kept in Clonezilla live and GParted live now.
  - File kbdconf-bterm was renamed as ocs-kbdconf-bterm.
  - Fine tune the programs: ocs-live-run-menu, drbl-langchooser, S05kbd-conf, ocs-kbdconf-bterm
  - File resize_part was renamed as ocs-resize-part.
  - File makeboot.sh was renamed as ocs-makeboot.
  - File get_part_info was renamed as ocs-get-part-info.
  - File ocs was renamed as clonezilla since ocs will conflict with other package.
  - Files lvm2-start.sh and lvm2-stop.sh were moved from package drbl and renamed as ocs-lvm2-start and ocs-lvm2-stop, respectively.
  - File socket.pl was moved from package drbl here and renamed as ocs-socket.
  - File drbl-chnthn is renamed as ocs-chnthn.
  - File drbl-chnthn-functions is renamed as ocs-chnthn-functions.
  - Bug fixed: extra shift was removed in --extra-boot-param in ocs-iso. Thanks to Orgad Shaneh.
  - Typo fixed: Was 640x640 in ocs-live-boot-menu. Thanks to Orgad Shaneh.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-3
changelog:
  - Some comments and prompts were updated in ocs-live-dev.
  - live-hook/ocs-live.conf is renamed as live-hook/ocs-live-hook.conf to avoid confusion.
  - Keep locales for ja_JP.UTF-8 and fr_FR.UTF-8 in drbl/clonezilla live.
  - Use full path command to run with bterm in ocs-live-run-menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-4
changelog:
  - Bug fixed: live-hook/ocs-live.conf is renamed as live-hook/ocs-live-hook.conf, should change that in gparted live hook.
  - Forcevideo was updated to avoid the message: "md5sum: /etc/X11/xorg.conf: No such file or directory".
  - Packages gconf2-common gconf2 libgconf2-4 should not be removed n gparted-live-hook since grandr need them.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-6
changelog:
  - Improve the selection using "menu" of dialog when mounting local dev as /home/partimage in prep-ocsroot.
  - Remove X configure in drbl-live-hook. A package grandr was added.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-8
changelog:
  - Do not load system locale setting since we already force to use en_US in ocs-run. This will also fix the bug: http://sourceforge.net/forum/message.php?msg_id=4975138 (/etc/rc1.d/S19ocs-run: line 58: ocs-sr command not found). Thanks to Xandraius.
  - Bug fixed: ocsmgrd log file was not listed when running drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-9
changelog:
  - Exe files of partclone were renamed as partclone.$FS, so ocs-functions and ocs-onthefly were updated.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-10
changelog:
  - Bug fixed: Another ocsmgrd log file was not listed when running drbl-ocs.
  - Bug fixed: swap partition maybe in LV only (cnvt-ocs-dev), therefore check if it exists before rename it.
  - A program create-ocs-tmp-img was added to create a Clonezilla image, all the partition/LV image files are linked. It is intended to be used to restore the image to other disk.
  - Force to load LVM2 module dm-mod in ocs-lvm2-start.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-11
changelog:
  - Bug fixed: minor typos corrected in ocs-functions.
  - New feature: now ocs-sr will prompt the command to run ocs-sr again when using "ocs-sr -x".


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-12
changelog:
  - Bug fixed: Wrong path and dir when using saveparts in ocs-sr.
  - If -ntfs-ok is assigned, use --force for ntfsclone.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-15
changelog:
  - Bug fixed: ocs-functions was not able to list the size of cciss disk size.
  - Remove the verbose output messages in cnvt-ocs-dev and create-ocs-tmp-img.
  - The function to restore image to different disk/partition name was added.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-17
changelog:
  - 1024x768 resolution option was added in Clonezilla live. Thanks to Scott Ochiltree for this idea.
  - Bug fixed: Because Live helper does not deal with the umountfs service when shutdowning/rebooting, we deal with that in Clonezilla live by modifying /etc/init.d/umountfs. Thanks to Scott Ochiltree.
  - Bug fixed: LV was not restored due to the variable target_dir was not changed to target_dir_full in restore_logv.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-19
changelog:
  - Bug fixed: Failed to parse the log file of partclone to get the rate when TUI output was used.
  - Bug fixed: We should not feed swap of LV in multicast clone.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-24
changelog:
  - create-ubuntu-live was updated for intrepid. However, due to this "grep bug" https://bugs.launchpad.net/bugs/241990, the created Intrepid live won't work with Clonezilla.
  - "fat 12 fat16 fat32 vfat" was added in partclone_support_fs in drbl-ocs.conf.
  - Bug fixed: ocs-get-part-info should tell if the vfat is fat12 or not.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-27
changelog:
  - Bug fixed: Because Live helper does not deal with the umountfs service when shutdowning/rebooting, we deal with that in gparted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-29
changelog:
  - In OpenSuSE 10.3/11.0 or later, we will use the command "grub-install.unsupported" instead of the "grub-install" to install grub after cloning.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-30
changelog:
  - Bug fixed: language should be zh_TW.UTF-8 instead of tw.UTF-8 in ocs-iso and ocs-live-dev.
  - The function to create recovery Clonezilla live iso/zip was added in ocs-sr.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.0-31
changelog:
  - Bug fixed: Failed to parse linux-image version in create-ubuntu-live if nothing in $debian-updates.
  - Not only hfs+ but also "hfsplus" were listed in partclone_support_fs in drbl-ocs.conf.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-1
changelog:
  - Bug fixed: ocs-kbdconf-bterm appends ocs_lang more than once in ocs-live.conf.
  - Now all the clonezilla files are in the filesystem.squashfs for Clonezilla live.
  - ocs-iso (ocs-live-dev not ready yet) can use the existing live media to create recovery CD/USB, or download the template iso from repository.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-2
changelog:
  - Bug fixed: /proc/cmdline should be parsed and the settings should be saved in /etc/ocs/ocs-live.conf.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-4
changelog:
  - Bug fixed: keymap in ocs-live.conf should not be setting by default for clonezilla live.
  - Use PKG_FROM_DRBL_FOR_CLONEZILLA_LIVE in create-debian-live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-6
changelog:
  - USAGE of ocs-iso was updated.
  - Bug fixed: Failed to update /etc/ocs/ocs-live.conf from /proc/cmdline in S03prep-drbl-clonezilla.
  - Bug fixed: ocs-iso should put ocs-related parameters in isolinux boot menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-7
changelog:
  - Comments in ocs-iso were updated.
  - Bugs fixed: ocs-iso and ocs-live-dev failed to estimate the output file size if the template is the boot media.
  - Put all drbl/clonezilla related packages in squashfs when using create-ubuntu-live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-8
changelog:
  - The command to create recovery iso/zip will be saved in a temp file for later use.
  - ocs-live-dev uses $ocsroot as a working dir instead of /tmp to avoid the shortage of disk space when running in clonezilla live.
  - Bug fixed: Output filename of ocs-live-dev with image embedded was wrong.
  - Module uvesafb was added in the initrd for ubuntu live since in intrepid uvesafb has replaced vesafb.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-9
changelog:
  - Bug fixed: S03prep-drbl-clonezilla failed to parse something like ocs_live_extra_param="-g auto -c -r -k1 -r -p reboot restoredisk etch-lvm-partclone-hda hda" in /proc/cmdline.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-10
changelog:
  - Prompt was updated in ocs-live-dev.
  - Bug fixed: Something went wrong when replacing parameters of ocs-live.conf in S03prep-drbl-clonezilla.
  - create-ubuntu-live was updated for Ubuntu intrepid (not finished).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-11
changelog:
  - uvesafb option is supported in ocs-iso, ocs-live-dev and ocs-live-boot-menu.
  - If uvesafb is found, reload it again in S03prep-drbl-clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-13
changelog:
  - Function ask_language_if_supported_with_bterm in ocs-functions also respect TERM = jfbterm.
  - ocs-kbdconf-bterm is renamed to be ocs-langkbdconf-bterm.
  - ocs-kbdconf-bterm, ocs-live-run-menu and S05kbd-conf now support both bterm and jfbterm. However, we force to use bterm in Ubuntu-based clonezilla live since jfbterm does not work in Ubuntu intrepid.
  - S02cmdline was added so that we can put ocs-break as a kernel parameter to enter command prompt before running S03prep-drbl-clonezilla.
  - Will try to run "apt-get -y autoremove" in ocs-live-hook-functions.
  - ocs-dbn-kbdconf was removed since it's no more necessary.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-16
changelog:
  - Force to use a complete busybox in initramfs of ubuntu-based clonezilla instead the one busybox-initramfs.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-17
changelog:
  - Directory /etc/ocs should not created in ocs-live-dev in Clonezilla live..
  - Directory /pkg is only creatd when custom-ocs is used in Clonezilla live.
  - samples/custom-ocs was updated.
  - Check specified_lang in cnvt-ocs-dev.
  - Option -t|--ocsroot-resource-type was added in prep-ocsroot.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-19
changelog:
  - An example was added (custom-ocs-1), which can be used to restore an image from samba server.
  - create-ocs-tmp-img will put the converted image in /tmp so it won't fail in readonly filesystem (e.g. CD) or FAT-based filesystem (e.g. samba).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-20
changelog:
  - Bug fixed: Assigned file name of clonezilla live should be used in the customized iso/zip boot menu, too.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-21
changelog:
  - Example file custom-ocs-1 was polished.
  - Bug fixed: We should keep more kernel driver modules in GParted live, especially acpi...


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-25
changelog:
  - Bug fixed: check both kernel and device exist in ocs-function for cciss-related device: /proc/driver/cciss and /dev/cciss; /proc/driver/cpqarray and /dev/ida; /proc/driver/rd and /dev/ra.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-26
changelog:
  - We'd better not to remove /usr/lib/gconv/ when creating debian live template for Clonezilla live since if we want to create debian live in Clonezilla live, in /usr/bin/lh_binary_syslinux it will run: iconv -f utf-8 -t latin1. Without /usr/lib/gconv/ lh_binary_syslinux will fail. This will increase the size of clonezilla live about 2 MB.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-28
changelog:
  - Skip the keystroke waiting before running ocs-live-netcfg in clonezilla live. Thanks to Freyr Gunnar lafsson.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-29
changelog:
  - Bug fixe: zh_TW was added in the locale_to_keep so that drbl live supports zh_TW better. Thanks to Louie Chen.
  - A program create-drbl-live-by-pkg was added so that it's easier to create drbl live with different desktop environment (xfce, gnoem, kde).
  - Now the supported locales (zh_TW, ja_JP, fr_FR) will be kept in the created iso/zip, it's not necesssary to be generated before running clonezilla live. An extra boot parameter "nolocales" was added so that the prebuilt locales won't be wiped by live initramfs.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-31
changelog:
  - Some files were updated since locales maybe not in a archive file, it can be a dir tree in /usr/lib/locales. They are: gl-choose-lang, ocs-run, ocs-live-hook-functions, S05kbd-conf, ocs-langkbdconf-bterm and ocs-live-run-menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-32
changelog:
  - Use flavour=minimal for ubuntu-based clonezilla live. This will make the image ~ 8 MB smaller.
  - Comments in create-debian-live was updated.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-33
changelog:
  - Bug fixed: The function exclude_umount_live_mnt_point_in_umountfs in ocs-live-hook-functions was updated to avoid the warning about /sys/fs/fuse/connections not mounted when rebooting/halting in Ubuntu-based clonezilla live.
  - Bug fixed: Since we use nolocales in boot parameter, we have to preseed the LANG=en_US.UTF-8 in /etc/default/locale and /etc/environment so that whiptail in en_US.UTF-8 won't be distorted.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-35
changelog:
  - Bug fixed: Only one kernel can be assigned in create-ubuntu-live.
  - gl-kbd-conf was added for gparted live.
  - Language and keyboard (gl_lang, gl_kbd) options can be assigned in kernel param for gparted live. The boot parameter gl_batch can be used to skip waiting for pressing enter. An example: "gl_lang=en_US gl_kbd=en gl_batch"
  - Bug fixed: S03prep-drbl-clonezilla might fail if param is in the end of line.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-40
changelog:
  - eeepc-acpi was removed from extra_module_list in ocs-live-hook.conf
  - Force to remove /etc/udev/rules.d/*persistent-net.rules in clonezilla/drbl/gparted live (just in case, although live helper has done that).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-41
changelog:
  - Live-helper now uses --categories instead of --section. Changed that in create-ubuntu-live. Thanks to Louie Chen.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-42
changelog:
  - Some files not fitting current gparted live environment were removed.
  - Bug fixed: command "file -Ls" comes with Debian lenny does not show extended partition with any word "extended", therefore we added parted to check the partiton.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-44
changelog:
  - Bug fixed: /usr/share/zoneinfo/UTC should be kept when creating Clonezilla live. Thanks to Spiros Georgaras for reporting this bug.
  - "ocs-debug" is used instead of "ocs-break" to enter command line prompt after live-initramfs is run.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-45
changelog:
  - resize (-r) is turned off by default in ocs-onthefly.
  - Default to use VGA 1024x768 for Clonezilla live.  Thanks to Scott Ochiltree for this suggestion.
  - Suppress MD starting failure messages in DRBL/Clonezilla live. Thanks to Scott Ochiltree for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-46
changelog:
  - Minor changes when loading drbl/clonezilla related functions in create-*-live.
  - webdav function was added in prep-ocsroot, however, it's not shown by default, since davfs2 from Etch was broken.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-49
changelog:
  - Prompt in create-drbl-live was updated.
  - Package hfsprogs was added in GParted live. Thanks to Curtis Gedak.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-51
changelog:
  - Bug fixed: Wrong prompt message about clonezilla image dir when saving image.
  - Two variables were added in drbl-ocs.conf: udp_sender_extra_opt_default and udp_receiver_extra_opt_default. Thanks to Mike Taylor for this idea. Ref: https://sourceforge.net/forum/message.php?msg_id=5281039
  - Prompts about image split were updated.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-53
changelog:
  - Typos fixed in ocs-functions and ocs-live-boot-menu (#2115623 closed). Thanks to Orgad Shaneh.
  - Bug fixed: confused vesa/uvesa modes fixed in ocs-live-boot-menu (#2115605 closed). ///NOTE/// Some options of ocs-live-boot-menu were changed. Thanks to Orgad Shaneh.
  - Bug fixed: -j option of ocs-iso and ocs-live-dev did not work (#2115594 closed). Thanks to Orgad Shaneh.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-56
changelog:
  - 2 parameters (-a|--packages, -c|--categories) were added in create-debian-live and create-ubuntu-live.
  - Prompt in ocs-functions was updated.
  - A new variable $debian_pkgs_for_gparted is used now in create-gparted-live and create-drbl-live.
  - create-drbl-live-by-pkg was updated with better options.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-57
changelog:
  - A special word "1st-disk" was added to drbl-ocs so that we can assign the target disk as 1st available disk from /proc/partitions. ///NOTE/// This option only works for unicast, not for multicast/broadcast (#2115612 closed). Thanks to Orgad Shaneh.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-59
changelog:
  - Bug fixed: confused vesa/uvesa modes fixed again in ocs-live-boot-menu (#2115605 closed). ///NOTE/// Some options of ocs-live-boot-menu were changed. Thanks to Orgad Shaneh.
  - A new program ocs-cnvt-usb-zip-to-dsk was added so that it's easier to convert DRBL/Clonezilla live zip file to raw disk image or vmdk image.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-61
changelog:
  - Since live-initramfs 1.139.1-3 (1.139.1-4drbl, too) uses UID=1000 for default account "user", the corresponding settings were changed.
  - 4 more boot parameters were added for Clonezilla live: ocs_daemonon ocs_daemonoff ocs_numlk ocs_capslk. Ex. for the first 2 parameters, ocs_daemonon="ssh", then ssh service will be turned on when booting. For the last 2 parameters, use "on" or "off", e.g. ocs_numlk=on to turn on numberlock when booting.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-62
changelog:
  - To make usercrypted boot parameter work in Clonezilla live, we have to remove preseed user. However, for gparted live and drbl live, we still preseed user. Maybe change that in the future.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-64
changelog:
  - Comments were added in prep-ocsroot about the webdav won't work for Clonezilla live.
  - grub is included for gparted live packages list.
  - Force to remove some X programs in Clonezilla live since jfbterm only need unifont.pcf.gz. This will reduce the size of lenny-based Clonezilla 6 MB. Thanks to Louie Chen.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-65
changelog:
  - Bug fixed: "sudo -i ocs-live-run-menu" was appended twice in ~user/.bash_profile when S03prep-drbl-clonezilla was run again.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-66
changelog:
  - ocs-functions was updated with patched ntfsclone (support -V, --ignore-bitmap-check). Now the messages when saving and restoring ntfs will be more verbose.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-67
changelog:
  - An option was added: -j1|--dump-mbr-in-the-end. This option allows us to use dd to dump the MBR (total 512 bytes, i.e. 446 bytes (executable code area) + 64 bytes (table of primary partitions) + 2 bytes (MBR signature; # 0xAA55) = 512 bytes) _after_ disk image was restored. This is an insurance for some hard drive has different numbers of cylinder, head and sector between image was saved and restored. Thanks to Luis F. Gimilio for this idea.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-68
changelog:
  - Bug fixed: ocs-expand-mbr-pt failed to process large disk, i.e. e.g. size=291563622 list in the *-sda.pt, where no space after "=".
  - A new option "-z1p" was added so that we can use parallel gzip program (pigz) to compress the image.
  - Machine product name will be shown before restoring an image.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-69
changelog:
  - Packages ifupdown and dhcp3-client was added in gparted live.
  - When purging locales in create gparted/clonezilla/drbl live, do not be verbose.
  - New mechanism to start gparted live: rc2.d/S99start-gparted-live. Two more boot parameters gl_numlk and gl_capslk were added to control numlock and scrlock.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-71
changelog:
  - Use "-b 1024k" for mksquashfs in those create-*-live. This will make live media file smaller.
  - create-ubuntu-live was updated with more prompt.
  - Bug fixed: ocs-live-dev -s -d /dev/$partition failed. Thanks to cashboxhung, and Olaf for reporting this bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-72
changelog:
  - prep-ocsroot was polished, and an option ""-s|--skip-ocsroot-mountpoint-chk" was added. 
  - ocs-srv-live.sh was polished.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-73
changelog:
  - S03prep-gparted-live, S05kbd-conf and S07choose-lang were updated to suppress some error messages.
  - xserver-xorg-input-evdev was added when creating gparted live.
  - Forcevideo was updated to append the config in xorg.conf, not overwrite it.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-75
changelog:
  - Forcevideo was rolled back to original one. i.e. instead of appending, a fresh xorg.conf is created.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-76
changelog:
  - Bug fixed: Since ubuntu 8.10 won't load uvesafb, we should load module uvesafb when there is mode_option option in boot parameters (For Ubuntu-based Clonezilla live).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-77
changelog:
  - ocs-functions was modified to avoid lshw to be run twice.
  - When restoring an image, we should ask image name and target dev first, then advanced params.
  - Two options were added for Clonezilla: generate/check MD5SUMS and SHA1SUMS.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.1-78
changelog:
  - ocs-live-hook was updated for making Clonezilla live tftp from busybox work.
  - Bug fixed: previous converted image will be removed before being created again in create-ocs-tmp-img. md5sums and sha1sums function updated in ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-1
changelog:
  - Forcevideo was updated with dpkg-reconfigure xserver-xorg support for older X.
  - syslinux.exe will be downloaded from internet, not from drbl pkg anymore.
  - The function to mount first level dir on local device was added.
  - A sample program gen-netcfg was added so that it can be used as a startup service for cloned system to be assigned static network configuration according to MAC address.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-4
changelog:
  - The help message about -r|--resize-partition was updated.  Thanks to nikolay kasatkin.
  - Do not use sort when searching partitions in /proc/partitions, since it will make the order to be like: "sda1 sda10 sda11 sda12 sda13 sda2 sda3 sda4 sda5 sda6 sda7 sda8 sda9" instead of in order. Ref: https://sourceforge.net/forum/message.php?msg_id=5478495. Thanks to Donut.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-5
changelog:
  - Do not sort all the partititon list got from /proc/partition in ocs-functions. Other the order will be like: sda1 sda10 sda11 sda12 sda2 sda3...
  - ocs-onthefly was slightly polished, especially for prompts.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-6
changelog:
  - When local_dev is chosen in prep-ocsroot, it won't list the clonezilla image dirs as options if exists.
  - Clonezilla live can be started on tty1 or ttyS0.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-7
changelog:
  - Two variables ntfsclone_save_extra_opt_def and ntfsclone_restore_extra_opt_def were added in drbl-ocs.conf so that user can add his/her extra options for ntfsclone.
  - "--rescue" will be added if "-ntfs-ok" option is selected. Thanks to Stephen Anderson for this idea (https://sourceforge.net/forum/message.php?msg_id=5540867).
  - S05kbd-conf about serial console was improved.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-10
changelog:
  - Bug fixed: If a dir name with space (https://sourceforge.net/forum/message.php?msg_id=5561709), we should workaround it in prep-ocsroot. Thanks to Mark Wolfgruber.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-11
changelog:
  - Bug fixed: If a dir name with space (https://sourceforge.net/forum/message.php?msg_id=5561709), we should exclude it in prep-ocsroot, the previous workaround won't work, since if the name is changed, it won't be mounted.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-16
changelog:
  - Package cryptsetup was added in create-gparted-live. Thanks to Bodo P. Schmitz for this idea.
  - Bug fixed: When creating recovery iso/zip using "ocs-sr -x", the reboot/shudown/none option was asked twice. Thanks to Jean-Francois Nifenecker.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-18
changelog:
  - A promput about required packages was added in create-debian-live.
  - create-ubuntu-live was updated to work for Jaunty.
  - Bug fixed: locales list in ocs-live-hook.conf without comma. Thanks to Orgad Shaneh.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-19
changelog:
  - MC_HxEd for GParted live was added. See http://gparted-forum.surf4.info/viewtopic.php?pid=10421#p10421 for more details. Thanks to cmdr for providing this GPL program.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-20
changelog:
  - Customized ocs option was updated in ocs-iso and ocs-live-dev. Thanks to Orgad Shaneh.
  - S03prep-drbl-clonezill was improved so that custom-ocs will be put in normal drbl path (/opt/drbl/sbin/). Thanks to Orgad Shaneh.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-22
changelog:
  - create-debian-live was improved so that it works for Etch with kernel 2.6.18 again.
  - -u|--include-dir option was added to ocs-iso and ocs-live-dev.
  - Clonezilla now will honor the boot parameter ocs_pre_run, and it will be run during booting.
  - Both ocs-debug and ocs_debug in the boot parameters will be honored by clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-23
changelog:
  - Now we can use custom-ocs with an image included in ocs-iso and ocs-live-dev. Thanks to Orgad Shaneh for this idea.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-24
changelog:
  - parse_cmdline_option in gl-functions was updated.
  - GParted live will honor gp_prerun boot parameter.
  - Show serial no of disk when saving parts. Thanks to Eric Lu.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-25
changelog:
  - live hook files will be copied recursively for those create-*-live.
  - ttyS0 for Ubuntu upstart will be copied to Ubuntu-based clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-26
changelog:
  - When restoring partitions only, we should not restore swap partition. Thanks to Samwise Foxburr for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-27
changelog:
  - If batch mode is on, we won't find the serial no of harddrive.
  - Program create-ocs-tmp-img was improved with some options and more prompt.
  - Language file it_IT was added, so ocs-live.conf was modified, too.
  - An example "clone-multiple-usb-example.sh" to clone an image to several USB flash drives was added.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-28
changelog:
  - clone-multiple-usb-example.sh was updated. Thanks to Alvin Su.
  - Two functions (check_ntfs_boot_partition, run_ntfsreloc_part) were added in ocs-functions so we can relocate NTFS CHS.
  - An option -e1|--change-geometry was added to ocs-sr and drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-30
changelog:
  - More prompt before running partclone.ntfsreloc.
  - Since partclone.fat12 is buggy, the support for fat12 for partclone in drbl-ocs.conf is removed from the list.
  - Before restoring or saving, user must enter y/yes/n/no. It can not be nothing.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-33
changelog:
  - Since the bug of partclone.fat12 was fixed. the support for fat12 for partclone in drbl-ocs.conf was added in the list.
  - "-e1 auto" option was added to ocs-onthefly so ntfsreloc can be run with this option.
  - Option -V of ntfsclone restoring is on in ocs-onthefly.
  - Bug fixed: When chosing partition, extended or swap should not be listed.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-34
changelog:
  - ocs-get-part-info was improved so that it can parse more than one index.
  - Bug fixed: When choosing partition, extended or swap should not be listed (due to the command of "file -Ls" won't show any "extended" info about a partition in Debian Lenny. We switch to use ocs-get-part-info instead of file).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-35
changelog:
  - Instead of remove /usr/share/man/man1 dir and files, we only remove files so that later when using clonezilla live, apt-get install package won't exit due to no /usr/share/man/man1 so postrun fails.
  - Add batch mode option for ocs-resize-part of ocs-onthefly.
  - LSB tag was added to ocs-run.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-36
changelog:
  - Bug fixed: Disk size was not shown correctly when locales is zh_TW before restoring an image to a disk.
  - The partition to be run ntfsreloc should be boot partition, not the one has ntldr. Since Windows 7 does not have that file.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-37
changelog:
  - Minor updates for ocs-resize-part.
  - A new option "-u UNIT" was added to ocs-get-part-info.
  - Functions to save and resore hidden data between MBR and 1st partition were added for ocs-sr and ocs-onthefly (https://sourceforge.net/forum/message.php?msg_id=5471665). Thanks to Alberto (arbouzas), david adamo and jess (jessdk).
  - Bugs fixed: ocs-iso and ocs-live-dev were fixed (ID: 2465945). Thanks to Orgad Shaneh.
  - Bugs fixed: ocs-live-dev was broken for -m (https://sourceforge.net/forum/message.php?msg_id=6099180). Thanks to lucsmitty (gregs).
  - Bug fixed: Some parameters after inputed again did not work when running "ocs-sr -x".
  - Spanish language files were added. Thanks to Juan Ramón Martínez <jrmc77 _at_ terra es>.
  - es_ES.UTF-8 was added in ocs-live-hook.conf.
  - The function to get CHS from EDD was added. Thanks to Orgad Shaneh, Antorz and Louie Chen.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-41
changelog:
  - Option -j2 and -j3 for saving or restoring hidden data were added in drbl-ocs and ocs-sr.
  - Option -j2 for cloning hidden data was added in ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-42
changelog:
  - Dirs $OCS_PRERUN_DIR and $OCS_POSTRUN_DIR will be created when creating clonezilla live.
  - Function get_live_media_mnt_point will search boot parameter live-media-path, too.
  - Function get_RawCHS_of_HD_from_sfdisk was added and will be used as a backup plan for partclone.ntfsreloc (https://sourceforge.net/forum/message.php?msg_id=6181406). Thanks to Orgad Shaneh.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-43
changelog:
  - Bug fixed: LVM might use ID=83 in partition table, therefore we should not parse it based on partition ID. (https://sourceforge.net/tracker2/?func=detail&atid=671650&aid=2528606&group_id=115473)


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-44
changelog:
  - Bug fixed: ocs-get-part-info input parameters was wrongly parsed.
  - Make collecting hardware info faster. Do not duplicate scan.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-48
changelog:
  - Bug fixed: Getting /dev/sda1 info failed in prep-ocsroot when mouting local device as clonezilla image home. Thanks to Patrick Babinger and stupidkid <stupidkid.lin _at_ gmail com> for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-49
changelog:
  - Bug fixed: Getting /dev/sda1 info failed in ocs-onthefly. Thanks to Justin Miranda, aidan (aidanmcg33) and Jean-Francois Nifenecker for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-50
changelog:
  - gparted-live-hook was updated to keep man dir.
  - create-gparted-live was updated to use working dir as tmp dir.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-54
changelog:
  - A function to check live helper and cdebootstrap version required when creating clonezilla/gparted/drbl was added.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-56
changelog:
  - Verbose flag was set when -v is on in create-*-live.
  - create-ubuntu-live was improved to work with jaunty which now uses libc6 instead of belocs-locales-bin.
  - Function get_live_boot_param in ocs-functions was updated to search live.cfg for boot parameters of Clonezilla live.
  - Bug fixed: drbl-ocs.conf was not copied to include dir for hooking when creating ubuntu-based clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-58
changelog:
  - Bug fixed: Failed to list partition of Mac OS when saving an image. Thanks to Steve Poe <Steve.Poe _at_ demandtec com>.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-59
changelog:
  - Font size of desktop icons was changed to smaller in gparted live.
  - More locales files were kept when create-*-live.
  - drbl-live-hook was updated to add nolock for unfs3 client.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-60
changelog:
  - Separate the variables as locale_to_keep_for_no_X and locale_to_keep_for_X for clonezilla live and drbl live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-61
changelog:
  - Three more options (-g|--drbl-repo-url, -m|--mirror-url, -s|--mirror-security-url) were added in create-*-live so that we can assign the repository.
  - Variables debian_mirror_url_def, debian_mirror_security_url_def, DRBL_REPOSITORY_URL_def and DRBL_GPG_KEY_URL are moved from create-*-live to drbl-ocs.conf.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-62
changelog:
  - vim-common (for /usr/bin/xdd) was added for gparted live. Since xdd is required for NTFS moves and copies.
  - An option -e2 (to use the CHS from EDD when running sfdisk) was added in ocs-sr and ocs-onthefly. Thanks to Orgad Shaneh for this idea.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-63
changelog:
  - The option for -e2 (to use the CHS from EDD when running sfdisk) will also be used with ocs-expand-mbr-pt.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-64
changelog:
  - Now option -e2 will work only for non-grub boot loader (was for MS boot loader, but it's not easy to decide).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-65
changelog:
  - Prompts were added for EDD option.
  - A prompt to use space key to mark the selection was added for checklist dialog.
  - Bug fixed: Duplicated "-p true" was used when runing "ocs-sr -x".


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-66
changelog:
  - ocs-live-dev will use tar instead of zip when recovery file is larger than 2 GB. Thanks to Frank (frank28 _at_ users sourceforge net) for this bug report.
  - A better way to deal with EXTRA_SFDISK_OPT environmental variable.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-67
changelog:
  - Now "-g auto" option will run grub-install only when the grub config partition is on the restored partitions list.
  - Package vim-common list was moved from create-gparted-live to drbl.conf.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-70
changelog:
  - Forcevideo was improved to work with some higher resolution modes. Thanks to pstein for this idea.
  - Boot parameter "noprompt" was append to "To RAM" menu now. Thanks to mybugaccount mybugaccount (mybugaccount _at_ users sourceforge net).
  - The optiont "-V" of ntfsclone will be check if available before it is run. Thanks to Olivier Korn (olivier_korn _at_ users sourceforge net) for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-71
changelog:
  - The prompt to use space key to mark the selections was added for most of the checklist type of dialog.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-72
changelog:
  - The mode of run-again script file for recovery-iso-zip will be 755.
  - Bug fixed: Failed to create Clonezilla live recovery iso on USB flash drive version of Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-73
changelog:
  - Bug fixed: partclone.ntfsclone was not run if the NTFS boot partition is not the 1st one on the target disk.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-74
changelog:
  - Bug fixed: when doing partition to partition clone, if no file system is identified, we should use dd to clone it, not skip it.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-77
changelog:
  - The permission to run will be checked in Forcevideo.
  - Bug fixed: If any single file larger than 4 GB, ocs-iso failed to create the recovery iso.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.2-80
changelog:
  - Bugs fixed: (1) ocs-iso removed required files when using toram function and exit abnormally. (2) Script to re-create recovery iso/zip file was not in the mode 755.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-1
changelog:
  - Package gpart was added in the package lists in create-gparted-live. Thanks to Juan Pablo for this idea.
  - A minor typo was fixed in ocs-functions.
  - Ext4 was listed on the partclone support filesystem in drbl-ocs.conf
  - Option -um|--user-mode was added in drbl-ocs.
  - Beginner/expert mode was added.
  - When multi CPU/core is available, -z1p (pigz) will be used when saving in Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-4
changelog:
  - A minor prompt in ocs-sr was updated.
  - Ext4 was added in the support lists in ocs-resize-part.
  - NTFS support is turned on for partclone. Option -q2 is the default option, and ntfsclone will be replaced by partclone if -q2 is selected.
  - Partclone is used for ocs-onthefly by default now.
  - S06pre-run was improved to accept boot parameters ocs_prerun[[:digit:]]. E.g. ocs_prerun, ocs_prerun1, ocs_prerun2...
  - A new variable extra_lzma_opt was added in drbl-ocs.conf.
  - Option -z4 (lzma) was added for drbl-ocs, ocs-sr, and used in ocs-functions.
  - New file name format for the image of partition was added. E.g. partiton sda1 was saved by partclone.ext4 with gzip compression is: sda1.ext4-ptcl-img.gz.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-6
changelog:
  - Clonezilla image dir will be created when booting (in S03prep-drbl-clonezilla) so it can be mounted in  ocs_prerun directly.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-8
changelog:
  - Improvement: If edd_id failed, another method will be tried. If option "-e" is chosen, the CHS value from image file will be used with partclone.ntfsreloc if edd info is not available.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-9
changelog:
  - The command to create Clonezilla live iso and zip was added, and it will be saved to the file Clonezilla-Live-Version.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-10
changelog:
  - Submenu of syslinux/isolinux is used for memtest, freedos and network boot (in ocs-live-boot-menu).
  - File system ext4dev was listed in the support fs list in drbl-ocs.conf
  - Bug fixed: ocs-live-dev failed to use grub to create a bootable Clonezilla live device.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-12
changelog:
  - Output messages of ocs-sr were slightly modified.
  - Start sector in the meta data of NTFS partition will be changed by partclone.ntfsreloc after restoring. Thanks to Curtis Gedak for the info and the testing results from Ceasar Sun.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-13
changelog:
  - create-gparted-live was improved to work with squashfs in mainline kernel (2.6.29).
  - Mounting HFS+ partition with "-o force" was added as an option in ocs-preproot. Thanks to Max Hales for this suggestion.
  - When inputting image name or device name is cancelled, an option to exit was added. Thanks to Sam Russo.
  - The interactive mode of ocs-onthefly will prompt the command and options so it's easier to be run in the command line prompt again.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-15
changelog:
  - "sfdisk -R" is used as a backup plane for partprobe after GPT partition table is created.
  - Disk to disk clone for Intel-based Mac OS is supported now.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-16
changelog:
  - Minor bug fixed: typo in "sfdisk -R" backup plan.
  - Bug fixed: Wrong return code 1 was sent in drbl-ocs. Thanks to Jesus Feliz Fernandez for the bug report, and Louie Chen for the bug fix.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-17
changelog:
  - Put save tasks and restore tasks in order. The mode of Clonezilla will be shown when inputting data or choosing parameters. Thanks to the suggestion from aikenann _at_ gmail com.
  - Warning messages of sfdisk are suppressed when running on GPT device.
  - ocs-onthefly was improved to make it work with dual boot (linux/mac osx) on mac machine.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-18
changelog:
  - Prompt was polished.
  - An option to enter command line to manually configure network settings was added in ocs-live-netcfg.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-19
changelog:
  - Bug fixed: With "-g auto", we should try to find the grub config partition on the restored disk, not all the disk(s) on the system. Otherwise if there are more than 2 disks, grub-install might be skipped.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-20
changelog:
  - ocs-functions was slightly updated.
  - kexec service won't be run by default on DRBL/Clonezilla live. This will suppress the error message when reboot.
  - Bug fixed: When doing multicast restoring, grub was not run.
  - Bug fixed: --use-partclone-ntfsclone is no more, we should use --use-partclone in drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-21
changelog:
  - Function install_grub_hd in ocs-functions was improved. It's easier to understand now.
  - The created iso of gparted live and drbl live will be "isohybrided".
  - Force to ask inputting y/n option for most of the questions in ocs-onthefly.
  - Program ocs-live-bug-report was added so it's easier for user to report bug.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-22
changelog:
  - Bug fixed: We should only group memtest and freedos when both of them exist in ocs-live-boot-menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-23
changelog:
  - Bug fixed: when there is image existing in the recovery Clonezilla live USB, we do not have to link /live/image/$ocsroot to $ocsroot.
  - Function rep_whspc_w_udrsc is used in some files.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-24
changelog:
  - Bug fixed: when there is image existing in the recovery Clonezilla live USB, we have remove the link file $ocsroot.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-25
changelog:
  - Applied the patch file for edd_id_map_by_capacity. (https://sourceforge.net/support/tracker.php?aid=2794791). Thanks to Orgad Shaneh.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-26
changelog:
  - "clonezilla.org" is used instead of "clonezilla.sourceforge.net" in the boot menu of Clonezilla live.
  - The sample file "custom-ocs" was improved to be more flexible. Not only for saving the image to ntfs partition.
  - Program ocs-live-general was slightly improved to suppress the error message when /etc/ocs/ocs-live.conf does not existing.
  - Boot parameter "toram=filesystem.squashfs" is used for ToRAM option in live.
  - Newer partclone is used, which has fixed some minor bugs, and a newer version of ntfsbootfix (was ntfsreloc) is updated.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-29
changelog:
  - Function get_live_media_mnt_point in ocs-functions was improved to use flexible quashfs file name instead of fixed one "filesystem.squashfs".


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-30
changelog:
  - Use command name partclone.ntfsfixboot instead of partclone.ntfsreloc.
  - Program ocs-live was slightly updated.
  - Bug fixed: "nolocales" boot parameter should be assigned by ocs-iso or ocs-live-dev, not in the ocs-live-boot-menu.
  - An option for using rescue mode of partclone when saving an image was added.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-31
changelog:
  - Bug fixed: parted failed to find the disk size when no partition table, another method was added to get the disk size.
  - Bug fixed: if lzma is not available, we should switch to gzip.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-32
changelog:
  - The patch to improve fault tolerance was added (https://sourceforge.net/tracker/?func=detail&atid=671653&aid=2793248&group_id=115473). Thanks to Orgad Shaneh.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-34
changelog:
  - Sample files were updated about how to run the command to create customized Clonezilla live. Thanks to BGraham.
  - Since newer mkswap supports -U, we will use it if this option is found instead of mkswap-uuid.
  - A message was added before program clonezilla exit. Thanks to Patrick Verner.
  - Bug fixed: boot parameter like "union=unionfs-fuse" was not able to be parsed corectly in function get_live_boot_param.
  - Bug fixed: /var/log/partclone.log should not be removed when job is done.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-36
changelog:
  - Function get_live_boot_param was polished again.
  - Typos in ocs-live-hook were fixed.
  - An option "-n" was added for command clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-39
changelog:
  - Since jfbterm exits with segfault, we force to use bterm in DRBL live rcS.d when choosing language and keymap.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-40
changelog:
  - Minor updates for drbl live.
  - Bug fixed: Failed to run S09config-X in drbl live booting.
  - No more language menu shown in syslinux/isolinux boot menus in drbl live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-45
changelog:
  - gpxe was added in the drbl live boot menu.
  - Default to use 640x480 for vesa booting console in DRBL live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-49
changelog:
  - Package acpi, laptop-detect, acpi-support and hotkey-setup were added in the list in create-drbl-live-by-pkg. Thanks to Louie Chen.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-50
changelog:
  - When verbose option of clonezilla is on, partclone will use "-d" option.
  - Partclone is now run with -L to assing the log file.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-52
changelog:
  - Package xnetcardconfig was added in drbl live packages list.
  - VOL_LIMIT_DEFAULT is set as 2000 in drbl live. Thanks to Ming-Kult Tsai for this idea.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-53
changelog:
  - Bug fixed: ocs-live-bug-report should not be run in non-Clonezilla-live environment.
  - The boinc-client is turned off when creating drbl live.
  - The custom-ocs function was added in DRBL live, just ad Clonezilla live does. Thanks to Orgad Shaneh. 
  - The prompt about broadcast and multicast will be separated. No more using multicast only.
  - X config will only be run when X program exists in DRBL live. Thanks to Orgad Shaneh.
  - Comments in ocs-functions were updated.
  - All the blkid commands now are run with "-c /dev/null" to avoid the cached data.
  - Package swfdec-mozilla was added in the packages lists in create-drbl-live-by-pkg.
  - The files in drbl-live.d are almost the same with those existing files in ocs-live.d, i.e. we reuse the boot parameters of Clonezilla live. Thanks to Orgad Shaneh for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-55
changelog:
  - LC_ALL and LANG will be kept in /etc/default/locale and /etc/environment when ocs-langkbdconf-bterm is run.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-56
changelog:
  - Bug fixed: LC_ALL and LANG should be written to /etc/default/locale and /etc/environment by S05kbd-conf, not ocs-langkbdconf-bterm, otherwise if we assign ocs_lang in boot parameter, it won't work. Besides, we do the same thing in S05kbd-conf of Clonezilla live.
  - A boot parameter "drbl_live_noconfx" was added so that we can skip configureing X.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-57
changelog:
  - Clonezilla RPM Spec file was updated to force to depend on drbl >= 1.9.4-41.
  - Program ocs-live-dev was improved so it can be run without downloading syslinux if it's run in Clonezilla live environment.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-58
changelog:
  - Disable the function that LC_ALL and LANG will be kept in /etc/default/locale and /etc/environment when ocs-langkbdconf-bterm is run in Clonezilla live. Since most of the cases, e.g. for Chinese, the terminal won't show the characters, unless it's in bterm/jfbterm.
  - Now utils dir (syslinux.exe, syslinux, makeboot.bat and makeboot.sh) is included in Clonezilla live iso file.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-60
changelog:
  - Bug fixed: ocs-iso failed to create recovery iso in Clonezilla live env. Thanks to wohtohai for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-61
changelog:
  - Dir utils containing syslinux programs, makeboot.sh, and makeboot.bat were added DRBL live iso file.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-62
changelog:
  - Bug fixed: Ubuntu-based Clonezilla live will show kernel panic in PXE booting in small memory machine. Thanks to Adam Walker for bug report (https://sourceforge.net/support/tracker.php?aid=2813538).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-63
changelog:
  - A comment was added when disable compcache when creating Clonezilla live.
  - Language file is used in the X configuring program in DRBL live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-64
changelog:
  - Bug fixed: When doing disk to disk clone, swap parititon was not created on the target disk. Thanks to Patrick Verner for reporting this bug.
  - Bug fixed: S09config-X for DRBL live failed to use the language setting.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-66
changelog:
  - Feature added: 1st-disk keyword will work for multicast clone, too. Ref: https://sourceforge.net/tracker/?func=detail&atid=671650&aid=2817447&group_id=115473
  - Patches from https://sourceforge.net/tracker/?func=detail&atid=671653&aid=2818368&group_id=115473 were applied. Thanks to Orgad Shaneh.
  - A typo in the prompt in ocs-onthefly was fixed.
  - Package smartmontools was added in GParted live packages lists.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-67
changelog:
  - Because there is an issue when restoring FAT file system by partclone, a workaround to avoid using partclone to save FAT filesystem was added.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-68
changelog:
  - genisoimage instead of mkisofs is used in both create-gparted-live and create-drbl-live. Thanks Orgad Shaneh for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-70
changelog:
  - An issue about checking fuse module for ntfs-3g was fixed in ocs-chnthn-functions. Thanks to Bill Gurley for the bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-72
changelog:
  - A bug about writting fail-mbr.bin was fixed: https://sourceforge.net/forum/message.php?msg_id=7536248
  - An option to mount NFSv4 server was added to prep-ocsroot. Thanks to Ingo for this idea (https://sourceforge.net/tracker/index.php?func=detail&aid=2830283&group_id=115473&atid=671653).
  - An option -fsck-src-part|--fsck-src-part was added for ocs-sr, ocs-onthefly and drbl-ocs.
  - Parallel decompression by pigz and pbzip2 were added.
  - Since the FAT issue in partclone was fixed in version 0.1.1-16, now we use partclone to save or restore FAT partition.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-73
changelog:
  - Bug fixed: Parallel bzip2 was not run with correct parameters.
  - Bug fixed: Parallel pigz was not run with correct parameters (-b 1024k is not correct, it's -b 1024).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-75
changelog:
  - Program ocs-iso was improved to print more error messages if something goes wrong.
  - By default "-r" option is on for clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-76
changelog:
  - Program create-debian-live is ready for squeeze, however, due to the bug http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=539354, no user can be added by live-initramfs during boot, i.e. the created Debian live won't be able to login automatically in the console.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-77
changelog:
  - By default we disable starting open-iscsi service when Clonezilla live boots, since we only need program. 
  - The patched rc-sysinit.conf for Ubuntu 9.10's upstart will be applied when creating Ubuntu-based Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-79
changelog:
  - Program create-ubuntu-live now supports Karmic (with live-initramfs 1.157.2-5drbl).
  - The option "-g auto" will be skipped when grub2 is found in the restored OS.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-80
changelog:
  - The module exportfs is required for aufs, therefore we should not remove it when creating GParted live.
  - The package xdialog was replaced by zenity (gdialog) since xdialog is no more in squeeze.
  - Use function to get Xdialog or gdialog in GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-82
changelog:
  - If grub2 is found in the restored OS, Clonezilla will try to use the grub exec program in the restored OS to reinstall it in the MBR.
  - Programs ocs-iso and ocs-live-dev were improved, especially to exclude some dirs from template iso/dir in case it will conflict. Thanks to Andrew Bloxom.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-83
changelog:
  - Bug fixed: grub failed to be identified as "grub-install.unsupported" in SuSE.
  - BUg fixed: Failed to run grub2 from restored OS if the grub partition and root partition is in the same partition.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-84
changelog:
  - Option "-g auto" will only take effect when the boot loader in the MBR on the disk if found as GRUB. Help messages of "-g auto" is updated, too.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-85
changelog:
  - When creating DRBL live, remove /tftpboot/node_root/{lib, usr}, since when drblpush is run, they will be rebuild. However, the DRBL server might need more RAM to run it. Thanks to Orgad Shaneh for the inspiration. Ref: https://sourceforge.net/forum/forum.php?thread_id=3336278&forum_id=675794


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-86
changelog:
  - Forget about removing /tftpboot/node_root/{lib, usr} when creating DRBL live, since squashfs file system will remove duplicated files, so the size make no big differences, and will those dirs kept, the RAM size required should be smaller.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-87
changelog:
  - Kernel module "atl2" is included in the initrd1 of Clonezilal live. Thanks to giner for this suggestion. Ref: https://sourceforge.net/tracker/?func=detail&atid=671650&aid=2854969&group_id=115473


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-92
changelog:
  - Package gdisk is included in GParted live.
  - Make create-debian-live, create-gparted-live and create-drbl-live work with Debian Sid (not fully tested).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-95
changelog:
  - Sample program custom-ocs and custom-ocs-1 were updated.
  - Bug fixed: ocs-iso and ocs-live-dev failed to check if customized file exists or not.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.3-96
changelog:
  - Variable $ocsroot instead of /home/partimag is used in the sample programs custom-ocs and custom-ocs-1.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-1
changelog:
  - Make create-debian-live and create-gpated-live work with recent Sid.
  - Force to use grub-legacy when creating Clonezilla live with Sid or Squeeze.
  - The program create-ubuntu-live now uses live-ubuntu-(stable|testing|unstable|experimental) branches from drbl-core instead of live-(stable|testing|unstable|experimental).
  - No more creating /etc/modprobe.d/options before running "modprobe uvesafb", now we just run "modprobe uvesafb mode_option=..." when entering uvesafb mode in Ubuntu-based Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-2
changelog:
  - Now ubuntu-based Clonezilla live honors the boot parameter like "video=uvesafb:mode_option=1024x768" instead of "mode_option=1024x768" anymore.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-4
changelog:
  - Bug fixed: We can not remove /usr/lib/gconv/, since some program, e.g. mtools 4.10 need that in GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-7
changelog:
  - Some more network drivers were added in Clonezilla live initramfs module lists (extra_module_list_in_initramfs="atl1 atl1c atl2 bnx2 bnx2x") in ocs-live-hook.conf. PXE booting Clonezilla live might need that.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-8
changelog:
  - Bug fixed: mountall.conf and mountall-net.conf should be disabled in ubuntu-based of Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-10
changelog:
  - Pacakge usplash and usplash-theme-ubuntu were added in create-ubuntu-live. Now we can use "quiet splash" as the boot parameter in Ubuntu-based clonezilla live.
  - ocs-live-boot-menu was improved to group some clonezilla modes.
  - A workaround to force to add crc32c module for Clonezilla live was added, this is required for bnx2x module.
  - Two options (-a, -q) were added in ocs-live-boot-menu so that we can assign "splash" or "quiet" in the boot parameter.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-12
changelog:
  - Bug fixed: A bug about using tar to create recovery iso zip was fixed. Thanks to wellurs for this bug report.
  - Bug fixed: A bug about scripts in $OCS_PRERUN_DIR won't run was fixed. Thanks to gsusterman for this bug report.
  - Bug fixed: A bug about creating recovery iso/zip with images not in /home/partimag not working was fixed. Thanks to dersucker for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-14
changelog:
  - By default in uvesafb we use bpp 16 for 640x480/800x600 uvesafb mode, and 32 for 1024x768 mode. This will make it brighter in virtualbox.
  - Clonezilla usplash theme is included in ubuntu-based Clonezilla live.
  - S07arm-wol was added in Clonezilla live startup so the wake on LAN mode can be on standby.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-15
changelog:
  - Package ipmitool was added in DRBL live (create-drbl-live-by-pkg). Thanks for the suggestion from zug.
  - Bug fixed: Typos in the boot menu of GParted live were fixed.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-17
changelog:
  - Bug fixed: Since grub-legacy is used in DRBL live, we should not check if package "grub" is installed or not when running drblsrv-offline in hook.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-18
changelog:
  - Bug fixed: thunar-volman should not be installed, because it will automatically mount some partitions after a partition table is creataed, then make clonezilla fail to restore a disk image.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-19
changelog:
  - Use "--batch" instead of "-b" and "--no-force-dma-on" instead of "-a"  in the boot parameters of Clonezilla SE's client when running drbl-ocs.
  - Bug fixed: To avoid a problem in the /sbin/init from upstart 0.6.3 or later, we do not use VOL_LIMIT_DEFAULT="0" anymore, otherwise it will make the Ubuntu 9.10 shutdown immediately after booting when saving an image.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-23
changelog:
  - Programs create-debian-live, create-drbl-live and create-gparted-live work with kernel 2.6.31 of sid now.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-24
changelog:
  - Bug fixed: For non-interactive mode, we should also unmount LVM and swap partition. Thanks to gsusterman for this bug report (https://sourceforge.net/tracker/?func=detail&atid=671650&aid=2896823&group_id=115473).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-26
changelog:
  - The created device.map will be removed after grub-install is run.
  - Bug fixed: S19ocs-run should wait for udevd to be started before it is run in Ubuntu 9.10. Thanks to jeff-aptimize for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-28
changelog:
  - Do not force to remove package gettext-base otherwise grub-related packages will be removed when creating gparted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-30
changelog:
  - Bug fixed: -o0 was not working for multicast restoring. Thanks to Yung-Jen Yu for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-31
changelog:
  - A workaround to avoid upstart bug with NFS (https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/461133) was added in ocs-run.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-32
changelog:
  - Bug fixed: the typo in the workaround to run "mount -a -t nfs" was fixed. Thanks to martinr88 for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-35
changelog:
  - Bug fixed: When multicast restoring, swap partition was not recreated. Thanks to username8 for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-36
changelog:
  - Bug fixed: Options -gm|--gen-md5sum, -gs|--gen-sha1sum, -cm|--check-md5sum, -cs|--check-sha1sum were not shown in the (ocs-sr|drbl-ocs) --help messages. Thanks to Juergen Chiu for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-37
changelog:
  - A workaround was added to avoid uvesafb failing to load in Ubuntu 10.04 (alpha) based Clonezilla live.
  - A boot parameter ocs_live_run_tty was added so that we can use that to control the ocs_live_run on the specific tty.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-43
changelog:
  - Bug fixed: i386 version of OS running grub-install for the x86-64 restored OS was fixed. Thanks to John Ouzts <jouzts _at_ gmail com> and Lukasz I. <physik _at_ poczta onet pl> for tihs bug report.
  - Packages grub-pc and grub-legacy deb will be downloaded and put in /root/ when clonezilla live is created.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-50
changelog:
  - Bug fixed: the 2 instances of ocs_live_run running in tty1 and ttyS0 issue was fixed. Now by default ocs_live_run will only be run on tty1 only. No more both on tty1 and ttyS0. If you want to use ttyS0, for example, add live-getty and console=ttyS0,38400n81 in the boot parameter. Ref: https://sourceforge.net/projects/clonezilla/forums/forum/663168/topic/3499579. Thanks to lukas666 for this bug report.
  - If "live-getty console=$tty,38400n81" are assigned in the boot parameters, ocs_live_run_tty will honor $tty, even other value is assigned to ocs_live_run_tty in boot parameter.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-52
changelog:
  - A typo in ocs-live-hook-functions was fixed.
  - Enable cache-indices in create-(debian|drbl|gparted|ubuntu)-live. By doing this, "apt-get upgrade" won't be run in lh_chroot_sources after hook since we might assign older package version when building.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-54
changelog:
  - Option -k was added in create-drbl-live-by-pkg. A bug about specifying drbl live branch was fixed.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-57
changelog:
  - A workaround to avoid mountpoint false alram for cifs (https://bugs.launchpad.net/ubuntu/+source/linux/+bug/486667) in prep-ocsroot was added.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-58
changelog:
  - "edd=on" was added in boot parameter for Clonezilla live. Thanks to Orgad Shaneh for this suggestion.
  - Now both syslinux and isolinux will be included in clonezilla live iso and zip file. This will avoid confusing.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-59
changelog:
  - Bug fixed: syslinux should be listed in the exclude list to avoid genisoimage failing due to duplication.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-60
changelog:
  - A workaround was added in prep-ocsroot to ensure module nfs will be loaded when mounting nfs4 server.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-61
changelog:
  - Now both syslinux and isolinux will be included in GParted/DRBL live iso and zip file. This will avoid confusing.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-62
changelog:
  - Bug fixed: Failed to create clonezilla/gparted/drbl live with squeeze (create-debian-live/create-gparted-live/create-drbl-live).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-63
changelog:
  - A function decide_live_kernel_related_pkgs_from_debian was added in ocs-functions so it can be used commonly in create-{debian,gparted,drbl}-live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-65
changelog:
  - "nosplash" was appended in failsafe mode and safe graphic mode so that Clonezilla usplash won't be started by default. Thanks to tt232474 for this bug report.
  - create-debian-live, create-ubuntu-live, create-gparted-live and create-drbl-live were improved to work with live-helper.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-66
changelog:
  - Lzma compression option was changed to be "-3" by default.
  - Option -z5|-z5p (for xz|pxz) and -z6|-z6p (for lzip|plzip) were added in ocs-sr and drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-69
changelog:
  - Force to info kernel that the partition table has been changed after partition file system is restored. This makes BSD system restoring work.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-72
changelog:
  - An option (-f) was added in create-(debian|gparted|drbl)-live so that we can assign the linux kernel arch.
  - lbzip2 was used as a default parallel bzip2 program since pbzip2 1.0.5 has an issue about memory usage.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-73
changelog:
  - Disable starting crypto disk in Clonezilla live. Since we won't need on booting and it causes an issue (https://bugs.launchpad.net/puredyne-live/+bug/485858).
  - An option -bt|--bootstrap was added to programs create-(ubuntu|debian|gparted|drbl)-live so that cdebootstrap or debootstrap can be selected.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-74
changelog:
  - Comment in ocs-functions was updated.
  - Due to a output display bug in partclone.dd when restoring, it is not used to save an image. We still use dd to save and restore the image.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-75
changelog:
  - Bug fixed: kernel/net should not be removed in gparted-live-hook otherwise nfs won't be supported.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-77
changelog:
  - Packages usplash and usplash-theme-clonezilla were removed in the packages list in create-ubuntu-live, because in Lucid usplash will conflict with plymouth.
  - More files in the packages libcairo2 and ttf-dejavu-core will be removed in the function dirty_hacking_rm_files_for_ocs_live in ocs-live-hook-functions.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-78
changelog:
  - VMFS supported is improved. Now it works if the blkid can identify the partition as VMFS_volume_member.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-79
changelog:
  - A workaround for VMWare ESX grub was added. For grub 1, if grub.conf exists, but menu.lst not, Clonezilla will try to link grub.conf as menu.lst.
  - An option "-x" to add boot parameters for drbl live was added in create-drbl-live-by-pkg.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-80
changelog:
  - Bug fixed: When a partition is mounted after ocs-sr saving started (seldom case), the image files on /home/partimag will be all removed (https://sourceforge.net/tracker/?func=detail&atid=671650&aid=2956592&group_id=115473). Thanks to Chris Cooper for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-81
changelog:
  - Instead of setting CRYPTDISKS_ENABLE=No, We just remove the start services of cryptdisks-udev.conf and cryptdisks-enable.conf in Lucid Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-82
changelog:
  - Plymouth is not stable in Lucid, and since tehre is no way to use boot parameter to disable it, so force to remove the files of plymouth in the function dirty_hacking_rm_files_for_ocs_live in ocs-live-hook-functions.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.4-86
changelog:
  - In ocs-srv-live.sh we will force dhcp server to lease IP address to PXE or DRBL client.
  - The boot parameter "dcs_mcast_type", which can be one of these values: "clients+time-to-wait", "time-to-wait", or "clients-to-wait" will honored in dcs.
  - "dcs_choose_client dcs_input_img_name dcs_cast_mode dcs_mcast_type ocs_se_restore_save_opt ocs_se_restore_extra_opt" was added to param_2_be_parsed in drbl-live.d/S03prep-drbl-clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-1
changelog:
  - The complete options added to param_2_be_parsed in drbl-live.d/S03prep-drbl-clonezilla should be: dcs_choose_client ocs_user_mode dcs_input_img_name ocs_postmode dcs_img_vol_limit ocs_se_restore_save_opt dcs_cast_mode dcs_mcast_type ocs_se_restore_extra_opt


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-2
changelog:
  - The boot parameter "limit_pxe_drbl_client", which can be "yes" or "no, will honored in drbl live.
  - Remove this: In ocs-srv-live.sh we will force dhcp server to lease IP address to PXE or DRBL client. Since it has been done in drbl-live.sh.
  - Programs ocs-srv-live.sh, drbl-live.sh, and dcs will load the settings of /etc/ocs/ocs-live.conf if it exists.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-3
changelog:
  - Typos fixed in create-drbl-live and create-gparted-live.
  - Bug fixed: boot parameter ocs_se_restore_save_opt should be ocs_se_save_extra_opt.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-4
changelog:
  - By default we put "nosplash" in the live boot menu.
  - Boot parameter "ocs_batch_mode" and "ocs_live_type" are honored by drbl/clonezilla live now.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-8
changelog:
  - Bug fixed: boot parameters ocs_sr_save_extra_opt and ocs_sr_restore_extra_opt was not honored by ocs-sr.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-9
changelog:
  - Bug fixed: boot parameters ocs_sr_save_extra_opt and ocs_sr_restore_extra_opt was not honored by ocs-sr again.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-10
changelog:
  - Bug fixed: when failing to umount the partition in ocs-rm-win-swap-hib, we should not remove the whoile dir.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-12
changelog:
  - Improve create-ubuntu-live, ocs-cnvt-usb-zip-to-dsk, ocs-iso, ocs-live-dev, create-ocs-tmp-img, ocs-makeboot, create-drbl-live, ocs-onthefly and create-gparted-live to avoid potential "rm -rf" error.
  - A function get_pkg_from_dbn_which_ocs_live_need was added to check the packages available for creating drbl/clonezilla live system.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-13
changelog:
  - get_pkg_from_dbn_which_ocs_live_need was moved to ocs-live-hook-functions from ocs-functions.
  - Bug fixed: we should check if the package available in live hook instead of the running system when creating Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-17
changelog:
  - Bug fixed: extra "=" was added in -quiet and -splash options of ocs-live-boot-menu. Thanks to Orgad Shaneh for this bug report (https://sourceforge.net/tracker/?func=detail&atid=671650&aid=2965604&group_id=115473).
  - clonezilla-jobs.log will be put in /var/log/clonezilla/ now, and it will be kept as the file name based on time after the clone job is done.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-19
changelog:
  - Delay umount the testing grub partition, since on OpenSuSE 11.2, the mounted ntfs partition was not aware so fast. This should fix this "ntfsfixboot I/O error issue": https://sourceforge.net/projects/drbl/forums/forum/394007/topic/3559920


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-20
changelog:
  - Delay umount the Windows partition when removeing hibernation ans page files. since the mounted partition was not aware so fast. This should fix this "partition busy error": https://sourceforge.net/projects/drbl/forums/forum/394007/topic/3559920


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-30
changelog:
  - Gave up - polymouth with framebuffer text mode is still very unstable.
  - Bug fixed: service ssh and etc were not disabled for Karmic-based and Lucid-based Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.5-33
changelog:
  - The function to parse boot parameter ocs_server=$IP then notify ocsmgrd was added in ocs-function.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-1
changelog:
  - This release supports Clonezilla-live based client to do clonezilla job.
  - Typos in ocs-function were fixed.
  - A comment was added in drbl-ocs.
  - Variable diskless_client_os was added in drbl-ocs.conf. This will be used as a flag for NFSroot-based or Clonezilla-live-based system in Clonezilla SE.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-3
changelog:
  - Dirs /lib32 and /usr/lib32 will be removed in amd64 version of Clonezilla live. This makes the created file smaller about 30 MB.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-4
changelog:
  - More config variables were added in drbl-ocs.conf so that clonezilla-live based client works better.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-5
changelog:
  - A prompt message was minor updated in ocs-functions.
  - Some preseed values were added in drbl-ocs.conf so that clonezilla-live based client works better.
  - Files in /etc/update-motd.d/ of Clonezilla live will be removed to avoid lsb-release pacakge is required. Otherwise ~ 5 MB size will be need.
  - Command clear won't be in ~user/.bash_profile (S03prep-drbl-clonezilla) in Clonezilla live if the mode is Clonezilla-live based Clonezilla SE.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-6
changelog:
  - An variable iso_url_for_pxe_ocs_live was added in drbl-ocs.conf so that clonezilla-live based client works better.
  - Program drbl-ocs-live-prep was added so that it's easier to put and configure clonezilla live on DRBL server.
  - Modules uvesafb, vesafb and fbcon should not be listed in /etc/modules for Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-8
changelog:
  - More boot parameters (vga and video) will be removed in pxelinux config when running dcs to start clonezilla-live based Clonezilla SE service.
  - drbl-ocs-live-prep was improved to allow assigning clonezilla live iso URL with command line option.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-9
changelog:
  - Functions get_ocs_live_autologin_account and get_ocs_live_auto_login_id_home were added in ocs-functions.
  - The exec of ocs-live-run-menu in ~user/.bash_profile will be commented after clonezilla job is done in drbl-ocs-live mode. This will avoid it's run again if just a logout.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-10
changelog:
  - Package "discover1" was removed in the packages list in create-gparted-live since it does not exist on Sid/Squeeze. Thanks to Scott Hsiao for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-11
changelog:
  - The prompt to run ocs-sr command does not need to have double quotation marks ("") in the command options. Remove them to avoid confusing.
  - An option -a|--client-arch to assign the CPU arch for Clonezilla SE client was added in drbl-ocs-live-prep.
  - drbl-ocs-live-prep supports local clonezilla iso file, and support to use nfsroot when using drbl-SL.sh to deploy Clonezilla live on Clonezilla SE.
  - Package discover and dmraid were added in gparted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-12
changelog:
  - '/proc/devices: fopen failed: no such file or directory is device mapper missing from kernel? Clonezilla is done, no error reported.' error in Ubuntu-based clonezilla live was fixed. Thanks to orographic for this bug report.
  - Examples were updated in drbl-ocs-live-prep.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-13
changelog:
  - Comments in clone-multiple-usb-example.sh were updated.
  - "--language en" was changed as "-l en_US.UTF-8" in ocs-functions.
  - Bug fixed: select-in-client mode with Clonezila-live based Clonezilla SE failure was fixed.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-15
changelog:
  - Due to a problem about lbzip2, we swtich back to use pbzip2 for parallel bzip2 compresstion and decompression.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-16
changelog:
  - Boot parameter "nomodeset" was added with vga=normal to avoid using framebuffer mode in safe graphic mode for drbl/clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-17
changelog:
  - A better mechanism for running vgcfgbackup to save the LVM configuration was implemented. It will avoid triggering NFS lockd.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-19
changelog:
  - A workaround function canonical_hostname_prep was used in prep-ocsroot to avoid NFS statd/lockd issue.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-20
changelog:
  - Bug fixed: Programs ocs-iso and ocs-live-dev were improved to include only Clonezilla-related files. Other files in /live/image/ won't be included.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-26
changelog:
  - Minor updates in ocs-functions.
  - Program prep-ocsroot was improved to work with sshfs/cifs path with space.
  - Program ocs-iso is able to create the recovery iso larger than 4.5 GB. Thanks to Zoltan Kerenyi Nagy for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-28
changelog:
  - Bug fixed: an extra shift should not exist in create-drbl-live. Thanks to Orgad Shaneh for this bug report (http://sourceforge.net/tracker/?func=detail&atid=671650&aid=3016950&group_id=115473).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-32
changelog:
  - Functions get_ocs_live_autologin_account and get_ocs_live_auto_login_id_home were renamed to be get_live_autologin_account and get_live_auto_login_id_home so that they can be used in more general way.
  - Variables ocs_live_autologin_account and ocs_live_auto_login_id_home were renamed to be live_autologin_account and live_auto_login_id_home so that they can be used in more general way.
  - Files copied to autologin account will be done during booting of DRBL live, no more in drbl-live-hook.
  - Parallel start (startpar) was disabled in DRBL live, otherwise gdm will be started before start-drbl-live is done.
  - Force to make start-drbl-live run before gdm3, but after dus and hal.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-33
changelog:
  - Packages tango-icon-theme and hicolor-icon-theme were added in the xfce required packages list for drbl live.
  - LXDE packages list was added in create-drbl-live-by-pkg (Not finished).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-35
changelog:
  - By default "nomodeset" is used in the boot parameters. This will make sure the VGA framebuffer mode is correct.
  - Default to use VGA 800x600 for Clonezilla live. Since most of the netbook does not support 1024x768, and 800x600 is the common one for most of the computers, and it's good enough for Clonezilla live. Thanks for swdotnet for suggesting this.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-37
changelog:
  - By default we change client_no_per_NIC to 100 from 40. As requested by hcj and he has successfully used DRBL live to multicast restore an image to 62 machines.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-38
changelog:
  - We change client_no_per_NIC to 50 from 100. As some errors were reported by requested by hcj and he can only successfully used DRBL live to multicast restore an image to 50 machines.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-40
changelog:
  - Put packages console-data console-setup console-common kbd as the required ones since live-helper changed to depend on keyboard-configuration which is not the one we need.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.6-42
changelog:
  - S03prep-drbl-clonezilla for drbl-live.d was patched with ocs-live-run-menu started automatically when X not existing in the system. Thanks to Orgad Shaneh for this patch.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-1
changelog:
  - Program ocs-live-dev was improved to save the space and the time when copying files. Thanks to Orgad Shaneh for this idea.
  - File system jfs was added in the file system list of partclone in drbl-ocs.conf.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-2
changelog:
  - Remove the workaround in ocs-functions which converts VMFS_volume_member as vmfs when using blkid to detect the file system.
  - File system VMFS_volume_member was added in partclone_support_fs in drbl-ocs.conf.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-3
changelog:
  - Forget about removing dir /usr/share/zoneinfo/ in ocs-live-hook-functions. This might break live-config.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-5
changelog:
  - "live-config" was added in the boot parameter for the live system so that we can use live-initramfs 2.0.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-7
changelog:
  - Variable lh_ver_required in drbl-ocs.conf was changed to be "2.0~a19-1drbl". Ready for live-build.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-8
changelog:
  - Make sudo as the required package when creating gparted live. In case it is not included by the live-build.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-9
changelog:
  - A backup plan for testing lzip image format was added. Thanks to Scaz for this bug report (https://sourceforge.net/tracker/?func=detail&atid=671650&aid=3022428&group_id=115473).
  - Force to use the iso-hybrid option for live-build.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-10
changelog:
  - Not to force to use the iso-hybrid option when using live-build to create lenny or lucid based clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-11
changelog:
  - Option "--force" was added for grub-install (grub2).
  - Russian language file settings were added in ocs-live-hook.conf.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-12
changelog:
  - Package usplash and usplash-theme-clonezilla won't be included when creating Debian-based Clonezilla live, since usplash is no more in Sid.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-13
changelog:
  - Small English Grammatical Errors were fixed. Thanks to Mike Taylor (https://sourceforge.net/tracker/?func=detail&atid=671650&aid=3054348&group_id=115473).
  - A bug about failing to run batch mode in drbl-ocs was fixed. Thanks to Mike Taylor (https://sourceforge.net/tracker/?func=detail&atid=671650&aid=3054348&group_id=115473).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-15
changelog:
  - File system btrfs support was added in drbl-ocs.conf. From partclone 0.2.14 btrfs is supported (experimental).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-17
changelog:
  - The .xinitrc and .bashrc of GParted live will be created during booting, no more in the live hook.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-19
changelog:
  - When using the grub2 in the restored OS failed, the plan B (grub2 from Clonezilla live) will be used.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-20
changelog:
  - The utils dir is included in GParted live iso file. With this, we can put the files of GParted live iso on an USB stick and make it bootable with some commands.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-21
changelog:
  - A program get-latest-ocs-live-ver was added to parse the latest Clonezilla live on the sourceforge repository.
  - Use "lb" instead of "lh" since no more "lh" command in live-build 2.0~a25-1 or later.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-22
changelog:
  - The file system header will be cleaned only when the image of the partition exists. It will not be cleaned before testing existence.
  - Program drbl-ocs-live-prep was implemented to use a better way to get the latest stable Clonezilla live iso (get-latest-ocs-live-ver).
  - The processes in /ocs/ocs-live.d/ in ubuntu-based clonezilla live will be started only after live-config is done.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-27
changelog:
  - Now the X will be run as normal login account in GParted live. This is due to the change of live-config, so we follow that.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-28
changelog:
  - The private DNS name server won't be built-in in dhcpd.conf when creating drbl live.
  - A new boot parameter "ocs_client_no_per_NIC" was added for DRBL live. It is used to assign the DRBL clients' number.
  - Bug fixed: ocs-srv-live.sh should detect dhcpd, not only dhcpd3.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-29
changelog:
  - Live-build 2.0.0-1 puts "config" instead of "live-config" in the boot parameters, so now "config" will be detected in ocs-functions, too.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-31
changelog:
  - The grub 1 and 2 deb files were moved to /opt/drbl/pkg/grub instead of /root. Otherwise DRBL live client won't have that.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-34
changelog:
  - Function parse_cmdline_option in drbl-functions/gl-functions was updated to allow "=" and ",". Thanks to Jacobo Vilella Vilahur for this bug report (https://sourceforge.net/tracker/?func=detail&atid=671650&aid=3081655&group_id=115473).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-35
changelog:
  - More prompts were added in drbl-ocs-live-prep.
  - Minor update (prdownloads.sf.net -> downloads.sf.net) in drbl-ocs-live-prep.
  - Minor update for create-ubuntu-live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-37
changelog:
  - The files of x11-common won't be removed otherwise the error messages will be shown by startpar during Clonezilla live booting.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-38
changelog:
  - A better mechanism was implemented in ocs-live-run-menu so boot parameter ocs_live_extra_param can be deprecated, i.e. we can put all in a line in boot parameter ocs_live_run.
  - Bug fixed: A bug about failing restoring swap parition on GPT disk. Thanks to Bill Marohn <bmarohn _at_ digitiliti com> for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-39
changelog:
  - The boot parameter ocs_live_extra_param can not be deprecated. We still need that for ocs-live-restore. It's still a better way to separate command options and link the embedded image.
  - Program ocs-live-restore was improved to make it allow shutdown the machine when using Clonezilla recovery iso/zip with "-p poweroff".


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-42
changelog:
  - Package mount-gtk was added in create-gparted-live.
  - Package dhcp*-client* was listed instead of dhcp-client in create-gparted-live.
  - Put natty in create-ubuntu-live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-44
changelog:
  - A typo fixed in ocs-functions.
  - The option "-j2" was not working when using restoreparts. Thanks to dzundam for this bug report.
  - Another example custom-ocs-2 was added. It can be used to save and restore dual boot systems.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-46
changelog:
  - A more specific message was added for restoring image of partition to different partition device. Thanks to odoyle81 for this.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-47
changelog:
  - Bug fixed: get-latest-ocs-live-ver failed to get the version from the new HTML layout of sourceforge download page.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-48
changelog:
  - Program ocs-langkbdconf-bterm was updated to use drbl-kbdchooser.
  - Bug fixed: drbl-ocs failed to find the correct kernel and initrd for Clonezilla live mode in Clonezilla SE.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-49
changelog:
  - By default we install grub-legacy in GParted live, and put grub-pc and grub-legacy debs in /root/pkg/grub/.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-51
changelog:
  - Package mount-gtk was removed in GParted live. It can not be used to mount the device by selection, one still has to know the device name.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-53
changelog:
  - Bug fixed: If no Clonezilla live section is found in pxelinux config file, we should not add or remove the options.
  - GParted icon gparted.xpm was updated.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-54
changelog:
  - Two variables were added in drbl-ocs.conf: ocs_live_username & ocs_live_passwd. They will be used to send the command to Clonezilla live clients of Clonezilla SE.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-57
changelog:
  - Bug fixed: Force to unmount image repository before rebooting/shutdowning Clonezilla live. Thanks to Manuel Borchers for reporting this.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-58
changelog:
  - The function exclude_umount_live_mnt_point_in_umountfs is obsolete. We let live-config to do this. Ref: http://lists.debian.org/debian-live/2010/12/msg00191.html


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-60
changelog:
  - Program create-gparted-live was modified to put the correct background file for isolinux.
  - Bug fixed: "ocs-live-dev -s -d /dev/sda1" failed to copy files to the ouput dev (/dev/sda1), it was using files linked. Thanks to Asou Y.S. Chang for this bug report.
  - An option -d|--dark-bg was added for ocs-live-boot-menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-61
changelog:
  - Use Clonezilla live as the clonezilla-related OS in drbl live.
  - Bug fixed: drbl-ocs-live-prep failed to remove the tmp dir.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-64
changelog:
  - An example IP address instead of real IP address got from the machine was used in the drbl-live-hook, because the real one is useless and it will be automatically updated when DRBL live is booted on the server machine.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-67
changelog:
  - If error occurs, program ocs-onthefly will show errors in red and wait for key input then continue.
  - The previous generated iso will be cleaned before a new one is created again in ocs-iso.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-68
changelog:
  - Option "noatime" and "nodiratime" are used when mounting file system in prep-ocsroot. Thanks to Petr for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-69
changelog:
  - The virtual block device (/dev/vd[a-z]) support was added. Thanks to Cyril Roos for providing patch.
  - Bug fixed: failing to use ntfs-3g to mount ntfs file system in ocs-chnthn.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.7-71
changelog:
  - A mode "check" was added in get_existing_partitions_from_img of ocs-functions.
  - Program ocs-chkimg was added. It can be used to check the image of Clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-1
changelog:
  - When an image is saved, an option to run ocs-chkimg was added.
  - An option to check if the image is restorable was added in the wizard.
  - The image time info format shown on the dialog menu is improved.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-4
changelog:
  - A prompt was added, and it is about not checking swap info when the image is for a whole disk in ocs-chkimg.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-9
changelog:
  - Package xserver-xorg was listed as a must in create-gparted-live.
  - Bug fixed: a workaround was added to make setxkbmap work.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-10
changelog:
  - Option "-batch" instead of "-b" in ocs-sr and ocs-onthefly is used by default. This will avoid the problem when using in the boot prameters, init will honor it.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-12
changelog:
  - Highlight description about the disk and partition info before writing GPT/MBR partition table.
  - The GPT file saved by sgdisk will be checked in ocs-chkimg.
  - Now Clonezilla requires partimage, no more drbl-partimage.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-16
changelog:
  - The mechanism to inform kernel the partition table change was improved. This makes the FreeBSD slices restoring work.
  - Program get-latest-ocs-live-ver was improved to sort and get only one output.
  - The function get_part_id_from_sf_format was added in ocs-functions.
  - Program ocs-chkimg was improved to skip checking VMware VMKCORE partition, since there is no need to do that, and the false alarm can be ignored.
  - Some of the settings of ocs-onthefly were moved to drbl-ocs.conf.
  - By default we use partclone.dd to replace dd in ocs now. A flag was added in drbl-ocs.conf so it can be switched easily.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-17
changelog:
  - The function get_bsd_swap_slice was added in ocs-functions.
  - Program ocs-chkimg will skip checking BSD swap slice, since there is no need to do that, and the false alarm can be ignored.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-20
changelog:
  - Typo fixed: The term "slice" and "partition" of BSD system in ocs-functions and ocs-chkimg were not used correctly.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-21
changelog:
  - Function get_bsd_swap_partition in ocs-functions was improved to process multiple BSD slices.
  - The partitions list are not sorted any more in the function get_known_partition_proc_format in ocs-functions.
  - Program ocs-get-part-info was improved to tell ufs partition and BSD slice.
  - Program dd is used to save BSD slice info. This will avoid duplicating save for BSD slice and the 1st partition inside it.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-22
changelog:
  - The existing image dir will only be removed after the first confirmation, not before it.
  - Bug fixed: the grep segfault when checking unknown file system if supported by partclone.
  - Perl temp file (e.g. .nfs0000000096af2bf70000000f) existing in image dir is avoided.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-24
changelog:
  - Revert to use boot parameter "nomodeset", otherwise KMS will take effect, and the framebuffer mode parameter (vga=788...) will be ended. Thanks to NJ_Dude for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-28
changelog:
  - A typo (Mouting) in prep-ocsroot was fixed.
  - Required hal service was removed from "start-drbl-live" and "stop-drbl-live" in drbl-live. Since now hal is no more a service.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.8-29
changelog:
  - Package mlterm was replaced by xfce4-terminal in create-drbl-live-by-pkg.
  - "noac" wad added to workaround the unfs3 "Stale NFS file handle" in DRBL live.
  - The workaround method "sync_and_active_exec_files" in ocs-functinos was disabled.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.10-1drbl
changelog:
  - NFS option "nofsc" was removed from drbl live, since it does not solve the "Stale NFS file handle" issue in drbl live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.11-1drbl
changelog:
  - Force to use LC_ALL=C in the mount command of prep-ocsroot. A workaround to avoid sshfs "Read: connection reset by peer" or "remote host has disconnected" issue. Thanks to Greg Trounson <gregt _at_ maths otago ac nz> for reporting this issue and providing testing environment.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.13-1drbl
changelog:
  - "insserv", if found, is used to remove service in ocs-live-hook-functions
  - "jfbterm" instead of "bterm" is used when asking language and keymap in DRBL live.
  - "unfs3" service should be removed in drbl live hook.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.16-1drbl
changelog:
  - Put canonical_hostname_prep before check_portmap_nfs_common_daemon is run in prep-ocsroot, otherwise the rpcbind and unfs3 won't work correctly.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.18-1drbl
changelog:
  - "toram=filesystem.squashfs" was added for locales menu in ocs-live-boot-menu.
  - The "gPXE" part is replaced by "iPXE".
  - A better method to download unifont.bgf was implemented in ocs-live-hook.
  - The grub2 boot loader for EFI was added.
  - "unifont.bgf" part in create-gparted-live was removed, since we do not use it anymore.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.21-1drbl
changelog:
  - "png" module was added for grub EFI boot loader.
  - Rename the dir /EFI/BOOT/ as /EFI/boot/, and add the grub efi config file grub.cfg.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.23-1drbl
changelog:
  - "ntfs" module was added for grub EFI boot loader.
  - When an empty bootia32.efi or bootx64.efi is created, it should be removed.
  - Only grub.cfg will be used for EFI booting, no more bootia32.conf and bootx86.conf.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.25-1drbl
changelog:
  - Since the issue of "hang on exit" of jfbterm has been fixed, we turn on jfbterm in Ubuntu-based Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.26-1drbl
changelog:
  - The pre-run and post-run of Clonezilla live were moved from the service in rc2.d to the shell after login. This would allow interactive command work (e.g. sshfs mount with password input).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.29-1drbl
changelog:
  - Function parse_cmdline_option of gl-functions was updated to allow "@" because it is required by sshfs.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.30-1drbl
changelog:
  - Bug fixed: The last action in live-config is umountfs, not login in live-config 2.0.15-drbl1. Therefore /etc/ocs/ocs-live.d/S00ocs-start was modified (Ubuntu-based Clonezilla live).
  - Bug fixed: halt should not be run before live-boot in Ubuntu-based Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.32-1drbl
changelog:
  - ocs-sr --help will show some more options about saving an image. (https://sourceforge.net/tracker/?func=detail&atid=671650&aid=3295392&group_id=115473).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.34-1drbl
changelog:
  - Use live-boot instead of live-initramfs for lb_config in create-(debian|drbl|gparted|ubuntu)-live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.36-1drbl
changelog:
  - The syslinux.exe should be the same version with that in isolinux in Clonezilla|DRBL|GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.37-1drbl
changelog:
  - Package ssh added in create-gparted-live.
  - Put wheezy in ocs-functions for create-*-live.
  - The tmp dir /tmp/ocs-iso.* will be cleaned after use.
  - Program create-debian-live was improved so that the amd64 image can be created on an i386 Debian server, and vice versa.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.38-1drbl
changelog:
  - The option "-comp xz -Xbcj x86" was used for mksquashfs when creating Natty-based Clonezilla live. This xz compression instead of gzip method made the Clonezilla live iso or zip file smaller by ~ 33 MB.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.40-1drbl
changelog:
  - Use XZ initrd for DRBL and GParted live, too.
  - Mlterm was replaced by lxterminal in GParted live, since lxterminal is smaller, and be used in many distributions.
  - Ssh service in GParted live is off by default.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.41-1drbl
changelog:
  - Bug fixed: syslinux/isolinux files did not exist in /opt/drbl/pkg/syslinux, and this made recovery-iso-zip fail. Thanks to cbeazer for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.42-1drbl
changelog:
  - Suppress the error messages when removing /live/image dir. In some cases it should not be removed.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.43-1drbl
changelog:
  - "nomodeset" was added in the ocs-live-boot-menu for vga=normal. It's a must otherwise if KMS is on, vga=normal is useless.
  - Package "partimage" was removed from the package list in create-gparted-live. The option "-k" of create-gparted-live can be used to add the packages.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.45-1drbl
changelog:
  - Source files list in /var/lib/apt/lists will be removed when clonezilla/drbl/gparted live is created.
  - Program create-gparted-live will create EFI booting files, too. 
  - An option (-o|--create-source-tarball) was added to create-(debian|drbl|gparted-live).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.47-1drbl
changelog:
  - Program prep-ocsroot was improved to make mounting cifs and sshfs with an account name including white space.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.50-1drbl
changelog:
  - Language file pt_BR was added, so the corresponding parts were updated. Thanks to Marcos Pereira da Silva Cruz <marcospcruz _at_ gmail com>.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.52-1drbl
changelog:
  - A better method was implemented to check the exit status of sfdisk. Otherwise if the partition table creation goes wrong, the program won't stop.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.54-1drbl
changelog:
  - Remove the option "-b1024" for pbzip2 since the unit is 100K, -b1024 will use 1024*100K per thread, and this might cause system to crash due to out of memory for multiple cores. Without the option -b, the default value will be used. Thanks to Telligent for the bug report (https://sourceforge.net/tracker/?func=detail&atid=671650&aid=3324096&group_id=115473).


author: Steven Shiau <steven _at_ nchc org tw> 2.3.59-1drbl
changelog:
  - Option "-icrc, --icrc" was added in the usage manual of ocs-sr.
  - Option "-irhr, --irhr" was added in ocs-sr. This option allows us to skip removing Linux udev hardware record after an image is restored.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.61-1drbl
changelog:
  - More prompts were added about removing Linux udev hardware record.
  - Option "-irhr, --irhr" was added in ocs-onthefly. This option allows us to skip removing Linux udev hardware record after a disk is cloned.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.62-1drbl
changelog:
  - Function parse_cmdline_option in gl-functions was improved to accept the /proc/cmdline parsed by grub2 1.99. Now it works for 3 cases in /proc/cmdline: E.g. (1) ocs_prerun="sleep 5" (2) ocs_prerun=\"sleep 5\" and (3) "ocs_prerun=sleep 5".


author: Steven Shiau <steven _at_ nchc org tw> 2.3.63-1drbl
changelog:
  - Bug fixed: Function parse_cmdline_option in gl-functions was improved. Make the parsing for gl_lang="" correct.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.64-1drbl
changelog:
  - Version sorting for partitions list will be used if supported in ocs-tux-postprocess.
  - Bug fixed: ocs-expand-mbr-pt failed to deal with partition number larger than 10, and the calculation to expand logical drivers was wrong.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.65-1drbl
changelog:
  - The prompt about not to expand the "system reserved partition" is highlighted in ocs-expand-mbr-pt.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.66-1drbl
changelog:
  - A typo in the comment of ocs-live-general was fixed.
  - Option "-r" was on by default in ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.67-1drbl
changelog:
  - The nfs version 3 option will be specific in prep-ocsroot when mounting a NFS2/3 server. Thanks to darstra for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.68-1drbl
changelog:
  - Program ocs-gen-grub2-efi-bldr was improved to make the bootia32.efi/bootx64.efi work with the partition table of MBR instead of only GPT.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.72-1drbl
changelog:
  - Program gl-gen-grub2-efi-bldr was improved to make the bootia32.efi/bootx64.efi work with the partition table of MBR instead of only GPT.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.73-1drbl
changelog:
  - Package cpufrequtils was added in GParted live packages list.
  - The volume name of DOS and NTFS partition will be shown before restoring. Thanks to LittleLight Lee <littlelight _at_ gmail com> for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.74-1drbl
changelog:
  - Set grub_prefux as "/EFI/boot" when running grub-mkimage in program ocs-gen-grub2-efi-bldr. Grub2 module "gfxterm" was added, too.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.75-1drbl
changelog:
  - The required files of grub2, e.g. fonts file, will also be copied to /EFI/boot in ocs-gen-grub2-efi-bldr.
  - The grub.cfg for EFI booting was improved.


author: Steven Shiau <steven _at_ nchc org tw> 2.3.77-1drbl
changelog:
  - Give warning color (yellow) instead of error color (red) when destination disk is the same as source one in cnvt-ocs-dev.
  - A program (restore-mdisks) to restore an image to multiple destination disks were added.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.1-1drbl
changelog:
  - Improvement: now we can assign the parameters of ocs-sr in ocs-restore-mdisks.
  - The mode "1-2-mdisks" (one image to be restored to multiple disks) was added in Clonezilla main menu.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.2-1drbl
changelog:
  - Put "wait" command in the end of ocs-restore-mdisks so it won't enter shell before the jobs are done.
  - The converted images by ocs-restore-mdisks are put in /tmp/.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.3-1drbl
changelog:
  - Function confirm_continue_no_default_answer was added in ocs-functions.
  - No default answer to continue in ocs-restore-mdisks.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.4-1drbl
changelog:
  - Reuse confirm_continue_no_default_answer in ocs-functions.
  - Prompt was updated in ocs-restore-mdisks.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.5-1drbl
changelog:
  - The rerun commands will be saved as a script in /tmp/ when running ocs-restore-mdisks.
  - Bug fixed: ocs_user_mode should not be asked twice in ocs-sr -> 1-2-mdisks.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.6-1drbl
changelog:
  - Function get_part_vol_name should show nothing when no file system on a partition. No any error or warning message should be shown in stdin. 
  - Prompt to insert USB device in the beginning of ocs-restore-mdisks.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.7-1drbl
changelog:
  - A function check_if_any_image_exists was added in ocs-functions to identify the clonezilla image. It's used to ocs-sr.
  - A file "clonezilla-img" to tag an Clonezilla image was added in the image dir.
  - Restore related menu, i.e. restoredisk and restoreparts, will only be shown when images exist in image repository.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.9-1drbl
changelog:
  - The "ask_user" option was added in the prompt in recovery-iso-zip dialogs.
  - Btrfs file system resize was added in ocs-resize-part.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.10-1drbl
changelog:
  - Program opoen-iscsi was added in GParted live.
  - Timezone info will be shown in the file "clonezilla-img" in the image dir.
  - The option -fsck-src-part will be prompted when saving, no matter it's beginner or expert mode.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.11-1drbl
changelog:
  - Minor update in the output messages in ocs-functions.
  - The deprecated icon "info" on GParted live desktop was removed.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.13-1drbl
changelog:
  - Deprecated files gl-win and gl-info of GParted live were removed. Ref: https://bugzilla.gnome.org/show_bug.cgi?id=662726
  - Package dillo was added for GParted live. Ref: https://bugzilla.gnome.org/show_bug.cgi?id=662723
  - Use 2 as the gap sectors in ocs-expand-mbr-pt. Otherwise the option "-k1" of clonezilla might create a wrong partition table.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.14-1drbl
changelog:
  - Use function get_sort_V_opt in ocs-tux-postprocess.
  - A program "ocs-update-syslinux" to update syslinux and its related files on a FAT partition was added.
  - An option "-ius|--ius" was added to ocs-sr and ocs-onthefly so that we can skip updating syslinux after restoring. By default it will be done if a FAT partition with ldlinux.sys is found.
  - The option to fsck the source partition will be shown in beginner mode of ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.15-1drbl
changelog:
  - The output log for each disk creating will be in /tmp/ when running ocs-restore-mdisks.
  - By default we do not separate fdisk actions in ocs-restore-mdisks.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.16-1drbl
changelog:
  - Before creating partition table on the destination disk, Clonezilla will check if the size is big enough. If not, quit.
  - Besides the *.c32 and *.bin files, those *.com and memdisk will be updated by ocs-update-syslinux.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.17-1drbl
changelog:
  - Parameter job_before_quit was added for functions confirm_continue_no_default_answer and confirm_continue_or_default_quit in ocs-functions.
  - Program ocs-onthefly was improved to give better info before starting cloning and repartitioning the disk. 
  - An option "-pa|--postaction" was added to ocs-onthefly so it could be assigned to reboot or shutdown the machine after cloning. Thanks to flyfoxuk for this idea.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.20-1drbl
changelog:
  - The font color of grub2 for Clonezilla live was changed.
  - Bug fixed: the option "-g auto" failed for restored OS Fedora 16 has been fixed. It's due to different grub2 boot dir (/boot/grub2 instead of /boot/grub).
  - Switch to include grub-pc (grub2) instead of grub-legacy (grub1) for Debian-based Clonezilla/DRBL/GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.21-1drbl
changelog:
  - Package grandr was replaced by lxrandr in GParted live since it's no more in Debian repository for i386.
  - An icon on desktop for dillo was added for GParted live.
  - Package netbase was added in GParted live.
  - The fluxbox menu for GParted live was updated.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.23-1drbl
changelog:
  - Files gl-mountstick.sh, resize-windows.txt and gl-packages were removed since they are not used in GParted live anymore.
  - Packages pppoeconf, ethtool, whiptail and lshw were added for GParted live.
  - Program gl-live-netcfg was added to make it easier for users to configure network.
  - Minor improvement for ocs-live-netcfg.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.27-1drbl
changelog:
  - Package grandr was replaced by lxrandr in DRBL live since it's no more in Debian repository for i386.
  - If xfce4 display setting program is found in DRBL live, use it for desktop icon app instead of lxrandr.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.28-1drbl
changelog:
  - Bug fixed: grub2 boot menu background for EFI booting of DRBL live was added.
  - Minor typo fixed when restoring an image.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.29-1drbl
changelog:
  - A better method to update syslinux related files on restored partition was implemented in ocs-update-syslinux. This should make the restored VMWare ESXi 5 bootable.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.33-1drbl
changelog:
  - An option to create source tarball was added in create-drbl-live-by-pkg.
  - Git was added in the packages list in create-drbl-live-by-pkg.


author: Steven Shiau <steven _at_ nchc org tw> 2.4.37-1drbl
changelog:
  - A better mechanism was implemented to keep the MS Windows boot reserved partition size when option "-k1" is chosed.
  - GPT partition table info will also be dumped in plain text file when saving an image so that it's easier to read.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.1-1drbl
changelog:
  - VMFS3 and VMFS5 support are separated, no more mixed because partclone.fstype from 0.2.45 now can tell them. Since vmfs5 support is still buggy, disable it in drbl-ocs.conf.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.2-1drbl
changelog:
  - The usage of ocs-sr and drbl-ocs were updated. "ask_user" and "autoname" were added.
  - An option to use "autoname" to create the image name was added.  Thanks to encephalophone (Mike) for the patch.
  - An option (-icds, --ignore-chk-dsk-size-pt) to skip checking skip checking destination disk size before creating the partition table on it was added. Thanks to Sartoratti Lorenzo for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.3-1drbl
changelog:
  - A better mechanism was implemented in ocs-update-syslinux. Only when the files to be updated are found on the system "syslinux -i" will be run.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.4-1drbl
changelog:
  - Disable apt languages and translations when creating DRBL live. This could reduce apt repository issue.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.6-1drbl
changelog:
  - Disable apt languages and translations when creating Clonezilla/GParted live. This could reduce apt repository issue.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.7-1drbl
changelog:
  - "sudo" was added before "sgdisk -z /dev/sdx" prompt. Thanks to drobb for this suggestion.
  - The required packages of grub 1 and 2 were updated when Clonezilla/DRBL/GParted live are created.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.7-2drbl
changelog:
  - LVM on RAID device CCISS was improved. Thanks to Gianluca Bellina <Gianluca.Bellina _at_ acision com> for the bug report.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.8-1drbl
changelog:
  - A better way to purge grub1 or grub2 related packages was implemented in the functions of prepare_grub1_files_if_required and prepare_grub2_files_if_required.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.9-1drbl
changelog:
  - The descriptions about grub2 and grub1 in functions of prepare_grub2_files_if_required and prepare_grub1_files_if_required of ocs-functions were updated.
  - Option -fsck-src-part-y was added for running fsck with option -y.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.11-1drbl
changelog:
  - The prompt in ocs-update-syslinux was updated.
  - Force the kernel to re-read the partition table after sgdisk --zap-all the disk.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.14-2drbl
changelog:
  - Switch to use "lrzip -q -d -o -" instead of "lrzcat -q" so that in order version of lrzip can be used. Closed https://sourceforge.net/tracker/index.php?func=detail&aid=3487541&group_id=115473&atid=671650.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.17-1drbl
changelog:
  - Allowing cancellation when selecting a dir name for local image repository. Closed https://sourceforge.net/tracker/?func=detail&atid=671650&aid=3491047&group_id=115473


author: Steven Shiau <steven _at_ nchc org tw> 2.5.20-1drbl
changelog:
  - Adding packages "tree" and "cifs-utils" for gparted live in create-gparted-live.
  - The image of a partition saved by dd won't be treated as a broken one in ocs-chkimg.
  - The grub4 on ext4 warning will be shown again if grub1 is not run successfully.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.22-1drbl
changelog:
  - A function get_not_busy_disks_or_parts was added in ocs-functions so it can be reused. 
  - A researved name "all" is used for finding all the devices in the system or in the image. Thanks to matthiaswe for this idea.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.23-1drbl
changelog:
  - A workaround was added to avoid grpck error during booting. Ref: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=638263


author: Steven Shiau <steven _at_ nchc org tw> 2.5.25-1drbl
changelog:
  - Vmfs5 supported by partclone was enabled in drbl-ocs.conf, because partclone 0.2.46 has supported it.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.26-1drbl
changelog:
  - More non-free firmware, e.g. ipw2200, will be included in Ubuntu-based Clonezilla live. Thanks to Shinobi (iam_shinobi _at_ yahoo com) for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.28-1drbl
changelog:
  - Bug fixed: Non-free firmware doc should not be removed by function dirty_hacking_rm_files_for_ocs_live.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.29-1drbl
changelog:
  - An option to use "autohostname" to create the image name was added.  Thanks to tererecool (David Bauer) for this idea.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.32-1drbl
changelog:
  - Allowing to enter command line prompt to create partition table when blank destination disk is found in restoreparts mode.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.37-1drbl
changelog:
  - Bug fixed: when mounting partition in install_grub_hd, swap and extended partition should be skipped otherwise mount command might hang.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.38-1drbl
changelog:
  - Bug fixed: (another one) when mounting partition in install_grub_hd, swap and extended partition should be skipped otherwise mount command might hang.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.40-1drbl
changelog:
  - Bug fixed: no grub config head data in ocs-gen-grub2-efi-bldr.
  - Booting on uEFI machine is supported in ocs-iso and ocs-live-dev.


author: Steven Shiau <steven _at_ nchc org tw> 2.5.42-1drbl
changelog:
  - A better mechanism was implemented to decide the restored OS is using grub 1 or 2. Thanks to Robert Weir for reporting this issue on Fedora 17 restoring.


author: Steven Shiau <steven _at_ nchc org tw> 2.6.1-1drbl
changelog:
  - Comments were added in ocs-live-hook to mention about ocs_live_keymap is deprecated.
  - In DRBL/Clonezilla live, ocs_lang will honor the live-config boot parameter "locales", and live-config boot parameters "keyboard-layouts" or "live-config.keyboard-layouts" will be honored, too. From now on ocs_live_keymap is deprecated.
  - In GParted live, gl_lang will honor the live-config boot parameter "locales", and live-config boot parameters "keyboard-layouts" or "live-config.keyboard-layouts" will be honored, too. From now on "keyb" is deprecated.


author: Steven Shiau <steven _at_ nchc org tw> 2.6.3-1drbl
changelog:
  - Showing deprecated messages about boot parameters ocs_live_keymap, ocs_lang, gl_kbd, gl_lang, and keyb.


author: Steven Shiau <steven _at_ nchc org tw> 2.6.5-1drbl
changelog:
  - Function show_deprecated_ocs_gl_lang_and_keymap was added in gl-functions.
  - Separating the functions to show the deprecated messages for keybord and lang in Clonezilla/DRBL live and GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 2.6.7-1drbl
changelog:
  - "menu :RootMenu" will be appended to fluxbox's keys file in GParted live. Ref: https://bugzilla.gnome.org/show_bug.cgi?id=578842#c8


author: Steven Shiau <steven _at_ nchc org tw> 2.6.13-1drbl
changelog:
  - Bug fixed: linux-image-extra version was not assigned correctly in Ubuntu-based (12.10 pre-release) Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 2.6.14-1drbl
changelog:
  - The function get_live_autologin_account of ocs-functions will now search the files in /etc/sudoers.d/, too.


author: Steven Shiau <steven _at_ nchc org tw> 2.6.16-1drbl
changelog:
  - The command to save an image will be saved in the image dir as file Info-saved-by-cmd.txt.
  - Adding package "man" in GParted live, and keeping the /usr/share/man files.


author: Steven Shiau <steven _at_ nchc org tw> 2.6.19-1drbl
changelog:
  - The man pages will be kept in GParted live (https://bugzilla.gnome.org/show_bug.cgi?id=680503).
  - Packages leafpad and pcmanfm were added in GParted live (https://bugzilla.gnome.org/show_bug.cgi?id=680504).


author: Steven Shiau <steven _at_ nchc org tw> 2.6.21-1drbl
changelog:
  - The function get_live_autologin_account of gl-functions will now search the files in /etc/sudoers.d/, too.


author: Steven Shiau <steven _at_ nchc org tw> 3.0.7-drbl1
changelog:
  - Bug fixed: The description using space key to mark the selection for disk to disk clone is not required. Thanks to sabrehagen (https://sourceforge.net/tracker/?func=detail&atid=671650&aid=3552271&group_id=115473).


author: Steven Shiau <steven _at_ nchc org tw> 3.0.8-drbl1
changelog:
  - Boot parameter "ocs_lang" in Clonezilla live is now replaced by "locales" from live-config.
  - Boot parameter "ocs_live_keymap" Clonezilla live is now replaced by "keyboard-layouts" from live-config.
  - Boot parameters "echo_ocs_prerun" and "echo_ocs_postrun" were added. This can be used to disable echoing the ocs_prerun and ocs_postrun command.


author: Steven Shiau <steven _at_ nchc org tw> 3.0.10-drbl1
changelog:
  - Boot parameter "nolocales" was removed from Clonezilla live since now "locales=" is used by default.
  - Prompt msg_client_job_are_logged_in was updated. Thanks to René Mérou for asking.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.0-drbl1
changelog:
  - Using drbl-sl instead of calling drbl-SL.sh now.
  - Using drbl-live instead of calling drbl-live.sh now. 
  - File ocs-srv-live.sh was renamed as ocs-srv-live.
  - Adding the interpreter's magic number for ocs-functions, and ocs-chnthn-functions to avoid lintian's warning.
  - Bug fixed: an extra "{" in the end of MC_HxEd was removed.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.2-drbl1
changelog:
  - A reserved image name "autoproductname" was added so that Clonezilla can use that to save and restore image based on the manufacture and product name got from dmidecode.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.6-drbl1
changelog:
  - Bug fixed: the VOL_LIMIT for spliting image file could not larger than 20000000000000. Ref: https://sourceforge.net/tracker/?func=detail&atid=671650&aid=3567350&group_id=115473
  - Bug fixed: saving mode should enable ncurse interface by default, too. Otherwise it's confusing.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.8-drbl1
changelog:
  - To avoid the KMS and vmwgfx conflict issue (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686939), some blacklist boot parameters were added.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.10-drbl1
changelog:
  - Bug fixed: the install_grub_hd in ocs-live-dev should skip checking the boot loader on the USB flash drive, because it might be new, empty one.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.12-drbl1
changelog:
  - Bug fixed: Prompts in create-ubuntu-live were out-of-date. They are updated so there is no problem to create Raring-based Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.13-drbl1
changelog:
  - Bug fixed: the *.mod files for grub2 are not fixed in the path /boot/grub/. It could be in /boot/grub/i386-pc/. Function install_grub_hd failed in this case.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.14-drbl1
changelog:
  - Bug fixed: autohostname failed to append the time tag for the image name. Thanks to dennisd248 for reporthing this bug.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.16-drbl1
changelog:
  - Bug fixed: for live-config v3.x, the last file in /lib/live/config/ is 9990-hooks, not 999-hooks. S00ocs-start should honor 9990-hooks, too.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.17-drbl1
changelog:
  - Bug fixed: uEFI booting of Quantal-based Clonezilla failed due to grub 2.x has no "pci.mod", so we should not list it.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.19-drbl1
changelog:
  - Bug fixed: ocs-lvm2-stop did not work on Ubuntu Linux due to the udevd rules 85-lvm2.rules from Ubuntu.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.20-drbl1
changelog:
  - Bug fixed: the date tag of image name for autohostname should be consistent with that of autoname.
  - Help messages about autoproductname were added.
  - Another partition table file was added in image dir. It's easier for human to read.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.21-drbl1
changelog:
  - Bug fixed: the for loop for searching files /lib/udev/rules.d/*.drblsave should test if file really exists before going on.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.24-drbl1
changelog:
  - Bug fixed: the -k option of ocs-iso and ocs-live-dev should be updated since now keyboard layout boot parameter from live-config is used.
  - Bug fixed: the batch_mode on the server is nothing to do with that on the client in the program ocs-onthefly. Thanks to kevluck373 for reporting this issue (https://sourceforge.net/projects/clonezilla/forums/forum/663168/topic/6188724).
  - The options "-j" and "-n" of ocs-iso and ocs-live-dev were removed because we won't put the template iso on the repository anymore.
  - No more using template iso from reporitory, now we use clonezilla live iso when running ocs-iso or ocs-live-dev to create a recovery iso or zip.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.25-drbl1
changelog:
  - Bug fixed: the description for the option "-r" of ocs-sr and ocs-onthefly was polished. Thanks to auroracore.
  - Updtaed the lh_ver_required in drbl-ocs.conf, and since we no more using cdebootstrap to create Clonezilla/DRBL/GParted live, variable should change to debootstrap_ver_required instead of cdebootstrap_ver_required.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.26-drbl1
changelog:
  - Bug fixed: MBR partition table should not be larger than 2 TiB (2.2 TB). A checking mechanism was added in ocs-expand-mbr-pt to avoid going on.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.27-drbl1
changelog:
  - Bug fixed: converting the checking mechanism of 2 TiB as function and using that all before writing MBR partition table on a hard disk.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.29-drbl1
changelog:
  - Bug fixed: typos in the prompt were fixed.
  - Bug fixed: To avoid the OS does not know the partition changes, a command "partprobe" was added in prep-ocsroot after local disk is inserted. Thanks to neikalo for reporting this issue (https://sourceforge.net/tracker/index.php?func=detail&aid=3592776&group_id=115473&atid=671650).
  - Bug fixed: To avoid grub1 on ext4 issue, running the grub-install from the restored OS should be try first. If fails, then using the grub1 on the running OS.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.30-drbl1
changelog:
  - Bug fixed: No more using "Something went wrong" message, instead more precise messages will be given.
  - Module floppy was added in the blacklist in Clonezilla live and DRBL live. The floppy is normally useless but if it exists, it might cause the disk detection delay. If floppy is required, a user still can run "modprobe floppy" to load it.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.31-drbl1
changelog:
  - Bug fixed: install_grub_hd should not run for GPT disk.
  - If the hidden data size after MBR is larger than $hidden_data_after_mbr_limit (definited in drbl-ocs.conf), it won't be saved.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.33-drbl1
changelog:
  - Bug fixed: Usage prompt for "-f" in create-debian-live was not updated.
  - Option "-f" was added to create-ubuntu-live so that amd64 version of Clonezilla live could be created.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.35-drbl1
changelog:
  - Package grub-pc instead of grub is put in the packages list of create-gparted-live.
  - Program create-gparted-live now supports creating amd64 release.


author: Steven Shiau <steven _at_ nchc org tw> 3.1.36-drbl1
changelog:
  - Adding packages exfat-utils, exfat-fuse and tcplay in create-gparted-live.
  - Bug fixed: EFI booting for DRBL live did not really work.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.0-drbl1
changelog:
  - Removing packages exfat-utils and exfat-fuse create-gparted-live.
  - If udevadm exists, use it to get the disk serial number. Thanks to Miracle Linux for this idea.
  - Define the OCS_LOGFILE variable in drbl-ocs.conf.
  - The variable DRBL_SCRIPT_PATH in gparted-live-hook was removed. It's not used when creating GParted live.
  - Function parse_cmdline_option in gl-functions was updated to be the same as that in drbl-functions.
  - File ocs-devsort from Miracle Linux was added.
  - Part of the modifications from Miracle Linux were merged, including using functions get_diskname, get_part_number... and logging the screen output in /var/log/clonezilla.log.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.2-drbl1
changelog:
  - Using "route -n" instead of "route" to find the default gateway in function network_config_if_necessary of ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.3-drbl1
changelog:
  - Bug fixed: Getting default gateway was not working in function network_config_if_necessary of ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.4-drbl1
changelog:
  - Typo fixed: "Unmouted" -> "Unmounted" in ocs-functions. Thanks to Peter Bratton <peter _at_ bratton ca> for reporting this.
  - Part of the LVM codes from Miracle Linux were merged.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.6-drbl1
changelog:
  - All "hsv" related codes of Clonezilla were converted to multipath compatible.
  - The multipath codes from Miracle Linux were merged.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.7-drbl1
changelog:
  - Bug fixed: ocs-get-part-info failed to identify the cciss partition type.
  - Bug fixed: failed to identify logical partitioin in ocs-expand-mbr-pt.
  - Program cnvt-ocs-dev has been improved to be multipath compatible.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.9-drbl1
changelog:
  - Function active_proc_partitions was moved to ocs-functions from drbl-functions.
  - Bug fixed: Swap partition of cciss partition was not saved and restored.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.12-drbl1
changelog:
  - Commets about using blkid to get file system was added in ocs-get-part-info.
  - Bug fixed: drbl-ocs-live-prep failed to identify the new, different arch of iso for the alternative testing Clonezilla live on the repository.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.13-drbl1
changelog:
  - Using the mapping file instead of /proc/partitions in ocs-chnthn-functions, ocs-functions and ocs-restore-mdisks.
  - Using the get_disk_list in ocs-chnthn.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.14-drbl1
changelog:
  - Adding Xen disk (/dev/xvd[a-z]) in the support device.
  - Adding one more info file "Info-lsblk.txt", lsblk output.


author: Steven Shiau <steven _at_ nchc org tw> 3.2.15-drbl1
changelog:
  - The size of a partition will be got from lsblk first in ocs-get-part-info if program lsblk exists.
  - The options of ocs-resize-part have been changed. No more separating them as "ocs-resize-part sda 1", now using "ocs-resize-part /dev/sda1" so that we can use that for dm in the future.
  - The output file Info-lsblk.txt has been renamed to blkdev.list with formatted output.
  - Using file system info from lsblk (blkdev.list) since it's much easier to use than the output of parted if it's device mapper devices.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.1-drbl1
changelog:
  - Bug fixed: for Syslinux 5, 3 more files are required in ocs-update-syslinux, i.e. ldlinux.c32, libcom32.c32, libutil.c32


author: Steven Shiau <steven _at_ nchc org tw> 3.3.2-drbl1
changelog:
  - Adding "-m 1024" option to partclone. Thanks to Ingo Wolf <Ingo.Wolf _at_ gmx de> for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.6-drbl1
changelog:
  - An option -srel|--save-restore-error-log to force saving error log in the image dir was added in ocs-sr and drbl-ocs. By default we do not save that in the image dir when restoring. Only when saving it will be saved in the image dir. Thanks to futuremonkey for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.8-drbl1
changelog:
  - Bug fixed: duplicated function get_partition_list in ocs-functions was removed.
  - Bug fixed: local part to local part clone failed.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.9-drbl1
changelog:
  - Minor improvement in function install_grub_hd.
  - Bug fixed: grub2-install failed to install the correct path in some cases.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.13-drbl1
changelog:
  - Bug fixed: for cloning partition mode, "-g auto" should not be turned on by default. 
  - Program ocs-tux-postprocess was modified to process partition, not disk. It will be more specific when using with disk or partition restoring/cloning.
  - Bug fixed: no ocs-update-syslinux process in ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.16-drbl1
changelog:
  - Prompt about skipping re-installing grub 1 in ocs-functions was improved.
  - Bug fixed: Program ocs-tux-postprocess should search LV, too.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.17-drbl1
changelog:
  - Bug fixed: ocs-onthefly failed to use with optioin "-k1" (http://sourceforge.net/projects/clonezilla/forums/forum/663168/topic/6933289). Thanks to Sebastien for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.19-drbl1
changelog:
  - Bug fixed: When using Clonezilla live as Clonezilla SE's client, the option "-y1" won't work for select-in-client mode.
  - Message msg_etherboot_5_4_is_required in ocs-functions was disabled.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.20-drbl1
changelog:
  - Bug fixed: Clonezilla SE client did not report the clonezilla job message when drbl-ocs is run with "-y1" option.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.22-drbl1
changelog:
  - Bug fixed: GParted live an DRBL live were not isohybrided. Thanks to cvbn for reporting this issue.
  - When running select-in-client mode on Clonezilla SE, job finished message will be sent, too.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.25-drbl1
changelog:
  - Bug fixed: when using "select_in_client" mode, the postrun action should be passed to PXE clients.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.30-drbl1
changelog:
  - Bug fixed: "Press ENTER to continue" message after poweroff/reboot command is issued was not shown.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.31-drbl1
changelog:
  - Some comments about "--retries-until-drop 50" for udp-sender was added in drbl-ocs.conf.
  - The options "-j" of ocs-iso and ocs-live-dev were reverted because we need this option when using Clonezilla live environment to create Clonezilla live otherwise the template iso won't be assigned.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.32-drbl1
changelog:
  - The sample file "custom-ocs-1" was updated.
  - Bug fixed: Programs ocs-iso and ocs-live-dev were not updated to reflect the new file name of Ubuntu-based Clonezilla live with "-i386" in the file name.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.37-drbl1
changelog:
  - Bug fixed: cnvt-ocs-dev failed to convert cciss-related device. Thanks to Andy Smith <a.smith _at_ ldex co uk> for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.42-drbl1
changelog:
  - Using variable sys_pxelinux_v5p_required_c32 instead of sys_pxelinux_required_c32 for related programs.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.43-drbl1
changelog:
  - Bug fixed: ocs-lvm2-stop did not load function disable_lvm2_udevd_rules from drbl-functions.
  - Bug fixed: Function reduce_multipath_dev should use its own temp file.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.44-drbl1
changelog:
  - Bug fixed: get_mkswap_uuid_cmd in ocs-functions failed to detect mkswap command for util-linux >= 2.20.


author: Steven Shiau <steven _at_ nchc org tw> 3.3.46-drbl1
changelog:
  - Bug fixed: Option -icds of ocs-sr and ocs-onthefly should be passed to ocs-expand-mbr-pt. Thanks to Jerome Charaoui for reporting this issue (http://sourceforge.net/p/clonezilla/bugs/175/).


author: Steven Shiau <steven _at_ nchc org tw> 3.3.48-drbl1
changelog:
  - An option -vb|--vga-blacklist was added to ocs-live-boot-menu for enabling VGA card blacklist in boot parameters. By default no blacklists will be added.
  - Still enable VGA blacklists for DRBL and Clonezilla live, while disable that for GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 3.4.1-drbl1
changelog:
  - The option "-m" of partclone (v 0.2.61) is deprecated, and now "-z" is used.
  - If the option "-icds" is used, option "-C" of partclone will be enabled, too.


author: Steven Shiau <steven _at_ nchc org tw> 3.4.2-drbl1
changelog:
  - Comments and coding about -k1/-k2 and -r in ocs-onthefly was improved.
  - Command ntfsfix will be run before resizing a NTFS partition if option "-icds" is assigned.


author: Steven Shiau <steven _at_ nchc org tw> 3.4.5-drbl1
changelog:
  - Bug fixed: A better method was implemented to detect the finishing of live-config in S00ocs-start.


author: Steven Shiau <steven _at_ nchc org tw> 3.4.6-drbl1
changelog:
  - Bug fixed: the reverted file for /sbin/start-stop-daemon is /sbin/start-stop-daemon.distrib for live-build v3.x. We have to reverted back before running "drblpush -i" when creating DRBL live.


author: Steven Shiau <steven _at_ nchc org tw> 3.4.7-drbl1
changelog:
  - Function remove_cdebootstrap-helper-diverts was renamed as remove_start_stop_daemon_diverts in the live-hook directory.


author: Steven Shiau <steven _at_ nchc org tw> 3.4.8-drbl1
changelog:
  - Bug fixed: the /sbin/start-stop-daemon in the chroot should be removed before running dpkg-divert.


author: Steven Shiau <steven _at_ nchc org tw> 3.4.10-drbl1
changelog:
  - Bug fixed: to keep the mechanism remove_start_stop_daemon_diverts working for live-build v2.x and v3.x, we have to set_start_stop_daemon_diverts after remove_start_stop_daemon_diverts in ocs-live-hook.


author: Steven Shiau <steven _at_ nchc org tw> 3.4.11-drbl1
changelog:
  - A summary of ocs-chkimg will be shown after image is checked.  Thanks to Elke Moritz <moritz _at_ linuxtag org> for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 3.4.12-drbl1
changelog:
  - Bug fixed: sdap1 is not the partition of sda disk. Thanks to julienb35 for supporting this issue. Ref: https://sourceforge.net/p/clonezilla/bugs/179/
  - The disk size info will be shown when selecting the images during restoring.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.1-drbl1
changelog:
  - Bug fixed: *sda-img.info should not be included in the partition image to be restored.
  - Modification of ocs-functions and ocs-onthefly was done according to the changes in partclone 0.2.66.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.3-drbl1
changelog:
  - A program update-nvram-efi-boot-entry was added for updating the booting device in EFI NVRAM. Thanks to Les Mikesell (lesmikesell _at_ gmail com), Laszlo Ersek (lacos _at_ caesar elte hu) and Peter Sun (PeterSun _at_ ememory com tw) for reporting this issue.
  - An option "-iefi" was added in in the restoring dialog menu.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.5-drbl1
changelog:
  - Using the warning color for skipping running update-efi-nvram-boot-entry on Mac machine.
  - Program update-nvram-efi-boot-entry was renamed as update-efi-nvram-boot-entry.
  - Add more files (/EFI/redhat/grub.efi and /EFI/opensuse/grubx64.efi) in check lists of update-efi-nvram-boot-entry..


author: Steven Shiau <steven _at_ nchc org tw> 3.5.6-drbl1
changelog:
  - Rename function get_latest_kernel_in_repository in create-ubuntu-live as get_latest_kernel_ver_in_repository, and move it to ocs-functions so it can be reused.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.7-drbl1
changelog:
  - Two more functions get_efi_hd_boot_entry_info and get_part_uuid_in_harddrive were addded in ocs-functions.
  - File containing the output of "efibootmgr -v" will be saved as efi-nvram.data in image dir.
  - By default Clonezilla will try to use the label saved from EFI NVRAM when updating the EFI NVRAM after the the image is restored on destination machine.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.8-drbl1
changelog:
  - Bug fixed: the reference image option was not passed to update-efi-nvram-boot-entry after image is restored.
  - Bug fixed: ocs-onthefly should not run update-efi-nvram-boot-entry when cloning disks locally.
  - By default the lable name saved in efi-nvram.data will be used when running update-efi-nvram-boot-entry.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.9-drbl1
changelog:
  - Bug fixed: ocs-onthefly local disk to remote disk failed to update the EFI nvram on remote machine.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.11-drbl1
changelog:
  - Moved the dir /EFI-imgs in live CD/USB under the dir /EFI/, and renamed it as images (so now it's /EFI/images/).
  - An option "sec=ntlm" was added in prep-ocsroot. Thanks to Jack and Dave Higton for reporting this issue.
  - Cancel action in prep-ocsroot should work now.
  - Use default DNS server 8.8.8.8 in ocs-live-netcfg.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.12-drbl1
changelog:
  - SD card device (/dev/mmcblk0) is supported.
  - Bug fixed: partclone.log should not be appended to clonezilla log right after partclone is run in the background in local disk to remote disk mode.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.13-drbl1
changelog:
  - Program drbl-ocs-live-prep now supports Clonezilla live iso from local path, e.g. file:///usr/share/iso/clonezilla-live-2.1.2-35-amd64.iso. Thanks to Chris S for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.14-drbl1
changelog:
  - Bug fixed: function get_latest_kernel_ver_in_repository in ocs-functions failed to get correct kernel version number in Debian repository when linux kernel package name like linux-image-3.10-2-rt-686-pae-dbg exists.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.16-drbl1
changelog:
  - Options "-f -f" is used for ntfsresize in ocs-resize-part. Thanks to Jerome Charaoui for this suggestion (https://sourceforge.net/p/clonezilla/bugs/185/).


author: Steven Shiau <steven _at_ nchc org tw> 3.5.18-drbl1
changelog:
  - Bug fixed: the mode in $live_auto_login_id_home/Desktop/Display.desktop for DRBL live should be 755.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.19-drbl1
changelog:
  - A dummy file /etc/ocs/ocs-live.conf is put during DRBL live is created.
  - Program ocs-srv-live supports 2nd mode in the parameters.
  - A control variable ocs_prep_ocsroot_ask_dir was added in prep-ocsroot.
  - Two control variables, ocs_net_show_pppoe and ocs_net_show_enter_shell, were added in ocs-live-netcfg.
  - A control variable ocs_fsck_src_part was added in ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.22-drbl1
changelog:
  - Giving more specific error messages when searching the unmounted partitions in get_input_dev_name.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.23-drbl1
changelog:
  - The disabled service in upstart (/etc/init/) is named as *.conf.ocs-disabled instead of previous .conf.disabled.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.25-drbl1
changelog:
  - The extra ":' in function get_input_dev_name of ocs-functions was removed.
  - The procedure about mounting local device as image repository in prep-ocsroot was improved.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.27-drbl1
changelog:
  - Comments about using local clonezilla live copy for iso_url_for_pxe_ocs_live_default was added in drbl-ocs.conf.
  - Using variable for the dialog title in program "clonezilla" and ocs-sr.
  - Only when "$ocs_sr_extra_restore_mode" is not "no" the other menus about restoring image (1-2-mdisk, check image...) will be shown in ocs-sr interactive mode.
  - Removing the duplicated 'select the mode' prompt in ocs-sr interactive mode.
  - Variable messages_shown_preference is used in confirm_continue_no_default_answer function of ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.30-drbl1
changelog:
  - Removing the duplicated question mark after $msg_are_u_sure_u_want_to_continue.
  - Making the interactive menu could be optionally shown for "ocs-onthefly -x".


author: Steven Shiau <steven _at_ nchc org tw> 3.5.31-drbl1
changelog:
  - Postrun opton in program "clonezilla" should be passed to ocs-onthefly.
  - If the disk partition on destination disk is created, no need to ask one more confirmation when running ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.32-drbl1
changelog:
  - Bug fixed: if somehow grub boot is found, while root does not exist, the boot mounting point should be unmounted before function test_run_grub2_from_restored_os or test_run_grub1_from_restored_os is exited in ocs-functions.
  - The steps in program ocs-onthefly was refined so it's simplified and easier to read.


author: Steven Shiau <steven _at_ nchc org tw> 3.5.34-drbl1
changelog:
  - If ocs_prep_ocsroot_ask_dir is not "no" in prep-ocsroot, we just mount the partition as $ocsroot. Otherwise it's a little confusing.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.1-drbl1
changelog:
  - Forcing to add grub-efi-ia32-bin and grub-efi-amd64-bin when downloading in ocs-gen-grub2-efi-bldr. Otherwise somehow in some cases they won't be downloaded.
  - The signed EFI 1st and 2nd stage files from Ubuntu are used for secure booting in Ubuntu-based Clonezilla live. While for Debian-based one, we still follow the distribution, i.e. do not support uEFI secure boot.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.2-drbl1
changelog:
  - Bug fixed: ocs-put-signed-grub2-efi-bldr run in efi-binary-hook should use chroot environment, not running OS.
  - An option "-c" was added to ocs-put-signed-grub2-efi-bldr.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.3-drbl1
changelog:
  - Programs ocs-iso and ocs-live-dev should allow only one of bootx64.efi and bootx86.efi under /EFI/boot.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.4-drbl1
changelog:
  - Hook file efi-binary-hook failed to create files in correct path for Ubuntu-based Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.5-drbl1
changelog:
  - Programs ocs-iso and ocs-live-dev should allow only one of bootx64.efi and bootx86.efi under /EFI/boot when checking if generating grub.cfg.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.6-drbl1
changelog:
  - An extra dir /boot/grub/ was added so that the signed grubx64.efi from ubuntu could read the grub.cfg.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.7-drbl1
changelog:
  - When /EFI/boot/bootx64.efi does not exist in the template iso, those EFI related files won't be included in the created live files.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.10-drbl1
changelog:
  - Stale files ocs-help, ocs-live-help and ocs-create-gpt were removed.
  - Help message was added in ocs-live-final-action.
  - Usage prompt were added in ocs-live-general, ocs-live-save, and ocs-live-restore.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.13-drbl1
changelog:
  - Help message was added in get-latest-ocs-live-ver.
  - The options of genisoimage in ocs-iso was rearranged.
  - Rearranging the options for genisoimage in create-drbl-live and create-gparted-live so that isolinux 5.10 could boot on some real machine. Besides, not all included files are used with -graft-points. This is the key point for the workaround.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.14-drbl1
changelog:
  - Updating the grub.cfg created by ocs-live-boot-menu by setting gfxmode=auto, removing load_video and faekbios.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.15-drbl1
changelog:
  - The function set_localepurge in ocs-live-hook-functions was updated to fit localepurge 0.7.3. It's because the new feature "localepurge/use-dpkg-feature" has to be configured otherwise localepurge won't run.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.16-drbl1
changelog:
  - "zh_TW" was removed in locale_to_keep_for_no_X of ocs-live-hook.conf since only zh_TW.UTF-8 is used.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.17-drbl1
changelog:
  - Option "-h" was added to ocs-put-signed-grub2-efi-bldr and ocs-gen-grub2-efi-bldr.
  - Using debconf-set-selections instead of debconf-communicate in preseeding localepurge.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.18-drbl1
changelog:
  - Package localepurge has to be installed after debconf-set-selections preseeds the config in live hook.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.19-drbl1
changelog:
  - Only xorg instead of individual X packages is listed in create-gparted-live. Let the Debian dependence decide that.
  - Updating some settings in create-drbl-live-*.


author: Steven Shiau <steven _at_ nchc org tw> 3.6.20-drbl1
changelog:
  - Removing packages xorg-docs-core, xfonts-100dpi, xfonts-75dpi, and xfonts-scalable in gparted-live-hook.


author: Steven Shiau <steven _at_ nchc org tw> 3.7.1-drbl1
changelog:
  - Swithing to use Debian live packages (live-build, live-boot, live-config) version 3 for creating Clonezilla/DRBL/GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 3.7.2-drbl1
changelog:
  - Bug fixed: some source files list of live system were not moved to source directory after create-*-live is run.


author: Steven Shiau <steven _at_ nchc org tw> 3.7.3-drbl1
changelog:
  - Bug fixed: In DRBL live, /tftpboot/node_root/bin/hostname was deconfigured by chroot_hostname. We have to move /tftpboot/node_root/bin/hostname.distrib as /tftpboot/node_root/bin/hostname. It was hostname.orig but now in live build 3 it has been changed as hostname.distrib.


author: Steven Shiau <steven _at_ nchc org tw> 3.7.4-drbl1
changelog:
  - Bug fixed: Czech locale name is cs_CZ, NOT cz_CZ (https://bugzilla.gnome.org/show_bug.cgi?id=708589).


author: Steven Shiau <steven _at_ nchc org tw> 3.7.7-drbl1
changelog:
  - Prompts in create-ubuntu-live were updated.
  - Bug fixed: create-drbl-live failed to include .disk file in the generated zip file.


author: Steven Shiau <steven _at_ nchc org tw> 3.7.9-drbl1
changelog:
  - Bug fixed: $LIVE_MEDIA variable instead of /live/image should be used in ocs-live-bug-report.
  - Variables lh_ver_required and debootstrap_ver_required in drbl-ocs.conf were updated.


author: Steven Shiau <steven _at_ nchc org tw> 3.7.13-drbl1
changelog:
  - Improvement: adding slash in the sshfs command to avoid a remote issue. Thanks to Baird Ramsey and Richard Freeman (https://sourceforge.net/p/clonezilla/bugs/171/).
  - Bug fixed: some service, e.g. ssh, is not disabled successfully when live system was created.


author: Steven Shiau <steven _at_ nchc org tw> 3.7.15-drbl1
changelog:
  - Removing packages sysklogd, ttf-arphic-newsung, and x-ttcidfont-conf from the packages list of create-drbl-live-by-pkg. Force to add zenity, switch to lightdm instead of gdm3 which is too heavy when version 3.8 was included in Debian Sid.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.3-drbl1
changelog:
  - Variable lh_ver_required in drbl-ocs.conf is set as 3.0.5-1.
  - Bug fixed: i386 arch of Ubuntu-based Clonezilla did not support uEFI boot (non-secure).


author: Steven Shiau <steven _at_ nchc org tw> 3.8.9-drbl1
changelog:
  - Unused codes in function decide_live_kernel_related_pkgs_from_debian of ocs-functions was updated.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.10-drbl1
changelog:
  - Bug fixed: the option "--extra-boot-param" of create-drbl-live-by-pkg failed to accept multiple boot parameters.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.13-drbl1
changelog:
  - Bug fixed: boot parameter "noprompt" was replaced by "noeject" in live-boot version 3. We should use that in Clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.14-drbl1
changelog:
  - Comments in program ocs-lang-kbd-conf were updated.
  - Bug fixed: Ubuntu-based Clonezilla live failed to make preset keyboard-layout work. Thanks to m-tm (m-tm _at_ gmx de) for this bug report, and Michael Vinzenz for tests.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.15-drbl1
changelog:
  - Somehow the boot parameter "ip=frommedia" made Ubuntu-based Clonezilla live's vmlinuz boot slowly. Because "ip=" is accepted by live-boot with same function and it's shorter, use it.
  - When creating recovery zip file, if image is included, use "-0", i.e., not to compress it.
  - When a recovery iso/zip file is created, Clonezilla should honor the original splash mechanism.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.18-drbl1
changelog:
  - Bug fixed: program ocs-chkimg failed to check missing partition image file.
  - An option -n|--no-cvt-dev (do not convert the device name) was added to create-ocs-tmp-img.
  - Function get_target_dir_name_when_saving was updated with one more option, get_target_dir_name_when_converting_img was added, and get_image_cat_zip_cmd of ocs-functions will give gloable variable img_comp_format, too.
  - A new program ocs-cvtimg-comp was added so that it can be used to convert the compression of an image.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.19-drbl1
changelog:
  - Temp files split_error* should be removed when program is quit (ocs-functions).
  - An option "-sc" was added to skip checking the converted image for ocs-cvtimg-comp.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.23-drbl1
changelog:
  - Program ocs-cvtimg-comp should check if the image format is for ntfsclone, partimage, and dd. For the first 2 format, exit, and for the last one, just copy files.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.24-drbl1
changelog:
  - Function ocs-get-comp-suffix of ocs-functions was improved to covert more commands.
  - Bug fixed: ocs-cvtimg-comp failed to run in command line mode with source and destination image names assigned.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.25-drbl1
changelog:
  - Part of codes in ocs-sr were moved as a function check_and_fix_vol_limit_if_required in ocs-functions.
  - Bug fixed: ocs-cvtimg-comp failed to remove the linked split files.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.26-drbl1
changelog:
  - Make ocs-sr's dialog menu index text shorter (convert-img-compression -> cvt-img-compression)
  - Bug fixed: partition itself containing LV does not have to be checked in ocs-chkimg.
  - The incomplete converted image file created by ocs-cvtimg-comp should be removed.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.28-drbl1
changelog:
  - The codes about restoring MBR was extracted as another program ocs-restore-mbr so it's easier to be used separately.


author: Steven Shiau <steven _at_ nchc org tw> 3.8.30-drbl1
changelog:
  - If parallel compression programs are not found, ocs-cvtimg-comp will find the normal compression programs to do that.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.1-drbl1
changelog:
  - Comments in ocs-cvtimg-comp were updated.
  - The install_grub_hd function in ocs-functions was extracted as a program "ocs-install-grub" so that it's easier to be run separately.
  - Program ocs-update-initrd was added so it's can be run separately for P2V for CentOS 5 (not finished yet).


author: Steven Shiau <steven _at_ nchc org tw> 3.9.3-drbl1
changelog:
  - An option "-y|--syslinux-ver" was added to the create-*-live, ocs-iso and ocs-live-dev so that when live system is created syslinux version can be assigned.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.7-drbl1
changelog:
  - Boot parameters ocs_daemonon and ocs_daemonoff for Ubuntu-based Clonezilla live failed due to upstart is not compatable with sysvinit command like "/etc/init.d/$i start".


author: Steven Shiau <steven _at_ nchc org tw> 3.9.8-drbl1
changelog:
  - Bug fixed: "noeject" is not required in the TORAM part of isolinux.cfg and syslinux.cfg.  Thanks to Ady <ady-sf _at_ hotmail com> for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.9-drbl1
changelog:
  - Bug fixed: If drbl_mode is none, we should not make drbl as client's default boot menu when running "drbl-ocs stop".


author: Steven Shiau <steven _at_ nchc org tw> 3.9.11-drbl1
changelog:
  - Bug fixed: the grub dir name is called "grub2" for Fedora >=18, that causes check_grub_partition function failed to locate the grub partition.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.12-drbl1
changelog:
  - Pixz is used in ocs-onthefly local to remote cloning. An option to use xz as filter program was added, too.

  - Switch back to lbzip2 (http://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/141facdc/?limit=50#b0a0).


author: Steven Shiau <steven _at_ nchc org tw> 3.9.13-drbl1
changelog:
  - Packages.gz instead of Packages.bzip2 is used in get_latest_kernel_ver_in_repository since bzip2 one is changed to xz in Debian Sid, but Ubuntu still uses gzip and bzip2.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.14-drbl1
changelog:
  - Program partclone.restore is replaced by partclone.$fs in ocs-onthefly because partclone.restore will be deprecated in the future.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.15-drbl1
changelog:
  - Parameter "ocs_postmode_prompt" instead of "messages_shown_preference" for the post action (reboot/poweroff/cmd/...) mode. If command line mode instead of TUI mode is desired, now we can use "ocs_postmode_prompt=cmd" in the boot parameters. This will work for both ocs-sr and ocs-onthefly.
  - Deprecated function run_post_cmd_when_clonezilla_live_end of ocs-functions was removed.
  - The output of command run_post_cmd_when_clone_end in ocs-onthefly is recoreded in log file, too.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.16-drbl1
changelog:
  - When "-p choose" of ocs-sr or ocs-onthefly is used, the default item of dialog menu is entering command line prompt now.
  - The option "--rsyncable" was added for gzip/pigz when saving an image (https://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/8d5f80a6). Thanks to lucatrv for providing this idea.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.17-drbl1
changelog:
  - The "syslinux" and "isolinux" dirs of Clonezilla/DRBL/GParted live have been unified as one dir "syslinux". Thanks to Ady (ady-sf _at_ hotmail com) for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.19-drbl1
changelog:
  - Bug fixed: xz format for old image format (e.g. sda1.aa) was not detected (https://sourceforge.net/p/clonezilla/bugs/191/). Thanks to peter green for reporting this issue.
  - Bug fixed: There is a typo for the destination partition for 2nd confirmation for local partition to local partition (https://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/b99ab9e6/). Thanks to Tweed for reporting this bug.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.20-drbl1
changelog:
  - Function get_latest_kernel_ver_in_repository was updated so that correct linux kernel version for Ubuntu trusty could be got due to new kernel package linux-image-3.13.0-6-lowlatency is shown.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.21-drbl1
changelog:
  - Function parse_cmdline_option of gl-functions was updated to accept pipe sign (|). Thanks to Fuchs (fusi1939 _at_ users sf net) for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.22-drbl1
changelog:
  - Function parse_cmdline_option of gl-functions was updated to accept more characters, including "[", "]", and ";".
  - The correspoing files which using parse_cmdline_option were updated, too.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.23-drbl1
changelog:
  - Program ocs-live-dev was improved to directly put image and unattended mode of boot parameters to a USB device. Thanks to ilovecats for this idea.

  - An option "-b" was added so that ocs-live-dev can be run in batch mode.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.25-drbl1
changelog:
  - Function get_live_boot_param of ocs-functions will give the result "quiet_opt".
  - Program ocs-live-dev and ocs-iso should also honor the boot parameter "quiet" when creating a recovery iso/zip.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.28-drbl1
changelog:
  - Bug fixed: Packages.bz2 on Debian repository is no more. Use Packages.gz in ocs-live-hook-functions.
  - Disable remove_grpck_opt_p in ocs-live-hook because the issue was fixed in passwd 1:4.1.5.1-1.
  - Package libc6-i386 should be excluded when running "deborphan -n" in ocs-live-hook-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.29-drbl1
changelog:
  - The mechanism to run scripts S[0-9][0-9]* and K[0-9][0-9]* in a directory has been improved. "$script" instead of ". $script" should be used otherwise in some cases the rest of scripts won't be run.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.30-drbl1
changelog:
  - An option -q was added to ocs-live-dev so that it can be used to use the existing image on the recovery device.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.31-drbl1
changelog:
  - The boot media should not be mounted again as read-write mode in function ocs-live-env-prepare of ocs-functions. Otherwise when rebooting, due to the squashfsfs are mounted, it can not be unmounted. Thanks to ilovecats for reporting this.
  - The example "clone-multiple-usb-example.sh" was removed. Because it's in the main menu already. 
  - An example gen-rec-usb was added. It could be used to create a recovery USB flash drive directly from the machine.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.32-drbl1
changelog:
  - Sync the parse_cmdline_option of gl-functions with drbl-functions.
  - Bug fixed: the linking part in function ocs-live-env-prepare of ocs-functions should be kept. We should just remove the remount,rw part. Besides, the checking mechanism for linking or not has been changed to find the image. Thanks to ilovecats for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.33-drbl1
changelog:
  - Using -z1p instead of -z2p when saving image in the sample file gen-rec-usb.
  - The way "scale=0" was not used in ocs-expand-mbr-pt. A better method is used.
  - Bug fixed: toram menu for grub should use toram=filesystem.squashfs instead of toram so that it's consistent with that of syslinux.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.34-drbl1
changelog:
  - An option "-s|--semi-batch" was added to the sample file gen-rec-usb. It can be used to confirm only once, not every major step. Thanks to ilovecats for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.36-drbl1
changelog:
  - Sorting the isolinux.bin and boot.cat when creating iso file by genisoimage. Thanks to Ady <ady-sf _at_ hotmail com> for this suggestion.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.37-drbl1
changelog:
  - Package xnetcardconfig was removed from create-drbl-live-by-pkg because it's no more in Debian repository and not used in DRBL live.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.39-drbl1
changelog:
  - The info to be shown in the TUI mod of countdown_or_confirm_before_restore was improved. More info will be shown.
  - Variable "messages_shown_preference" in drbl.conf was moved to drbl-ocs.conf and renamed as "ocs_prompt_mode".
  - A boot parameter "ocs_prompt_mode" was added so that it can be used to control the prompt mode (TUI or CMD).


author: Steven Shiau <steven _at_ nchc org tw> 3.9.40-drbl1
changelog:
  - Sync the parse_cmdline_option of gl-functions with drbl-functions.
  - The ocs_prerun* and ocs_postrun* boot parameters are sorted with "-V", not "-n".


author: Steven Shiau <steven _at_ nchc org tw> 3.9.41-drbl1
changelog:
  - The content of "iso_sort.txt" should be a two-column list, separated by "TAB", not space, in the function gen_iso_sort_file of ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.42-drbl1
changelog:
  - Bug fixed: after drbl service has been started, if clonezilla SE is started, the image repository should be mounted in DRBL live.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.44-drbl1
changelog:
  - Bug fixed: in cmd mode, an extra line was added in the confirmation messages before restorinig an image.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.46-drbl1
changelog:
  - Suppress all the space of time got in get_img_create_time because it might be used in dialog prompt.
  - Bug fixed: two extra grub 2.02 modules gfxterm_background and gfxterm_menu are added now when creating bootx64.efi and bootxia32.efi by ocs-gen-grub2-efi-bldr. Otherwise the backgroud won't be shown.


author: Steven Shiau <steven _at_ nchc org tw> 3.9.48-drbl1
changelog:
  - Bug fixed: autoproductname should filter the characters "()[]{}". Thanks to Coudy* for reporting this issue (https://sourceforge.net/p/clonezilla/bugs/193/).


author: Steven Shiau <steven _at_ nchc org tw> 3.10.1-drbl1
changelog:
  - The create-*-live files were broken due to the apt version 1.0 and live-boot/live-config 4.x alpha in the Sid repository. No more using aptitude for create-drbl-live. All of them are in apt now.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.3-drbl1
changelog:
  - Adding program set-netboot-1st-efi-nvram.
  - Applying set-netboot-1st-efi-nvram after update-efi-nvram-boot-entry.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.4-drbl1
changelog:
  - Bug fixed: live-boot was upgraded to 4.x. Setting "--cache-indices" of live-config as true so that live-boot won't be upgraded after filesystem.squashfs is created.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.5-drbl1
changelog:
  - Bug fixed: two extra grub 2.02 modules gfxterm_background and gfxterm_menu are added now when creating bootx64.efi and bootxia32.efi by gl-gen-grub2-efi-bldr. Otherwise the backgroud won't be shown. Thanks to Ady (ady-sf _at_ hotmail com) for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.6-drbl1
changelog:
  - Bug fixed: Restoring an LVM partition prevents any following non-LVM partitions from being restored. Thanks to Ian Horton for the patch.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.7-drbl1
changelog:
  - Bug fixed: 1-2-mdisks failed to reinstall grub due to ocs-restore-mbr does not honor the temp $ocsroot variable.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.9-drbl1
changelog:
  - Packages, lsof, psmisc, dnsutils, wget, ftp, bzip2, zip, unzip, w3m and gsmartcontrol were added in GParted live.
  - Startup page of netsurf was assigned to GParted live manual.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.10-drbl1
changelog:
  - Accepting -b|-batch|--batch options for ocs-restore-mdisks. A typo in the USAGE message was fixed.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.11-drbl1
changelog:
  - Bug fixed: The boot media should not be mounted again as read-write mode in ocs-live-save. Otherwise when rebooting, due to the squashfsfs are mounted, it can not be unmounted.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.12-drbl1
changelog:
  - Function download_clonezilla_live was moved from drbl-ocs-live-prep to ocs-functions so that it could be reused.
  - Bug fixed: failed to parse correct option "-sc" in interactive mode of ocs-cvtimg-comp.
  - Prompt about arch of USAGE in drbl-ocs-live-prep was improved.
  - Program ocs-img-2-vdk was added to convert Clonezilla image to virtual disk file (qcow2 or vmdk) via KVM.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.15-drbl1
changelog:
  - If host machine is x86 arch, not x86-64/amd64, then we force to use x86 arch for KVM in ocs-img-2-vdk.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.17-drbl1
changelog:
  - Bug fixed: ocs-live-run-menu was improved so that it can run variable ocs_live_run like: ocs_live_run="ocs-restore-mdisks -batch -p '-g auto -e1 auto -e2 -cm -r -j2 -k1 -p true' ask_user sda sdb". Thanks to Coudy and jbweng2008 _at_ 163 com for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.18-drbl1
changelog:
  - Program ocs-live-run-menu was improved to give more output info for command is run in jfbterm.
  - Program cnvt-ocs-dev now could convert SD device (mmcblk0). Thanks to joyer99 for reporting this issue (https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/40636cdd/?limit=25).


author: Steven Shiau <steven _at_ nchc org tw> 3.10.19-drbl1
changelog:
  - To avoid giving wrong result, do not show it's successful or not after jfbterm is finished in ocs-live-run-menu. Let user to check the log file.
  - The log file for ocs-live-run-menu is changed as /var/log/clonezilla-live.log.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.20-drbl1
changelog:
  - Due to an issue of command "eject", "noeject" was added in the boot parameters of GParted live iso file.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.22-drbl1
changelog:
  - Dropping the usage for progress option "-V' of ntfsclone, which was patched by Thomas Tsai. Now ntfsclone (e.g. v2014.2.15AR.1) has an option "-V" for showing version number. Therefore it should not be used anymore.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.23-drbl1
changelog:
  - Forced to use LC_ALL=C to run printf in ocs-expand-mbr-pt. This could avoid the possible locales issue (https://sourceforge.net/p/clonezilla/bugs/197/).


author: Steven Shiau <steven _at_ nchc org tw> 3.10.24-drbl1
changelog:
  - Config file drbl-ocs.conf was updated to add more comments about udpcast sender options. Thanks to Pretzel. Ref: http://sourceforge.net/p/clonezilla/discussion/Clonezilla_server_edition/thread/6e1e87d4/


author: Steven Shiau <steven _at_ nchc org tw> 3.10.26-drbl1
changelog:
  - The clonezilla-live.log redirected by tee was removed from ocs-live-run-menu. It is duplicated because /var/log/clonezilla.log has the same output, and it causes the distoration of partclone output when running in zh_TW.UTF-8 environment.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.28-drbl1
changelog:
  - Using debian_type="minbase" in create-drbl-live so that it won't fail due to systemd-sysv is installed.
  - Adding packages manpages and info in the packages list of create-drbl-live-by-pkg since debian_type="minbase" is used.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.31-drbl1
changelog:
  - Program MC_HxEd was removed from GParted live because it's not maintained anymore.
  - Program zenity instead of gdialog is used in gl-shutdown-menu.


author: Steven Shiau <steven _at_ nchc org tw> 3.10.33-drbl1
changelog:
  - Using vmwgfx.enable_fbdev=1 instead of vmwgfx.enable_fbdev=no in ocs-live-boot-menu. Now we use vesafb instead of uvesafb in both Debian-based and Ubuntu-based Clonezilla live. No more uvesafb for Ubuntu-based one.


author: Steven Shiau <steven _at_ nchc org tw> 3.11.1-drbl1
changelog:
  - Programs ocs-sr and ocs-functions were updated to support restoring image of partition to different name partition.
  - Options -f|--from-part and -d|--to-part were added for create-ocs-tmp-img. It's intended to be used for restoring an image of partition to different partition name.
  - Option -f|--force was added for cnvt-ocs-dev. The support for device names md* was added, too.
  - Device name /dev/md* is supported. With boot parameter "nodmraid", now it's possible fakeraid/softraid could be supported. Not well tested though.
  - Bug fixed: only device name /dev/mmcblk0p* worked in function get_diskname of ocs-functions. Those /dev/mmcblk[1-9]p* failed.


author: Steven Shiau <steven _at_ nchc org tw> 3.11.2-drbl1
changelog:
  - Bug fixed: ocs-install-grub wrongly parsed Clonezilla live boot media as grub root partition for some cases, e.g. when restoring /dev/md126* devices.


author: Steven Shiau <steven _at_ nchc org tw> 3.11.6-drbl1
changelog:
  - Updating prep-ocsroot to run nfs-common service only when it exists.
  - Batch mode of ocs-sr failed due to the last modification about restoring image of partitioin to differnt partition name.


author: Steven Shiau <steven _at_ nchc org tw> 3.11.7-drbl1
changelog:
  - Bug fixed: options "-fsck-src-part" and ""-fsck-src-part-y" were duplicated in ocs-onthefly expert mode.
  - Bug fixed: The input harddrive of ocs-install-grub might be more than one, therefore ocs-install-grub should take that into consideration.
  - Now Clonezilla could support PV on disk, not only on partition.


author: Steven Shiau <steven _at_ nchc org tw> 3.11.8-drbl1
changelog:
  - Force to add "consolekit sysvinit-core" with lightdm in create-drbl-live-by-pkg because lightdm depends on libpam-systemd | consolekit. Otherwise when systemd is removed, lightdm even task-xfce-desktop will be removed in drbl live.
  - Reverted to the original method to search partitions in ocs-install-grub. The latest fixed method was wrong.


author: Steven Shiau <steven _at_ nchc org tw> 3.11.9-drbl1
changelog:
  - Typo about "Portuguese (Brazilian)" in GParted live was fixed. (https://bugzilla.gnome.org/show_bug.cgi?id=738258).
  - Typos about the exit dialog in GParted live were fixed.


author: Steven Shiau <steven _at_ nchc org tw> 3.11.11-drbl1
changelog:
  - Keeping kernel untouched for GParted live. Otherwise some required modules might be removed accidently.


author: Steven Shiau <steven _at_ nchc org tw> 3.11.12-drbl1
changelog:
  - Bug fixed: Function remove_cdebootstrap-helper-diverts was renamed as remove_start_stop_daemon_diverts, we should use it for GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 3.11.13-drbl1
changelog:
  - Due to some reason phram and mtdblock were not put in the initramfs of GParted live, while they are shown in Clonezilla live. Now they are forced to be added. Thanks to dud225 for reporting this issue. (http://gparted-forum.surf4.info/viewtopic.php?id=17263).


author: Steven Shiau <steven _at_ nchc org tw> 3.12.1-drbl1
changelog:
  - Adding Ubuntu vivid support for create-ubuntu-live.
  - Adding support for device name format like /dev/rd/c0d0 and /dev/ida/c0d0 RAID cards. (https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/e82e1c04/)


author: Steven Shiau <steven _at_ nchc org tw> 3.12.2-drbl1
changelog:
  - A better way to deal with --rsyncable option of gzip was implemented.
    (https://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/8d5f80a6/)


author: Steven Shiau <steven _at_ nchc org tw> 3.12.4-drbl1
changelog:
  - Function cciss_dev_map_if_necessary of ocs-functions was removed.
  - Deprecated program create-cciss-mapping was removed.


author: Steven Shiau <steven _at_ nchc org tw> 3.12.6-drbl1
changelog:
  - Supporting i586 linux image kernel Clonezilla live because Debian Sid now provides i586 linux-image instead of i486 one..


author: Steven Shiau <steven _at_ nchc org tw> 3.12.7-drbl1
changelog:
  - Temporarily disabled vmfs3 and vmfs5 due to an issue (https://github.com/glandium/vmfs-tools/issues/12).


author: Steven Shiau <steven _at_ nchc org tw> 3.12.8-drbl1
changelog:
  - Now i586 instead of i486 Clonezilla live is in the stable release, therefore the corresponding changes were done.


author: Steven Shiau <steven _at_ nchc org tw> 3.12.9-drbl1
changelog:
  - Package xresprobe does not exist in Debian repository, so it's removed from the packages list in create-drbl-live-by-pkg.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.1-drbl1
changelog:
  - Adding encryption function for Clonezilla image. Now it's OK for Clonezilla live, not yet for Clonezilla SE.
  - Bug fixed: the volume size unit is MB, while "M" (MiB) was used for split.
  - Set the default volume size as 4096 MB instead of 2000 MB.
  - Adding option "-i, --image-size" description in the usage of ocs-sr (https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/a5814dab)
  - Function name confirm_continue_or_not_default_quit in ocs-functions was changed to confirm_continue_or_default_quit.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.2-drbl1
changelog:
  - Putting prepare_ecryptfs_mount_point_if_necessary after run again prompt no matter it's for saving or restoring.
  - Adding option "-or, --ocsroot" for create-ocs-tmp-img so that it can be used for encrypted image case.
  - Bug fixed: create_temp_image_for_different_target_dev_name_if_necessary failed to use the temp ocsroot for encrypted case.
  - Bug fixed: when checking if LVM exists in restoring, we should only check that in the image dir, not in the local partitions layout.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.4-drbl1
changelog:
  - Adding return code for function prepare_ecryptfs_mount_point_if_necessary.
  - Adding functions get_ecryptfs_info and put_ecryptefs_tag_file_in_img so they can be reused.
  - Adding programs ocs-decrypt-img and ocs-encrypt-img so that the existing image could be encrypted or decrypted.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.5-drbl1
changelog:
  - Using functions get_disk_list_from_img and get_parts_list_from_img to deal with all the image info.
  - All the image related programs were improved to support encrypted image. They are create-ocs-tmp-img, ocs-chkimg, ocs-cvtimg-comp, ocs-img-2-vdk, ocs-restore-mdisks.
  - Bug fixed: the volume size unit is MB, while "M" (MiB) was used for split in ocs-cvtimg-comp.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.7-drbl1
changelog:
  - Bug fixed: Forgot to change the partition or LV permission after image is converted by ocs-cvtimg-comp.
  - Avoid using "rm -r" if possible in ocs-functions.
  - The created temp dirs in /tmp should be removed after ocs-restore-mdisks is run.
  - Bug fixed: ocs-img-2-vdk failed to run for encrypted image.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.8-drbl1
changelog:
  - Bug fixed: the description about choosing image name in ocs-img-2-vdk was wrong.
  - Adding encrypting, decrypting and p2v menus in ocs-sr.
  - Bug fixed: ocs-img-2-vdk did not remove the temp downloaded clonezilla live iso.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.9-drbl1
changelog:
  - Using functions inform_kernel_partition_table_changed and clean_mbr_gpt_part_table in ocs-onthefly and some functions in ocs-functions.
  - Bug fixed: pvcreate failed to create PV on a disk with existing partition table.
  - Program will quit if encrypted image is assigned for restoring in Clonezilla SE.
  - Only unencrypted image could be restored in Clonezilla SE.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.11-drbl1
changelog:
  - A different name "chromium_ext4" for the ext4 on ChromiumOS/ChromeOS's root fs will be given in ocs-get-part-info. This is due to it can not be saved correctly by Partclone due to some special features which are not compatible to Linux Extfs. We have to deal with dd.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.12-drbl1
changelog:
  - Package xresprobe does not exist in Debian repository, so it's removed from the packages list in create-gparted-live.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.13-drbl1
changelog:
  - GParted Live boot picture was updated. Thanks to Curtis Gedak and his wife.
  - A file "dev-fs.list" containing device and file system list is added to Clonezilla image.
  - To avoid the password login of sshd being disabled by live-config, S03prep-drbl-clonezilla will enable it when booting.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.14-drbl1
changelog:
  - Setting debian_mirror_url_def as http://http.debian.org/debian (redirector) in drbl-ocs.conf.
  - Swap info is also listed in dev-fs.list. More comments were added in the beginning of dev-fs.list.
  - Make sure that deprecated program create-cciss-mapping is removed.
  - Programs create-debian-live, create-ubuntu-live, create-drbl-live and create-gparted-live now should work for both live-build v3 and v4.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.15-drbl1
changelog:
  - Bug fixed: S03prep-drbl-clonezilla failed to enable PasswordAuthentication.
  - Bug fixed: Debian repository redirector should be http.debian.net/debian instead of http.debian.org/debian.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.20-drbl1
changelog:
  - Failed to accept webdav_server as a correct type in prep-ocsroot.
  - A better mechanism was added to check if webdav server is mounted or not.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.24-drbl1
changelog:
  - Bug fixed: S03prep-drbl-clonezilla failed to enable sshd password auth for live-build v4 environment..
  - create-*-live: Force to add "lb config --initsystem sysvinit".


author: Steven Shiau <steven _at_ nchc org tw> 3.13.25-drbl1
changelog:
  - A parameter "split_suf_len" was added in drbl-ocs.conf so that it can be used to specify the suffix length when spliting an image.
  - The suffix length of each image chunk now could be >=2.
  - For webdav image repository, the suffix length of split command was changed to 3 so it could have enough chunks for large file (~2.8 TB).


author: Steven Shiau <steven _at_ nchc org tw> 3.13.27-drbl1
changelog:
  - Switching to use mode "ubuntu" for create-ubuntu-live, no more using "debian" mode. This is done by using 'lb config --bootappend-live "boot=live config username=user"' for create-*-live.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.28-drbl1
changelog:
  - Bug fixed: the single white space for target_parts should be treated as nothing. Thanks to Borksoft for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.29-drbl1
changelog:
  - A boot parameter "ocs_dmesg_n" was added so that it can be used to set the level at which logging of messages is done to the console. If not assigned, prevents all messages, except emergency (panic) messages, i.e. n=1. Thanks to Greg Bell.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.30-drbl1
changelog:
  - Two more parameters ocs_ecryptfs_cipher and ocs_ecryptfs_key_bytes could be assigned in the boot parameters.


author: Steven Shiau <steven _at_ nchc org tw> 3.13.32-drbl1
changelog:
  - Default to remove the ntfs volume dirty flag after it's restored.
  - Default to remove the dbus machine id file (/var/lib/dbus/machine-id) after a GNU/Linux system is restored.


author: Steven Shiau <steven _at_ nchc org tw> 3.14.2-drbl1
changelog:
  - Dropping stdin and stdout assignment in start-ocs-live.service. Use the default values.
  - Wrong agetty path in serial-console-autologin.conf.
  - For non-framebuffer mode, TERM was not defined. It's OK for sysv/upstart, but not for systemd.


author: Steven Shiau <steven _at_ nchc org tw> 3.14.4-drbl1
changelog:
  - Switching to use systemd in create-gparted-live.
  - Upstart is only used for Utopic in create-ubuntu-live. For Vivid the systemd is used.
  - Option "--mirror-chroot-updates" in create-gparted-live was removed since it does not exist for live-build v4.


author: Steven Shiau <steven _at_ nchc org tw> 3.14.7-drbl1
changelog:
  - Prevents all messages, except emergency (panic) messages in GParted live booting console.
  - Bug fixed: wrong path for start-gparted-live.
  - TERM was not set correctly when configuring keyboard for GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 3.14.9-drbl1
changelog:
  - Disable the booting status, otherwise the messages might be shown on the dialog menu (of keyboard/language for Clonezilla/GParted live) which is annoying.


author: Steven Shiau <steven _at_ nchc org tw> 3.14.10-drbl1
changelog:
  - Make start-ocs-live.service and start-gparted-live.service after systemd-user-sessions.service so that the screen won't be re-set by something like setupcon.
  - Set the TERM as linux for non-framebuffer mode in ocs-lang-kbd-conf and S05kbd-conf (gparted live) so that color output can be shown.


author: Steven Shiau <steven _at_ nchc org tw> 3.14.12-drbl1
changelog:
  - Adding parsing mechanism for boot parameter "components" in function get_live_boot_param of ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.14.13-drbl1
changelog:
  - Improvement: ocs-install-grub now could handle the grub boot loader is on root partition instead of MBR.


author: Steven Shiau <steven _at_ nchc org tw> 3.14.14-drbl1
changelog:
  - Adding a link file ocs-prep-home to prep-ocsroot.
  - Adding a link file ocs-cvt-dev to cnvt-ocs-dev.
  - A better mechanism to parse the PV was implemented. Thanks to Uditha De Silva.


author: Steven Shiau <steven _at_ nchc org tw> 3.14.15-drbl1
changelog:
  - Bug fixed: ocs-onthefly failed to clone swap partition for GPT disk. Thanks to Uwe Dippel for reporting this issue (https://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/907b3c87).


author: Steven Shiau <steven _at_ nchc org tw> 3.14.17-drbl1
changelog:
  - util-linux >= 2.26 removes support for "sfdisk -R". Therefore we switched to "blockdev --rereadpt". Thanks to Ismael (razzziel _at_ users sf net) for reporting this.


author: Steven Shiau <steven _at_ nchc org tw> 3.14.19-drbl1
changelog:
  - A mechanism to avoid AWS S3 with ecryptfs was added because there is
  an issue: https://github.com/s3fs-fuse/s3fs-fuse/issues/166


author: Steven Shiau <steven _at_ nchc org tw> 3.14.20-drbl1
changelog:
  - A mechanism to avoid cloudfuse with ecryptfs was added because there is
  an similar issue as https://github.com/s3fs-fuse/s3fs-fuse/issues/166


author: Steven Shiau <steven _at_ nchc org tw> 3.14.21-drbl1
changelog:
  - File ocs-tune-conf-for-s3 was renamed as ocs-tune-conf-for-s3-swift so it can be used for both S3 and Swift repository.


author: Steven Shiau <steven _at_ nchc org tw> 3.15.3-drbl1
changelog:
  - Language files for Hungarian were added. Thanks to Greg Marki (info.mlc _at_ freemail hu) for providing the files.


author: Steven Shiau <steven _at_ nchc org tw> 3.15.4-drbl1
changelog:
  - Function get_latest_kernel_ver_in_repository of ocs-functions was improved so it can filter Linux kernel version 4 or later.


author: Steven Shiau <steven _at_ nchc org tw> 3.15.5-drbl1
changelog:
  - Switching to use "union=overlay" in DRBL/Clonezilla/GParted live. It's the default union filesystem for Linux kernel v4, and also available in Ubuntu Vivid's linux kernel.


author: Steven Shiau <steven _at_ nchc org tw> 3.15.6-drbl1
changelog:
  - Package libpam-systemd and policykit-1 were added in pkgs_for_task_xfce_desktop of create-drbl-live-by-pkg.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.1-drbl1
changelog:
  - File system overlay was added as one of the known file systems in prep-ocsroot.
  - A better mechanism was used to parse the boot parameters in ocs-run so that it could deal with that from grub efi network booting.
  - Bug fixed: set-netboot-1st-efi-nvram failed to keep uEFI network
  - Bug fixed: ocs-resize-part failed to run resize program for parted >= 3.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.2-drbl1
changelog:
  - Bug fixed: some bash errors were fixed in ocs-resize-part.
  - Supporting local boot in uEFI mode after clonezilla job is done.
  - The clonezilla-se-client and local-disk menuentry in GRUB EFI NB not could be hidden or revealed.
  - Bug fixed: "drbl-ocs stop" won't kill itself by killing its ppid.
  - More complete GRUB EFI NB menus added in this version. Thanks to Danny Russ | KSC for helping this GRUB EFI network boot solution.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.3-drbl1
changelog:
  - Using "isohybrid --uefi" to make dd iso file work. Thanks to Patrick Verner and Kubuist for this.
  - Only for those non-stop cases we will clean the GRUB UEFI NB config files in drbl-ocs. Otherwise the local-disk boot in grub.cfg normally won't work.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.5-drbl1
changelog:
  - Functions add_opt_in_pxelinux_cfg_block, remove_opt_in_pxelinux_cfg_block, add_opt_in_grub_efi_cfg_block and remove_opt_in_grub_efi_cfg_block were moved from ocs-functions to drbl-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.6-drbl1
changelog:
  - Making S03prep-drbl-clonezilla for DRBL live work with systemd.
  - Turn on the ssh password remote login in drbl live, while still using tcpwrapper to block it.
  - Functions confirm_continue_or_not_default_quit, confirm_continue_or_not_default_continue, and confirm_continue_no_default_answer were moved to drbl-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.7-drbl1
changelog:
  - Functions confirm_continue_or_not_default_quit, confirm_continue_or_not_default_continue, and confirm_continue_no_default_answer were moved from ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.8-drbl1
changelog:
  - Bug fixed: sfidsk >= 2.26 does not support -C, -H, and -S. Skip using that when sfdisk >= 2.26. Thanks to Matt Ross for reporting this (https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/1734996f).


author: Steven Shiau <steven _at_ nchc org tw> 3.16.9-drbl1
changelog:
  - Using the ipxe package from Debian, no more packaging that. Therefore the correspoing programs (ocs-iso, ocs-live-dev, ocs-live-boot-menu, and create-drbl-live) were modified to fit that.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.10-drbl1
changelog:
  - Adding packages gddrescue and ddrescueview for GParted live in create-gparted-live. (https://bugzilla.gnome.org/show_bug.cgi?id=750240).


author: Steven Shiau <steven _at_ nchc org tw> 3.16.11-drbl1
changelog:
  - "ps -q" in drbl-ocs is only for SysV, we have to use "ps --pid" so that it will work both in BSD and SysV GNU/Linux system.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.12-drbl1
changelog:
  - Adding "net.ifnames=0" in the boot parameters of ocs-live-boot-menu for Clonezilla/DRBL/GParted live system. One day we will switch to the predicable network device name, but not now.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.13-drbl1
changelog:
  - The useless note about option "-z3" was removed. Thanks to Marc Grondin (marcfgrondin _at_ gmail com) for reporting this.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.16-drbl1
changelog:
  - Bug fixed: sfidsk >= 2.26 does not support -C, -H, and -S. Skip using that when sfdisk >= 2.26, especiall in ocs-onthefly. Thanks for Dorzalty reporting this: https://sourceforge.net/p/clonezilla/discussion/Help/thread/8a7397fc


author: Steven Shiau <steven _at_ nchc org tw> 3.16.17-drbl1
changelog:
  - When /home/partimag is a mount point, prep-ocsroot should use "skip" as the default item. Thanks to Bruce Solomon [rufovillosum _at_ yahoo com].


author: Steven Shiau <steven _at_ nchc org tw> 3.16.18-drbl1
changelog:
  - Bug fixed: efibootmgr >= 0.12 has newer output format. Thanks to johnv-valve for reporting this (https://github.com/stevenshiau/clonezilla/issues/9).


author: Steven Shiau <steven _at_ nchc org tw> 3.16.19-drbl1
changelog:
  - When restoring the image of a GPT disk, if the file "sda-pt.sf" for example is dumped by sfdisk >= 2.26, use sfdisk in higher priority than gdisk.
  - Bug fixed: the output file of update-efi-nvram-boot-entry failed to assign the correct variables.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.20-drbl1
changelog:
  - Using the same mechanism to deal with GPT partition table in ocs-onthefly for disk to disk cloning.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.21-drbl1
changelog:
  - Bug fixed: option "-k1" failed due to ocs-expand-mbr-pt failed to read the output of sfdisk >= 2.26.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.22-drbl1
changelog:
  - The output of sgdisk will be logged in clonezilla.log, too.
  - Separating the option "-a" of df in different cases in prep-ocsroot.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.23-drbl1
changelog:
  - Bug fixed: failed to continue after trying to save the partition table for PV on disk.
  - Bug fixed: failed to save image for PV on multiple partitions. Thanks to SLLabs Louis for the patch.
    (http://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/075d3f5a/?limit=25#f533)


author: Steven Shiau <steven _at_ nchc org tw> 3.16.24-drbl1
changelog:
  - A better mechanism was added to get the linking status of network card in ocs-live-netcfg.
  - Bug fixed: failed to process LVM with snapshots. Thanks to Shaun Rowland for providing the patch. (https://sourceforge.net/p/clonezilla/discussion/Open_discussion/thread/075d3f5a/#f533/628c)


author: Steven Shiau <steven _at_ nchc org tw> 3.16.25-drbl1
changelog:
  - The "--print-id" of sfdisk is deprecated in favour of "--part-type". Program ocs-get-part-info has the corresponding change.
  - The output of sfdisk >= 2.26 has the format "type=" instead of "Id=". The corresponding changes have to be done in ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.26-drbl1
changelog:
  - Bug fixed: when the image saved from sda, for example, was restored to sdb, the swap parttion was not restored correctly due to function get_swap_partition_sf_format failed to parse the file sdb-pt.sf.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.27-drbl1
changelog:
  - Program ocs-expand-gpt-pt was added. 
  - Proportition GPT partition layout could be created by the option "-k1".


author: Steven Shiau <steven _at_ nchc org tw> 3.16.28-drbl1
changelog:
  - Package zerofree was added in the packages list for GParted live.
  - Proportition GPT partition layout could be created by the option "-k1" (ocs-onthefly).


author: Steven Shiau <steven _at_ nchc org tw> 3.16.29-drbl1
changelog:
  - Bug fixed: Option "-C" failed to pass to partclone in ocs-onthefly when option "-icds" is used for GPT disk.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.30-drbl1
changelog:
  - Switched to use "http://httpredir.debian.org/debian" instead of "http://http.debian.net/debian" for Debian mirror in drbl-ocs.conf.
  - Added /EFI/debian/grubx64.efi in known_efi_boot_file_chklist of update-efi-nvram-boot-entry.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.32-drbl1
changelog:
  - Not only eno*, but also other NIC name like enp* will be searched in ocs-live-netcfg. 
  - Program gl-live-netcfg now supports NIC name en*, and better way to detect linking status.
  - Enable password login for sshd in GParted live. By default the sshd is not started.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.34-drbl1
changelog:
  - The S03prep-drbl-clonezilla of drbl-live did not put LIVE_USERNAME in /run/live/live-config.
  - Added util-linux and gdisk info in the files and versions list Info-packages.txt of image directory.
  - Adding option --noclear for agetty for tty autologin. It's easier to see the booting messages in clonezilla/drbl/gparted live.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.36-drbl1
changelog:
  - Checking systemd-udevd in ocs-run, too.
  - Option -a|--initsystem was added to create-drbl-live-by-pkg and create-drbl-live.


author: Steven Shiau <steven _at_ nchc org tw> 3.16.39-drbl1
changelog:
  - Since most of the debian packages are compressed (xz or gzip), no more compressing the source tarball. 
  - Package efibootmgr was added to gparted live. (https://bugzilla.gnome.org/show_bug.cgi?id=754587)


author: Steven Shiau <steven _at_ nchc org tw> 3.17.1-drbl1
changelog:
  - Function is_drbl_live_env is added in ocs-functions.
  - No more using ocs_lang and ocs_live_keymap in drbl-ocs, they are replaced by keyboard-layouts and locales. 
  - Option "-p" was added so that drbl-ocs-live-prep supports the mounted or unzipped live path. Now by default the Clonezilla SE client in drbl live use lesser NFS. Most of them are live system.


author: Steven Shiau <steven _at_ nchc org tw> 3.17.3-drbl1
changelog:
  - Forced to remove gnash. HTML5 is more popular and flash is getting disabled by a lot of websites.
  - New boot parameter "dcs_put_dticons" was added to control if the icons on the desktop should be created or not in drbl live.


author: Steven Shiau <steven _at_ nchc org tw> 3.17.4-drbl1
changelog:
  - Link the kernel and initrd of clonezilla live in /tftpboot/nbi_img/ to that of drbl live for DRBL live system.


author: Steven Shiau <steven _at_ nchc org tw> 3.17.5-drbl1
changelog:
  - Bug fixed: forgot to add boot param for uEFI netboot client when ocs_client_trig_type=proc-cmdline.


author: Steven Shiau <steven _at_ nchc org tw> 3.17.6-drbl1
changelog:
  - Comments about ocs_lang_for_pxe_ocs_live in drbl-ocs.conf was added.
  - The keymap for live system should use the same keymap as that on the server first, and if not available, then use the one assigned in drbl-ocs.conf.


author: Steven Shiau <steven _at_ nchc org tw> 3.17.7-drbl1
changelog:
  - Now ocsmgrd will create grub uEFI network file like: grub.cfg-01:00:50:56:01:01:01 so that it can work with the embedded config file in drbl-gen-grub-efi-nb.


author: Steven Shiau <steven _at_ nchc org tw> 3.17.9-drbl1
changelog:
  - Bug fixed: commenting clonezilla job in ocs-live-run-menu for Clonezilla SE in DRBL live after it is done was not working.
  - The uEFI lable should be converted to one word otherwise ocsmgrd will fail to parse it.


author: Steven Shiau <steven _at_ nchc org tw> 3.17.10-drbl1
changelog:
  - Enable syntax on and dark background for vim in DRBL live.
  - In DRBL live, when only netboot config files (/tftpboot/nbi_img/pxelinux.cfg/default and /tftpboot/nbi_img/grub-efi.cfg/grub.cfg) are required to be updated once, make sure it only be updated once. No need to update for every clients. This would reduce runtime massively when client machines are many.


author: Steven Shiau <steven _at_ nchc org tw> 3.18.1-drbl1
changelog:
  - ocsmgrd now reveals local-disk for uEFI netboot by default, and no more using ":" in the file name of uEFI netboot. It's the same with that of patched grub2 on CentOS, i.e. something like: grub.cfg-01-00-0c-29-1d-9a-d1


author: Steven Shiau <steven _at_ nchc org tw> 3.18.2-drbl1
changelog:
  - A better way to get the autologin account is used in S03prep-drbl-clonezilla for both ocs and drbl.


author: Steven Shiau <steven _at_ nchc org tw> 3.18.3-drbl1
changelog:
  - Bug fixed: when multiple disks contain grub root partition, ocs-install-grub detected the root partition outside the restored ones.


author: Steven Shiau <steven _at_ nchc org tw> 3.18.5-drbl1
changelog:
  - Reverted to use http://free.nchc.org.tw/debian for debian_mirror_url_def in drbl-ocs.conf. Too frequent "Hash Sum mismatch" for some Debian mirror sites.


author: Steven Shiau <steven _at_ nchc org tw> 3.18.7-drbl1
changelog:
  - Adding f2fs in the support fs of partclone in drbl-ocs.conf.
  - Bug fixed: vi instead of vim existing on GParted live system.
  - Adding xserver-xorg-legacy on GParted live to avoid this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802544


author: Steven Shiau <steven _at_ nchc org tw> 3.18.8-drbl1
changelog:
  - Since the bug about xserver-xorg-legacy was fixed. Removing xserver-xorg-legacy from the packages list in create-gparted-live. (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=802544)


author: Steven Shiau <steven _at_ nchc org tw> 3.18.9-drbl1
changelog:
  - Check if file $GRUB_CONF exists before going on in hide_reveal_grub_efi_ent and some functions of drbl-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.18.10-drbl1
changelog:
  - Bug fixed: wait_for_udevd should be after main settings in ocs-run.
  - More tests about if $GRUB_CONF exists before going on in some functions of ocsmgrd and drbl-ocs about grub2 uEFI network boot.


author: Steven Shiau <steven _at_ nchc org tw> 3.18.12-drbl1
changelog:
  - Bug fixed: Avoid using the preserved word of grub2 "prefix" in the grub.cfg. Thanks to Joey3000.  (https://github.com/stevenshiau/clonezilla/issues/13)
  - Bug fixed: Failed to deal with partition name with extra "p", like: *cciss*, *mmcblk*, *md*, *rd*, *ida*, *nvme*, Thanks to quozl for reporting this bug.  (https://github.com/stevenshiau/clonezilla/issues/14)
  - Bug fixed: Use fatresize to resize FAT file system instead of parted since resize function is no more in parted >= 3.  Thanks to quozl for reporting this bug.  (https://github.com/stevenshiau/clonezilla/issues/16)


author: Steven Shiau <steven _at_ nchc org tw> 3.18.13-drbl1
changelog:
  - Adding swapfile.sys in the files list to be removed in ocs-rm-win-swap-hib. Thanks to Bartosz Bątorek <bartosz.batorek _at_ gmail com> for suggesting this.
  - Avoiding TUI messages overriding the error messages in ocs-live-restore.
  Thanks to Stew Fisher <stewart.fisher _at_ oncology ox ac uk> for
  reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.18.14-drbl1
changelog:
  - Reverted to use http://free.nchc.org.tw/ubuntu for ubuntu_mirror_url_def and ubuntu_mirror_security_url_def in drbl-ocs.conf. Less network connection issue when creating Clonezilla live for Clonezilla team.


author: Steven Shiau <steven _at_ nchc org tw> 3.18.15-drbl1
changelog:
  - Reverted to use http://archive.ubuntu.com/ubuntu instead of http://free.nchc.org.tw/ubuntu for ubuntu_mirror_url_def and ubuntu_mirror_security_url_def in drbl-ocs.conf. Otherwise the cache in /var/lib and /var/cache won't be removed. It makes the iso/zip ~30 MB larger.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.1-drbl1
changelog:
  - Adding options -sc0 and -scr for image checking before restoring.  Now by default Clonezilla will check image integrity before restoring. Option "-sc0" is used to skip image checking on server, while "-scr" is used to skip image checking on client.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.2-drbl1
changelog:
  - Add option "-scs" to be the same option for "-sc" in drbl-ocs and ocs-sr. This will be easier to tell the differences between saving and restoring image.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.3-drbl1
changelog:
  - Allow ocs-install-grub to run when it's a GPT disk with a special "bios_boot" partition exists in the machine using legacy BIOS.
  - Use parted to fill the last partitition to the end of disk because there might be some resudial in the calculation of ocs-expand-gpt-pt.  Thanks to Conan for this suggestion. Ref: https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/c5e92d87/?limit=25#080c


author: Steven Shiau <steven _at_ nchc org tw> 3.19.4-drbl1
changelog:
  - Bug fixed: The size with more than one partition not expanding should be added to the later partition in ocs-expand-gpt-pt.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.6-drbl1
changelog:
  - The deprecated boot parameters ocs_live_keymap, keyb and gl_kbd are removed. Because package console-common is not included anymore due to this issue: https://bugs.launchpad.net/bugs/1528861


author: Steven Shiau <steven _at_ nchc org tw> 3.19.8-drbl1
changelog:
  - Since ttf-kochi-gothic is not available in Debian Sid, change to use fonts-hanazono for DRBL live.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.9-drbl1
changelog:
  - Bug fixed: Fix missing background image with Grub2 config file created by ocs-live-boot-menu. Thanks to Joey3000.  (https://github.com/stevenshiau/clonezilla/pull/19).


author: Steven Shiau <steven _at_ nchc org tw> 3.19.10-drbl1
changelog:
  - Since ttf-kochi-gothic is not available in Debian Sid, change to use fonts-hanazono for GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.11-drbl1
changelog:
  - Packages libpam-systemd and hence dbus are required for GParted live, otherwise keyboard and mouse won't work in X after Sid >= Jan 2016.  Package policykit-1 is also added similar to that for lightdm.  Thanks to Curtis for Gedak. (https://lists.debian.org/debian-user/2015/10/msg01529.html)


author: Steven Shiau <steven _at_ nchc org tw> 3.19.12-drbl1
changelog:
  - Bug fixed: failed to set local boot for uEFI network boot clients when using "-y0" option of drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.13-drbl1
changelog:
  - Disk to disk clonging for NVME device failed to check the destination disk size.
  - Expand NVME support to disk device name like /dev/nvme0n2, and /dev/nvme0n3 instead of /dev/nvme0n1 only.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.14-drbl1
changelog:
  - Make ocs-onthefly work for nvme device cloning, e.g. nvme0n1 -> nvme1n1.
  - Use wipefs also to clean the file system when cleaning file system header.
  - Bug fixed: get_swap_partition_parted_format of ocs-functions failed to return correct partition name for devices cciss*|mmcblk*|md*|rd*|ida*|nvme*.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.15-drbl1
changelog:
  - Make ocs-onthefly work for different types of disk cloning, e.g.  nvme0n1 -> sda.
  - Add functions replace_disk_name_in_file and replace_disk_name_stdin in ocs-functions so that the disk name replacing can use. This is special for different types of disk name, e.g. nvme0n1 -> sda.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.16-drbl1
changelog:
  [Ceasar Sun]
  - Add /EFI/Microsoft/Boot/bootmgfw.efi for MS Windows, and move
    /EFI/Boot/bootx64.efi to the last one in known_efi_boot_file_chklist.
  - Add option "-iefi|--ignore-update-efi-nvram" for drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 3.19.17-drbl1
changelog:
  - Revert Ubuntu mirror defaults to the one from nchc in drbl-ocs.conf.
  - Update function check_if_apple_mac with an extra check when dmidecode fails to obtain info in update-efi-nvram-boot-entry. This makes sure efibootmgr won't be run on Apple machine.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.1-drbl1
changelog:
  - ocs-cvtimg-comp displays the total elapsed time when converting compression.
  - For better compability, the mktemp in ocs-iso and ocs-live-dev uses 6 consecutive 'X's, not 5 ones.
  - Bug fixed: remove option "-c" might also remove "-cmf" or "-cm" in ocs-restore-mdisks.
  - Add files checksum mechanism for ocs-sr (-gmf/-cmf) and ocs-onthefly (-cmf).


author: Steven Shiau <steven _at_ nchc org tw> 3.20.2-drbl1
changelog:
  - To avoid the truncation difference, just use byte in pv instead of kB for checksum inspection mechanism.
  - Bug fixed: forgot to put variable chksum_cmd_for_files_in_dev for checksum mechanism in drbl-ocs.conf.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.3-drbl1
changelog:
  - Add option "-f" for pv when generating and inspecting the checksum of files in device. This allows ocs-restore-mdisks to show the status when running in virtual terminal (tee).


author: Steven Shiau <steven _at_ nchc org tw> 3.20.5-drbl1
changelog:
  - The log file is renamed as ${image_name}_mdisks_{disk_name}.log, and put in /var/log instead of /tmp.
  - Show device info when checksum does not match.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.7-drbl1
changelog:
  - Replace qalculate-gtk with calcoo for GParted live. It's lighter.
  - Add calculator in menu for GParted live.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.8-drbl1
changelog:
  - When inspecting checksum, do not use "-a" for pv to avoid confusion.
  - Add checksum results log file, e.g. /var/log/sda-md5sum-results.log.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.9-drbl1
changelog:
  - The new example file custom-ocs-3 was added. It is used to save or restore disk with checksum mechanism enabled. Especially for deploying multiple disks.
  - Add new utility file "ocs-label-dev". It can be used to label a file


author: Steven Shiau <steven _at_ nchc org tw> 3.20.13-drbl1
changelog:
  - Add option "-i" for mdisks-checksum. 
  - Add interactive mode for image and disks selection in mdisks-checksum.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.16-drbl1
changelog:
  - Tune label and remove temp dir in mdisks-checksum.
  - Show precise message when exiting in ocs-label-dev.
  - Add new program ocs-match-chksum to match checksum in the image and files in the block device.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.17-drbl1
changelog:
  - Rename ocs-match-chksum as ocs-match-checksum. 
  - Bug fixed for mdisks-checksum: the interactive mode should be different for save and restore modes.
  - Use --line-mode for pv in the function inspect_chksum_for_files_in_dev of ocs-functions, and move pv command after checksum so that when only a few files to be checked, it won't just show 100%.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.19-drbl1
changelog:
  - ocs-match-checksum: Show only image with checksum, log more outputs, and run checksum inspection for multiple disks in parallel.
  - Allow max 11 characters for vfat in ocs-label-dev.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.20-drbl1
changelog:
  - Improve efficiency for generating checksum and show better progress output.
  - Add a better mechanism to wait for kernel showing partition after paritition table is created.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.21-drbl1
changelog:
  - Update related programs to fit that the Clonezilla live arch in stable release now only supports i686, no more i586.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.22-drbl1
changelog:
  - Trap the mount point for checksum mechanism to unmount it when exiting checksum mechanism.
  - Add another mode "check" to the sample file mdisks-checksum.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.23-drbl1
changelog:
  - Bug fixed: failed to handle file name with white space in function gen_chksum_for_files_in_dev of ocs-functions.
  - The file path in *.md5 should only be replaced with CHKSUM_TMPD when it's not empty by mdisks-checksum.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.25-drbl1
changelog:
  - Add option "-i" for fatresize in ocs-resize-part. This seems to avoid an issue about resized file system can not be read on MS Windows, while it is OK on GNU/Linux.
  - By default no parallel jobs for ocs-match-checksum. An option "-p" can be used to enable that.
  - Only show image with checksum info when running in mode "check" in mdisks-checksum.
  - Bug fixed: no md5sum files were put to repository and destination disks in the previous version of mdisks-checksum.
  - Show partition info in pv output when inspecting checksum.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.26-drbl1
changelog:
  - Program mdisks-checksum failed to copy checksum log files due to function get_chksum_info_from_img did not work in some cases.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.30-drbl1
changelog:
  - Remove ocs-devsort since now "sort -V" is used.
  - Add watch ocs-scan-disk for local block device in prep-ocsroot.
  - Update usage description of option "-p" in mdisks-checksum.
  - Now all the supported GNU/Linux has option "-V" for sort, so just use it instead of using the function get_sort_V_opt to decide in ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.31-drbl1
changelog:
  - Use lsblk in ocs-get-part-info to get partition type which is faster than from parted.
  - Show progress as finding partitions number in ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.33-drbl1
changelog:
  - Bug fixed: Use "toram" instead of "toram=filesystem.squashfs" so that vmlinuz and initrd.img can be found and use in DRBL live env.


author: Steven Shiau <steven _at_ nchc org tw> 3.20.36-drbl1
changelog:
  - ALT+F5 invokes dangerous & irreversible program xkill, should not be on a kb shortcut in GParted live. Ref: https://bugzilla.gnome.org/show_bug.cgi?id=703400


author: Steven Shiau <steven _at_ nchc org tw> 3.21.2-drbl1
changelog:
  - Add batch mode in ocs_success_mountpoint of ocs-functions.
  - Add gen-rec-iso in the sample files.
  - Add option "-scr" in gen-rec-usb.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.3-drbl1
changelog:
  - Add support for boot parameter ocs_preload*. It can be used to fetch tar/zip files from http(s), ftp, tftp, and local URL then extract to /opt/.  Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu) for this idea and providing sample codes.
  - Program ocs-live-pre-run was renamed as ocs-live-prerun and ocs-live-post-run was renamed as ocs-live-postrun. It will be closer to those used in boot parameters (ocs_prerun and ocs_postrun).
  - Change DRBL_GPG_KEY_URL to that on drbl.org in drbl-ocs.conf.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.9-drbl1
changelog:
  - Add option "-c" to ocs-srv-live so that it can be used to assign the client number as NO for each network card connected to clients.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.10-drbl1
changelog:
  - Program ocs-live-preload should deal with whitespace file name from zip
    file. Thanks to Aaron Burling for this bug report.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.11-drbl1
changelog:
  - Remove /etc/network/if-up.d/ntpdate in DRBL/Clonezilla live. We should not touch the system/bios time when network is up unless user manually runs ntpdate.
  - If image is not checked on sever, client should not check unless it's select_in_client mode. Fixed in drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.12-drbl1
changelog:
  - Bug fixed: renaming live image extension to .tar when using tar.  Thanks to minh hieu trinh for reporting this.  https://sourceforge.net/p/clonezilla/bugs/251/


author: Steven Shiau <steven _at_ nchc org tw> 3.21.13-drbl1
changelog:
  - Add option "--allow-downgrades" for apt in case we need to downgrade the version. Changes for files: create-debian-live, create-drbl-live, create-gparted-live, create-ubuntu-live.
  - Use iproute2 to get MAC address and IP address info in ocs-chnthn-functions. Thanks to Richard Stanway for the patch.  https://github.com/stevenshiau/clonezilla/pull/22


author: Steven Shiau <steven _at_ nchc org tw> 3.21.17-drbl1
changelog:
  - Modern mkswap support option to assign UUID. No more using mkswap-uuid.
  - Due to the change in Debian Sid that "init" is not essential any more.  It has to be added as a required package for gparted live. Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=756023


author: Steven Shiau <steven _at_ nchc org tw> 3.21.18-drbl1
changelog:
  - Add supporting for grub on EBR imaging and cloning. Thanks to Bill Wright (bill _at_ blug org) for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.19-drbl1
changelog:
  - Use the patched live-boot so that the option toram=live could be used in drbl live to copy the "live" directory only, not all the files from live media.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.20-drbl1
changelog:
  - To work with toram=live in the patched live-boot, the version tag file of clonezilla/drbl/gparted live system is put in dir "live", too.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.21-drbl1
changelog:
  - Update toram mode as "live,syslinux" for ocs-live-boot-menu when it's assigned as "live" because for DRBL live the config file in syslinux dir is required.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.22-drbl1
changelog:
  - Add a mechanism so that image repository can be auto mounted with boot parameter ocs_repository in URI format, e.g.  ocs_repository="dev:///dev/sdf1" or ocs_repository="smb://wa-domain;jack:mypass@192.168.7.25/images". Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu) for this idea.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.23-drbl1
changelog:
  - If no ocs_repository is assigned in boot parameters, ocs-live-repository shoule just exit.  Nothing should be shown except the exit code.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.24-drbl1
changelog:
  - Restore MBR data (executable code area) even it's GPT disk. Some OS, e.g. ESXi 5.5 need that.
    Ref: https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/30662778/


author: Steven Shiau <steven _at_ nchc org tw> 3.21.25-drbl1
changelog:
  - Add support for device /dev/nbd. Thanks to Mircea Dan for this suggestion. Ref: https://sourceforge.net/p/clonezilla/discussion/Help/thread/d2d2a480/


author: Steven Shiau <steven _at_ nchc org tw> 3.21.26-drbl1
changelog:
  - Reuse the parsed partition info when detecting the data/swap/extended partitions. Thanks to starnavi for this suggestion.
    Ref: https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/ba256b4b


author: Steven Shiau <steven _at_ nchc org tw> 3.21.27-drbl1
changelog:
  - Use shorter name for fsck-related options, i.e.  "-fsck-src-part" is replaced by "-fsck", and "-fsck-src-part-y" is replaced by "-fsck-y".


author: Steven Shiau <steven _at_ nchc org tw> 3.21.28-drbl1
changelog:
  - Bug fixed: failed to get all partitions for multiple disks which was introduced in clonezilla 3.21.26.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.29-drbl1
changelog:
  - Add fuse.cloudfuse in the messages of prep-ocsroot.
  - Provide an option to mount image repsitory again when failing in ocs-live-repositry. "ask_user" can be used as the Samba domain and account in the URI so that user can input their own names.  Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu) for these ideas.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.30-drbl1
changelog:
  - "ask_user" can be the username to let user input for SSH server in ocs-live-repository.
  - The failing mounting for sshfs (fuse) can not be detected by mountpoint.  Use another method to test and unmount it in prepare_mnt_point_ocsroot of ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.31-drbl1
changelog:
  - Set mounting smb part as non-interactive mode in ocs-live-repository.
  - If ocs-live-repository fails, show the ocs-live-final-action menu in ocs-live-run-menu.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.32-drbl1
changelog:
  - Slightly improve the speed to get file system info, and also add converting "0xf" as extended in ocs-get-part-info.


author: Steven Shiau <steven _at_ nchc org tw> 3.21.33-drbl1
changelog:
  - Better way to deal with batch mode or not in ocs-live-repository.
  - If mounting fails, ocs-live-run-menu should exit, not continue.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.1-drbl1
changelog:
  - Add a new mechanism to browse the image repository and bind mount the sub directory. Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu) for providing sample codes.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.2-drbl1
changelog:
  - Use ocs-live-bind-mount to bind mount the subdir as image repository for local device mounting.
  - A menu about bind mount subdir was added in prep-ocsroot and ocs-live-final-action.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.3-drbl1
changelog:
  - Rewrite ocs-live-final-action and ocs-live-run-menu so that rerun3 can work with locales in non-en_US.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.5-drbl1
changelog:
  - Improve image repository browsing:
    (1) Add an option to exit dir browsing.
    (2) Tag directory contains no sub dir.
    (3) Allow bind mount dir without any image so it can be the repository
        for saving only.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.6-drbl1
changelog:
  - Programs ocs-live-preload and ocs-live-repository will honor the tag file not to be run again if they have been run successfully starting Clonezilla main menu again.
  - Make a prompt about bind mount for different locales.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.7-drbl1
changelog:
  - Due to apt>=1.3~pre2 only recommends gnupg/gnupg2, not list them as must, therefore gnupg and gnupg2 have to be included in DEBOOTSTRAP. ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830696


author: Steven Shiau <steven _at_ nchc org tw> 3.22.9-drbl1
changelog:
  - Applied patches from Aaron Burling, including
    Group dirs in BrowseCurrentDirectory:
    First is .. (Parent Directory) (if applicable),
    second is subdirectories,
    third is cz_img directories,
    fourth is Exit/Abort option.
    Prompt word "00-Exit" has been changed to <ABORT> and moved to the
    bottom of menu.

  - Make ocs-live-repository to be run again after rerun1 is run again.
  - Honor ocs_user_subdir in boot parameters so that ocs-live-bind-mount will
    be run in ocs-live-repository.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.10-drbl1
changelog:
  - Add options "-c" and "-f" for ocs-live-prerun and ocs-live-postrun.
  - Check every boot parameter ocs_prerun*, ocs_postrun*, and ocs_preload*
    has been successfully run or not. Not only the whole program. If it has
    been successfully run, a tag file will be created in /var/lib/clonezilla,
    and the next run won't run it again unless option "-f" is used.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.11-drbl1
changelog:
  - Avoid wrongly parsing dir as clonezilla image in function
    BrowseCurrentDirectory of ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.12-drbl1
changelog:
  - Move function get_dir_filesystem from drbl-functions to ocs-functions.
    Use findmnt instead of df to get the file system for a mountpoint.
  - Show sshfs file system when it's mounted in prep-ocsroot.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.13-drbl1
changelog:
  - Add an option to retry when ocs-live-preload fails to mount netfs.
    Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu)
    for this suggestion.
  - Bug fixed: if image is the first one or last one, the
    BrowseCurrentDirectory failed to identify that as clonezilla image
    even it is.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.14-drbl1
changelog:
  - Bug fixed: if image is the first one or last one, the
    BrowseCurrentDirectory failed to identify that as clonezilla image
    even it is. The previous did not work.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.15-drbl1
changelog:
  - Remove "noeject" from the boot parameters. Now live-medium-eject
    from live-tool and the program eject should work. Systemd is supported
    by live-tool 20151214+nmu1.drbl1 with patch from drbl:
    http://bugs.debian.org/831830


author: Steven Shiau <steven _at_ nchc org tw> 3.22.16-drbl1
changelog:
  - Adding xserver-xorg-legacy to let non-root user can run startx
    since we use startx in GParted live. 
    Ref: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=807015


author: Steven Shiau <steven _at_ nchc org tw> 3.22.17-drbl1
changelog:
  - Program ocs-run-boot-param was added to run for boot parameters
    ocs_prerun, ocs_postrun, ocs_savedisk_prerun, ocs_saveparts_prerun,
    ocs_restoredisk_prerun, and ocs_restoreparts_prerun.
    E.g. ocs-live-prerun -> ocs-run-boot-param ocs_prerun
    With this, ocs-live-prerun and ocs-live-postrun were removed.
  - Add entry points for ocs_savedisk_prerun, ocs_saveparts_prerun,
    ocs_restoredisk_prerun, and ocs_restoreparts_prerun in ocs-sr.
    Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu)
    for these ideas.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.18-drbl1
changelog:
  - Disable service systemd-timesyncd.
    Clonezilla live and DRBL live should not touch the system time, even for
    the BIOS it should not.
    Thanks to Rick and rfried for reporting this issue.
    Ref: https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/b2667447


author: Steven Shiau <steven _at_ nchc org tw> 3.22.20-drbl1
changelog:
  - Drop the support for boot paramter ocs_chk_img and ocs_fsck_src_part
    in drbl-functions. Only honor the options of ocs-sr by "-scr", "-scs",
    "-fsck", "-fsck-y".
  - Make something like "ocs-sr -x -scr" work. It won't ask about if
    "-scr" should be used or not. Thanks to Aaron for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.21-drbl1
changelog:
  - Save ocs-related variables in /var/lib/clonezilla/ocs-vars so that
    the customized program can use. Thanks to Aaron Burling
    (aaron_burling _at_ lkstevens wednet edu) for this idea.
  - Program ocs-clean-part-fs was added to clean the file system/LVM info in
    every partition of the assigned disk.
  - Clean file system/LVM info before creating partition table. Thanks to
    Mircea Dan (byreal _at_ users sf net) and Pete Morris
    (morrispj _at_ jmu edu) for reporting this issue.
    Ref: https://sourceforge.net/p/clonezilla/bugs/254/


author: Steven Shiau <steven _at_ nchc org tw> 3.22.22-drbl1
changelog:
  - Check if PV of LVM is listed in the device to be backuped. If so, 
    stop LVM first in ocs-clean-part-fs.


author: Steven Shiau <steven _at_ nchc org tw> 3.22.23-drbl1
changelog:
  - Failed to create the checksum files for files in LV, i.e. when
      option "-gmf" or "-cmf" is enabled.
      Thanks to Mircea Dan.
      Ref: https://sourceforge.net/p/clonezilla/bugs/260/
    - Change /proc/sys/vm/highmem_is_dirtyable to 1 when running i686 Linux
      kernel and the RAM size is larger than 8 GB.
      Thanks to Little Vulpix for this suggestion.
      Ref: 
      https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/ba31ffc8


author: Steven Shiau <steven _at_ nchc org tw> 3.23.1-drbl1
changelog:
  - Ask the post action (choose, reboot, poweroff) before starting cloning.
      Replace variable postrun with postaction.
      Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu) for this idea.
    - Add new boot paramater ocs_sshd_port so that the non-standard port of
      sshd can be assigned. Thanks to rj555 for asking this.
      Ref:
      https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/0add50dd


author: Steven Shiau <steven _at_ nchc org tw> 3.23.2-drbl1
changelog:
  - Save variable ocs_cmd in /var/lib/clonezilla/ocs-vars so later it can be
      used.
    - Show messages about removing source or destination disk in interactive
      mode after cloning is finished.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.7-drbl1
changelog:
  - Program ocs-live-repository should honor boot param ocs_live_batch with
      higher priority.
    - Program ocs-live-preload should read /etc/ocs-live.conf.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.8-drbl1
changelog:
  - Boot parameter ocs_overwrite_postaction has higher priority than the
      action assigned by option "-p" in ocs-sr, and "-pa" in ocs-onthefly.
      The value for ocs_overwrite_postaction is:
      [choose|reboot|poweroff]-on-[restoredisk|restoreparts|savedisk|saveparts|clone]
      E.g., choose-on-restoredisk means the postaction for restoredisk will
      always be choose no matter what is assigned in -p of ocs-sr or -pa of
      ocs-onthefly.
      Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu)
      for this idea.
    - Add option -sfsck in the menu for ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.10-drbl1
changelog:
  - Inform kernel partition changes only when disk is not busy. This should
      solve the issue:
      https://sourceforge.net/p/clonezilla/bugs/265/


author: Steven Shiau <steven _at_ nchc org tw> 3.23.11-drbl1
changelog:
  - Rewrite functios in ocs-functions, including:
      check_if_disk_busy_before_create_partition &
      check_if_disk_busy.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.13-drbl1
changelog:
  - The drbl/clonezilla live version info will be put in /etc/ocs/ocs-live.conf,
      and when an image is saved, the info will be saved in Info-packages.txt.
    - A workaround to avoid the warning:
      continue: only meaningful in a `for', `while', or `until' loop
      Because >= bash 4.4 raises it as a warning, and then continue won't be run.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.14-drbl1
changelog:
  - When /opt/overwrite-boot-param exists, overwrite /proc/cmdline.
      Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu)
      for this idea and providing sample codes.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.15-drbl1
changelog:
  - If ocs-live-preload is run and /etc/ocs-live.conf is updated, we need
      reread it in ocs-live-run-menu after running ocs-live-preload.
      Even if it's not modified, re-read it won't cause any problem.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.16-drbl1
changelog:
  - Now ocs-live-preload check if 
      /opt/{overwrite-all-boot-param,overwrite-part-boot-param}
      exists (Downloaded from root of ocs_preload).
      File overwrite-all-boot-param is to overwrite the whole
      /proc/cmdline, while overwrite-part-boot-param only overwrites
      part of the variables in /proc/cmdline. Especially those
      "ocs_*" parameters.
    - For the universal usage for boot parameters ocs*, put
      double quotation mark for ocs_live_batch in the config file of
      clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.18-drbl1
changelog:
  * Skip overwriting /proc/cmdline when no any overwrite* files in /opt.
    * Put new cmdline file in /var/lib/clonezilla/new-cmdline instead of / in
      live system.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.21-drbl1
changelog:
  - Add mechanism to detect bitlocker and Microsoft Reserved
      Partition (MSR) in ocs-get-part-info.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.22-drbl1
changelog:
  - Create /var/lib/clonezilla before putting files into that directory.
      This is required for DRBL live client.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.23-drbl1
changelog:
  - Force to make timeout as 60 secs. Debian uses 60, but Ubuntu uses 300.
      Too long. Thanks to Cecile, Adam (Adam.Cecile _at_ hitec lu) for
      reporting this.
    - Bug fixed: remove "light-locker.desktop" instead of
      "xscreensaver.desktop" for DRBL live. We do not want the screen to be
      locked in DRBL live env.


author: Steven Shiau <steven _at_ nchc org tw> 3.23.25-drbl1
changelog:
  - Forgot to load grub.cfg-$IP before grub.cfg for uEFI netboot client.
      Thanks to Anshu Arya for reporting this issue.
      Ref: https://sourceforge.net/p/drbl/discussion/DRBL_for_Debian/thread/73a26bf9
    - Run deploy_pxecfg_grubefi_files inside drbl-ocs because the prompt to
      start clonezilla SE service only mentions to run drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 3.24.4-drbl1
changelog:
  - Use Packages.xz instead of Packages.gz in function
      get_latest_kernel_ver_in_repository of ocs-functions because
      Packages.gz is not available on Debian repository
      Also use that from amd64, not i386. I.e.,
      binary-amd64/Packages.xz, instead of binary-i386/Packages.gz

    - Choose "Enter_shell" should not give any error. This should fix the
      issue reported at:
      https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/a44f2814
      Thanks to Cyril Ganchev and Bertrando for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.24.6-drbl1
changelog:
  - Remove partprobe command after ocs-scan-disk. It delays the
      GPT partition to be shown in /proc/partitions.
    - Add package xserver-xorg-legacy for drbl-live in program
      create-drbl-live-by-pkg.


author: Steven Shiau <steven _at_ nchc org tw> 3.24.10-drbl1
changelog:
  - Update descriptions for ocs-iso and ocs-live-dev.
    - Fix typos in the usage for ocs-sr. 
    - Add options -a|--postaction, -x|--extra-boot-param for gen-rec-iso.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.1-drbl1
changelog:
  - Rewrite codes about partition creation. It's neater now.
    - Add initial codes for bittorrent restoring. Not finished yet.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.4-drbl1
changelog:
  Do not use ":" in file name for the log file, use "~" instead. e.g.
    xenial-x64-20161104~sda1.log, not xenial-x64-20161104:sda1.log
    Shell does not like file name with ":".


author: Steven Shiau <steven _at_ nchc org tw> 3.25.7-drbl1
changelog:
  - Adding "only_access_by_owner" as one of the  boot parameters so that it
      can be used like -noabo for ocs-sr.
    - Initial settings of ocs-sr should be before reading
      /etc/ocs/ocs-live.conf so that it can be tuned by boot parameters.
    - Program clonezilla and ocs-live-general were slightly modified.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.8-drbl1
changelog:
  - Bug fixed: temporaty mount point "/tmp/ocsroot_bind_root"
      should be made 1st in ocs-live-bind-mount.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.9-drbl1
changelog:
  - Function query_and_install_PKG_TO_QUERY in ocs-live-hook-functions
      should only install those not installed packages. Do not install those
      installed ones, otherwise it might upgrade the package.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.10-drbl1
changelog:
  - Remove duplicated BOOTUP related codes in function
      ocs-live-env-prepare of ocs-functions and ocs-live-save.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.11-drbl1
changelog:
  - wait_for_part_table_take_effect of ocs-functions should deal with
      partitions name with extra p, like nvme0n1p1. 
      Thanks Bruno Vila Vilariño for reporting this issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.12-drbl1
changelog:
  - Add generating BT slices for Clonezilla image.
      This is still in experimental status, and partclone >= 0.3.5e is
      required.
    - Fix typos for variable $cat_cmd in ocs-restore-mbr.
    - ocs-btsrv won't regenerate .torrent file if it exists.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.13-drbl1
changelog:
  - Update tracker's name when it does not fit the running environment in
      .torrent file in ocs-btsrv.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.14-drbl1
changelog:
  - Service dnsmasq is the service for dhcpd and tftpd, too.
      With it, no need to re-configure drbl system when running
      ocs-srv-live.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.15-drbl1
changelog:
  - Regenerate the metainfo file (.torrent) when necessary, such as
      server IP address has changed. Not not updating it by perl brutally.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.16-drbl1
changelog:
  - Add a mechanism to check if the BT files should be recreated.
      Info-img-id.txt is added in the image dir for identifying the image.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.17-drbl1
changelog:
  - Add an option for using another BT client: aria2c.
      Tune ctorrent running options: -M 20 -n 4 (The minimum value for -M is
      20).
    - Move variable bt_client from ocs-btsrv to drbl-ocs.conf.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.20-drbl1
changelog:
  - Bug fix: ocs-expand-gpt-pt should keep space for 2nd GPT table,
      i.e., limit the partition size to the maximum usable sectors
      for a GPT disk (total sectors – 34).
      Thanks to Leandro Gustavo Biss Becker <lbecker _at_ positivo com br>
      for providing the patched file.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.21-drbl1
changelog:
  - Add stop-drbl-live and stop-ocs-live services in systemd environment for
      Clonezilla live and DRBL live.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.22-drbl1
changelog:
  - Remove prerun and postrun service in drbl live. It's duplicated since we
      have that in ocs-live-run-menu both for DRBL live and Clonezilla live.
      Remove upstart setting, too. It's not used anymore.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.23-drbl1
changelog:
  - Add S06pre-run in drbl-live.d again, however, it will honor drbl_prerun*
      instead of ocs_prerun*. Otherwise ocs_prerun* will be run in S06pre-run
      of drbl-live.d and ocs-live-run-menu.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.24-drbl1
changelog:
  - Make boot parameter ocs_postrun work even ocs-sr is run with
      -p reboot/halt in Clonezilla SE (DRBL live) mode.
      This fixes the issue that reboot/halt was run before ocs_postrun.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.25-drbl1
changelog:
  - Boot parameter ocs_live_run_tty in DRBL live should be consistent
      with live-getty console parameters.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.26-drbl1
changelog:
  - Set default piece length for bittorrent as 16 MB.
    - Disable vim defaults so that copy & paste can work in drbl live.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.28-drbl1
changelog:
  - Update partition layout to kernel before EBR is restored.
      Thanks to Ron (https://sourceforge.net/u/norotops/) for reporting.
      Ref: https://sourceforge.net/p/clonezilla/discussion/Clonezilla_live/thread/c047c8d2/
    - Switch to use transmission-create as the default program to create
      bittorrent metainfo. It is automatic to adjust the piece size and
      counts.


author: Steven Shiau <steven _at_ nchc org tw> 3.25.29-drbl1
changelog:
  - Disable lighttpd by default for clonezilla/drbl live.
    - Add ocs-live-feed-img and ocs-live-get-img so that Clonezilla live can be
      the multicast feeding server, and also be the client to receive multicast
      packets.
    - Improve function feed_multicast_restoreparts so that it can work with
      ocs-live-feed-img.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.1-drbl1
changelog:
  - Rewrite ocs-live-feed-img and ocs-live-get-img:
      1. Use image tarball for clients to download. The tarball does not
      contain the image files of file system. They will be sent by udpcast.
      2. Improve the whole program. Add complete command line options.
      3. Add prompt about running the program again.
    - Bug fixed: missing option -irvd|--irvd in drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.2-drbl1
changelog:
  - Update usage descriptions in ocs-live-feed-img.
    - Enable function to do image checking on server in ocs-live-feed-img.
    - Check if ocs-client-run.sh exists before running in ocs-live-get-img.
    - Update usage descriptions for drbl-cso.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.3-drbl1
changelog:
  - Improve ocs-live-feed-img:
      Choose the destination device instead of inputting it.
      Make sure "restoreparts" mechanism works.
      Add more prompt about unattended mode.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.4-drbl1
changelog:
  - Bug fixed for ocs-live-feed-img:
      Even if it's local repository, we still have to configure network
      otherwise the udp-sender won't start.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.6-drbl1
changelog:
  - Add more checking in ocs-live-feed-img, including:
      the created ocs-client-run.sh should check if the pseudo image
      downloading is successful, and the extraction of tarball works. 
      Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu)
      for reporting the issue.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.7-drbl1
changelog:
  - Enable different mechanism for creating BT slices with partclone. This is
      controlled by option partclone_make_slice_opt in drbl-ocs.conf.
    - Exclude encrypted image when selecting image in ocs-live-feed-img.
    - Add more outputs from ocs-live-feed-img and ocs-live-get-img in log file.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.8-drbl1
changelog:
  - Bug fixed: clients-to-wait mode failed to run in client.
      Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu)
      for reporting the issue.
    - Add support bittorrent restoring. However, not enabled yet.
    - Put log file in ocs-live-feed-img.log instead of clonezilla.log.
    - Put log in ocs-live-get-img.log instead of clonezilla.log
    - Prompt to avoid running ocs-live-get-img in clonezilla live lite server.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.9-drbl1
changelog:
  - Add modes "To_upstream" and "In_isolation" for ocs-live-feed-img. Since
      bittorrent is not ready yet, "In_isolation" is disabled by default.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.12-drbl1
changelog:
  - Update language files for lite server/client.
    - Add lite-server and lite-client in ocs-sr menu.
    - Check if ocs-live-feed-img and ocs-live-get-img run in Clonezilla live. If
      not, quit directly.
    - Enable NAT so multicast packets can be sent in ocs-live-feed-img.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.15-drbl1
changelog:
  - Bug fixed: option '-um' should not be passed to ocs-sr in
      ocs-live-feed-img.
    - Bug fixed: NAT service failed to start due to wrong parameters in
      ocs-live-feed-img.
    - Only output the content ocs-client-run.sh to log in ocs-live-get-img.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.16-drbl1
changelog:
  - Confine the command to run in the client, i.e., Program
      ocs-live-feed-img only provides parameters to clients
      instead of whole command.
    - Extract creating BT slice files to be a program: ocs-gen-bt-slices


author: Steven Shiau <steven _at_ nchc org tw> 3.26.17-drbl1
changelog:
  - Always the network environment mode in ocs-live-feed-img.
    - Add option -nm|--netenv-mode to ocs-live-feed-img.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.18-drbl1
changelog:
  - Add the mechanism about report of restoring results.
    - Add prompt about Clonezilla live lite server.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.19-drbl1
changelog:
  - Use gen_dnsmasq_cfg to create the config file for dnsmasq
      in ocs-live-feed-img.
    - Create bootx64.efi and put pxelinux.0 in /tftpboot/nbi_img when creating
      Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.21-drbl1
changelog:
  - Use prepare-files-for-PXE-client, the better one, to put the network
      booting files for clients of Clonezilla live.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.24-drbl1
changelog:
  - Make sure stop function kill all the processes in ocs-live-feed-img.
    - Update some prompts in ocs-live-feed-img.
    - The menu for ocs-live-feed-img now includes both start and stop
      selections.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.25-drbl1
changelog:
  - Bug fixed: Make sure dnsmasq is started in order.
    - Unless there is an existing image in /tmp otherwise honor the original
      image name in ocs-live-get-img.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.27-drbl1
changelog:
  - Add reserved "ask_user" for source IP and device for ocs-onthefly client
      mode.
    - Add another menu "misc-utils" in Clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.30-drbl1
changelog:
  - Deal with the file permission of filesystem.squashfs for lighttpd
      service. 
      Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu)


author: Steven Shiau <steven _at_ nchc org tw> 3.26.31-drbl1
changelog:
  * Arrange the main menu of Clonezilla live as: "device-image",
      "device-device", "remote-source", "remote-dest", "lite-server",
      "lite-client".
      Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu) for
      providing suggestion.
    * Add -ro,--remote-clone-only & -lo,--local-clone-only in ocs-onthefly.
    * Move live-server menu to clonezilla main menu. No more in ocs-sr.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.32-drbl1
changelog:
  * Use nohup for ocsmgrd to avoid it's terminated when
      jfbterm is finished.
    * Bug fixed: stop service first when clonezilla.lock exists.
      We have to wait for udp-sender to be finished so that when
      CJK locales uses jfbterm, udp-sender won't be terminated
      due to jfbterm is finished.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.35-drbl1
changelog:
  * Update function get_latest_kernel_ver_in_repository of ocs-functions
      to exclude "-dbg" kernel.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.36-drbl1
changelog:
  * Bug fixed: wrong sequence to filter "dbg" kernel in
      get_latest_kernel_ver_in_repository of ocs-functions.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.37-drbl1
changelog:
  * Add parsing boot parameter "ocs_litesrv_mode" for lite server presetting.
      When clonezilla lite server mode is enabled, ocs-live-run-menu won't
      deal with mounting repository and let ocs-live-feed-img to handle that.
      Thanks to Aaron Burling (aaron_burling _at_ lkstevens wednet edu) for
      providing suggestions.
    * Add configuring network if it's not before mounting network file system in
      ocs-live-repository.


author: Steven Shiau <steven _at_ nchc org tw> 3.26.39-drbl1
changelog:
  * Move the codes about making the ocsmgrd outputs won't be overwritten
      by dialog to ocs-live-feed-img instead of clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 3.27.1-drbl1
changelog:
  * Bug fixed: ocsmgrd command with pipe did not protected with nohup.
      It failed when CJK language is used in Jfbterm.


author: Steven Shiau <steven _at_ nchc org tw> 3.27.2-drbl1
changelog:
  * Rotate log file ocsmgrd-notify.log instead of overwritting it.
    * Add more prompts to ocs-scan-disk.


author: Steven Shiau <steven _at_ nchc org tw> 3.27.3-drbl1
changelog:
  * Bug fixed: select-in-client enters command line mode after job is done.
      Ref: https://sourceforge.net/p/drbl/discussion/DRBL_for_Debian/thread/d7427aaa/
      Thanks to Santiago Castro Olivares for reporting this.


author: Steven Shiau <steven _at_ nchc org tw> 3.27.4-drbl1
changelog:
  * Instead of asking "to-upstream" or "in-isolation", now asking
      use-existing-dhcpd, start-new-dhcpd, auto-dhcpd in ocs-live-feed-img.
    * Support replaying the DHCP service to existing DHCP service in
      ocs-live-feed-img.
    * Bug fixed: typos. lite_client -> lite-client, lite_server -> lite-server
      in file clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 3.27.5-drbl1
changelog:
  * If DHCP service exists, by default ocs lite server just leases the IP
      address from DHCP server in ocs-live-feed-img.


author: Steven Shiau <steven _at_ nchc org tw> 3.27.6-drbl1
changelog:
  * Update toram mode as "live,syslinux" for ocs-live-boot-menu when
      it's assigned as "live" because for Clonezilla live the config
      file in syslinux dir and the vmlinuz and kernel in live dir
      is required.


author: Steven Shiau <steven _at_ nchc org tw> 3.27.12-drbl1
changelog:
  * Add a mechanism to load module for accessibility (e.g, speakup_soft) instead
      of hard coding it in initramfs. The mechanism is similar to that in Debian
      Stretch installer.


author: Steven Shiau <steven _at_ nchc org tw> 3.27.14-drbl1
changelog:
  * Bug fixed: matching codes for extended partitions. Thanks to Alan
      Rooks.
      Ref: https://sourceforge.net/p/clonezilla/bugs/275/
    * Remove the extra space lines in main menu in clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 3.27.15-drbl1
changelog:
  * Add option -z|--prefer-archive to ocs-live-dev so that archive program can be assigned.
      Thanks to Mircea Dan for providing the patch.
      Ref: https://sourceforge.net/p/clonezilla/bugs/278/


author: Steven Shiau <steven _at_ nchc org tw> 1.0-4drbl
changelog:
  - add codes to compute the sizes of swap partition and swap file together, so that it meets the /etc/sysconfig/mkswapfile in clients.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-5drbl
changelog:
  - let mkpxeinitrd-net take care of the copy and link for vmlinuz-pxe and initrd-net, not in drblsrv-rh or drblsrv-mdk.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-10drbl
changelog:
  - force to run mknic-nbi with smp option if user specifies smp kernel.
  - rewrite kernel searching method for mandrake, now DRBL for Mandrake only uses kernel with tag "drbl"


author: Steven Shiau <steven _at_ nchc org tw> 1.0-18drbl
changelog:
  - fix the bug when checking alias public IP address, 0 and 255 can not only be the first and last digit.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-19drbl
changelog:
  - fix the bug when checking alias public IP address, 0 and 255 can not only be the first and last digit, it's only for IP checking, not netmask.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-20drbl
changelog:
  - add check if DRBL kernel is available, if not found, program stop.

  - fix the bug when checking alias public IP address, 0 and 255 can not only be the first and last digit, it's only for IP checking, not netmask.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-21drbl
changelog:
  - force to upgrade gpm when user has FC1, this will avoid the bug of dialog, so clonezilla will work well.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-27drbl
changelog:
  - Use the tcp options for client to mount the NFS directory, this will be betterwhen there is packet loss in LAN, maybe due to the collision in one single switch for 40 clients.
  - clean the kernel.sys of freeDOS when program finishs.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-28drbl
changelog:
  - change the order of NFS mount parameters, fix it as r[ow],...,tcp,nolock or r[ow,...tcp,defaults so that it's easier to change the parameters by script.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-30drbl
changelog:
  - fix the bug for hostname like fc1-1-00, which should be fc1-1-001. We need to get the ip_start from range.
  - change the NTP server to be stdtime.sinica.edu.tw.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-31drbl
changelog:
  - Let Chinese characters shown when asking language. It's easier to choose the right one with readable characters.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-32drbl
changelog:
  - Add creating, exporting and mounting directories /home/partimag and /tftpboot/node_root/home/partimag for clonezilla in script drblpush
  - Add detect cdrom in rc.local for Mandrake, since harddrake does create /dev/cdrom when client boot.
  - Use the same timesync file for client and server.
  - Client now has 4 options of system when using PXE to boot, i.e. system assigned by server, system in local harddrive, memtest, freedos.


author: Steven Shiau <steven _at_ nchc org tw> 1.0-33drbl
changelog:
  - Fix the exportfs bug by remove creating, exporting and mounting directories /home/partimag and /tftpboot/node_root/home/partimag for clonezilla in script drblpush


author: Steven Shiau <steven _at_ nchc org tw> 1.0-36drbl
changelog:
  - Fix the bug for PXE menu, option 1 should be Linux, while "enter" key is system assigned by DRBL server.


author: Steven Shiau <steven _at_ nchc org tw> 1.1-5drbl
changelog:
  - add -l|--language option for drblsrv and drblpush so that the language will be consistent with drbl4imp.
  - add woody-netinstall in PXE menu.


author: Steven Shiau <steven _at_ nchc org tw> 1.1-6drbl
changelog:
  - add more descriptions when asking collecting MAC address.
  - update the MDK 10.0 official version tag.


author: Steven Shiau <steven _at_ nchc org tw> 1.2-1drbl
changelog:
  - drbl kernel is installed into /tftpboot/node_root directly, so now server
  and clients can use same version kernel but different archi.
  - add ntpd in DRBL server, and client will sync with DRBL server and pool.ntp.org
  - fix some bugs.


author: Steven Shiau <steven _at_ nchc org tw> 1.2-2drbl
changelog:
  - when uninstall in mandrake, do not using apt-get remove to remove the kernel in server! Now the kernel is installed directly in /tftpboot/node_root.


author: Steven Shiau <steven _at_ nchc org tw> 1.2-9drbl
changelog:
  - add LC_ALL=C to ` ` in drblpush, thanks to Abdellah Soubaa from France for providing the envorinment to test.


author: Steven Shiau <steven _at_ nchc org tw> 1.2-10drbl
changelog:
  - Use "rsync -a -u" to update files for clients, so now it's not necessary to reboot clients when run "drblpush -i" and select keep the setting. The sshd and other auth mechanism still work without rebooting.


author: Steven Shiau <steven _at_ nchc org tw> 1.3-1drbl
changelog:
  - Rewrite the program, add /opt/drbl/conf/drbl.conf, /opt/drbl/sbin/drbl-functions and /opt/drbl/sbin/drbl-perl-functions


author: Steven Shiau <steven _at_ nchc org tw> 1.3.3-2
changelog:
  - unlink the drbl_range temp file when drbl.pl finishes.
  - rename the config.interactive to be $DRBLPUSH_CONF="drblpush.conf";
  - no more use the current working directory as the working directory. Use temp working directory in drblpush, so the temp created files will be cleaned clearly.
  - copy the drblpush.conf to /etc/drbl, so we can re-run drblpush like "drblpush -c /etc/drbl/drblpush.conf"
  - exclude the "." in hostname prefix


author: Steven Shiau <steven _at_ nchc org tw> 1.3.3-3
changelog:
  - fix the bug for public IP.
  - the drblpush.conf and public_ip_list will be copied to /etc/sysconfig/drbl, not /etc/drbl.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.3-7
changelog:
  - The pre-saved collected MAC files now can dance with "drblpush -c /etc/sysconfig/drbl/drblpush.conf"


author: Steven Shiau <steven _at_ nchc org tw> 1.3.4-1
changelog:
  - Add parameters common_root_dir and buffer_ratio_for_client_space in drbl.conf
  - Add checking the harddisk space is enough or not


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-3
changelog:
  - Move the drbl-powerful-thin-switch to the last part of drblpush.
  - Just ask user to restart/logout kdm/gdm to make the xdmcp config active.
  - No more maintain firefly rpms, so skip that in drblsrv.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-6
changelog:
  - Copy the macadr-eth*.txt to temp working directory before changing dir.
  - Check the kernel config file so we can know if server supports NFS over TCP or not. If not, just use NFS over UDP... So for Redhat 9, it will automatically got it's udp, not tcp...
  - Add drbl-unstable option


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-7
changelog:
  - Bug fixed, we should check the server's kernel config file for CONFIG_NFSD_TCP, not the one for clients.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-8
changelog:
  - Add installing parted in drblsrv-mdk.sh
  - new code to install wget, chaget the RH*_wget_rpm to wget_rpm_RH8_0, wget_rpm_RH9


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-11
changelog:
  - fix the config loading bug in drblsrv-mdk.
  - filter the kernel with test lable (in contrib), we do not want that kernel for clients.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-16
changelog:
  - Do not copy /dev/console, null, tty[0-5] from server to clients, now we use "mount -t tmpfs none /dev" in the beginning of initrd, so we will use mknode to create console, null, tty[0-5] runtime
  - Add installing dos2unix in drblsrv-rh and drblsrv-mdk.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-21
changelog:
  - add some more notes.
  - fix the bug of failing to show message $msg_install_kernel_might_take_several_minutes


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-23
changelog:
  - add the new method to search latest_drbl_kernel_in_rep, now it will find the really latest kernel. 
  - disable reconfiging ntp, user accounts... for clients... in /usr/sbin/firstboot in the firstboot service, we should not do it again in clients.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-24
changelog:
  - If cups and iiim is on in server, they will be on in the clients.
  - fix the bug for searching latest kernel in Mandrake.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.5-25
changelog:
  - add /etc/sysconfig/drbl/client-extra-service so that use can specify services for clients before running drblpush -i.
  - move purging client question to the end of prompt in drblpush.
  - bug fixed, IIim in FC2, iiim in FC3, different names


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-1
changelog:
  - use the apt comes with MDK, no more made by DRBL.
  - the freshrpms apt_dir is different to that of DRBL, use different name.
  - turn off cups service in drbl clients.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-2
changelog:
  - add drbl.sf.net + freshrpms.net (RH/Fedora) and drbl.sf.net + distro.ibiblio.org (MDK) as one of the sources when setup DRBL env.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-3
changelog:
  - add checking if initial digits in hostname prefix.
  - follow Fedora Project Developer's Guide, turn off the standard output when installing drbl-setup.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-11
changelog:
  - the hostname of client will use "_" instead of "-"
  - add code to delete the empty line and those comment line of MAC address file.
  - add ddrescue isntallation.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-15
changelog:
  - the hostname of client will use "-" instead of "_", which follows the rule when installing Fedora Core.
  - update some functions in drbl-functions to make "drbl-client-switch --list-host" work.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-16
changelog:
  - fixed the bug - the HOST_OPT1 "$HOST_OPT2" does NOT work when drbl-client-switch run without "-h $IP_LIST"


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-19
changelog:
  - add /tftpboot/node_root/media and tmpfs mount in client's /etc/fstab, we need this for automount USB disk.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-20
changelog:
  - if the latest kernel exists in the server, just copy it to common root, if else, apt-get install it.
  - clean $ocsroot/ocsmgrd.lock when uninstalling.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-23
changelog:
  - correct tyops.
  - remove "-w, --website     Browse the NCHC DRBL website" in drblsrv-rh.
  - reformat the Usage both in drblsrv-rh and drblsrv-mdk.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-28
changelog:
  - bug fixed, when kernel is not available in RPMS.os/RPMS.core, program won't stop, it will try to find it in RPMS.updates.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-29
changelog:
  - separate the repository url to url_drbl and url_os.
  - now we can find and install the latest kernel without apt.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-30
changelog:
  - put client_kernel_install_option in drbl.conf so that it's easier to set it without touching drblsrv.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.6-31
changelog:
  - Let wget/glibc/openssl/kernel installation works without apt.
  - add code to download dev and MAKEDEV rpm without apt-get.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.7-2
changelog:
  - Add check and install udev if necessary.
  - The services for cleint to run will be checked before them are put into client's /etc/init.d
  - Add an option to use existing yum core/updates config instead of overwritting it.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.7-3
changelog:
  - Make drblpush more generic, not depends on OS_Version.
  - Rewrite the code to run authconfig in /tftpboot/node_root


author: Steven Shiau <steven _at_ nchc org tw> 1.3.7-4
changelog:
  - Add a tag of client kernel arch in /tftpboot/nbi_img
  - Before rsync kernel module (/lib/modules -> /tftpboot/node_root), check if the arch matches.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.7-8
changelog:
  - Support Class A/B/C private IP of DRBL clients.
  - Add drbl-yp-securenets to gentrate the /var/yp/securenet.
  - Use /opt/drbl/bin/get_ip instead of writing ugly code in perl.
  - Keep drbl-setup when running drblsrv -i.
  - Fixed bug when libapt-pkg0 is installed while trying to install it.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.7-16
changelog:
  - move the checking of drbl-script and others packages to the beginning of drblpush.
  - remove ntp when uninstalling.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.7-18
changelog:
  - precisely list the class B private IP address 
  - fix the bug for unable to copy the mac address file to working directory.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.8-4
changelog:
  - update some descriptions
  - do not install perl-IO-LockedFile, we do not need this with new clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.9-1
changelog:
  - make drblsrv and work without setting up yum/apt/urpmi repository
  - add CentOS4 support.
  - update rc.sysinit.FC3.drbl and rc.sysinit.default-RH.drbl since rc.sysinit in FC3 is updated.
  - drop etherboot config in dhcpd.conf, since etherboot 5.4.0 is released, it can almost fit PXE server except localboot. Now client machine must use etherboot 5.4.0 or newer.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.9-18
changelog:
  - use drbl-*-mirror-lists in ayo server when run drblsrv -i -s. So now user does not have to write drbl related yum repository.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.9-21
changelog:
  - make select yum repository as an option for some distribution
  - fix the bug of drbl-client-root-passwd in x86_64
  - set client hostname rule as "hostname_prefix[NO]", no more hostname_prefix-[NO] i.e. remove "-". If user want that, he can enter that like "fc3-"


author: Steven Shiau <steven _at_ nchc org tw> 1.3.10-4
changelog:
  - recontruct the file archi in /opt/drbl, add dir /opt/drbl/doc.
  - use Makefile for the drbl tarball.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.10-13
changelog:
  - fix the bug when running drblsrv 2nd time, unable to check if the kernel arch fits client's requirement.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.10-20
changelog:
  - fix the bug for turn off all PXELinux menus, otherwise client will have problem: boot: EL entries found in configuration file!
  - fix the bug for mknic-nbi, now it will update kernel first and check if arch matches.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.10-24
changelog:
  - convert the uppercase kernel tag to lowercase tag, like X86_64 -> x86_64 in check_kernel_cpu_arch.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.10-26
changelog:
  - add a function to check DRBL client's kernel arch.
  - fix a bug. In mknic-nbi, it should check client's kernel arch, not server's.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.10-33
changelog:
  - Process the special case! Makdrake 10.1/10.2 uses kernel-i586-up-1GB for 586 CPU, The kernel rpm kernel-2.6.11.6mdk-1-1mdk.i586.rpm is only working with i686 CPU. Since Mandrake does NOT want to fix the bug... We have to take care by ourselves! Put UGLY code for Mandrake 10.1/10.2.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.10-34
changelog:
  - Skip extra driver question, since it's been a long time we did not create those driver.
  - Fix the bug to refer DRBL server's kernel arch.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.11-3
changelog:
  - put distribution code name in pxelinux menu (generate-pxe-menu).
  - query dev, MAKEDEV and kernel rpm before downloading it.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.11-5
changelog:
  - add -t -a -n -m -x -c -g -k options for drblsrv so we can run it in batch mode.
  - add -p in drblpush so that we can assign the default client no in each NIC port.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.11-6
changelog:
  - fix the halt bug in FC4.
  - add OS_version so that dcs will show OS_Version in pxelinux's default.
  - check yum repository before using it.
  - add batch mode for drbl4imp.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.11-8
changelog:
  - replace OS_Version name "MDK10.2" with "MDV2005"
  - now use urpmi for all MDK version, including MDK 9.2/10.0/10.1 and MDV2005.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.11-12
changelog:
  - update the MENU local with "Local operation system (if available), this is easier to see, and more appropriate. Not always HD, maybe it's floppy or cdrom.


author: Steven Shiau <steven _at_ nchc org tw> 1.3.11-18
changelog:
  - remove some useless codes in drblsrv.
  - fix the bug for RH9, the tcp over NFS is not supported in the running kernel 2.4.20-8, so we have to use drbl-nfs-conf to switch it.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-3
changelog:
  - Fixed bugs, client should have services in /etc/rcS.d.
  - Fixed some bugs due to client's initrd cramfs format.
  - Rewrite some scripts in {bin,sbin} with $SYSCONF_PATH.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-5
changelog:
  - Supposed "udpcast" is put in the rpm spec's requirement of clonezilla. But alien fails to make that deps, so we add in drblsrv.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-6
changelog:
  - bug fixed - unable to shutdown/reboot in Debian.
  - rewrite some scripts about output dhcp server's arguments.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-8
changelog:
  - bug fixed, we should create "net.ipv4.ip_forward = 1" in /etc/sysctl.conf if not in /etc/sysctl.conf
  - make mkswapfile/drblthincli work in Debian.
  - add /usr/sbin/gdm-safe-restart for Debian.
  - make 2 levels command available in dcs.
  - add woody in generate-pxe-menu.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-10
changelog:
  - The tarball name is named version-release, no more date.
  - Since mknbi is separated from mkinitrd-net, we need to install mknbi now.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-12
changelog:
  - Make drblsrv work in Ubuntu. Ubuntu use the name "linux-image" instead of "kernel-image". Note! In this version, DRBL still does not work well in Ubuntu.
  - Since the singature of drbl.deb is not available now, add an option -f|--force-yes for apt.
  - Bug fixed in dcs - re-deploy when language en is choosed.
  - include /var/lib space in sbin/check_drbl_setup_space.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-13
changelog:
  - Debian Sarge does not sync the locale setting of gdm with system. Do it for DRBL clients.
  - bug fixed for wrong exec file name when stop drbl-clients-nat


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-14
changelog:
  - bug fixed, in sbin/clean-dhcpd-lease add $DHCPDLEASE_DIR for dhcpd lease dir path 
  - user dpkg -s instead of dpkg -l so we can get the correct retur code.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-15
changelog:
  - relink some commands in /sbin (originally linked to init) to init.orig.
  - remove -i in client's /etc/init.d/halt & /etc/init.d/reboot so it won't stop network before halting or rebooting system.
  - This release works in B2DpureKDE20050603.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-16
changelog:
  - Now there are two options for installing client's kernel, local and apt repository in Debian-based distributions.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-17
changelog:
  - move netinstall after kernel installation for Debian installation.
  - add -o|--client_kernel_from for drblsrv for Debian.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-18
changelog:
  - bug fixed, we should not terminate drbl-powerful-thin-client when kdmrc is not found, maybe it's gdm.conf.
  - update some prompt messages.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-19
changelog:
  - bug fixed for halting sarge machine, we should not put umountfs and replace some arguments in client's /etc/init.d/halt.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-20
changelog:
  - add tftpd in inetd.conf if it's not available in standalone service.
  - add inetd service in drbl_server_service_chklist.
  - For Debian woody, it seems that /etc/networks is not automaticaly created. If we can not find it, just touch it
  - This release should work in Woody.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-21
changelog:
  - /etc/init.d/nfs-kernel-server does not read /etc/default/nfs-kernel-server in Woody, so modify the RPCNFSDCOUNT in /etc/init.d/nfs-kernel-server.


author: Steven Shiau <steven _at_ nchc org tw> 1.4.0-23
changelog:
  - do not remove dialog when uninstalling in Debian.
  - check if /etc/environment exists before modify /etc/default/gdm
  - check if /usr/sbin/gdmgreeter exists before modify gdm.conf in server.
  - add discover in rcS.d for woody.
  - copy some rc files (.bashrc, .bash_profile...) to client's root home directory


author: Steven Shiau <steven _at_ nchc org tw> 1.5.0-1
changelog:
  - Add SuSE supports.
  - Add bin/socket.pl so that we do not need "socket" program.
  - Move function install_RH_MDK_client_kernel (was install_client_kernel) ealier and will let user to choose which kernel (from release or updates).
  - Do not link /proc/mounts to /etc/fstab for clients, and do not remove /etc/mtab in client's /etc/rc.d/rc.sysinit.
  - Add /etc/fastboot in clients.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.0-2
changelog:
  - use "apt" instead of "apt-get" in SuSE so that we can use --no-checksig.
  - show notes in SuSE when apt4rpm is not installed.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.0-4
changelog:
  - drblsrv will try to install the i586 glibc/db... when i586 arch is selected.
  - fix a critical bug in Debian, /var/lib/nfs should exist and nfs-common should be started in clients.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.1-1
changelog:
  - remove the installation of package ipcalc and syslinux, we just collect the necessary files into this package "drbl".


author: Steven Shiau <steven _at_ nchc org tw> 1.5.1-5
changelog:
  - update syslinux with 3.11-pre6
  - modify fbasename so that when sed is not in /usr/bin in Mandrake it still works.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.2-1
changelog:
  - put memtest86+.bin as part of package "drbl" in drbl/pkg/memtest86+, so no more installing memtest86+ package when running drblsrv -i.
  - add the COPYING and README files in drbl/pkg/*.
  - update syslinux with 3.11-pre7.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.2-2
changelog:
  - add a memtest86+ version tag in /tftpboot/nbi_img.
  - update code to make drbl-client-root-passwd work in SuSE.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-1
changelog:
  - use sbin/gen_client_files.sh to create client's files in drblpush.
  - update syslinux with 3.11-pre10


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-2
changelog:
  - fix a bug when there is no old clients files, the parameters input to gen_client_files.sh is wrong parsed.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-7
changelog:
  - make Debian 3.1 (dev.DBN3.1.tgz) (especially B2D) /dev/dsp* and /dev/mixer* mode: 666. For udev, we do NOT touch that.
  - update drbl-client-switch so that it can use "-t" and "-k" in drbl-ocs.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-8
changelog:
  - do not just remove /tftpboot/* when uninstalling, we will skip some files which might be installed by RPM packages, like *netinstall* and etherboot


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-10
changelog:
  - create md5sum for XF86Config-4 in firstboot in Debian, otherwise dpkg-reconfigure won't update the modified XF86Config-4.
  - we need mount -n /dev/pts in /etc/rc.sysinit of client, so that we won't have an error "No more PTYs" (This make "none /dev/pts                devpts  gid=5,mode=620  0 0" works in /etc/fstab.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-13
changelog:
  - perl -pi -e 's|^#!/bin/sh|#!/bin/bash|' *
  - excluding multicast mode when -u for clonezilla is chosen in dcs.
  - make multicast as the default mode in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-14
changelog:
  - bin/get_ip and bin/drbl-doit use $PATH instead of /sbin/ifconfig.
  - use /opt/drbl/bin/get_ip to get the ipaddress instead of /opt/drbl/bin/parse_net_conf


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-15
changelog:
  - add libdigest-sha1-perl as a necessary package in Debian in drblsrv.
  - make symbolic links in sbin/{drblsrv,drblpush} from setup/{drblsrv,drblpush}.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-17
changelog:
  - add a function to set pxelinux password in drblpush.
  - fix the bug, we should put the dhcpd.conf file, not only path in bin/parse_dhcpd.conf


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-21
changelog:
  - We need "grep -o", and the grep in woody does not have that option, so use the one from backports.
  - Note, now we need to use the backports in /etc/apt/sources.list, check /opt/drbl/doc/install_notes_Debian.txt for more details.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-22
changelog:
  - add services hwscan parse-load-mod-suse force-load-ide in boot.d so that we can load some modules for chips and IDE storage deevices.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-23
changelog:
  - create a CLEAN rc.boot/boot.local/rc.local to avoid some commands copied from server (add for Debian/SuSE).


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-28
changelog:
  - DRBL client can be only NIS client, NIS slave is not necessary.
  - we should create /var/lib/xfree86/xorg.conf.md5sum instead of /var/lib/xfree86/XF86Config-4.md5sum in Ubuntu Hoary.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-29
changelog:
  - Show warning if user use drbl-cp-host to copy files into those directories not /etc, /var, /root.
  - if existing swap file size difference is < 5%, we will accept that.
  - update with syslinux 3.10-pre3, which fixed the pxelinux menu.c32 password bug.
  - do *NOT* specify the salt for pxelinux SHA1 password, let the program pick a random one.
  - make the network device name more general in dhcpd port file.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-31
changelog:
  - add an option -n|--netdev in mknbi-nic so it can assign the priority of network card in client to request IP address when client booting in pxelinux.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-32
changelog:
  - now back to the exact size of swapfile, do not use the size difference since we can use stat to get the right file size.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-36
changelog:
  - Use rpm -ql centos-release | grep "RPM-GPG-KEY-centos4" to get the key since CO4/4.1 use the same PATH /usr/share/doc/centos-release-4/


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-38
changelog:
  - use diffrent variables rc_install_kernel & rc_get_kernel when downloading and installing kernel.
  - update the usage info of mknbi-nic.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.3-41
changelog:
  - use only one name drbl-testing instead of drbl-test/drbl-testing.
  - remove function setup_MDK_apt
  - add support for CentOS 4.2


author: Steven Shiau <steven _at_ nchc org tw> 1.5.4-1
changelog:
  - use drbl-core/pre-drbl as 3rd apt repository so that we can separate that with OS in RH/FC apt repository (Which only used in RH 8.0/9, FC 1/2).


author: Steven Shiau <steven _at_ nchc org tw> 1.5.4-4
changelog:
  - add --force-yes for apt-get install when it's Ubuntu.
  - update some data for sbin/deb-preconf-drbl, use egrep instead of fgrep.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.4-11
changelog:
  - Mandriva 2006 support.
  - fix the bug for unable to copy rc.sysinit.MDVXXX.drbl to clients in drblpush.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.4-16
changelog:
  - rm client-extra-service in the Makefile, do not put it in /etc/sysconfig/
  - create a template /etc/drbl/client-extra-service if it not found in drblpush.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.4-17
changelog:
  - add /etc/sysconfig/i18 reading if it's B2D.
  - exclude umounting tmpfs in /etc/init.d/umountfs of clients.
  - add a perl script to process /etc/init.d/halt of B2D.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-1
changelog:
  - update the MENU LABEL for OpenSuSE, we should use sed -e before SuSE in generate-pxe-menu.
  - use "uname -m" to set x86_64/amd64/i386 for all the distributions.
  - add ssh can be accessed in SuSE firewall.
  - hwscan only exists in SuSE 9.3, in 10.0 or later it's gone! Let hwscan only run in SuSE 9.3 client.
  - use mkpxeinitrd-net instead of mkinitrd-net now.
  - Let OpenSuSE 10.0 can use yum (not finished!)


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-2
changelog:
  - remove powersaved in SuSE DRBL client, let user add that by themselves.
  - for SuSEs, in nfs of client, we have to recreate ld.so.cache since /etc/init.d/boot.ldconfig is run before nfs. It won't include some remote NFS directory (like /opt/kde/lib... /opt/gnome/lib...


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-4
changelog:
  - add yast2 -i yum and copy drbl*.repo/opensuse.repo to /etc/yum.repos.d/
  - fix a bug that only i586 glibc will be installed.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-7
changelog:
  - fix the bug that unable to change client's root passwd in server in SuSE.
  - tune the boot.idedma/force-load-ide/parse-load-mod-suse for SuSE.
  - client won't run ld.config (turn off /etc/init.d/boot.ldconfig and comment the ld.config in /etc/init.d/nfs).


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-10
changelog:
  - fix typos in drblpush.
  - add necessary packages coreutils gzip bzip2 since we now use cat/zcat/bzcat in clonezilla.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-11
changelog:
  - add lynx installation first in Mandriva.
  - move lynx and lftp in SuSE ealier.
  - add lftp installation with lynx for all RPM distributions.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-13
changelog:
  - check if kernel 2.6 is running in sarge.
  - add nc or netcat package as a necessary package for ocs-onthefly.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-17
changelog:
  - Force to stop drblsrv if SuSE/OpenSuSE 10.0 is running with kernel 2.6.13-15-default, since it is BUGGY!


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-20
changelog:
  - add /opt/drbl/sbin/tune-debian-audio-plugdev-perm so that it's easier to open plugdev and audio to all users in the DRBL Debian client.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-22
changelog:
  - do not prompt restart message after tune-debian-audio-plugdev-perm if drbl clients exist.
  - update language files.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-27
changelog:
  - modify tune-debian-audio-plugdev-perm:
  - check if pmount and pumount exits before chgrp
  - deal with dev tarball /dev/mixer* /dev/dsp*


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-28
changelog:
  - Typo issue!!! NFS daemon number in RH-like shoule be RPCNFSDCOUNT instead of RPPPCNFSDCOUNT For Mandrake 9.2-10.1, we should use NFSDCOUNT.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-29
changelog:
  - fix the typo in comments "drbl-testin" -> "drbl-testing"
  - autologin account's group and home directory is queried from system in autologin-home-reset.
  - add a function in dcs: reset-autologin-account


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-31
changelog:
  - correct typo in drbl-client-switch
  - move total_nfsd calculation into drbl_server_parse in drblpush so that -c will work.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-32
changelog:
  - rc.boot should be in $ihost/etc/rc.boot/ in tune-debian-audio-plugdev-perm
  - B2D pureGnome 20051212 does not have hotplug* in rcS.d, but pureKDE has. Anyway, for to link them in rcS.d.
  - since B2D does not have /media, but it will create and use that once you plug the usb devices, so now we decide to mkdir media for client anyway.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.5-33
changelog:
  - force to create DRBL B2D client's /media, but for other distributions, we will
  test it before create it.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-1
changelog:
  - fit the new netinstall package name "netinstall-$dist-$ver-$arch" in generate-pxe-menu and drblsrv.
  - use a better method to get OS_Version in check_distribution_name of drbl-functions.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-2
changelog:
  - update syslinux 3.20-pre4.
  - fix a bug for unable to tell CentOS 4.0/4.1/4.2 in drbl-functions.
  - use $FULL_OS_Version instead of short name (OS_Version).


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-3
changelog:
  - add fedora legacy repository in apt repository example.
  - use another method the get RH VER in check_distribution_name of drbl-functions to avoid the segmentation fault in RH9.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-8
changelog:
  - update syslinux 3.20-pre6.
  - we should use "wakeonlan -i $IP $MAC" to send WOL message so that any client in any ethernet port will be waked.
  - update with wakeonlan version 0.41 from Jose Pedro Oliveira <jpo at di.uminho.pt>.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-13
changelog:
  - create an empty network/interfaces for client so that hotplug won't complain that in Debian or Ubuntu.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-17
changelog:
  - change the hdparm from S07 to S42 (which is after S41force-load-ide so we can access IDE device after IDE-related modules are loaded) for Debian.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-20
changelog:
  - fix the parameter HOST_MAC_TABLE bug.
  - move select_hosts from /opt/drbl/bin to /opt/drbl/sbin
  - add client group support, now we just have to put files like /etc/drbl/client-{MAC,IP}-group-{1-9} (listed line by line) then we can select in dcs.
  - fix a bug that Mandriva 2006.0 OS_Version is parsed wrong.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-21
changelog:
  - update init.drbl so that when booting, some service will not complain /initrd is busy (/initrd/proc and /initrd must be umount in order).


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-22
changelog:
  -  mknod console and null in common root dev directory, so now in Debian no more "Warning: unable to open an initial console."


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-27
changelog:
  - change the hdparm from S42 to S60 (which is far after S41force-load-ide so we can access IDE device after IDE-related modules are loaded and ready).


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-28
changelog:
  - remove mode "remote-linux", only remote-linux-gra and remote-linux-txt left in dcs. Force to write the right /etc/inittab of clients when switching to remote-linux-gra or remote-linux-txt.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.6-29
changelog:
  - /tftpboot/nodes/$IP/node_root/dev/{console,null} are character special files, force to remove it before creating them in the clients.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.7-1
changelog:
  - client IP will skip the one server using.
  - AUTO_LOGIN_ID_PASSWD file is in /etc/drbl/auto_login_id_passwd.txt, no more in working directory when run drblpush or drbl-login-switch.
  - if password_opt is assigned, drbl-login-switch will force to set the password for client.
  - fix a bug when no client-IP-group-* or client-MAC-group-* exists, dcs still shows client-IP-group-* or client-MAC-group-*.
  - add acpid and acpi-support for clients for Ubuntu.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.7-2
changelog:
  - refine drbl-login-switch.
  - fix the bug that when random password is chosen, the /etc/drbl/auto_login_id_passwd.txt is not created.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.7-3
changelog:
  - add an option to set the pause time (secs) after network card is up. This is specially for some switch which need extra time to link, check https://sourceforge.net/forum/message.php?msg_id=3583499 for more details.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.7-4
changelog:
  - not so verbose when adding user to device group in Debian.
  - add language support for drbl-login-switch.
  - add language option for gen_client_files.sh.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.7-7
changelog:
  - Alien does not make obsoletes in RPM spec to deb. Now remove obsolete packages when install packages for debian. Especially partimage-server in B2D. Since partimaged is in DRBL partimage.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.8-1
changelog:
  - add a workround for sis900, thanks to Alexander Heinz for providing this solution in syslinux mailing list.
  - add necessary package file.
  - add drbl single system image SSI files (Not ready yet).


author: Steven Shiau <steven _at_ nchc org tw> 1.5.8-4
changelog:
  - For debina based, back convert x86-64 to x86_64 for menu parse, since alien convert x86_64 to x86-64 in generate-pxe-menu.
  - fix the bug for gen_ssi_files.


author: Steven Shiau <steven _at_ nchc org tw> 1.5.8-5
changelog:
  - improve init.drbl and use drbl_ssi_client_prepare, make it modify client hostname and yp server dynamically.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-1
changelog:
  - fix the bug that when run drbl-all-service restart, drbl-clients-nat does not restart in debian-based dists.
  - mv copy_rc1d_for_drbl_ssi & remove_rc1d_for_drbl_ssi from ocs-functions to drbl-functions.
  - add "-p" option for gen_ssi_files.
  - add clonezilla box mode.
  - drbl-doit now get IP list from dhcpd.conf instead of /tftpboot/nodes/*.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-2
changelog:
  - update langauge file.
  - export /var/lib/{rpm,dpkg} and /var/spool/mail when it's DRBL SSI, but when client is in clonezilla box and rc1.d, client won't mount them.
  - mv "-g auto" ealier in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-3
changelog:
  - make system upgrade option default is "NO".
  - turn off ntp when client is in clonezilla box mode.
  - If hostname is found in /etc/hosts, use that in DRBL SSI client.
  - add option "-z|--clonezilla_box" in drbl4imp, so now "drbl4imp -z y -p 50" will create a clonezilla box server serving 50 clonezilla clients..


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-4
changelog:
  - polish drbl4imp.
  - let /opt/drbl created from tarball when in clonezilla box.
  - exclude some graphic applications settting in /etc when in DRBL SSI mode.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-5
changelog:
  - add ssh public key for client root so that we can run drbl-doit.
  - refine drbl_ssi_client_prepare.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-8
changelog:
  - bugs fixed: (1) unable to set client's root passwd (2) /tftpboot/nodes/$IP is not exported when in normal mode.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-10
changelog:
  - bug fixed, when drbl deb is created, not by alien, we can put dependances. therefore the tftp is installed with default on /etc/inetd.conf, not standalone daemon. We have to turn off it in client, use perl, not update-inetd.
  - bug fixed for get-client-ip-list, now the IP in range should be got correctly.
  - add an option to exclude xorg.conf/XF86Config/XF86Config-4 in gen_ssi_files
  - add more options for turn-drbl-ssi-mode 
  - Comment nfs / in fstab of clients, it's not necessary, otherwise it will mount twice.
  - since in busybox 1st stage, client will mount /tftpboot/node_root, not /tftpboot/$ip, so "ln -fs $drbl_common_root /tftpboot/$ip" is not necessary.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-11
changelog:
  - Put a tag for FC3 or newer so that rc.sysinit will know it's a readonly root. Put an empty file so rc.sysinit won't complain ($drblroot/$ip/etc/rc.readonly)


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-12
changelog:
  - use yellow instead of red for single in init.drbl.
  - comment "mount -f /" in rc.sysinit of clients for RH-like.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-13
changelog:
  - create an empty dir /etc/X11 when in clonezill box so that kudzu will not complain about no /etc/X11 to write X config.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.0-16
changelog:
  - add option to turn on/off clonezill_box_mode in /etc/drbl/drbl_deploy.conf
  - add -f for cp -a in copy_rc1d_for_drbl_ssi and remove_rc1d_for_drbl_ssi


author: Steven Shiau <steven _at_ nchc org tw> 1.6.1-1
changelog:
  - make some management scripts in sbin work with DRBL SSI by using /opt/drbl/bin/get-client-ip-list instead of "for i in $drblroot/*"
  - drbl_ssi_client_prepare will prepare the autologin/timedlogin ID in gdm/kdm config.
  - rename drbl-user-env-switch as drbl-user-env-reset
  - drbl-user-env-reset replace autologin-home-reset-from-server
  - add --no-gen-ssi when run some scrtips.
  - now we can choose DRBL SSI in drblpush.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.1-2
changelog:
  - update with syslinux 3.20-pre7
  - use drbl-nfs-exports instead of code in drblpush to create /etc/exports in server


author: Steven Shiau <steven _at_ nchc org tw> 1.6.1-3
changelog:
  - Generate the ssh hostkey for the template so that client won't have to generate in DRBL SSI mode.
  - fix the bug for unable to set swap file size in client.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.1-4
changelog:
  - fix the bug that IP fixed to eth0, eth0:1 for drbl-yp-securenets
  - do not remove fastboot when client boots.
  - add # Modified by DRBL in some modified scripts.
  - rewrite some codes and file arch: use files/{RH,FC,MDK,MDV,DBN...}/ directory arch.
  - add drbl-3n-conf in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.1-5
changelog:
  - remove -i in halt* to avoid network down. Need this for Wake on LAN before shutdown.
  - fix the bug for showing prompt to run drbl-ocs again.
  - add wake on LAN prompt.
  - make drbl-3n-conf only work in drbl SSI mode.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.1-6
changelog:
  - rm /var/lib/nfs/rmtab to avoid a long time try when restart NFS
  - set the NFS daemon number setting in drbl-nfs-exports
  - move code about NFSD_RATIO to drbl-nfs-exports
  - add bin/get-necessary-nfsd-no


author: Steven Shiau <steven _at_ nchc org tw> 1.6.1-7
changelog:
  - do not export /tftpboot/nodes/$IP if it does not exist (drbl-nfs-exports).
  - fix the bug for unable to get drbl_ssi_mode in drbl-nfs-exports.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.2-2
changelog:
  - add drbl-etc-hosts in drbl-3n-conf to update client's /etc/hosts.
  - make init.drbl work with udev in Etch where no udevstart exists.
  - drblsrv and drblpush work in Debian Etch.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.2-9
changelog:
  - do not using option "--drbl-ssi" of drbl-nfs-exports in drblpush, since it's no more in drbl-nfs-exports.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.2-11
changelog:
  - add ethtool in the pacakge list to be installed.
  - modify the method to filter CPU arch since only k7-smp and i686-smp exist in Debian.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.3-1
changelog:
  - do not use create_authconfig_env, modify client's /etc/nsswitch.conf directory in RH/FC.
  - ready for fedora core 5.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.3-5
changelog:
  - fix the bug for undefining the $FC_CORE_REPO
  - make drblsrv work with CentOS new mirrorlist method.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.3-11
changelog:
  - minor bug fixed: In SSI mode, some of the client IP addresses won't be shown in the hosts.deny warning message.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.3-14
changelog:
  - start arm-wol when client boots, not before it poweroffs.
  - add installation for package etherwake/ether-wake.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.3-15
changelog:
  - KARCH_LIST will be nothing if we can not find the kernel config file, so we choose to use the same arch of server for client in Debian.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.3-16
changelog:
  - update netinstall description in dcs.
  - bug fixed: unable to clean normal user account in common root.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.3-18
changelog:
  - update comment in init.drbl
  - comment the /dev/fd0 in client's /etc/fstab, let user to handle that if it is necessary. If it's not commented, it will cause problem in newer GNU/Linux.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.3-20
changelog:
  - copy $etherboot_pxe to /tftpboot/nbi_img, too.
  - put deprecated message in dcs for clonezilla save/restore hda1, we will remove save & restore hda1 menu in the future release.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.4-1
changelog:
  - update AUTHORS, Changelog.
  - remove save & restore hda1 menu in dcs.
  - add function countdown.
  - add "-p true" in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.4-2
changelog:
  - update the language files.
  - update release notes and other docs.
  - if multicast, ask the time_to_wait, clients_to_wait in dcs.
  - rewrite code to use funtions do_clonezilla_save_dev and do_clonezilla_restore_dev in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.4-3
changelog:
  - new upstream syslinux 3.20-pre8.
  - fix the bug that kdebase3-kdm is not listed to find KDM_CFG in SuSE.
  - suppress the warnings about socket files in /var/ in gen_ssi_files.
  - make $drbl_common_root/drbl_ssi/template_*.tgz can read by root only, better security.
  - bug fixed: unsable to find the right path for CentOS mirrorlist in find-url-in-yum-set.
  - bug fixed: unable to get yum repository URL and path for find-url-in-yum-set in FC5.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.5-1
changelog:
  - ready for OpenSuSE 10.1, alpha release.
  - add powersaved in the client checklist in drblpush for OpenSuSE 10.1.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.5-2
changelog:
  - remove umount /sys fail message is shown when reboot or shutdown.
  - bug fix: unable to login console in client in OpenSuSE 10.1.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.5-3
changelog:
  - bug fixed: /dev/console and /dev/null are not created in OpenSuSE 10.1.
  - bug fixed: haldaemon (which needs some *.so in /opt/, /usr) is started before nfs.
  - add touching /var/lib/nfs/state for client.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.5-4
changelog:
  - bug fixed: the repository URL is wrong in opensuse10.0.
  - New way to find a sutiable kernel (both in update and release) in SuSE.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.5-5
changelog:
  - network service in OpenSuSE 10.1 is added, so it will be easier to config 2nd network interface card in client.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.5-6
changelog:
  - in OpenSuSE 10.1, xfs need account nobody, which only exists in YP, so we have to make xfs runs after ypbind.
  - Do not umount -t tmpfs when rebooting in SuSE.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-1
changelog:
  - ready for Dapper, alpha release.
  - make client can use i486 kernel in Dapper, although the kernel image linux-image-2.6.15-23-386_2.6.15-23.39_i386.deb (Dapper beta) -> the name implies 386, but actually it's 486.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-3
changelog:
  - xorg.conf md5sum should be created in /var/lib/x11/xorg.conf.md5sum, not /var/lib/xfree86 in Dapper.
  - rewrite firstboot for Debian 3.0, 3.1, Testing/Unstable, and now it will ask the questions level before reconfiguration.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-5
changelog:
  - update some echo messages and package description.
  - turn on bootmisc.sh in Debian for client rcS.d so that runlevel can get the init level by reading /var/run/utmp, and to avoid /etc/nologin to be created by set DELAYLOGIN=no in client's /etc/default/rcS.
  - turn on service linux-restricted-modules-common in client in Ubuntu.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-7
changelog:
  - add description how to reconfigure X (firstboot) in debian.
  - update dcs and language files for ntfsclone and lzo options.
  - install drbl-ntfsprogs.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-8
changelog:
  - add -a, -nogui, and -v for clonezilla advanced parameters in dcs.
  - bug fixed: when restoring partitions, client partitions are wrongly parsed in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-9
changelog:
  - copy all /lib/security/* to client, no matter client's /lib/security dir exists or not, otherwise maybe client won't able to login.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-11
changelog:
  - For Fedora Core 5 with x86_64 arch, all kernels have SMP support, even though the name will not contain smp.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-14
changelog:
  - now the advanced parameters and compression parameters will be shown directly to user without asking if want to skip or not in dcs.
  - default to use ntfsclone when saving image in dcs.
  - when ntfsclone is chosen, and lzop is available, -z3 is the default in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-19
changelog:
  - update the language file for -u and -y under clonezilla in dcs.
  - -y now can work with multicast in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-20
changelog:
  - now dcs can read ~/.dcsrc for pre-setting value, and an example is put in /opt/drbl/conf/dcsrc.
  - make -x and -g auto on when start clonezilla in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-21
changelog:
  - bug fixed: when drbl-ssi is off, we should ask clonezilla box mode also in dcs.
  - let image and device name can be inputted again in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.6.6-25
changelog:
  - use yellow for warning/prompt, red for fail in drblpush.
  - drbl-collect-mac now uses language files info.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.1-1
changelog:
  - Use lftp for http/ftp instead of lynx in list_available_rpm and list_latest_rpm, since (1). For some apache2, "lynx -dump" will get the html format instead of plain text (2). lynx does not respect environment variables http_proxy and ftp_proxy.
  - list_latest_rpm now is based on list_available_rpm.
  - use curl to get the baseurl from mirrorlist in find-url-in-yum-set since it respects environment variables http_proxy and ftp_proxy.
  - mostly use get_inst_rpm instead of rpm -Uvh ...


author: Steven Shiau <steven _at_ nchc org tw> 1.7.1-10
changelog:
  - remove lzop when uninstalling.
  - use language file for balcklist of yum repository.
  - stop clonezilla when uninstalling.
  - fix the bug that mountnfs.sh is not run before waitnfs.sh


author: Steven Shiau <steven _at_ nchc org tw> 1.7.1-12
changelog:
  - echo line feed when mounting nfs in waitnfs.sh.
  - add initscripts as a necessary package in Debian/Ubuntu, just in case.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.1-17
changelog:
  - suppress some error messages in mkswapfile for read-only filesystem.
  - dcs only update the DRBL SSI image when DRBL SSI mode is on


author: Steven Shiau <steven _at_ nchc org tw> 1.7.2-1
changelog:
  - add gpgkey in drbl*.repo.
  - use drbl_yum_repo_list in drbl.conf and drblsrv.
  - update language files.
  - new upstream syslinux-3.20-pre11.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.2-4
changelog:
  - add "-o" in dcs for clonezilla.
  - default to turn off -j in dcs when using clonezilla restoring.
  - create the dir for clonezilla post run when clone finishes in drblsrv.
  - new upstream syslinux-3.20-pre19.
  - do not remove the kernel deb in /var/cache/apt/archives since our search result is unique enough in drblsrv (for Debian based).
  - add drbl-bug-report so it's easier to get info to debug.
  - use etherwake (if it exists and run by root) for the higher priority than wakeonlan.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.2-8
changelog:
  - add message for ntfs-3g or nfsmount is necessary when -hn0/-hn1 is on in dcs.
  - update language files.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.3-1
changelog:
  - add scripts create_pxe_nbi_files and prepare_files_for_PXE_client so that it's easier to reuse them.
  - use $PKG_FROM_RH, $PKG_FROM_MDK, $PKG_FROM_SUSE, $PKG_FROM_DBN, $PKG_TO_QUERY, $PKG_FROM_DRBL in drblsrv and drbl.conf
  - add drblsrv-offline (only works for kernel 2.6 (udev)) and install-kernel-for-client. Now we can install the necessary packages by any means then run "drblsrv-offline" to configure the server. Check /opt/drbl/doc/examples/drblsrv-offline*.txt to see how to use it. For paramaters of drblsrv-offline, use "drblsrv-offline --help" to get them. Note! You still have to run "/opt/drbl/sbin/drblpush -i" after drblsrv-offline.
  - when local kernel in the server is chosen, we force to use the KARCH from the server, otherwise maybe the kernel in the repository has different CPU arch.
  - use "dpkg -L drbl &> /dev/null" instead of "dpkg -s drbl &> /dev/null" to check if drbl deb is installed or not.
  - add "-p poweroff" for clonezilla in dcs.
  - move "perl -p -i -e "s/^[[:space:]]*set -e.*/#set -e/g" /etc/init.d/tftpd-hpa"
  from drblsrv to drblpush.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-1
changelog:
  - use drblsrv-offline in drblsrv.
  - update the language files.
  - add options -a|--no-prompt-different-arch-pkgs, -c|--no-required-pkgs-check and -i|--skip-client-kernel-install in drblsrv-offline.
  - bug fixed: "-p true" description missing in dcs.
  - find the etherwake/ether-wake program first in drbl-doit. For FC: ether-wake, for Debian: etherwake.
  - Bug fixed: in Mandrake 10.0, for init.drbl, we put dev.tgz as the first priority, higher than udev, so that if necessary, such MDK 10, we can force to use dev.tgz instead of udev. (Since in MDK10, there is /sbin/udev, but no /sbin/udevstart or /sbin)


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-2
changelog:
  - when using dcs to swith client's mode,  keep the way pxelinux config menu is, just change the default mode, not not reset to default (3 menus).
  - bug fixed: parse host client (-h) error in drbl-powerful-thin-client
  - in dcs, If the mode is autologin or timed login graphic mode, we should switch to graphic mode first.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-3
changelog:
  - bug fixed: we should choose advanced parameters, then to see if it's necessary to choose the image name (if -u, not necessary) in dcs.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-4
changelog:
  - change the filename in drbl*.repo, gpgkey=http://drbl.nchc.org.tw/GPG-KEY-DRBL (was gpgkey=http://drbl.nchc.org.tw/RPM-GPG-KEY-DRBL)


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-5
changelog:
  - new upstream syslinux 3.30-pre5.
  - default to use vesamenu.c32 instead of menu.c32.
  - check if necessary packages are installed when using apt-get install in drblsrv.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-8
changelog:
  - Now clonezilla can not be multi-image, so it will be a mess if just stop some clients. Therefore if IP_LIST exists, we still stop all the clonezilla process.
  - In debian unstable, the mountnfs.sh from initscripts 2.86.ds1-19 or later use the same skill with waitnfs.sh, so we use the same way to fix the NFS problem.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-13
changelog:
  - reset some stale status (such as stop clonezilla), since maybe drblpush is run again.
  - if pxelinux passwd is not set, will force to disable to avoid the stale setting.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-16
changelog:
  - since Ubuntu edgy uses dash as the default sh (/bin/sh), to avoid error in dash, we use "> /dev/null 2>&1" instead of "&>/dev/null" in perl (drblpush)
  - if "drblsrv-offline -i", we still create the NBI.
  - add usplash as client service in ubuntu or debian.
  - check if the dm exists or not before set that for client, if not, show warning.
  - this is an alpha release for Ubuntu Edgy. (Clonezilla is not ready for edgy).


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-17
changelog:
  - To avoid there is no input output in rc running, we add exec </dev/console >/dev/console 2>&1 in firstboot for DBN-TU. Thanks to Scott James Remnant (keybuk).
  - move firstboot for Debian to rcS.d
  - create /etc/inittab for client when using upstart.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-18
changelog:
  - bug fixed: if /etc/rc2.d/S99[gk]dm does not exist in server, now it will be created in client, and we set it as S13[gk]dm for all debian-based distribution. Hence gdm/kdm starts earlier than before.
  - add subtree_check and no_subtree_check for exports in drbl-nfs-exports
  - move drblthincli to S12drblthincli for all debian-based distribution.
  - new upstream syslinux 3.31-pre4.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-19
changelog:
  - change #!/bin/sh to #!/bin/bash for language files.
  - update output messages for gen_ssh_host_key.
  - This release and clonezilla should work for Ubuntu Edgy (6.10) now.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.4-20
changelog:
  - turn on gpgcheck for all drbl-*.repo
  - if more than one kernel rpm in repository, we can choose any one of them now.
  - remove mkswapfile and drbl-nat.up.rules when uninstalling.
  - delete useless script sbin/get_pxelinux_passwd.
  - ask if want to use graphic pxe boot menu for clients.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.5-1
changelog:
  - bug fixed: unable to find dm in Mandriva with check_dm.
  - use "XFdrake --auto" in firstboot for MDV 2007.0.
  - use grep -E '\.deb\>' & grep -E '\.rpm\>' instead of grep -E '\.deb$' & grep -E '\.rpm$' in list_available_deb list_available_rpm for ftp repository
  - Some repo output DOS (CR/LF), convert to Unix format: sed# 's/.$//' in list_available_deb list_available_rpm.
  - rewrite the method to add urpmi repository in mandriva, just use "--distrib --probe-synthesis"
  - new upstream syslinux 3.31.
  - for newer distribution, since no smp kernel package availalbe, we won't ask if client will use smp kernel or not.
  - This version is beta release for Mandriva 2007.0 RC2 and Ubuntu 6.10 beta.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.5-3
changelog:
  - reiserfs program and ddrescue are not necessary programs (drbl.conf).
  - add ramdisk_blocksize=1024 for client's kernel parameter in generate-pxe-menu (http://www.mail-archive.com/rhelv5-beta-list@redhat.com/msg00086.html), since in kernel 2.6.18, CONFIG_BLK_DEV_RAM_BLOCKSIZE=4096 in FC5.92 is too small for network initrd.
  - For kernel 2.6.18, it seems if root is ro, all the mount later (such as /etc, /var) will be ro in init.drbl, so remount the root filesystem read-write in init.drbl.
  - Do not set drbl theme GDM config in the server and drbl.spec, only for clients.
  - add an option (set_drbl_gdmgreeter) in drbl.conf so that we can decide to set DRBL gdm greeting background for DRBL clients or not.
  - If drbl SSI and clonezilla box is not set, template tarball won't be created when running drblpush.
  - bug fixed: unable to get nisdomainname in parse_net_conf in FC.
  - we can always set domainname and nisdomainname everytime when running drblpush.
  - This release should work in FC6.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.5-4
changelog:
  - if required packages are not installed, it's possible to continue in drblsrv-offline.
  - use apt/yum to uninstall package drbl when uninstalling.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.5-6
changelog:
  - use dnsdomainname and nisdomainname to get the system setting in the server instead of parse_net_conf (drblpush).
  - fixed the bug that client's gdm theme is not correctly set in the client (drblpush).
  - default to show -j0 (off) in dcs (not -j) now, since now we change the create_part_by_sfdisk=yes as default.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.5-8
changelog:
  - for NIS domainname, we will not use "localdomain" and "(none)" (drblpush).
  - use a better method to select the kernel for clients in RH/MDK, now we can also choose the kernel running in the server if the CPU arch meets.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.5-9
changelog:
  - remove unnecessary script sbin/modify_gdm_cfg_block.
  - bug fixed: GDM_CFG & KDM_CFG should be queried to obtained by rpm or dpkg in drbl_ssi_client_prepare, and the auto login id now can match the hostname.
  - init.drbl now will mount /var/lib/{dpkg,rpm} before running drbl_ssi_client_prepare if it's DRBL SSI mode.
  - we show 3 different modes: Full DRBL mode, DRBL SSI mode and Clonezilla box mode when booting running init.drbl so that it won't confuse people why in Clonezilla mode, it still shows DRBL SSI mode.
  - GDM_CFG, FAC_GDM_CFG and KDM_CFG are got in drbl-functions, no more set in drbl.conf.
  - in dcs, -z3 is always the default one no matter it's ntfsclone or partimage.  Give more example, like sda, sda1 sda2 in clonezilla save.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.5-10
changelog:
  - only when /var/lib/{rpm,dpkg} exists, we will create /tftpboot/nodes/$ip/var/lib/{rpm,dpkg}. This fixed the bug that auto login account does not match the hostname when auto login is chosen in DRBL SSL mode.
  - bug fixed: we should use the existing nisdomainname as the default value if it exists.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.5-11
changelog:
  - bug fixed: For SuSE, actually the config file is in /etc/opt/kde3/share/config/kdm/kdmrc, therefore put /etc/ in the beginning in drbl-functions.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.5-12
changelog:
  - bug fixed: in CentOS 4.4, the mirrorlist query policy changes, we have to follow that in drblsrv.
  - bug fixed: /tftpboot/node_root/var/lock/rpm/ is necessary for installing the kernel for client (install-kernel-for-client).


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-1
changelog:
  - update language files.
  - now user can assign some directories in drbl.conf so that client will NFS mount it automatically.
  - rewrite drbl-nfs-exports and gen_client_files.sh, make it more compact.
  - this release is ready for CentOS 4.4, Ubuntu 6.10, Fedora Core 6 (use drblsrv-offline instead of drblsrv), and Mandriva 2007.0.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-2
changelog:
  - use $DRBL_SCRIPT_PATH/sbin/drblpush instead of $DRBL_SCRIPT_PATH/setup/drblpush in dcs.
  - bug fixed: we should read all the config parameters, those missing are: $client_root_passwd $client_pxelinux_passwd $clonezilla_box_mode $drbl_ssi_mode $account_passwd_length and $client_autologin_passwd. Hence "drblpush -c /etc/drbl/drblpush.conf" works now.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-3
changelog:
  - update the language file for mkswapfile in drblpush.
  - if udev is found in the server, we won't try to see if dev and MAKEDEV rpm exist in the repository.
  - For FC6, since start_udev uses udevtrigger now instead of udevstart, we add this in init.drbl "[ -x /sbin/udevtrigger ] && /sbin/udevtrigger".
  - change "-i|--skip-client-kernel-install" to "-p|--skip-client-kernel-install" to avoid confusion with "drblsrv -i".


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-5
changelog:
  - format the output message for drbl-pxelinux-passwd.
  - update language file.
  - put $diskless_root_dir_1 and $diskless_root_dir_2 in drbl.conf instead of drblpush
  - now we can assing clonezilla image dir when running drblpush.
  - add parameter "-o|--clonezilla_home DIR" in drblpush.
  - use $drbl_syscfg/clonezilla.lock instead of $ocsroot/clonezilla.lock.
  - public_ip_list should be defined in drblpush, not drbl.conf.
  - read ocsroot from drbl.conf as the default value when running drblpush.
  - add glibc version and arch in bin/drbl-bug-report (for RH-like and Suse).


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-8
changelog:
  - put usage_details following usage so that it's easier to modify in drblpush.
  - if $ocsroot is not under /home, or if $ocsroot is a mount point, we have to export it (drbl-nfs-exports and gen_client_files.sh)


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-9
changelog:
  - increase the rsize and wsize to 65536 (was 8192) for NFS client parameters (init.drbl and gen_client_files.sh).


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-10
changelog:
  - if /opt/drbl/conf/client-local-fstab exists, we will append the fstab to all client's /etc/fstab.
  - change /etc/drbl/client-extra-service to /opt/drbl/conf/client-extra-service, now drblpush will read /opt/drbl/conf/{client-extra-service, client-append-fstab).
  - rename /opt/drbl/conf/dcsrc to /opt/drbl/conf/dcsrc.example, avoid confusion.
  - add drbl_setup_cfg="$DRBL_SCRIPT_PATH/conf" in drbl.conf.
  - add "-b" when prompting run drbl-ocs again.
  - update language files.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-12
changelog:
  - update language files.
  - bug fixed: dcs should not clean any PXE host-based config file for all the case, only for some cases.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-13
changelog:
  - bug fixed: if optimization CPU level is chosen, drblsrv will fail to download the kernel for client if server is i686. Now use linux-image-2.x.y-generic for i686, and linux-image-2.x.y-386 for i386.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-14
changelog:
  - add add/del option for drbl-all-service.
  - update dcs with drbl-all-service.
  - drblpush now use drbl-all-service to add and start DRBL-related services.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-15
changelog:
  - update prompt messages in drblpush.
  - bug fixed: show only the latest glibc/openssl rpm if it's necessary to reinstall them (drblsrv-offline).
  - add mysql in varlib_NOT_2_be_copied (drbl.conf).
  - rm /etc/init.d/drbl-clients-nat when uninstall drbl in debian (drblsrv).


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-20
changelog:
  - language file updated.
  - client_services_chklist is put in drbl.conf instead of drblpush.
  - bug fixed: In FC6 client, if different NIC is detected, ifcfg-ethx will be created with dhcp onboot=yes. We remove network or network-up service in client to avoid the ifcfg-eth0 with dhcp and onboot=yes re-generated by kudzu to take effect.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-21
changelog:
  - replace $newroot with $drbl_common_root (drblpush)
  - won't write "KUDZU_ARGS=-q" again if it exists when running drblpush again.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-22
changelog:
  - do not copy /etc/selinux/targetd to client, since selinux is disabled in client, this will save about 40 MB space for each client in FC6.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-23
changelog:
  - create $drbl_common_root/lib/modules/$KERNEL_VER/volatile in drblsrv-offline instead of drblpush.
  - add --just-cp-files for install-kernel-for-client, --extra-client-kernel-pkg for drblsrv-offline.
  - drblsrv will download restricted modules in Ubuntu if /etc/init.d/linux-restricted-modules-common exists.
  - depmod uses -b /tftpboot/node_root instead of chroot.
  - add comment in drbl-function for create_depmod_env and clean_depmod_env


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-24
changelog:
  - default to suppress the output of depmod, and -v for install-kernel-for-client and update_client_kernel_from_server.sh.
  - add -v|--verbose option for drblsrv and drblsrv-offline.
  - pass -v option to update_client_kernel_from_server.sh from drblpush.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-25
changelog:
  - get_common_usersname is rewritten based on /var/yp/Makefile.
  - bug fixed: FC6, the RPM-GPG-KEY-fedora & RPM-GPG-KEY are only in /etc/pki, not in /usr/share/doc/fedora-release* any more.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-26
changelog:
  - stop yum-updated service to avoid conflict in FC, we will resume it when packages installation finish.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-27
changelog:
  - report more info (such as server CPU, memory size, client no and all the DRBL-related packages) in drbl-bug-report, and now output the result to a file, not in stdout any more.
  - exclude /etc/selinux/targeted when create DRBL SSI etc tarball.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-31
changelog:
  - add drbl-SL.sh so that we can load DamnSmallLinux iso (dsl-3.0.1.iso) and PuppyLinux iso (puppy-2.11-seamonkey-xorgdrvrs.iso) to DRBL environment.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-32
changelog:
  - Change the mode of linuxrc-*.drbl to be 644 in files/Puppylinux and files/DSL, this will avoid the rpm check if /bin/ash and /static/sh exists.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.6-35
changelog:
  - For root account, we will NOT copy authorized_keys, since the root in the client should not share the same authorized_keys with that in server. For normal user, we let user can ssh login back to server and other machine without password. (drbl-doit)
  - For better security, /tftpboot/nodes mode is 700.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.7-1
changelog:
  - update language files, add msg_ocs_param_ns.
  - add "-ns" for clonezilla in dcs.
  - add a command sbin/drbl-pld-rescue.sh to load PLD Linux Rescue CD to DRBL environment.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.7-2
changelog:
  - update usage and example url in drbl-SL.sh
  - add INSERT Linux support in DRBL-SL.sh
  - add notes in Small Linux linuxrc.
  - merge drbl-pld-rescue.sh into drbl-SL.sh, no more drbl-pld-rescue.sh. Now drbl-SL.sh supports these 4 small linux: DSL, PuppyLinux, INSERT and PLD.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.7-4
changelog:
  - Change the mode of linuxrc-*.drbl to be 644 in files/INSERT, this will avoid the rpm check if /bin/ash exists.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.7-5
changelog:
  - Bug fixed: some case in Clonezilla, save and restore loop forever. Thanks to Dave Haakenhout <Dave.Haakenhout _at_ nccw nl>. This is done by reporting lowecase MAC address in get_mac so that the created PXE config file in the server is lowercase.
  - parse_dhcpd_conf only creates lowercase MAC address table.
  - drbl-collect-mac converts the collected MAC address to lowercase.
  - force to install gpm for MDV2006/MDV2007 since released cdialog can not work correctly without gpm running.
  - two types of lzma is supported in drbl-SL.sh.
  - record IP hostname list in /etc/drbl/IP_HOST_TABLE.
  - now we can assign client hostname in /opt/drbl/conf/drbl-client-ip-hostname before running drblpush -i.
  - DBN4.0/firstboot.DBN4.0.drbl added.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.7-6
changelog:
  - Rename /opt/drbl/conf/drbl-client-ip-hostname as /opt/drbl/conf/client-ip-hostname.
  - update the contents of /opt/drbl/conf/client-ip-hostname.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.7-7
changelog:
  - A setdefault function is added in dcs -> switch-pxe-menu, now we can switch any revealed menu (including those small linux, DSL, PuppyLinux) as client's default boot menu.
  - update language files.
  - add delete_label_block_pxe_img in drbl-functions.
  - drbl-SL.sh now supports uninstall. and now the mode to install or uninstall [-i|-u] (such as "drbl-SL.sh -i *.iso") must be assigned.
  - add SL remove function in drblsrv.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.7-9
changelog:
  - if desired kernel is not found in release repository, use the one in updates repository as default in RH/FC/MDV (drblsrv).
  - force to upgrade kudzu when updated version is released in FC6.


author: Steven Shiau <steven _at_ nchc org tw> 1.7.7-10
changelog:
  - graphical boot for Fedora can be on by either (1) generate-pxe-menu -g y (2) graphical_boot=yes in drbl.conf.
  - new upstream DSL 3.1, modified linuxrc, and drbl-SL.sh examples are updated.
  - comment 'option host-name "$label";' in drblpush, and will remove that in the future since it's useless. Client's hostname actually is not assigned there.
  - if root, copy id_rsa.pub as authorized_keys in clients only, no more copying private key (drbl-doit).


author: Steven Shiau <steven _at_ nchc org tw> 1.7.7-11
changelog:
  - add ntfs-3g in PKG_TO_QUERY (drbl.conf).
  - bug fixed: when stop clonezilla in dcs, if $LIST_HOST is on, we should only stop those clients, otherwise the pxelinux config files will be in a mess (dcs).


author: Steven Shiau <steven _at_ nchc org tw> 1.7.7-12
changelog:
  - bug fixed: The partitions are not shown in the batch prompt when doing restore-partitions of clonezilla in dcs (drbl-client-switch).
  - update language files.
  - If files are put in /tftpboot/node_root/drbl_ssi/clients/$IP/, it will be copied to DRBL client when client boots. By doing this, we can assign some special setting for DRBL SSI client. Check /tftpboot/node_root/drbl_ssi/clients/00_README for more details.
  - add function is_drbl_client in drbl-functions.


