Set default console font early in the boot process using mkinitrd?

Hi,
I'm a Slackware user, and I have a cross-distro question to the Arch gurus here. I like using a custom font (Lat2Terminus16) in the console, on servers. Now I remember having defined this font as default in the Arch console when I gave it a try, and then added it not only to rc.conf, but also to the configuration file that drives the initrd creation. Thus, the console font was defined very early in the boot process.
Now here's my question: is there any way to achieve this on a stock Linux distribution like Slackware? The man page for mkinitrd and mkinitrd.conf doesn't say anything about custom console fonts. So how do you guys do that?
Cheers from the sunny South of France.

Zom wrote:
We do it by adding 'consolefont' to the HOOKS section in mkinitrd.conf.
E: Or you could just add the relevant files to the FILES section, if you don't want to use the hook I suppose.
Yes, but there's no HOOKS and no FILES section in a default Slackware install. My question was more or less to the Arch devs, to know if there was a *generic* (e. g. non-Arch-specific) way to achieve this.

Similar Messages

  • Restoring default console font size

    I recently performed a long overdue series of updates, and now I'm facing the same font size issue that was discussed in this thread: https://bbs.archlinux.org/viewtopic.php?id=96768
    Now I've seen this page, which talks about changing the font and the size: https://wiki.archlinux.org/index.php/Fo … fault_font
    But the thing is I actually like the font, it's just the size that I'm trying to change. When the system starts to boot, the size is great. It's only after "waiting for udev uevents to be processed" has finished that the font gets tiny. So I know the right settings are somewhere in there, I just don't know where to keep them the way they are without getting changed.
    I have a sneaking suspicion the fix is easy, I'm just missing it. Any help would be greatly appreciated!
    Last edited by Infrared (2012-06-03 02:49:31)

    jasonwryan wrote:
    Instructions for changing the default console font are on the wiki: https://wiki.archlinux.org/index.php/Fo … fault_font
    As far as I can tell, the default font is called, oddly enough, default - and if you look in /usr/share/kbd/consolefonts you will see only two options: 8x16 and 8x9 - use setfont to confirm.
    If neither of those is large enough after KMS kicks in, you might try one of the other older school fonts in that directory.
    Oddly enough, it is called default, haha. Played around with a couple of the font settings, but what wound up happening was that it would load the font, and then after ""waiting for udev uevents to be processed" finished, the font got tiny again.
    So it might be a resolution thing. Will look into that.
    Gusar wrote:When this comes up (this thread is by far not the first one on this subject), the reaction is always advising to change the font. Never to change the resolution. Yet another one of the weird phenomenons I find so interesting.
    Suggestions on best method to do so?
    Last edited by Infrared (2012-06-04 01:46:15)

  • [SOLVED] Console Font Gets Reset During Boot

    I've recently switched to Arch Linux and am quite happy with it.  I've never had so much fun with Linux until a friend recommended Arch.  I have since installed it on both my MacBook Pro and Mac mini.  Everything has been pretty smooth, but I do have one issue.
    During the boot process, the system starts up with its default console font, per the usual.  I have edited /etc/vconsole.conf to set the font to Lat2-Terminus16 and to set the keyboard layout to Dvorak.  Here's my current config:
    KEYMAP=dvorak
    FONT=Lat2-Terminus16
    Part-way through the boot process, the font switches to use the new font.  So far, so good.  Shortly after, however, the screen gets cleared and continues to produce normal kernel messages until the screen is cleared once again and presents the boot prompt, but with the default console font as opposed to the font in vconsole.conf.  I am able to re-set the font again by using the setfont command, but this is a bit of an inconvenience.  The keyboard layout, however, is as it should be: set to Dvorak.  So, systemd-vconsole-setup.service is doing its job.
    I have narrowed down the problem to that when agetty starts, it seems to be resetting the font back to the default.  I have tried adding nouveau (my machines have Nvidia) to the array of modules within /etc/mkinitcpio.conf and rebuilding initramfs, but I get the same results.  I have also tried adding vconsole.font=Lat2-Terminus16 to the boot arguments in GRUB, but I get the same results.  This is affecting both of my machines.  I have updated them with pacman -Syu, but the problem still exists.
    I have found a workaround which is to add a service to systemd (I call it fontfix.service), set it to start after getty.target, and have it included in multi-user.target.  But is there a better way?  Or is something else other than agetty resetting the font?
    tl;dr
    agetty appears to be resetting the console font after systemd-vconsole-setup.service sets the font.  Is there a way to have agetty recognize what console font is currently is use?  Or is something else other than agetty resetting the font?
    Last edited by linux2647 (2013-01-10 07:30:30)

    https://wiki.archlinux.org/index.php/Sy … er_boot.3F

  • The "always match my default message font" option in the Signature preferences from Mac Mail does not work if e-mail is received in other Mail Software. How can I make it work?

    The "always match my default message font" option in the Signature preferences from Mac Mail does not work if e-mail is received in other Mail Software. How can I make it work?

    I found this plugin which solved pretty much all of my mail font rendering problems.  It is designed for Lion, so don't know whether it will work but thought I would offer it up.
    http://noware-it.zxq.net/

  • Tty1-6 freeze in the middle of the boot process, tty7 and X works fine

    I'm running Arch+KDE (and some alternative like xmonad as wm). I have the following strange problem:
    Booting works fine, KDM starts, I can login, everythings works. However, although I can change to tty1-6 via ctrl+alt+f1...6 they are frozen in the middle of the boot process, here's exactly what I see after switching to another tty:
    [ 2.733866] ata2.00: 78165360 sectors, multi 16: LBA48
    [ 2.747003] ata2.00: configured for UDMA/100
    [ 2.747223] scsi 1:0:0:0: Direct-Access ATA ST340014A 3.06 PQ: 0 ANSI: 5
    [ 2.760075] usb 1-1: new high speed USB device number 2 using ehci_hcd
    [ 2.771843] sd 1:0:0:0: [sda] 78165360 512-byte logical blocks: (40.0 GB/37.2 GiB)
    [ 2.772018] sd 1:0:0:0: [sda] Write Protect is off
    [ 2.772098] sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
    [ 2.772128] sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
    [ 2.777708] sr0: scsi3-mmc drive: 52x/52x cd/rw xa/form2 cdda tray
    [ 2.777797] cdrom: Uniform CD-ROM driver Revision: 3.20
    [ 2.778630] sr 0:0:0:0: Attached scsi CD-ROM sr0
    [ 2.785447] sda: sda1 sda2 sda3 sda4
    [ 2.786061] sd 1:0:0:0: [sda] Attached SCSI disk
    [ 2.885089] hub 1-1:1.0: USB hub found
    [ 2.885518] hub 1-1:1.0: 4 ports detected
    [ 2.993360] usb 1-2: new high speed USB device number 3 using ehci_hcd
    [ 3.236962] usb 1-1.1: new full speed USB device number 5 using ehci_hcd
    [ 3.384005] input: Logitech Logitech USB Headset as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.1/1-1.1:1.3/input/input1
    [ 3.384294] generic-usb 0003:046D:0A02.0001: input,hidraw0: USB HID v1.00 Device [Logitech Logitech USB Headset] on usb-0000:00:1d.7-1.1/input3
    The next lines which are not shown are (via dmesg)
    [ 3.384294] generic-usb 0003:046D:0A02.0001: input,hidraw0: USB HID v1.00 Device [Logitech Logitech USB Headset] on usb-0000:00:1d.7-1.1/input3
    [ 3.390423] usbcore: registered new interface driver usbhid
    [ 3.390511] usbhid: USB HID core driver
    [ 3.393690] usb 1-1.3: new high speed USB device number 6 using ehci_hcd
    [ 3.424849] EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null)
    [ 3.840034] usb 3-1: new low speed USB device number 2 using uhci_hcd
    [ 4.025136] input: Logitech USB-PS/2 Optical Mouse as /devices/pci0000:00/0000:00:1d.1/usb3/3-1/3-1:1.0/input/input2
    [ 4.025381] generic-usb 0003:046D:C050.0002: input,hidraw1: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb-0000:00:1d.1-1/input0
    [ 5.739092] udevd[227]: starting version 171
    [ 6.392169] input: Sleep Button as /devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input3
    [ 6.392182] ACPI: Sleep Button [SLPB]
    [ 6.392256] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input4
    [ 6.392262] ACPI: Power Button [PWRF]
    [ 6.484257] input: PC Speaker as /devices/platform/pcspkr/input/input5
    [ 6.486020] ACPI: acpi_idle registered with cpuidle
    [ 6.567251] Linux agpgart interface v0.103
    [ 6.589560] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
    [ 6.695744] i801_smbus 0000:00:1f.3: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    [ 6.711992] iTCO_vendor_support: vendor-support=0
    [ 6.719428] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.06
    [ 6.720445] iTCO_wdt: Found a ICH5 or ICH5R TCO device (Version=1, TCOBASE=0x0460)
    [ 6.721211] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
    [ 6.722801] parport_pc 00:07: reported by Plug and Play ACPI
    [ 6.722852] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
    [ 6.743621] agpgart-intel 0000:00:00.0: Intel 865 Chipset
    [ 6.743658] agpgart-intel 0000:00:00.0: detected gtt size: 131072K total, 131072K mappable
    [ 6.743755] agpgart-intel 0000:00:00.0: detected 1024K stolen memory
    [ 6.744774] agpgart-intel 0000:00:00.0: AGP aperture is 128M @ 0xa0000000
    [ 6.847264] ppdev: user-space parallel port driver
    [ 6.852667] Intel 82802 RNG detected
    [ 6.878022] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
    [ 6.923869] [drm] Initialized drm 1.1.0 20060810
    [ 7.050148] i915 0000:00:02.0: enabling device (0000 -> 0003)
    [ 7.050160] i915 0000:00:02.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
    [ 7.050168] i915 0000:00:02.0: setting latency timer to 64
    [ 7.072268] e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
    [ 7.072273] e100: Copyright(c) 1999-2006 Intel Corporation
    [ 7.072344] e100 0000:01:08.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
    [ 7.110870] [drm] Supports vblank timestamp caching Rev 1 (10.10.2010).
    [ 7.110875] [drm] Driver supports precise vblank timestamp query.
    [ 7.113855] i915 0000:00:02.0: BAR 6: can't assign [??? 0x00000000 flags 0x0] (bogus alignment)
    [ 7.113859] [drm] failed to find VBIOS tables
    [ 7.133720] e100 0000:01:08.0: PME# disabled
    [ 7.140882] [drm] initialized overlay support
    [ 7.141854] e100 0000:01:08.0: eth0: addr 0xfe9df000, irq 20, MAC addr 00:07:e9:4b:a9:8c
    [ 7.178193] [drm] capturing error event; look for more information in /debug/dri/0/i915_error_state
    [ 7.181514] render error detected, EIR: 0x00000010
    [ 7.181514] [drm:i915_report_and_clear_eir] *ERROR* EIR stuck: 0x00000010, masking
    [ 7.181514] render error detected, EIR: 0x00000010
    [ 7.219489] No connectors reported connected with modes
    [ 7.219497] [drm] Cannot find any crtc or sizes - going 1024x768
    [ 7.237564] sr 0:0:0:0: Attached scsi generic sg0 type 5
    [ 7.238588] sd 1:0:0:0: Attached scsi generic sg1 type 0
    [ 7.299180] Console: switching to colour frame buffer device 128x48
    [ 7.347619] fb0: inteldrmfb frame buffer device
    [ 7.347623] drm: registered panic notifier
    [ 7.347832] [drm] Initialized i915 1.6.0 20080730 for 0000:00:02.0 on minor 0
    [ 7.557756] Intel ICH 0000:00:1f.5: PCI INT B -> GSI 17 (level, low) -> IRQ 17
    [ 7.557804] Intel ICH 0000:00:1f.5: setting latency timer to 64
    [ 7.681210] nvidia: module license 'NVIDIA' taints kernel.
    [ 7.681217] Disabling lock debugging due to kernel taint
    [ 7.710730] Linux media interface: v0.10
    [ 7.800616] usbcore: registered new interface driver uas
    [ 7.877282] Linux video capture interface: v2.00
    [ 7.930178] uvcvideo: Found UVC 1.00 device <unnamed> (046d:0802)
    [ 7.972100] input: UVC Camera (046d:0802) as /devices/pci0000:00/0000:00:1d.7/usb1/1-1/1-1.3/1-1.3:1.0/input/input6
    [ 7.972388] usbcore: registered new interface driver uvcvideo
    [ 7.972392] USB Video Class driver (v1.0.0)
    [ 7.990026] intel8x0_measure_ac97_clock: measured 50989 usecs (2457 samples)
    [ 7.990031] intel8x0: clocking to 48000
    [ 8.093410] Initializing USB Mass Storage driver...
    [ 8.100022] scsi4 : usb-storage 1-2:1.0
    [ 8.103449] usbcore: registered new interface driver usb-storage
    [ 8.103453] USB Mass Storage support registered.
    [ 8.401795] usbcore: registered new interface driver snd-usb-audio
    [ 8.568477] nvidia 0000:01:01.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
    [ 8.568494] vgaarb: device changed decodes: PCI:0000:01:01.0,olddecodes=io+mem,decodes=none:owns=io+mem
    [ 8.569407] NVRM: loading NVIDIA UNIX x86 Kernel Module 173.14.30 Thu Apr 14 08:47:14 PDT 2011
    [ 9.104388] scsi 4:0:0:0: Direct-Access WD Ext HDD 1021 2002 PQ: 0 ANSI: 4
    [ 9.104713] sd 4:0:0:0: Attached scsi generic sg2 type 0
    [ 9.105502] sd 4:0:0:0: [sdb] 2930272256 512-byte logical blocks: (1.50 TB/1.36 TiB)
    [ 9.106381] sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
    [ 9.106386] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [ 9.108519] sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
    [ 9.108524] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [ 9.129321] sdb: sdb1 sdb2 sdb3 sdb4
    [ 9.131752] sd 4:0:0:0: [sdb] Test WP failed, assume Write Enabled
    [ 9.131758] sd 4:0:0:0: [sdb] Assuming drive cache: write through
    [ 9.131762] sd 4:0:0:0: [sdb] Attached SCSI disk
    [ 10.662601] EXT4-fs (sda3): re-mounted. Opts: (null)
    [ 11.097052] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
    [ 11.412380] Adding 2104508k swap on /dev/sda2. Priority:-1 extents:1 across:2104508k
    [ 14.876829] e100 0000:01:08.0: eth0: NIC Link is Up 100 Mbps Full Duplex
    [ 20.827578] NET: Registered protocol family 10
    [ 31.203380] eth0: no IPv6 routers present
    The curious thing is that everything works perfect in KDE, resp. tty7 ?!?

    what ever upgrade the software downloaded is the problem
    You didn't mention this in your first post. Any idea what it was? Backups?
    Besides that, this may be a fault in the video card, driver, or a screen fault.
    Courtesy of BDAqua (if possible):
    Take a screen shot & view that in Preview, move the Preview window around, if you see double lines it's a Video card/VRAM problem, if the lines do not move moving the pic around then it's the LCD or cable.

  • Interrupting the boot process on an aironet 1242AG AP?

    Does anyone know if there's a trick to this?
    According to the documentation, I'm supposed to be hitting the Esc key when I see the Loading "flash:/[imagename]" ####### ... line, but this doesn't seem to be working.  I've tried hitting the Esc key a lot during those lines, holding it down, hitting it early, hitting it late, hitting it in the middle, and still no joy.  I'm wanting to hit it with something very heavy and hard about now, but I doubt that'll do anything but cause more problems.  Anyone know what I could be doing wrong here?
    I'm trying to break into a handful of malfunctioning 1242AG APs to see if I can get them working, or if they're faulting hardware that's beyond repair.  (So far they're all coming back with: no "IP_ADDR" variable set, so if anyone knows how to set that without breaking out of the boot cycle, that would be helpful too.)

    Matt,
    Press and hold MODE. Apply power and continue to hold for about 30 sec. The AP will try to find a TFTP server, but after failing, you should have a rommon-like prompt (if I am recalling correctly).
    Justin
    ... typd on tny kybrd.

  • My MacBookPro (mid 2012) will not complete the boot process. Yosemite's progress widget gets about 1/3 to 1/2 way across when the logo disappears and the screen goes all white for 10-15 secs or so, then the machine shuts down and restarts.

    My MacBookPro (mid 2012) will not complete the boot process. Yosemite's progress widget gets about 1/3 to 1/2 way across when the logo disappears and the screen goes all white for 10-15 secs, then the machine shuts down and restarts. This sequence will repeat seemingly forever unless I shut it down manually.
    I upgraded to Yosemite from Mountain Lion a couple months ago, skipping Maverick completely, and I've done any associated updates that Apple told me about. I don't recall which version of Yosemite I have, but I'm sure it is the "latest and greatest".
    I've tried re-starting in Safe Mode / Safe Boot and that does the same thing as described above except without the endless restarts. Instead of restarting at some point, SafeBoot proceeds to the white screen and then it hangs until I restart it manually. (I've waited as long os 20-30 minutes with no response).
    When I tried the option-command-p-r key combo I never get any chimes or other noises besides the original 1 time boot sound that you would expect to get when starting up a macbook pro.
    I was using the mac quite normally (meaning I was doing work I normally do on it and there was no indication of anything wrong) immediately prior to this happening.
    The machine is BootCamp(ed) with Windows 8.1 which I use from a VMWare virtual machine instead of natively so that I can have both OSes running at the same time. I also think this is unrelated to my problem. I have been using this setup for more than 2 years.
    My upgrade to Yosemite was uneventful and I thought it went well and was very smooth. I don't want to lead attention away from Yosemite, but at this point my problem does not seem related to the upgrade.
    Any help is appreciated.

    Install or Reinstall OS X from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the
          left side list. Click on the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on
          the Security button and set the Zero Data option to one-pass. Click on
          the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall OS X: Select Reinstall OS X and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible
               because it is three times faster than wireless.

  • There is always a blue screen appears after the Apple logo during the booting process. And then everything is back to normal. What is this thing? Is there something wrong with my screen or something?

    There is always a blue screen appears after the Apple logo during the booting process. And then everything is back to normal. What is this thing? Is there something wrong with my screen or something?

    Nah - that's just the normal boot process.
    Clinton

  • I just purchased an extreme.  I have an express.  The sales guy recommended setting up a hot spot with the express and use the extreme as a base station.  What does he mean and how do I do this?  What are the advantages?

    I just purchased an extreme.  I have an express.  The sales guy recommended setting up a hot spot with the express and use the extreme as a base station.  What does he mean and how do I do this?  What are the advantages?  How do I set this up?????

    I think he means to set up the main extreme as the main router or "main base station", and then use the express to "extend" the network.
    You can look up the manual for your express here for more details:
    http://support.apple.com/manuals/
    Extend the range of your network by adding AirPort Express to your existing AirPortExtreme or AirPort Express wireless network (this is called a Wireless DistributionSystem, or WDS). "
    Extending the Range of an Existing AirPort Extreme or
    AirPort Express Network
    You can extend the range of an existing AirPort Extreme or AirPort Express wirelessnetwork by setting it up in a WDS. Wireless computers can connect to the network andshare the Internet connection, share files, and play network games. If you connect yourAirPort Express to your home stereo, computers on your wireless network can useAirTunes to play music on the stereo from iTunes. If you connect a USB printer to yourAirPort Express, all of the computers on the network can print to it.
    n Open the AirPort Setup Assistant on a Macintosh, or the AirPort Express Assistant on acomputer using Windows XP. Follow the onscreen instructions to extend the range ofyour AirPort Extreme or AirPort Express network.
    Note: Extending the range of a network using WDS may reduce overall networkperformance.

  • Can we write in Italic font on to the screen by using the WRITE Statement

    Hello Abappers,
    Can we write in Italic font on to the screen by using the WRITE Statement.
    Please reply.
    Regards,
    Rahul

    Hi Rahul,
    >Sandeep Wrote:
    If you have the codepage for Italian language installed in your machine , you can write the same.
    The OP is asking about italic font not about the language.
    You need to upload font files ITALICI.TTF. Go to SE73 . Click on Install True type font and upload the italic file on to your system.
    Check Font Attribute Italic
    We already have help files on this. Refer:
    [Using TrueType Fonts|http://help.sap.com/saphelp_nw70/helpdata/en/36/5b3438fd263402e10000009b38f8cf/content.htm]
    I don't have idea on write statement in ABAP reports. Hope it cannot be.
    Edited by: K.Manas on Dec 30, 2010 6:08 AM

  • How to load the boot menu using the command line , after the configuration change ?

    how to load the boot menu using the command line , after the configuration change ?

    Hi @Bask-48 
    Welcome to the HP Forums!
    It is a terrific place to find answers.
    For you to have the best experience in the HP forum I would like to direct your attention to the HP Forums Guide Learn How to Post and More
    I grasp you are trying to change the boot order.  Here is a link to Configuring the Boot Order in the System BIOS
    that will assist you.
    Good Luck and Happy Holidays!
    Sparkles1
    I work on behalf of HP
    Please click “Accept as Solution ” if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the bottom right to say “Thanks” for helping!

  • How to stop the boot process after the GRUB menu?

    Hello there.
    I am getting an error message in the boot process, after the GRUB menu, but I can't read completely the message because it is shown too fast. So, how can I stop the process when I see the error message, for writing down it?
    Thanks in advance.

    zuargo wrote:
    Hello there.
    I am getting an error message in the boot process, after the GRUB menu, but I can't read completely the message because it is shown too fast. So, how can I stop the process when I see the error message, for writing down it?
    Thanks in advance.
    I didn't try this before, but if you use systemd, you may want to try systemd.confirm_spawn to invoke interactive booting process, so you can start the services one by one manually therefore locate the one throwing out error message.
    It is explained in the systemd manual:
    http://www.freedesktop.org/software/sys … stemd.html

  • Hi, can iMovie give pronlems during the boot process from my iMac Mine. I have often after working with iMovie that i get during the boot Psi SDXH pause so the boot process stops

    hi,
    can iMovie give problems during the boot process from my iMac Mini?
    I have often, after working with iMovie that i get during the boot Psi SDXH pause
    so the boot process stops at this point
    I have often reinstall OSX Mavericks
    regards,
    HenkfromWinterswijk
    Netherlands

    Hello Federico,
    Your EliteBook is a Business model.  Your issue would be best answered on the HP Enterprise Business Community Forum
    Good luck!
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • Is the Magic Mouse useable during the boot process?

    My wired mouse died and I was considering the Magic Mouse as a replacement. Since I often boot to different drives, I need the mouse to be active during the boot process so I can select the drive to use. Anyone know if this will work?

    Strange thing about that... I have the Apple flat aluminum keyboard, but for some strange reason, the cursor keys don't move the cursor when on the boot screen (work fine once the system is booted). The only way I was able to boot up this morning was to borrow a wired Apple mouse from another computer.

  • Error While Deploying the BPEL Process using obant script

    Hi All,
    I am getting the following error while deploying the BPEL Process using obant script. we are using the BPEL Version 10.1.2.0.2.Any information in this regard will be really helpful.
    Buildfile: build.xml
    main:
    [bpelc] file:/home5102/dibyap/saravana/Test/CreditRatingService.wsdl
    [bpelc] validating "/home5102/dibyap/saravana/Test/CreditRatingService.bpel" ...
    BUILD FAILED
    /home5102/dibyap/saravana/Test/build.xml:15: ORABPEL-01002
    Domain directory not found.
    The process cannot be deployed to domain "default" because the domain directory "/opt02/app/ESIT/oracle/esit10gR2iAS/BPEL10gR2/iAS/integration/orabpel/domains/default/deploy" cannot be found or cannot b
    e written to.
    Please check your -deploy option value; "default" must refer to a domain that has been installed locally on your machine.
    Total time: 23 seconds
    dibyap@ios5102_ESIBT:/home5102/dibyap/saravana/Test>
    Thanks,
    Saravana

    In 10.1.2.0.2 you need to create your own build.xml
    I have found an example, it may be of some help. This does call a property file
    cheers
    James
    <?xml version="1.0" ?>
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Run cxant on this file to build, package and deploy the
    ASB_EFT BPEL process
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <project name="ASB_EFT" default="main" basedir=".">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Name of the domain the generated BPEL suitcase will be deployed to
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <property name="deploy" value="default" />
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    What version number should be used to tag the generated BPEL archive?
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <property name="rev" value="1.0" />
    <!-- BPEL Best Practices Properties -->
    <!-- Defaults Properties for TARGET environments
    # CHANGE THIS FILE TO REFLECT THE TARGET ENVIRONEMNT
    # either dev, test, or prod.properties
    -->
    <property file="ebusd.properties"/>
    <property name="env" value="${env.name}"/>
    <property name="current.project.name" value="${project.name}"/>
    <property name="target.project.name" value="${project.name}_${env}"/>
    <property name="deployment.profile" value ="${env}.properties"/>
    <property name="source.development.directory" location="${basedir}"/>
    <property name="target.env.directory" location="${basedir}/deploy/${project.name}_${env}"/>
    <property file="${deployment.profile}"/>
    <property name="build.fileencoding" value="UTF-8"/>
    <!-- Prints Environment
    -->
    <target name="print.env" description="Display environment settings">
    <echo message="Base Directory: ${basedir}"/>
    <echo message="Deployment Profile: ${deployment.profile}"/>
    <echo message="target.env.directory: ${target.env.directory}"/>
    <echo message="Deploy to Domain: ${deployToDomain}"/>
    <echo/>
    <echo message="os.name: ${os.name}"/>
    <echo message="os.version: ${os.version}"/>
    <echo message="os.arch: ${os.arch}"/>
    <echo/>
    <echo message="java.home: ${java.home}"/>
    <echo message="java.vm.name: ${java.vm.name}"/>
    <echo message="java.vm.vendor: ${java.vm.vendor}"/>
    <echo message="java.vm.version: ${java.vm.version}"/>
    <echo message="java.class.path: ${java.class.path}"/>
    <echo/>
    <echo message="env: ${env}"/>
    <echo message="current.project.name: ${current.project.name}"/>
    <echo message="target.project.name: ${target.project.name}"/>
    <echo message="server.name: ${server.name}"/>
    </target>
    <!--
    Copies the current directory structure along with
    all the file into the target.env.directory and
    change the name of the project
    -->
    <target name="create.environment">
    <copy todir="${target.env.directory}">
    <fileset dir="${basedir}"/>
    <filterset begintoken="@" endtoken="@">
    <filtersfile file="${deployment.profile}"/>
    </filterset>
    </copy>
    <move file="${target.env.directory}/${current.project.name}.jpr" tofile="${target.env.directory}/${target.project.name}.jpr"/>
    </target>
    <target name="main">
    <!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    the bpelc task compiles and package BPEL processes into versioned BPEL
    archives (bpel_...jar). See the "Programming BPEL" guide for more
    information on the options of this task.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -->
    <bpelc input="${basedir}/bpel.xml" rev="${rev}" deploy="${deploy}" />
    </target>
    </project>
    here is a property file
    project.name=ASB_EFT
    env.name=ebusd
    deployToDomain=default
    server.name=[server]
    server.port=7788
    ebusd\:7788=http://[server]:7788/
    IntegrationMailAccount=OracleBPELTest
    IntegrationMailAddress=[email]
    IntegrationMailPassword=[password]
    archivedir=[directory]
    inbounddir=/[directory]
    errordir=[directory]
    outbounddir=[directory]
    bpelpw=bpel
    dbhost1=[dbserver]
    dbhost2=[dbserver]
    dbport=1523
    dbservice=bpel
    dbconnstr=jdbc:oracle:thin:@(DESCRIPTION=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS_LIST=(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523))(ADDRESS=(PROTOCOL=tcp)(HOST=[server])(PORT=1523)))(CONNECT_DATA=(SERVICE_NAME=ebusd)))

Maybe you are looking for