Grub Legacy with silent patches added (Binary Format x86_64 only)

The other day (before I actually took the time to learn how to use grub2 properly) I downloaded the PKGBUILD for grub legacy and edited it to patch for silence. I haven't found a single place where this is hosted so what the hell I'll post it here!
Download Link: http://ubuntuone.com/0kxIdONAFFAMc2Zbmwbi1l

FYI: I tried yet another version of solaris as i found out that theres a bug in the 64-bit kernel on update 4 for alot of new processors. Solaris 10 x86 update 7 did the trick! :). Installed right away on a standard 'Solaris 10 (64 bit)' VM. I still find it strange that the most recent version of solaris 10 fails to even start the installation.

Similar Messages

  • /usr/bin changes and grub legacy

    Hello,
    Grub legacy is one of the packages that keeps its binaries in /sbin. I'm just wondering if this means that I have to replace grub legacy with another bootloader before I upgrade my system? I certainly wouldn't know how to update grub legacy so that the binaries are found in /usr/bin.
    Thanks.

    The reason to change to systemd is that the daemon scripts in /etc/rc.d are disappearing, as are hte /etc/conf.d stuff.  It will break sooner or later (probably sooner) and I am actually really surprised it hasn't already.  There is a reason why the news indicated that you should switch, as the old initscripts are not longer supported.  That means more than just not getting updates, the files that make that work are slowly being pulled from the packages (and slowly in Arch is not very slow at all).
    As for consolekit, it is an unmaintained piece of software.  Its functionality has been replcaed by systemd's logind (quite successfully I mgith add) which is another reason why you should switch. 
    I'm not saying that you have to switch, as there are other alternatives out there that you could use.  There is a whole thread on how to use openrc, and some stuff about using various other thigns as well, like runit or even the busybox init.  But I have seen very little quality stuff in regard to maintenance of the old initscripts.  Sticking with this is not something you should really want to do.  I think in the end, you will end up with a much larger headache than simply ironing out any issues may have with moving to systemd.

  • Arch Linux Netboot Environment under grub legacy

    I am trying to boot under grub legacy with the following menu.lst entry:
    Arch Linux Netboot Environment
    root (hd0,5)
    kernel ipxe.krn
    initrd conf.ipxe
    boot
    This does not work. Do you have any suggestion?
    Last edited by francois.e (2013-01-07 02:49:52)

    Indeed - more information is needed.
    What is your partitioning scheme, is sda6 your /boot parition?  Are your kernel and intrd in /boot/grub/?  This would be unusual, but it is what that entry implies.  Also, where is your root partition specified?
    You also don't need the boot command in the menu.lst.  I don't know if it would cause a problem, but I've never seen it there.  In addition to the links in cfr's signature, you should (have already) read the wiki page on grub legacy.
    Last edited by Trilby (2013-01-06 04:35:54)

  • [base:system] Grub 0.97 with graphical patch

    Introduction
    This is a mod to the current grub package found on Arch base repository which adds support for a splash image (a background).
    While the patch is not officially supported by grub developers due to their policy of only bugfixes on their grub 0.9x series, it is used by many distributions like Fedora/Red Hat, SuSE, Gentoo, Mephis, and others. The patch I use is based on the one included by Fedora Core 3 grub srpm and rediffed to the latest vanilla grub version.
    After the installation is done, you will have a grub screen with the following background.
    Due to demand, the old splash image is optionally available for those who like it more.
    New: In addition to the standard package, a new alternate one is available for those who follow the Reiser4FShowto steps and want a grub package with both reiserfs4 and splashimage.
    Pre Install Notes
    1. Make a copy of your menu.lst for backup. It is not replaced by the installation steps below, unless you remove your current grub package.
    2.  We are dealing with your boot system info, so there is a small chance that things can be screw up.  But I haven't got any issue.
    3. If want to compile the package with the old splash image, or your custom splash image instead of the current one, you need to edit the PKGBUILD and change the md5sum assigned to splash.xpm.gz.
    4. The alternate package with reiser4 requires libaal, reiser4progs, and a reiser4 patched kernel.  Those are not on Arch repos, you can get them and read about all the process involved on  Reiser4FShowto,  or grab my updated PKGBUILDs: libaal, and reiser4progs
    Installation
    Note: Reiser package not updated since reiser patch need to be rediffed.
    Files changed for 0.97-1:  PKGBUILD, menu.lst
    1. Grab the following files and save them on a folder on your /var/abs/local path:
    a. PKGBUILD.  For reiser4 support, please get this PKGBUILD instead.
    b. menu.lst
    c. install-grub or copy it from /var/abs/base/grub/install-grub.
    d. grub-0.96-graphics.patch
    e. splash.xpm.gz, or if you prefer the previous one, then get splash.xpm.gz
    g. Only for reiser4 support grab the reiser4 patch from here
    2. Build the package
    # makepkg
    3. Install the package
    # pacman -U grub-0.97-1.pkg.tar.gz
    4. Edit your menu.lst and add the following splash instruction anywhere before your OS's menu entries.    splashimage /boot/grub/splash.xpm.gzFor example:
    # general configuration:
    timeout 5
    default 0
    splashimage /boot/grub/splash.xpm.gz
    Important: Since grub 0.96-4 the splash path is /boot/grub/splash.xpm.gz and not /grub/splash.xpm.gz.  Previous users need to correct the path.
    5. Install the new grub boot images to your /boot dir.  Change x with your boot drive letter (ie. hda)
    # install-grub /dev/hdx (or sdx)
    6. ONLY if your system dual boot, AND your primary boot loader is NTLDR, remember to update your boot binary file (dd if=/dev/hdx of=/linux.bin bs=512 count=1) and copy the file to your NTFS boot partition. If you don't know what I´m talking, don't worry and just skip this step.:lol:
    Troubleshooting:
    Black display menu visible:  Stages probably not updated, try again install-grub (your partition where /boot belongs, or MBR).  To check if your stage2 supports splash image, use this checksplash.sh script.
    Black display, no menu, or corrupted display:  Check the splashimage instruction.    If you have a separate /boot partition try splashimage /grub/splash.xpm.gz.  Also check that you have a splash.xpm.gz in grub's dir.
    FAQ
    1. Can I use my custom image in grub?
    Yes, but it need to fullfill these requisites:  640x480 resolution, 14 color xpm picture gziped compressed. 
    2. Do I need to recompile or reinstall grub when changing a splash?
    Any splash can be used at any time, and no compilation is required after this package is installed, just replace splash.xpm.gz with another one, or edit menu.lst and change the path of splashimage instruction to match the desired picture to show.
    3. I currently use lilo, can I replace it with grub?
    Yes you can, but AFAIK the menu.lst get your drive partition info on Arch installation and not grub installation (and same applies to lilo.conf).  So you need to edit the menu.lst after package installation and add your boot device and kernel image configuration.  That kind of problem is beyond the scope of this guide.  If that's your case, first get working the the standard grub package on the current repository, and then update to this package.  For more info or sample grub configs check  ArchWiki - Grub or Gentoo Handbook - Configure the bootloader
    4. Where can I get more information about splash images on grub?
    GNU Grub Splashimage Howto General Grub bootsplash info and sample images.
    checksplash.sh Script that check if your stage2 support splashimage.
    5. I would like to test your package, but do not know how to build one?
    Simply, download the pre-compiled package from here. and install it using step 3, 4 and 5 of the Installation guide.
    Current Issues
    Note at the moment.
    TODO
    I will investigate the patch used by SuSE/Novell. It is a new modified one that allows for a greater resolution (not just 640x480) and more fancy stuff like menus.  But that will means a heavy modifed grub install, and thus completely sure it will not be accepted on Arch repos, and please don't ask when it will be done.
    Change Log
    2005-05-16 Updated to 0.97
    2005-03-02 Added alternate PKGBUILD with reiser4 support and related grub patch.
    2005-02-27 PKGBUILD 0.96-4, Fix splashimage path issue by adding a boot symlink on boot.
    2005-02-26 Fix some document steps.
    2005-02-04 Provide old splash image for those who like it more.
    2005-02-03  PKGBUILD 0.96-3, removed dependency on gzip. Splash is taken from $startdir instead of the uncompressed one on $statdir/src. Pre-compiled package provided. (FAQ question #4).
    2005-02-02  Updated to grub 0.96, rediffed patch, new splash based on tpowa's kde 3.4 wallpaper.
    2005-01-09  Add autoreconf entry to fix compilation of new files added by patch.  Update to FAQ.
    2005-01-06  First public release of PKGBUILD based on grub 0.95.
    Hope you enjoy it.

    I found the problem some people may have that the splash image didn't show with the steps I described. 
    The splash image path is different when /boot is on a separate partition, and when /boot is a folder of the / partition. As a stand alone partition, the /boot part of the path is not needed (directly points to it at mount maybe), and where /boot is on the same partition as /, then the user must specify /boot as part of the path for it to work. That's maybe the reason most distributions that use this splash patch include a symlink called boot on /boot directory itself (a kind of hack, or workaround).
    In short, the correct path of the splashimage commant to work is:
    A. /boot as separate partition: splashimage /grub/splash.xpm.gz
    B. /boot on same partition as root: splashimage /boot/grub/splash.xpm.gz
    I'm working on a new revision of the PKGBUILD that will fix this problem bringing uniformity to the path.  For the time being, this info is also added to the Install steps on the guide.

  • How to read 16-bit signed integer in binary format with 2 byte sync. preceding??

    A flowmeter provides data as 16-bit signed integer in binary format with 2 byte sync. preceding
    I got i small problem by understanding the synchronasation.
    I read the data provided by the flowmeter, and then write it to a binaryfile.dat. i need to convert the data to decimal format. is it better to convert the data before or after writing it to the binary file. Coz i need to read the data out again for calculations and save it again in a new file.
    I understand that the synchronization  help one to see where to begin reading the usable data. is it right?
    Need any suggestions
    Thank you !
    Zamzam
    HFZ
    Attachments:
    DataOut.JPG ‏37 KB

    HI Rolf.k.
    Thank you for the small program it was helpfull.
    You got right about that proberly there  will be conflict with some spurios data, I can already detect that when writing the data to a spreadsheet file.
    I writes the data in such a way, that in each line there will be a date, a timestamp, a tab and a timestamp at the end. That means two columns.
    When i set given samplerate up, that controls the rate of the data outflow from the device, (1,56 Hz - 200 Hz),   the data file that i write to , looks unorderet.
     i get more than one timestamp and severel datavalues in every line and so on down the spreadsheet file.
    Now the question is: Could it be that the function that writes the data to the file,  can't handle the speed of the dataflow in such a way that the time stamp cant follow with the data flowspeed. so i'm trying to set the timestamp to be  with fractions of the seconds by adding the unit (<digit>) in the timestamp icon but its not working. Meaby when i take the fractions off a second within the timestamp i can get every timestamp with its right data value. Am i in deeb water or what do You mean!??
    AAttached Pics part of program and a logfile over data written to file
    regards
    Zamzam
    HFZ
    Attachments:
    DataFlowWR.JPG ‏159 KB
    Datalogfile.JPG ‏386 KB

  • Does the new command 2 binary format work with Apple Push Notification Service? I receive an invalid response status code of 128.

    Does the new command 2 binary format work with Apple Push Notification Service? I am sending 2 messages with the same payload to 2 different devices. None of the messages display on either of the devices. It seems that at least 3 should have been displayed. For my first device, I received a response with an invalid status code of 128 and the message identifier is 2 indicating that the first message was OK. However no message was displayed on the phone. For the second device, I did not receive any error response, but no message was displayed on the device.
    Does ANS perform any validation on the message identifier? The Local and Push Notification Programmin Guide says the message identifier is:
    An arbitrary, opaque value that identifies this notification. This identifier is used for reporting errors to your server.
    I know that the device tokens are valid because the same tokens work when I use the legacy basic or enhanced formats. The phones display the messages correctly when I send to ANS using the old ANS message format.
    Here is the data and the response:
    Sent to ANS: 2 0 0 0 158 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 2 4 0 4 83 7 119 141 5 0 1 5 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 3 4 0 4 83 7 119 141 5 0 1 5
    ANS returned an error: 8 128 0 0 0 2
    Sent to ANS: 2 0 0 0 158 1 0 32 4 239 182 26 13 237 170 136 41 243 181 57 120 208 135 19 101 102 212 70 55 244 251 255 160 125 82 9 10 143 72 17 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 5 4 0 4 83 7 119 147 5 0 1 5 1 0 32 4 239 182 26 13 237 170 136 41 243 181 57 120 208 135 19 101 102 212 70 55 244 251 255 160 125 82 9 10 143 72 17 2 0 23 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 65 66 67 34 125 125 3 0 4 0 0 0 6 4 0 4 83 7 119 147 5 0 1 5
    ANS did not return a response.

    Hello, can you please help me ?
    You specified sample payload here:
    TerrellFromLockhart wrote:
    I finally got this to work. The picture in the Programming Guide is very confusing. The solution was to prefix every message's frame data with command 2 and that messsage's frame data length. Here is a sample:
    ANS frame: 2 0 0 0 77 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 21 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 63 34 125 125 3 0 4 0 0 0 2 4 0 4 83 7 199 195 5 0 1 10 2 0 0 0 77 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 21 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 63 34 125 125 3 0 4 0 0 0 3 4 0 4 83 7 199 195 5 0 1 10 2 0 0 0 77 1 0 32 120 107 166 143 171 157 143 169 70 135 12 135 246 142 64 224 244 44 116 4 154 65 115 192 206 28 189 56 174 0 172 16 2 0 21 123 34 97 112 115 34 58 123 34 97 108 101 114 116 34 58 34 63 34 125 125 3 0 4 0 0 0 4 4 0 4 83 7 199 195 5 0 1 10
    About to read response at Thu Feb 20 15:40:20 CST 2014
    SocketTimeoutException
    2 - is clearly command
    0 0 0 77 - frame length
    1 - item Id
    what's 0 32 ? According to this page https://developer.apple.com/library/ios/documentation/NetworkingInternet/Concept ual/RemoteNotificationsPG/Chapters/Commu…
    Item id  should be followed by item length. But item length is obviously greater than 32 because device token's length is 32. Can you please explain why 0 32 were used? and do you have any insight on item id meaning ?

  • LabVIEW binary format that can be opened with Python

    I need to save data in a binary format which can be opened with Python.  I have tried the "Write Waveforms to File (1D).vi" and can open them back up in LabView, but the binary format is not published anywhere, so I cannot open them in Python.  They appear to be saving as DataLog type binary files.
    Is there another binary format which I can use that I can open in Python?
    The reason I need this is that with 16-channel DAQ at 20kHz I can only save about 30 seconds of data.  For longer periods, the task of writing to a text file consumes all available memory and cpu.

    I found a solution.  I found an open-source project called pyTDMS (google for it), and it can read tdms type files sometimes.  It was some trial and error to get my data saved in a way that pyTDMS could open the file, but in the end it works great.
    I have two digital output channels as well as 16 analog input channels, so here is how I had to save the data within LabView:
    The 16 analog input channels were saved as a 1D array of waveforms.  Then the digital output channels were made into another 1D array of waveforms.  The trick was to use the write tdms subvi twice.  Once for the analog input channels and again, on the same file, for the digital output channels.  pyTDMS opens these files just fine, and I can use the metadata to sort out what channels the data goes with in Python.

  • Adding a GRUB2 distro to Arch's GRUB Legacy

    Hello, so I installed CentOS 6.2 and Fedora 16 on my laptop. I think installed Arch, and set it's bootloader to the MBR and added entries for CentOS and Fedora to the menu.lst. CentOS will boot fine (it also uses grub-legacy), but Fedora won't boot (it uses GRUB2). Short of either a)installing GRUB 2 in Arch or b)chainloading, is there a way to add a GRUB2 system to my menu.lst for grub-legacy?

    Why can't you just do chainloading and set Fedora's Grub2 timeout to 0? Then it will seem to you like it just boots right into Fedora.

  • [SOLVED] UEFI system booting from MBR partition table and GRUB legacy

    I'm trying to understand once and for all the process by which Arch can be booted from a system with UEFI firmware and an MBR partition table. Some of the information on the wiki seems conflictual / non-nonsensical at times. Apologies in advance if this has been answered time and time again, but I did search around and all I found was fixes to get Arch to boot rather than comprehensive explanations of the boot process.
    Now, the way I would imagine it works is that it's just completely identical to the way it would work with a BIOS firmware. The UEFI firmware detects an MBR partitioning scheme (or is configured to know it's an MBR partitioning scheme), activates some "legacy" mode and executes the MBR boot code, just like a BIOS firmware would.
    The wiki however, says different. From the Macbook article: "Do not install GRUB onto /dev/sda !!! Doing so is likely to lead to an unstable post-environment."?
    So what is there in the MBR boot sector? Nothing?
    How does the firmware know what to boot if there's no 0xEF BIOS boot partition and no Grub stage 1 in the MBR boot sector?
    Also, how does installing Grub stage 1 to a partition work? Does it have to be at the beginning of the partition? Wouldn't that overwrite some existing data?
    I'm especially puzzled since many guides to installing Vista on a macbook recommend simply formatting as MBR, and installing as normal, which I suppose entails having the Windows installation process write its boot code to the MBR, ie the equivalent of installing grub stage 1 to /dev/sda rather than to the /boot partition, as the Macbook article suggests.
    Any input is appreciated.
    P.S. I realize it's probably simpler, if I just want to dual boot Windows and Arch, to install Windows 7 in UEFI-GPT mode, let it create the EFI System Partition, and then install GRUB 2 to that partition, but I'm still curious about the UEFI-MBR boot process.
    Last edited by padavoine (2012-06-06 09:35:10)

    padavoine wrote:
    CSM in UEFI firmwares do the exact same job as normal BIOS firmware.
    So it's something specific to the Mac that it's able to boot from a partition's VBR while ignoring the MBR?
    The reason that warning is given is because grub-legacy modifies more than just the MBR boot code region.  It can overwrite some parts of GPT header.
    Not true, the instruction is given in the context of an MBR format, not in the context of a GPT format, so there's nothing to overwrite and Stage 1.5 should be safely embeddable in the post-MBR gap.
    In BIOS boot (normal case in non-UEFI firmwares or CSM in UEFI firmwares) does not read the partitition table (atleast it is supposed to be dumb in this regard), it simply launches whatever boot code exists in the 1st 440-byte of the MBR region.
    So again, you're saying it's specific to the Mac UEFI that it lets you choose a partition whose VBR to load, regardless of what's in the MBR?
    I haven't used Macs so I can't comment on Mac firmware behaviour. But normal BIOS firmwares (legacy and CSM) launch only the MBR boot code and not the partition boot code. We need some chainload capable boot manager in the MBR to launch the partition VBR.
    grub-legacy does not know anything about GPT. So when you install grub-legacy to /dev/sda, it install the MBR boot code (stage1) and stage 1.5 code to the (supposed) post MBR gap. Since there is no actual post MBR gap in GPT (which has been taken over by the header and partition table), grub-legacy does not check for GPT and it assumes the post MBR gap actually exists which is invalid in case of GPT. grub-legacy embeds the stage 1.5 code in GPT header and table region (which grub assumes to be unused post MBR gap) and thus corrupts it.
    0xEF is the MBR type code for UEFISYS partition. grub stage 1 (used in grub-legacy, not in grub2) is the 440-byte boot code stored in MBR for use in BIOS boot.
    That's precisely my point: with neither proper executable code in the MBR (since grub was installed to a partition, not to the MBR) nor a UEFI system partition, what does the firmware default to, and how does it know what partition to boot from?
    In that case it might fallback to UEFI Shell (if it exists)  or give an error similar to the case where BIOS does not find any bootable code in 440-byte MBR region.
    So even with bootcamp/CSM, the disk also needs to be MBR partitioned. So Macs use something called "Hybrid GPT/MBR" ( http://rodsbooks.com/gdisk/hybrid.html ) where the MBR table is synced to match the first 3 partitions in the GPT table.
    I know what Bootcamp does, and that's not what I was referring to. I was referring to standalone Vista installs. I wasn't puzzled at the fact that they were using MBR, I was puzzled at the fact that contrary to the recommendations for the standalone Arch install on the wiki (with MBR partitioning, not GPT), they didn't do anything to try and prevent Windows from writing to the MBR.
    You can't prevent Windows from overwriting the MBR region. You have to re-install the bootloader (grub2/syslinux etc.) after installing Windows. That is the reason why it is recommended to install Windows first and linux later.
    Thats not true. I actually find it is much easier to install Windows UEFI-GPT using USB rather than a DVD.
    I haven't done it since the only UEFI system I own has no DVD drive, but I was under the impression that it was simply a matter of choosing DVD UEFI boot in the firmware's boot menu.
    format the USB as FAT32 and extract the iso to it. That it.
    No, thats not it, precisely, it doesn't work out of the box with a standard Windows install USB, you need to fiddle around:
    2.3 Extract bootmgfw.efi from [WINDOWS_x86_64_ISO]/sources/install.wim => [INSTALL.WIM]/1/Windows/Boot/EFI/bootmgfw.efi (using 7-zip aka p7zip for both the files), or copy it from C:\Windows\Boot\EFI\bootmgfw.efi from a working Windows x86_64 installation.
    2.4 Copy the extracted bootmgfw.efi file to [MOUNTPOINT]/efi/microsoft/boot/bootmgfw.efi .
    Most of the Windows isos already have /EFI/BOOT/BOOTX64.EFI file, so no need to extract the bootmgfw.efi file.
    There is no difference between in BIOS booting in UEFI firmwares and BIOS booting with legacy firmware.
    There has to be a difference, at least in the Mac firmware (sorry, I keep switching), since legacy firmware, AFAIK, cannot chainload a bootloader in a partition's VBR without there being some sort of "stage1" code in the MBR.
    No idea about Mac EFI. Apple made a spagetti out of UEFI Spec. To actually understand how Mac firmwares work, read the blog posts by Matthew Garrett of Redhat, about his efforts in getting Fedora to boot in Macs.

  • Grub-Legacy-gfx on i686 system

    Hi. I'm trying to install some eyecandy for grub (ie. a splash image on grub boot menu), but I'm having some problems. On wiki page https://wiki.archlinux.org/index.php/Grub-Legacy-gfx it says that the grub-gfx package can be compiled on x86_64 architecture only with gcc-multilib. Now I managed to add multilib mirrors to mirrorlist and when I try to install gcc-multilib with
    # pacman -S gcc-multilib
    I get the following error:
    error: failed to prepare transaction (package architecture is not valid)
    :: package gcc-multilib-4.6.2-6-x86_64 does not have a valid architecture
    I downloaded grub-gfx from AUR, and when I 'makepkg -S' on it, it ends with error:
    patching file stage2/shared.h
    patching file stage2/stage2.c
    patching file stage2/term.h
    ==> ERROR: A failure occurred in build().
    Aborting...
    I don't know what to do next. Should I try maybe GRUB2, or simply give up on splash image in grub menu?

    https://aur.archlinux.org/packages/gr/grub-gfx/PKGBUILD
    It conflicts with grub / grub-legacy, so no, it's not possible to have them both, you need to pick one or the other. grub-gfx is a version of grub-legacy.
    Why do you think you need grub2? At which point does it say anything about installing grub2?

  • Sending email with 2 attachments in PDF Format

    Hi,
    I have 2 ALV Layouts, totally different in Structure.
    Now I need to convert these 2 ALV layout to 2 different PDF files and send email with thses 2 attachments.
    Can anyone provide me with sample report.
    I tried searching  for it  but there is no clue for ALV report-> PDF -> email.
    Thanks
    Mohan

    Hello,
    I doubt if you really searched before posting. You will find many posts indicating how to convert your report output be it ALV or classical into spool and then in to pdf. After you get the pdf binary format, its pretty much the same attaching those and sending E-mail
    Vikranth

  • Exporting audio with a patch?

    I have been using Logic Pro X to record some musical tracks in my studio. The sound quality of the program is phenomenal. I haven't ever had the idea to switch programs, it's just this one thing that gets me. So my question is, How do you export one of the audio tracks you lay down WITH the patch you added to it? I have put patches on the tracks before and tried exporting the track as an audio file, but it does not export it with the patch I put on it in Logic Pro X (it only exports the audio that was recorded originally). Please Help! I have struggled with this one area for so long, I have even gotten "I Don't Know" from Apple support members, given that this is a very complex program with all of the possibilities, i understand that they don't. Therefore, I am asking you guys. Thank you so much!
    I am using Logic Pro X 10.1.1
    iMac with OS X Yosemite 10.10.2

    Use the word "Bounce" as a search term.
    http://help.apple.com/logicpro/mac/10/

  • Create a Document in DMS and attach a file coming in binary format

    Hi to all,
    I have to create a new document in DMS (trx: CV01N) with an attachment but this attachment is a pdf file in binary format. Can I use bapi "BAPI_DOCUMENT_CREATE2"? It support binary files in input or I have to convert files in someway? Or I have to use another BAPI?
    I'm using an r/3 4.6c and I know that it is a big limit.
    Please, I need help.
    Thank you very much in advance,
    Enrico

    That assumes two things:
    1. That Apple would have let Microsoft have access to its file format.
    2. That Microsoft would want to spend the time and trouble to write filters for file formats that Apple can't be bothered doing for its own software.
    Peter

  • Replace the XML Tags which are in binary format in 4.6C Version

    Hi Experts,
    I have an issue. I am working on 4.6 c version of sap. I have a requirement to send  ftp of an xml file. I created an internal table which has components of table type too ( For Line items ). After appending a record of sales order into the table I am using   SDIXML_DATA_TO_DOM ( To attach the to the document ) and SDIXML_DOM_TO_XML ( To convert the document contents into XML ( Binary Format ).
           CLASS cl_ixml DEFINITION LOAD.
          g_ixml = cl_ixml=>create( ).
          CHECK NOT g_ixml IS INITIAL.
          m_document = g_ixml->create_document( ).
          CHECK NOT m_document IS INITIAL.
          CALL FUNCTION 'SDIXML_DATA_TO_DOM'
            EXPORTING
              NAME               = 'xmldata'   " data in character format
              DATAOBJECT         = xmldata[]
           IMPORTING
             DATA_AS_DOM        = l_dom
           CHANGING
             DOCUMENT           = m_document
           EXCEPTIONS
             ILLEGAL_NAME       = 1
             OTHERS             = 2
          IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
          CHECK NOT l_dom IS INITIAL.
          w_rc = m_document->append_child( new_child = l_dom ).
          IF w_rc IS INITIAL.
          WRITE 'OK'.
          ELSE.
          WRITE: 'ERR ='.
          ENDIF.
          CALL FUNCTION 'SDIXML_DOM_TO_XML'
            EXPORTING
              DOCUMENT            = m_document
            PRETTY_PRINT        = ' '
            IMPORTING
              XML_AS_STRING       = w_string
              SIZE                = w_size
            TABLES
              XML_AS_TABLE        = it_xml   " Final XML data ( with xml tags ( xml tags are the field names of internal table ) ) in bin
            EXCEPTIONS
              NO_DOCUMENT         = 1
              OTHERS              = 2
          IF SY-SUBRC = 0.
          WRITE 'OK'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ELSE.
          WRITE: 'ERR =',
          sy-subrc.
          ENDIF.
    So, it_xml has the binary format of XML data.
    Now the requirement is that I need to get rid of some XML tags in the final internal table XML data. Because by default, at the start of the the table row the <item> and </item> tags are inserted. This is automatically done in the Function module
    SDIXML_DOM_TO_XML.
    I want to find out the binary string of <item> and </item> and replace them by null binary string. I know how to replace the character strings but not for binary strings in 4.6 C.
    It is little bit urget. I would appreciate the quicker answer.

    Hi,
    check this program , I think this will help you
    TYPE-POOLS: ixml.
    TYPES: BEGIN OF xml_line,
    data(256) TYPE x,
    END OF xml_line.
    data : itab like catsdb occurs 100 with header line.
    data : file_location type STRING.
    data : file_name like sy-datum.
    data : file_create type STRING.
    file_name = sy-datum .
    file_location = 'C:\xml\'.
    concatenate file_location file_name into file_create.
    concatenate file_create '.XML' into file_create.
    DATA: l_xml_table TYPE TABLE OF xml_line,
    l_xml_size TYPE i,
    l_rc TYPE i.
    select * from catsdb into table itab.
    append itab .
    CALL FUNCTION 'SAP_CONVERT_TO_XML_FORMAT'
    EXPORTING
    I_FIELD_SEPERATOR =
    I_LINE_HEADER =
    I_FILENAME =
    I_APPL_KEEP = ' '
    I_XML_DOC_NAME =
    IMPORTING
    PE_BIN_FILESIZE = l_xml_size
    TABLES
    i_tab_sap_data = itab
    CHANGING
    I_TAB_CONVERTED_DATA = l_xml_table
    EXCEPTIONS
    CONVERSION_FAILED = 1
    OTHERS = 24
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL METHOD cl_gui_frontend_services=>gui_download
    EXPORTING
    bin_filesize = l_xml_size
    filename = file_create
    filetype = 'BIN'
    CHANGING
    data_tab = l_xml_table
    EXCEPTIONS
    OTHERS = 24.
    IF sy-subrc <> 0.
    MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
    WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    ENDIF.
    write : 'INTERNAL TABLE DATA IS SUCCESSFULLY DOWNLOADED TO LOCATION', file_create .
    Thanks.

  • How to read a file containing bitmap message in binary format

    Dear all,
    Can anybody tell me how to read bitmap message which stored data in binary format? The messages are stores like this :
    A file contain some messages along with these bitmaps in square zeroes.
    I want to again convert it into ASCII.

    Double post: http://forum.java.sun.com/thread.jspa?threadID=587497

Maybe you are looking for

  • Problem in Assigning Roles to the XI Developer

    Hi Experts, I have Given the following Roles to the Newly Created User. 1) SAP_XI_Developer_ABAP 2) SAP_XI_Developer_J2EE 3) SAP_XI_MONITOR_ABAP 4) SAP_XI_MONITOR_J2EE 5) SAP_SLD_ORGANIZER 6) SAP_XI_BPE_MONITOR_ABAP 7) SAP_XI_DEMOAPP 8) SAP_XI_DISPLA

  • Query on Transaction Variant

    Hi All, I have created a transaction variant for transaction ME21-Create Purchase order. Now my requirement is to change the transaction text displaying on the screen i.e. to change the text Create Purchase Order: Initial Screen to “Create Local Orde

  • RMAN duplicate database suddenly slow

    Hi Everyone, I posted at wrong forum last time, sorry about that. I used RMAN to duplicate database to different box in the same local network area. Here are the scenario: boxA: target database (PROD) -- 250G database:Oracle 10g Enterprise Edition Re

  • Error mesage (-48)

    my downloads have stopped almost instantly because of error (-48) what do i do to fix it!?!?

  • Paint Bucket Not Working

    Paint Bucket in Adobe Ideas on the Ipad is not working.  It just spins and spins then asks if I want to cancel.