Natan
I solved my own mystery of PXE issue.
Thanks again for all of your help and will be using "C" iso version.
john
Natan wrote:Hi there !
I'm glad to announce a big update...
[code]* 2.01.16 2008-09-07
- If in an image directory already containing for ex. sda1.000,
you add an archive called sda1.zip, then PING will first restore
the partimaged file sda1.000, then afterwards, unzip the archive
to the root of the restored filesystem. This should make it
faster to slightly update already written images.
You can also add several archives; call them sda1.000.zip,
sda1.001.zip, and so on.
Natan wrote:And you're using the exact same kernel & initrd.gz ?
DabbelJu wrote:Hi
I have restored an Image with no additional hda1.zip. After reboot the sytem(WinXP) is up and running. I added a hda1.zip in the sharefolder and started a new restore. The hda1.zip will be unpacked ,but after a restart the system hung with the Message "Bootmanager not found".
Natan wrote:DabbelJu wrote:Hi
I have restored an Image with no additional hda1.zip. After reboot the sytem(WinXP) is up and running. I added a hda1.zip in the sharefolder and started a new restore. The hda1.zip will be unpacked ,but after a restart the system hung with the Message "Bootmanager not found".
It's hard to say what happened. Was the 2nd PC the same as the 1st one ? Have you put special files in the zip, like, say, ntldr ? Can you boot a WinXP CD, go to the console, and try fixboot and fixmgr just in case ?
* 2.01.17 2008-09-09
- Added S-Tar 1.5a89. Usual tar is now replaced by a symlink
from star to tar. S-Tar has plenty of interesting features.
- Added 7-Zip 4.58.
- Oops, the kernel needed static Intel e1000 drivers. Back.
- Moreover zipped archives (ex.: sda1.000.zip), several other
formats are now accepted: .tar, .tar.gz, .tar.bz2, .tar.7z, .7z.
* 2.01.16 2008-09-07
- Linux kernel upgraded from 2.6.26 to 2.6.26.3.
Kernel's .config is back to what it was in PING 2.01.12
(as some Intel controllers did not work any more, preventing
SATA drives from being recognized -- cause is still unknown).
- Added 'NFS_Preferred' to the standard isolinux.cfg's kernel
parameters. The settings we usually use to map a Microsoft
share (SMBFS or CIFS) will work same if NFS_Preferred is set
to 1, except that we'll use the NFS protocol.
- Added curl and curlftpfs to the OS image.
As a result, FTP has been added to the list of supported
protocols. Curlftpfs will be used to actually mount a FTP
site, making FTP transferts go smoothly. So far, restorations
have been tested succesfully, but image creation won't work.
The 'FTP_Preferred' parameter has been added to the kernel
parameters. Parameters 'Server', 'User', 'Passwd' and
'Directory' can be used too.
- PING can now store an image onto a local, dirty, NTFS partition.
- Added the Force_Dirty_NTFS_Mount parameter.
If set to Y, we'll mount R/W NTFS filesystems even if they
have the dirty flag set. It's not recommended, of course,
but it might help sometimes.
- Don't map /mnt/smbfs if the directory is not empty. So users can
mount it the way they like, for example with a addon-xxx.tar.gz
file and commands to be called before PING shows menus (Cmd_1).
Use this feature if you wish to implement sshfs.
- Samba upgraded from 3.0.30 to 3.2.3. As a result, mount.cifs
should now support DFS.
- Upgraded syslinux from 3.54 to 3.71.
- When creating an image, PING will now add to the image directory
a file called HDD_Look.txt. Its purpose is to describe the disk
drive(s) from which the image has been made. It's absolutely
useless right now, but this might change some day.
- When trying to restore an image made on a PATA drive (called for
example by linux hda) to a SATA drive (called sda), previous
versions of PING would complain and leave. Now, if the expected
target device cannot be found, PING will propose to choose among
detected HDDs. If there's only one possible choice and you don't
want any possible interaction to be given to the user, there's
also a new parameter you can pass to the kernel APPEND line or
to the /etc/ping.conf file: set parameter Its_HDA_Stupid to Y.
- If in an image directory already containing for ex. sda1.000,
you add an archive called sda1.zip, then PING will first restore
the partimaged file sda1.000, then afterwards, unzip the archive
to the root of the restored filesystem. This should make it
faster to slightly update already written images.
You can also add several archives; call them sda1.000.zip,
sda1.001.zip, and so on.
- Upgraded intel e1000 drivers from 8.0.1 to 8.0.3.1.
- Added these parameters to the default proposed APPEND line:
nomce pci=nommconf pci=nomsi irqpoll
* 2.01.15 2008-08-03
- Added the possibility to write 'skip' at the PING welcome screen.
This will erase all params passed to the kernel or through the
ping.conf and asks all questions. Useless except for testing...
- Small fix to sub Read_Dir(), so it will re-order correctly files
of images containing cciss|rd|ida subdirs.
- One bug occurred with images spanned in several CD/DVDs. If you
had, for example, hda1.* files on CD #1 and hda2.000 on CD #2,
CD #2 would not be loaded for the restoration to complete. If
you had hda1.* files on CD #1 and other hda1.* files on CD #2,
it would work fine. This has been fixed.
* 2.01.14 2008-08-01
- Upgraded linux kernel from 2.6.25.7 to 2.6.26.
Reverted kernel's config to what it was in PING 2.01.12. New
(and rare) SATA devices were identified, but several PATA
controllers have been reported to become unknown. VMWare's IDE
controller was in this case, too. We keep the NIC new drivers.
- Explain the meaning of the "No HDD device could be found. Will
do nothing" message better.
- Added a way to have a locally-stored image restored with no
interactivity. The param to use is still Server, but it can
now be set with local devices names rather than an IP. Look at
ping.conf or at the Howto for details and samples.
- When browsing folders containing images, we won't show anymore
folders which names start with 3 underscores (ex.: ___MyBetaImage),
so to provide admins with an easy way to hide some images.
- New ping.conf/kernel param: Compression_Type.
Can be set to 'gzip', 'bzip2' or 'no compression'. If set, won't ask.
Still quite useless, but we plan to make the creation of a new image
entirely automatizable some day.
* 2.01.13 2008-06-20
- Upgraded linux kernel from 2.6.24.4 to 2.6.25.7.
Added new SATA (Marvell) and NIC (i82575, intel
Pro/1000 + express) drivers.
- Bug fix => typo on the ipconfig/dhcp handling part. Tks, mondo!
- Added 'ide0=noprobe' to the standard isolinux.cfg's kernel params.
Will make some SATA devices go *much* faster (just like
'combined_mode=libata') -- thanks jss.
- Added 'nomce' to the standard isolinux.cfg's kernel parameters.
Prevents "Kernel Panic - CPU context corrupted" messages in the
following situation:
Some newer processors have the ability to self-monitor and detect
inconsistencies that should not regularly happen. If an inconsistency
is detected, a Machine Check Exception will take place and the system
will be halted (rather than plundering forward and corrupting your
data). You can use this argument to disable this feature, but be sure
to check that your CPU is not overheating or otherwise faulty first.
Reported to successfully change things with a Dell Vostro 1000.
- Upgraded chntpw from 070923 to 080526.
- Upgraded clamav from 0.92.1 to 0.93.1 (virus defs as well).
- Upgraded devmapper from 1.02.08 to 1.02.26.
- dhcpcd still version 3.1.8; upgrade to 3.2.3 planned (mid-term);
version 3.2.3 seems hard to compile.
- Upgraded dvd+rw-tools from 7.0 to 7.1.
- Upgraded intel e1000 drivers from 7.6.15.4 to 8.0.1 -- as a module.
Note that the new kernel has been built with native, static, new
e1000 drivers as well. Looking for any error report from the user
community.
- Upgraded et131x drivers from 1.2.3-2 to 1.2.3-3 -- as a module.
- Upgraded fuse from 2.7.2 to 2.7.3.
- Upgraded grub from 1.95 to 1.96.
- Upgraded lftp from 3.5.11 to 3.7.3.
- Upgraded LVM2 from 2.02.26 to 2.02.38.
- Upgraded ntfs-3g from 1.1120 to 1.2531.
- Upgraded samba from 3.0.28 to 3.0.30.
- Upgraded sshfs-fuse from 1.9 to 2.0.
* 2.01.12 2008-03-12
- New ping.conf/kernel param: Restore_Only.
Set it to Y if you don't want the user nor to be proposed
to create a new image, nor to be able to do so.
- Added the driver ServerWorks / Apple K2 SATA in the kernel.
This should bring support for some specific Dell servers'
SATA drives.
- Upgraded dhcpcd from 3.1.8 to 3.2.3.
- Upgraded linux kernel from 2.6.24.3 to 2.6.24.4.
- Added combined_mode=libata to the standard isolinux.cfg's
kernel parameters. Permits linux to see intel's SATA
controllers as SATA and not as IDE even if the BIOS
settings are set to legacy mode. This ensures PING will
create sda* files and not hda*, and improves speed a lot.
* 2.01.11 2008-03-05
- Upgraded linux kernel from 2.6.23.12 to 2.6.24.3.
- Upgraded the e1000 driver module from 7.6.9 to 7.6.15.4.
- Bug fix: tries all cifs possible syntaxes before giving
smbfs a try.
- Added SSHFS-Fuse 1.9.
- Added zip and unzip 5.52.
- Updated ATL2 drivers from 1.0.40.2 to 2.0.4.
ASUS Eee PC Atheros L2 Fast Ethernet should now work fine.
- Bug fix: sub Delete_All_Parts() failed when there was only
one part to delete and when it was extended. One pop() too much...
- Consider SFS (type 42) (Windows Dynamic Volumes) as NTFS.
- New ping.conf/kernel params: Cmd_1, Cmd_2 and Cmd_3.
Cmd_1 is a command for PING to execute before the first blue
welcome screen, Cmd_2 is a command for PING to execute after
the mounting of SMB shares and Cmd_3 is a command for PING to
execute at the end (before giving a shell or reboot or shutdown).
Think of it as a tool to combine with a possible add-on.
- Preliminary test to add: mount -t ntfs-3g vs.
mount -t ntfs-3g ... -o ro. Means, need to shutdown windows
properly (not hibernating), and/or run checkdisk (tks elonderin).
- If addon-*.tar.gz files are found in the CD/DVD, untar them
into the root. First use: adding CLAM AV as an optional add-on.
Note: these addons can also be present in the network share
containing the image directories.
- Logs dd-commands' outputs.
- Now sleeps 2 seconds before restoring with partimage. On some
configs (DELL 745 Optiplex), this helps.
- If ntfs label's length is greater than 8 chars, trim it.
Otherwise, partimage will bug (seg fault). (Thks Dwfa & Curtis).
- hda1.fir can be looked for as well as hda1.first_sectors (so
uncorrectly-built ISOs can still be used).
- Now defaults to CIFS rather than SMBFS.
- Howto: updated the syslinux section concerning USB devices
(tks Fubar Bundy).
- Howto: updated to explain about VMWare SCSI (Tks tahussle).
- Maybe bug fix: replaced "mount -t smbfs / cifs" by "mount.smbfs/cifs".
Seems to work much better (no real idea why).
* 2.01.10 2007-12-20
- Upgraded linux kernel from 2.6.23.9 to 2.6.23.12.
- Upgraded Samba from 3.0.27a to 3.0.28.
- Upgraded dhcpcd from 3.1.7 to 3.1.8.
- Upgraded ntfs-3g from 1.1030 to 1.1120.
- Upgraded fuse from 2.7.1 to 2.7.2.
- The HDD discovery now stores every fdisk-available information,
including start/end blocks, boot flag etc. We also store devices
information, including number of heads/sectors by track/cylinders,
according to fdisk-listed tables and according to the BIOS
(the kernel feeds /proc geometry data according to the BIOS, and
it's sometimes wrong.)
- Give users the possibility to have PING reduce NTFS partitions
to the maximum before backuping them. That way, such images
can be restored to smaller partitions. After the recording,
PING will restore the size of the partition to what it was
first, and maximize the contained filesystem.
Added ping.conf/isolinux.cfg parameter Minimize_Before_Storing.
- Synchronize the partition after applying hda.first_sectors.
- Samba authentication: accept blank usernames and passwords without
garbage being displayed.
- New subs -- HDD_Name(), Part_Number(), Nb_Parts(),
Is_Part_Extended(), Synchronize_Device(), HDD_Describe(),
Delete_All_Parts(), Recreate_All_Parts().
* 2.01.09 2007-12-14
- Upgraded syslinux from version 3.30 to 3.54.
- Added a paragraph in the Howto explaining how to set up
a utility partition with PING inside.
- Added a paragraph in the Howto explaining how to have
Dell servers with Perc 4e/di controllers work with PING.
- Given the possibility to choose no compression. Then,
we'll pass -z0 to partimage. Notes:
- No effect if zsplit is used.
* 2.01.08 2007-12-11
- Sometimes, mount -t cifs (smbfs too?) only works with the
mount -t xxx \\\\yyy\\zzz syntax, rather than //yyy/zzz.
Now, we try both syntaxes.
- Rewrote function Is_Network_On() to handle cases where
dhcpcd mapped eth0 to fake IP 169.254.xxx.yyy.
* 2.01.07 2007-12-04
- Updated samba from 3.0.26a to 3.0.27a.
- Fixed an old bug: after entering bad SMB settings,
we wouldn't go back to the right input screen.
- Fixed an old bug: if both dhcpcd on eth0 and on eth1 fails,
we try manually setting ifconfig. But we had forgotten to
try ifconfig on eth1 *too*.
- New entries to ping.conf/kernel params:
- Zsplit_Preferred
If set to y, we'll use zsplit and not partimage.
- DHCP_Timeout
If defined, dhcpcd will be passed a -t parameter.
Note: if undefined, we won't ask the user, and won't pass
any -t option to dhcpcd (=> default).
- Image_To_Restore
If defined, the script will look for this directory name
in the directory containing the available images.
Else, the directory will be browsed as usual, and the user
will be able to choose which image to restore.
- AUTO
If you want NO QUESTION to be raised, no popup at all, set
this value to Y. It's equivalent to creating an empty AUTO
file on the root of a PING CD/DVD (which is now deprecated,
yet still supported for backwards compatibility).
Note: you've got to pass also all necessary params to PING.
If the script needs some answers and finds no param,
or no valid param, the user will obviously be asked
for them.
* 2.01.06 2007-11-13
- Bug fix: ntfsresizing was not working (case of one unique partition).
- Upgraded linux kernel from 2.6.23.1 to 2.6.23.8.
* 2.01.05 2007-11-12
- Get first 64 sectors of every device instead of 1 -- which
might help us restore Grub sectors correctly (thanks Marijin & tkt).
- Upgraded linux kernel from 2.6.23 to 2.6.23.1.
- Compiled intel e1000 drivers as a module from Intel's e1000-7.6.9
latest release, and removed kernel's version, which was compiled
within the kernel binary. Now, 82566DM-2 NIC chipsets work fine.
* 2.01.04 2007-11-06
- Upgraded linux kernel from 2.6.22.9 to 2.6.23.
Some more SATA drivers.
- Upgraded e2fsprogs from 1.39 to 1.40.2.
- Upgraded ntfs-3g from 1.516 to 1.1030.
- Upgraded fuse from 2.7.0 to 2.7.1.
- Upgraded ntfsprogs from 1.13.1 to 2.0.0.
- Upgraded dhcpcd from 3.1.5 to 3.1.7.
- Upgraded cmospwd from 4.8 to 5.0.
- Upgraded chntpw from 070409 to 070923.
- Upgraded parted from 1.8.7 to 1.8.8.
- Upgraded samba from 3.0.25a to 3.0.26a.
- Re-downgraded partimage from 0.6.6 to 0.6.4 (missed it last time;
apologizes to all concerned users for probable troubles).
* 2.01.03
- If the user has provided a Server entry in ping.conf (or kernel
params), do not ask any more if the backup/restore will be local
or network. It's network.
- Downgraded partimage from 0.6.6j to 0.6.4. Didn't work. Shit.
* 2.01.02
- Bug fix: when an image was stored in a 2nd hdd and it had to
be used to restore the 1st hdd, the menu would loop forever
(thks Crulie).
- Only displays shell help if asked (h to get it).
- Stop getting the /var/log/partimage-debug.log file. Crap.
* 2.01.01
- Upgraded the kernel from 2.6.22.6 to 2.6.22.9.
- Upgraded partimage from 0.6.4 to 0.6.6j.
- Windows RAID: we won't be able to mount the parts, yet they are
OK and can be backuped. Don't abort any more if NTFS has been
detectend and if we can't mount.
- Bug fix: some times, we wouldn't dd the right device (thks Crulie).
* 2.01
- Added the M to the zsplit chunk size (-s 660M). Thks Gurn!
- Added drivers for Attansic L2 10/100 NICs. This driver can
only be loaded as a module. Therefore, rc.ping now scans the
module directories and installs every available .ko file
before trying to get an IP.
- Added ping.conf/kernel param option No_Shell to avoid giving
the possibility for the user to get a shell.
- Now adds /var/log/partimage-debug.log's log to /tmp/x.log.
Well, not everything, it's over-big (uselessly).
- Logs Linux and PING versions into the x.log log (tis really
time, u know...)
- Updated the Howto (more FAQs, better English). Thks Zian
for the Frenglish corrections :) And thks Bobmetelsky for
the tip about how to use rom-o-matic with PING.
* 2.00 RC9
- Don't try dhcp any more if an IP has been given through a
parameter (ping.conf / /proc/cmdline).
* 2.00 RC8
- Replaced "'ifconfig eth0 down; dhcpcd eth0';" by
"'ifconfig eth0 down; ifconfig eth0 up; sleep 2; dhcpcd eth0';"
(helps on some configs ; thanks Devitek).
- Asks whether the bios file, if found, should be restored or not.
Added (ping.conf / /proc/cmdline)'s Replace_BIOS parameter,
accordingly, to avoid the question.
- Parses /proc/cmdline to collect parameters sent to the kernel
at boot time. This is now an alternative to the /etc/ping.conf
file, avoding to have to modify the initrd.gz image.
If a parameter is found both in ping.conf and /proc/cmdline,
the one located in /proc/cmdline will get the priority.
- Mounting a network share: giving CIFS priority over SMBFS
is now possible. Added (ping.conf / /proc/cmdline)'s
CIFS_Preferred parameter, accordingly, to avoid the question.
(CIFS has been reported to make network copies faster on some
configs, and slower on other network configs!).
- Added dosfstools (/sbin/mkdosfs which is also /sbin/mkfs.vfat)
to the image. It had disappeared from 1.12 to 2.00 ; oops.
- Upgraded FUSE from 2.6.5 to 2.7.0.
- Updated linux kernel to 2.6.22.6.
* 2.00 RC7
- Bug correction: the ntfsresize used to resize to the maximum of
a NTFS part size was not being performed. Thanks to Devitek for
the tip.
- Minor fix: when a /etc/ping.conf file is found but isn't customized,
display the tip. Now, there's always a commented out ping.conf file
bundled in the image...
- Added a basic reminder about most useful shell commands.
- Bug correction: NTFS mountings were hanging on some systems for
an unknown reason. Using the NTFS-3G driver rather than the
native kernel driver seems to fix the bug. Thanks to kruhek.
- Handle the case of Dell Utility partitions (type being "de").
Don't try partimage on them any more, zsplit them!
* 2.00 RC6
- Added a possibility to make the backup/image to another local drive.
Not to the same drive the backup/image is taken from (another part).
Should be feasible in a future version (by resizing & parting).
Means right now that we try to inventory hda, hdb, hdc, sda, sdb, sdc.
Maybe not exhaustive; this is first try.
- No more need to hit space then enter. Modified the menu...
- If the manual network connection went wrong, give the ifconfig output.
- Give mount -t smbfs output too.
- mount -t smbfs now passes a "password" (with quotes) -- thx Gedatsu.
- Share's password is now hidden (new dialog installed, thx Fredz).
- Looks for a /etc/ping.conf file to find network and smb parameters.
If not found, then ask.
- Partimage now generates 630 MB files. Better if a DVD is the target
(7x630 = 4551 < 4.7 GB), and better for Captive-NTFS which fails for
some reason creating files bigger than 1 GB.
- After restoring, check if an image was smaller than disk capacity,
and maximize. ping.conf keyword to add. NTFS only -- others need no help.
- Stop discovering local hdd 'src', 'srd', 'sgc', 'sgd',
'sra', 'srb', 'sga', 'sgb'. It has been reported that fdisk /dev/sga
was hanging the system sometimes (thanks Sigurdi).
- Proposes to choose between gzip and bzip2.
- Ejects the CD when used (thx, Curtis).
- Added support for HP SmartArray (/dev/cciss/c0d0 device)
fdisk => Disk /dev/cciss/c0d0: 73.3 GB, 73372631040 bytes
(thanks, Codd)
- Fully automatic if /AUTO file found on the root of a CD/DVD.
- When mount -t smbfs fails, try mount -t cifs (Windows Server 2003 case,
related to AD security) -- thx, Arckane.
=> mount -t cifs //server/share /mnt/point -o \
user=$username,domain=$domain,password=$password
- Now the user can specify the behaviour at the completion of the job.
Can either reboot, either give the user a bash shell. Or shutdown.
A new entry in /etc/ping.conf is supported concerning the feature:
After_Completion = reboot|shell|shutdown
- Bug correction: we were looking for a /mnt/cdrom/^.da$ file, and in
one specific case, a user built an image with hdc.001, 002... files.
Replacing with ^[hs]d[abcde]$ :)
- Added support for more RAID devices (/dev/ida/cXdY and /dev/rd/cXdY).
- Make use of NTFS-3G too. The script detects whether Captive-NTFS or NTFS-3G
is available, and make the right choice.
- Add the possibility to choose which local parts to backup (partimage).
- Add the possibility to choose on which local part to store the backup.
- If for some reason partimage fails at writing an image,
use zsplit | split instead.
- We now try dhcp on eth0 and eth1, and check for a gateway, not just a n
entry in ifconfig.
- Keep 20 first sectors of each recorder partition. They may contain a boot
sector, and LVM information (LVM is stored in 20x512 first bytes).
- When a cdrom is detected, link /dev/cdrom to the right device.
- When listing partitions, tell the NTFS label, or first directories
found if no available label.Natan wrote:here...[/url]
Return to PING / General Discussions
Users browsing this forum: No registered users and 2 guests