Scripting with windows 8 or seven
Hello everybody
I use scripting to update data in SAP. the script open a txt.file and automatise some actions.
The scripting works fine with windows XP but on other computer in windows 8 or seven the script don't find the file. message : file not found.
I have update the sap gui 7.30 to package 10 but we had the same problem even if we execute SAP in administrator side.
Someone have an idea ?
Best reagrds
Bruno
Thank you for you answer. i 'm not aware in VBA script language. perhaps could you correct my script ?
If Not IsObject(application) Then
Set SapGuiAuto = GetObject("SAPGUI")
Set application = SapGuiAuto.GetScriptingEngine
End If
If Not IsObject(connection) Then
Set connection = application.Children(0)
End If
If Not IsObject(session) Then
Set session = connection.Children(0)
End If
If IsObject(WScript) Then
WScript.ConnectObject session, "on"
WScript.ConnectObject application, "on"
End If
session.findById("wnd[0]").maximize
dim ds()
Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objFile = objFSO.OpenTextFile("todo.txt", 1)
Set objFilelog = objFSO.OpenTextFile("log.txt", 8, true)
objFilelog.WriteLine("-----------------------------------------------------")
objFilelog.WriteLine("--------Start: " & now & "-------------------")
objFilelog.WriteLine("-----------------------------------------------------")
i = "0"
Do Until objFile.AtEndOfStream
strInputline = objFile.readLine
if len(strInputline) > 0 then
Redim Preserve ds(i)
ds(i) = strInputline
i = i + 1
end if
Loop
for each datensatzausdatei in ds
'--- begin to putin your recoded source code here
session.findById("wnd[0]").maximize
session.findById("wnd[0]/usr/ctxtLAGP-LGPLA").text = datensatzausdatei
session.findById("wnd[0]/usr/ctxtLAGP-LGPLA").caretPosition = 6
session.findById("wnd[0]").sendVKey 0
session.findById("wnd[0]/mbar/menu[0]/menu[5]").select
session.findById("wnd[1]/usr/btnSPOP-OPTION1").press
'-- end of putin from your recode source code here
next
objFilelog.WriteLine("-----------------------------------------------------")
objFilelog.WriteLine("--------Ende: " & now & "--------------------")
objFilelog.WriteLine("-----------------------------------------------------")
Msgbox("Fertig /end")
Similar Messages
-
Hi.
I have been using LNScrpt (Cool Solutions: Login Tracking Scripts) with Windows XP for many years and it works very well. Recently, I tried it on Windows 7. I'm getting every field that I need except for the machine's IP address. I'm guessing it has to do with IPv4 and IPv6, but I'm not sure how to proceed. Can anyone help?
Thanks,hallwayweb,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
my Ipod nono 8gb be format with windows seven 2 years ago. what can I do? please help me
What is the problem? It's not quite clear from your post.
B-rock -
Run diadem and Script automatically with windows
It would be possible to give an exe or something like that, with windows and after execute this, DIAdem automatically run and when Diadem opened, run my script also automatically??
Thank you
SaraHi Sara,
You can absolutely run the DIAdem exe automatically from Windows, for example, as a startup executable, Windows Scheduled Task, or batch file.
Using DIAdem, if you want to automatically run a SCRIPT when the application opens, use the Start Script option under Settings » Options » General » Start Script.
If you want your users not to see DIAdem executing, there are a couple of approaches you could take, depending on your desired behavior and comfort with programming. For example, you could:
Call DIAdem programmatically using ActiveX from another language like LabVIEW and choose to hide the environment when running, or
Have DIAdem SCRIPT run a SUD dialog that masks the DIAdem screen and reports a simpler version of information updates to your user, or
Use DIAdem's customization abilities to programmatically hide all Panels and Toolbars, or
Use your script to programmatically switch the screen mode in DIAdem (try pressing Ctrl+U interactively!) while your script is executing.
Good luck!
Derrick S.
Product Manager
NI DIAdem
National Instruments -
What is available on new Windows servers that allow you to write scripts that can work directly with Windows, SQL Server, and Exchange Server?
a. PowerShell
b. isql
c. osql
d. sqlcmdAll questions seem to be from the interview or a test. I think I even took this test once, it's KForce test.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles -
Problem with sap script main window
Hi,
I am modifying the existed sap script. I added a box and some line items to the sap script main window.
Now i want to increase the size of the mainwindow.
Please guide me how to increase the lines of main window . I am unable to edit the standard attributes of the main window ,because all are in disable mode.
Please guide me how to increase the size of the main window.
Thanks in advance
Regards
SudhakarHi,
You might be trying to edit the script in non original language. You can change the layout only in the original language.
Check the attributes of the script to see the original language.
Thanks,
Vinod. -
Very slow download speeds with new laptop with windows seven- WRT160N Router
Just bought a new Laptop with windows 7 and of course wireless. Download speeds are horrible (0.2 mbs) and upload speeds are normal for me ( 8mbs) Have a wrt160N Wire less router. Older laptop and desktop work fine with normal( around (8mbs) downloads and uploads.
How do I fix this?Do you have QOS enabled in your router? Did you try plugging the win7 laptop directly and check the speed?
-
Dualboot with Windows from secondary MBR drive using e.g. grub/refind
Hi!
I'm trying to get my secondary drive with Windows 8, installed in MBR-mode to boot using either grub2, refind or any other suitable bootloader. "bootinfoscript" return:
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> is installed in the MBR of /dev/sda.
=> Windows is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /grub/grub.cfg /efi/arch_grub/grubx64.efi
/efi/refind/refind_x64.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Arch Linux ()
Boot files: /etc/fstab
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sdb2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Windows/System32/winload.exe
sdb3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 117,231,407 117,231,407 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 40 409,639 409,600 EFI System partition
/dev/sda2 409,640 115,752,999 115,343,360 Data partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 1.4 TiB, 1500301910016 bytes, 2930277168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 2,048 718,847 716,800 7 NTFS / exFAT / HPFS
/dev/sdb2 718,848 882,276,351 881,557,504 7 NTFS / exFAT / HPFS
/dev/sdb3 * 882,276,352 2,930,272,255 2,047,995,904 af HFS / HFS+
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 39D2-CCE0 vfat
/dev/sda2 0c5d5c14-1e89-44ec-af4d-7b180ed693bc ext4
/dev/sdb1 780CD4910CD44BAE ntfs System Reserved
/dev/sdb2 105CD9745CD95556 ntfs
/dev/sdb3 bb50e1d4-cc4c-43cc-8597-54815366422f ext4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /boot vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 / ext4 (rw,noatime,discard,data=ordered)
/dev/sdb3 /home ext4 (rw,relatime,data=ordered)
============================= sda1/grub/grub.cfg: ==============================
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 0c5d5c14-1e89-44ec-af4d-7b180ed693bc
else
search --no-floppy --fs-uuid --set=root 0c5d5c14-1e89-44ec-af4d-7b180ed693bc
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_archlinux ###
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
fi
set gfxpayload=keep
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
else
search --no-floppy --fs-uuid --set=root 39D2-CCE0
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
menuentry "Arch Linux pkg-linux kernel (fallback initramfs)" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
fi
set gfxpayload=keep
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
else
search --no-floppy --fs-uuid --set=root 39D2-CCE0
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
echo 'Loading Arch Linux pkg-linux kernel fallback initramfs ...'
initrd /initramfs-linux-fallback.img
### END /etc/grub.d/10_archlinux ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
else
search --no-floppy --fs-uuid --set=root 39D2-CCE0
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
else
search --no-floppy --fs-uuid --set=root 39D2-CCE0
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Microsoft Windows Vista/7/8 BIOS-MBR" {
insmod part_msdos
insmod ntfs
insmod search_fs_uuid
insmod ntldr
search --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 780CD4910CD44BAE
ntldr /bootmgr
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
=============================== sda2/etc/fstab: ================================
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda2
UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc / ext4 rw,defaults,noatime,discard,data=ordered 0 1
# /dev/sda1
UUID=39D2-CCE0 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# /dev/sdb3
UUID=bb50e1d4-cc4c-43cc-8597-54815366422f /home ext4 rw,relatime,data=ordered 0 2
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-2fUreQzU/Tmp_Log: No such file or directory
No volume groups found
mdadm: No arrays found in config file or automatically
As seen, windows is installed in the MBR of /dev/sdb and grub, using the chainloader should be able to boot it (i guess).
I have the following in my 40-custom.
menuentry "Microsoft Windows Vista/7/8 BIOS-MBR" {
insmod part_msdos
insmod ntfs
insmod search_fs_uuid
insmod ntldr
search --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 780CD4910CD44BAE
ntldr /bootmgr
where the first is "--hint-bios= ..." is given by
sudo grub-probe --target=hints_string -d /dev/sdb1
and the UUID by
sudo grub-probe --target=fs_uuid -d /dev/sdb1
When I try to boot the above configuration, I get an error saying that "ntldr cannot be found" - and indeed, while I find "ntldr.mod" in "/usr/lib/grub/i386-pc/" I cannot find it in "/usr/lib/grub/x86_64-efi/".
I've also tried getting refind to identify "bootmgr" from windows without success. I guess it does not support NTFS or something.
Anyway, do anyone have any idea of how to get this to work - without reinstalling Windows in EFI-mode?
Thanks in advance,
eltdieelt wrote:
Hi!
I'm trying to get my secondary drive with Windows 8, installed in MBR-mode to boot using either grub2, refind or any other suitable bootloader. "bootinfoscript" return:
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> is installed in the MBR of /dev/sda.
=> Windows is installed in the MBR of /dev/sdb.
sda1: __________________________________________________________________________
File system: vfat
Boot sector type: FAT32
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /grub/grub.cfg /efi/arch_grub/grubx64.efi
/efi/refind/refind_x64.efi
sda2: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System: Arch Linux ()
Boot files: /etc/fstab
sdb1: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Boot/BCD
sdb2: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files: /bootmgr /Windows/System32/winload.exe
sdb3: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 55.9 GiB, 60022480896 bytes, 117231408 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 117,231,407 117,231,407 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 40 409,639 409,600 EFI System partition
/dev/sda2 409,640 115,752,999 115,343,360 Data partition (Linux)
Drive: sdb _____________________________________________________________________
Disk /dev/sdb: 1.4 TiB, 1500301910016 bytes, 2930277168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sdb1 2,048 718,847 716,800 7 NTFS / exFAT / HPFS
/dev/sdb2 718,848 882,276,351 881,557,504 7 NTFS / exFAT / HPFS
/dev/sdb3 * 882,276,352 2,930,272,255 2,047,995,904 af HFS / HFS+
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1 39D2-CCE0 vfat
/dev/sda2 0c5d5c14-1e89-44ec-af4d-7b180ed693bc ext4
/dev/sdb1 780CD4910CD44BAE ntfs System Reserved
/dev/sdb2 105CD9745CD95556 ntfs
/dev/sdb3 bb50e1d4-cc4c-43cc-8597-54815366422f ext4
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda1 /boot vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)
/dev/sda2 / ext4 (rw,noatime,discard,data=ordered)
/dev/sdb3 /home ext4 (rw,relatime,data=ordered)
============================= sda1/grub/grub.cfg: ==============================
# DO NOT EDIT THIS FILE
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt2'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2 0c5d5c14-1e89-44ec-af4d-7b180ed693bc
else
search --no-floppy --fs-uuid --set=root 0c5d5c14-1e89-44ec-af4d-7b180ed693bc
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_archlinux ###
menuentry "Arch Linux pkg-linux kernel" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
fi
set gfxpayload=keep
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
else
search --no-floppy --fs-uuid --set=root 39D2-CCE0
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
echo 'Loading Arch Linux pkg-linux kernel initramfs ...'
initrd /initramfs-linux.img
menuentry "Arch Linux pkg-linux kernel (fallback initramfs)" --class arch-linux --class arch --class gnu-linux --class gnu --class os {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
fi
set gfxpayload=keep
insmod fat
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
else
search --no-floppy --fs-uuid --set=root 39D2-CCE0
fi
echo 'Loading Arch Linux pkg-linux kernel ...'
linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
echo 'Loading Arch Linux pkg-linux kernel fallback initramfs ...'
initrd /initramfs-linux-fallback.img
### END /etc/grub.d/10_archlinux ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
else
search --no-floppy --fs-uuid --set=root 39D2-CCE0
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-0c5d5c14-1e89-44ec-af4d-7b180ed693bc' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod fat
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 39D2-CCE0
else
search --no-floppy --fs-uuid --set=root 39D2-CCE0
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc rw quiet
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
menuentry "Microsoft Windows Vista/7/8 BIOS-MBR" {
insmod part_msdos
insmod ntfs
insmod search_fs_uuid
insmod ntldr
search --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 780CD4910CD44BAE
ntldr /bootmgr
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
### BEGIN /etc/grub.d/60_memtest86+ ###
### END /etc/grub.d/60_memtest86+ ###
=================== sda1: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
=============================== sda2/etc/fstab: ================================
# /etc/fstab: static file system information
# <file system> <dir> <type> <options> <dump> <pass>
# /dev/sda2
UUID=0c5d5c14-1e89-44ec-af4d-7b180ed693bc / ext4 rw,defaults,noatime,discard,data=ordered 0 1
# /dev/sda1
UUID=39D2-CCE0 /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 2
# /dev/sdb3
UUID=bb50e1d4-cc4c-43cc-8597-54815366422f /home ext4 rw,relatime,data=ordered 0 2
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-2fUreQzU/Tmp_Log: No such file or directory
No volume groups found
mdadm: No arrays found in config file or automatically
As seen, windows is installed in the MBR of /dev/sdb and grub, using the chainloader should be able to boot it (i guess).
I have the following in my 40-custom.
menuentry "Microsoft Windows Vista/7/8 BIOS-MBR" {
insmod part_msdos
insmod ntfs
insmod search_fs_uuid
insmod ntldr
search --fs-uuid --set=root --hint-bios=hd1,msdos1 --hint-efi=hd1,msdos1 --hint-baremetal=ahci1,msdos1 780CD4910CD44BAE
ntldr /bootmgr
where the first is "--hint-bios= ..." is given by
sudo grub-probe --target=hints_string -d /dev/sdb1
and the UUID by
sudo grub-probe --target=fs_uuid -d /dev/sdb1
When I try to boot the above configuration, I get an error saying that "ntldr cannot be found" - and indeed, while I find "ntldr.mod" in "/usr/lib/grub/i386-pc/" I cannot find it in "/usr/lib/grub/x86_64-efi/".
I've also tried getting refind to identify "bootmgr" from windows without success. I guess it does not support NTFS or something.
Anyway, do anyone have any idea of how to get this to work - without reinstalling Windows in EFI-mode?
Thanks in advance,
elt
UEFI GRUB(2) does not support booting BIOS boot loaders in non-Apple systems. For Apple Macs that support exists in form of 'appleloader' grub command. You might have better luck with rEFInd bios boot support but as per its author Rod Smith (srs5694) even that support is severely limited http://rodsbooks.com/refind/using.html#legacy .
You 40_custom is correct but that will work only in bios grub(2), not in uefi grub(2). 'ntldr' grub module is specific to bios grub(2).
Last edited by the.ridikulus.rat (2014-04-13 20:09:25) -
Safari with Windows Media Player cannot use PHP as filename/src/url
I'm running Windows XP Pro SP2 with Windows Media Player 11
and Safari 3 public beta. In addition to being the absolute
slowest browser among MSIE, Firefox, Netscape, and Opera, the
Safari browser has two annoying WMP defects.
1) Even with WMP 11 installed, the code below for embedding
can use either the classid for WMP v6.4 or v7+ but Safari
(or rather it's plugin) always displays a v6.4 looking UI.
All other browsers display the media player using the v11 UI
2) Safari will not download the movie if the "filename" param
is a web url (e.g. getmovie.php?select=1234 ) rather than the
precise name of the movie file itself (e.g. "movie.wmv"). The
other browsers may differ in use of the param name="xxxx", where
xxxx is "filename" or "src" or "url" or "data" ... but Safari
will not work using any of these.
Has anyone successfully embedded a WMP object that uses the
URL as a PHP page (or other server-side script) ? I have already
my server-side PHP code that works perfectly for MSIE, Firefox,
Netscape, and opera. Safari is the only problem browser.
------------------------CODE------------
//Media Player v6.4
// CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95
//Media Player v7,9,10,11
// CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6
<object id="MediaPlayer"
classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
type="application/x-oleobject"
height="300" width="300"
codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab #Version=6,4,5,715"
standby="Loading Microsoft Windows Media Player components...">
<param name="url" value="http://www.yourdomain.com/movie.wmv">
<!-- For other browsers * Windows Media Player -->
<!--[if !IE]> <-->
<object type="application/x-mplayer2" height="300" width="300">
<param name="filename" value="http://www.yourdomain.com/movie.wmv">
</object>
<!--> <![endif]-->
</object>I have run into several issues pointing to what you are describing...
I fixed my Safari by installing the WMP plugin. I am able to view visualizations embedded into a webpage, one of which I created...I am able to view videos and so on.. Before I installed the plugin, All that would load is a place holder which looked like the old WMP and would not function properly. However this is what is displayed beside the media which is embedded.
I think that I got the plugin by going to the download page for Safari and looking for plugins. Funny thing was that the plugin that I installed was the one for Firefox on its site that nobody every installs because Firefox gets the plugin if you already have WMP11 installed. Anyway this should solve your problem...with most..
I have noticed just now that PHP served links or applications which launch in their own window and are protected by PHP script do work but still display a lack of functionality showing the Version 6.4 that you are speaking of. I checked it out using the KDGE Live Stream which opens another window, and displays version 11 properly ( in other browsers ), the link which is served is also protected and will close any media player that tries to play it on its own. It soley depends on the script which is coded into the page or window for the player. I can see this method as useful for a corporation as large and well advertised as ClearChannel Productions, because of the lack of bandwidth and cost to the company. Several sources do this and it winds up being an issue for the website administrator and designers to take care of, or update the script, or the person who has written the plugin, which could be from a number of resource; this particular instance would be the author of the WMP Plugin for Firefox.
For any other purpose though the plugin I mentioned above should get rid of ( MOST ) of that problem.
http://www.apple.com/safari/download/plugins.html
Message was edited by: heath28m
This is also a good link for sources and coding issues when embedding WMP.. Hope some of this helps..http://www.codingforums.com/showthread.php?t=50666&page=39
Message was edited by: heath28m -
Question
better privacy does not work with windows vista home prem. what other program removes LSO'S AND HOW can I stop trackers? edit
DetailsAs a temporary workaround, I believe this Adobe management page allows you to clear your "Flash cookies": [http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html Adobe - Flash Player : Settings Manager - Website Storage Settings panel] (hosted on macromedia.com -- Macromedia was the original developer of Flash).
Regarding the script error, if I'm reading the script correctly, it is related to accessing your Flash cookies directory. It seems the publisher's support forum is not currently available for searching, but that might be a good next step.
In the meantime, could you check whether the script has the correct location for your Flash cookies directory? If you can't access Tool > BetterPrivacy, you could check here:
(1) In a new tab, type or paste '''about:config''' in the address bar and press Enter. Click the button promising to be careful.
(2) In the filter box, type or paste '''bpr''' and pause while the list is filtered
(3) There should be a bolded setting named '''extensions.bprivacy.DataDir''' which looks approximately like the following:
C:\Users\''yourWindowsUsername''\AppData\Roaming\Macromedia
Do you have a similar value? If you paste the path used by BetterPrivacy into a Windows Explorer window, does it open? Also, click a couple levels in the folder, can you see:
Flash Player \ #SharedObjects
If the value is wrong, right-click the wrong value and choose Reset. BetterPrivacy should update the value the next time you try to access it.
If the value is blank, you could try inserting a sensible value and see whether that helps.
Any luck? -
Compatibility with Windows Mobile 5.0 ?
Does anyone know if Flex apps would work on PocketPCs, ie.
using Windows Mobile 5.0?
I haven't purchased one yet, so I can't test.
At this link, Adobe identifies Flash Player 7 for Pocket PC:
http://www.adobe.com/products/flashplayer_pocketpc/
This page identifies FlashLite 2.1 which seems to be based on
Flash Player 7
but includes Action Script 2.0 support:
http://www.adobe.com/products/flashlite/
Does anyone know for sure? We'd like to do some monitoring
& reporting
in Flex & make it available on the go for people, but
don't want to go buy the phones
until we know it is possible.
Thanks>I have a Windows Mobile 5.0 device (Verizon PPC 6700) and
just bought a
>small
> app that requires Flash 6.0. This site talks about 7.0
being the latest
> (and
> being backwards compatible). I installed the app by
placing the .cab file
> on
> my device and clicking on the file...which kicked off an
install program
> on the
> device and it seems to have installed correctly. I
rebooted the device
> but
> don't see any setting / programs for Flash 7.0 (although
it does show up
> in add
> / remove programs). Is this installed correctly? My
purchased app won't
> run
> and it's supported on this device as well....the
developer is blaming
> Flash and
> telling me it's not installed. The Flash 7.0 download
page indicates
> compatibility with Windows Mobile 5.0....any advice?
Can you see this on your device?
http://www.tomorrows-key.com/pdademo/mrttpda.htm
If so, then Flash is installed fine. Note, though, that Flash
content will
only play when viewed in a browser (html file) or when
embedded in an
application using ActiveX or similar. So if you are tryting
to play a swf
file, that won't work.
Steve -
GP login script causes windows to crash
We have a script that runs on all computers that opens our intranet. This script crashed Windows build 9926 overtime. Is there any way to fix this. Also I can't install the new build because the HP printers update fails everytime.
Hi,
How did you determined that it is the script caused this problem? If this problem caused by the script indeed, what't the function of this script?
For HP printer problem, it's probably a driver compatibility with new system problem, it would be better to contact HP support to confirm this issue.
Roger Lu
TechNet Community Support -
SnpsFTP not working with Windows domain/username
Hi All
We are using the following script to delete a file in FTP server. Works well with UNIX FTP server but fails with WINDOWS FTP server. Windows FTP username happens to be of format "domain/username". Is backslash causing the issue?
Jython
import snpsftp
ftp = snpsftp.SnpsFTP('#PVV_SFTP_SERVER', ur"#PVV_SFTP_USER", 'PVV_PLAINPWD')
ftp.delete ('#PVV_SFTP_FOLDER/#PVV_FILE_NAME');
ftp.close()
Error Message
org.apache.bsf.BSFException: exception from Jython:
Traceback (most recent call last):
File "<string>", line 2, in <module>
File "/apps/oracle/product/ODI11116_frsh/oracledi.sdk/lib/Lib/snpsftp.py", line 50, in __init__
self.connect(host, port)
File "/apps/oracle/product/ODI11116_frsh/oracledi.sdk/lib/Lib/snpsftp.py", line 58, in connect
self.ftp.connect(host, port)
File "/apps/oracle/product/ODI11116_frsh/oracledi.sdk/lib/Lib/ftplib.py", line 129, in connect
raise socket.error, msg
socket.error: (146, 'Connection refused')
Regards
Prasad JayakumarThere is a misunderstanding from my side. Windows server uses SFTP. Is there any script or ODI tools available to delete a file in remote server via SFTP. Thank you.
-
Big issue with playing Flash movie in IE 6.0 with Windows SP2
This is a multi-part message in MIME format.
------=_NextPart_000_006E_01C699E5.68468390
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I face a big issue with Flash 8 movies playing in IE6 with
Windows XP =
SP2, as follows :
I have created a menu with a Flash movie for each button and
a movie =
with scrolling images,
and when the HTML page opens we need to click once on the
button or the =
scrolling images=20
to make-it working.
see :
http://piscine-et-spa.cybergraphik.net
Useless to say that the same movies are playing well in IE6
with Windows =
SP1 !...
Anybody can help ?
Thanks.
------=_NextPart_000_006E_01C699E5.68468390
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1555"
name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DVerdana size=3D2>I face a big
issue with =
Flash 8 movies=20
playing in IE6 with Windows XP SP2, as follows
:</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>I have created
a menu with a Flash =
movie for each=20
button and a movie with scrolling
images,</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>and
w</FONT><FONT face=3DVerdana =
size=3D2>hen the=20
HTML page opens we need to click once on the button or the
scrolling =
images=20
</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>to make-it
working.</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>see : <A=20
href=3D"
ergraphik.net</A></FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Useless to say
that the same movies =
are playing=20
well in IE6 with Windows SP1 !...</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Anybody can
help ?</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana
size=3D2>Thanks.</FONT></DIV></BODY></HTML>
------=_NextPart_000_006E_01C699E5.68468390--This is a multi-part message in MIME format.
------=_NextPart_000_0018_01C69A05.5FA39D70
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
You've run into the famous IE Flash fix implemented in SP2.
Supposed to =
be a security thing .. yeah .. right. Upgrade Dreamweaver to
8.02 to =
get the fix implemented in the program or visit the technote
here:
http://www.adobe.com/devnet/activecontent/articles/devletter.html
Just don't forget to upload the Scripts folder and file. :)
--=20
Nancy Gill=20
Adobe Community Expert
BLOG:
http://www.dmxwishes.com/blog.asp=20
Author: Dreamweaver 8 e-book for the DMX Zone
Co-Author: Dreamweaver MX: Instant Troubleshooter (August,
2003)=20
Technical Editor: DMX 2004: The Complete Reference, DMX 2004:
A =
Beginner's=20
Guide, Mastering Macromedia Contribute=20
Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP
Web =
Development=20
"Pascal" <[email protected]> wrote in message =
news:[email protected]...
I face a big issue with Flash 8 movies playing in IE6 with
Windows XP =
SP2, as follows :
I have created a menu with a Flash movie for each button and
a movie =
with scrolling images,
and when the HTML page opens we need to click once on the
button or =
the scrolling images=20
to make-it working.
see :
http://piscine-et-spa.cybergraphik.net
Useless to say that the same movies are playing well in IE6
with =
Windows SP1 !...
Anybody can help ?
Thanks.
------=_NextPart_000_0018_01C69A05.5FA39D70
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2912"
name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>You've run into
the famous IE Flash fix =
implemented=20
in SP2. Supposed to be a security thing .. yeah ..
right. =
Upgrade=20
Dreamweaver to 8.02 to get the fix implemented in the program
or visit =
the=20
technote here:</FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><A=20
href=3D"
http://www.adobe.com/devnet/activecontent/articles/devletter.html=
">
http://www.adobe.com/devnet/activecontent/articles/devletter.html</A></=
FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Just don't
forget to upload the Scripts =
folder and=20
file. :)</FONT></DIV>
<DIV><FONT face=3DArial
size=3D2></FONT> </DIV><FONT
face=3DArial =
size=3D2>
<DIV><BR>-- <BR>Nancy Gill <BR>Adobe
Community Expert<BR>BLOG: <A=20
href=3D"
asp</A>=20
<BR>Author: Dreamweaver 8 e-book for the DMX
=
Zone<BR>Co-Author: =20
Dreamweaver MX: Instant Troubleshooter (August, 2003)
<BR>Technical=20
Editor: DMX 2004: The Complete Reference, DMX 2004:
A Beginner's=20
<BR>Guide, Mastering Macromedia Contribute
<BR>Technical Reviewer: =
Dynamic=20
Dreamweaver MX/DMX: Advanced PHP Web Development </DIV>
<DIV> </DIV>
<DIV></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT:
5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Pascal" <<A=20
href=3D"mailto:[email protected]">[email protected]</A>>
=
wrote in=20
message <A=20
=
href=3D"news:[email protected]">news:e7r16q$7ko$1@forums=
.macromedia.com</A>...</DIV>
<DIV><FONT face=3DVerdana size=3D2>I face a big
issue with=20
Flash 8 movies playing in IE6 with Windows
XP SP2, as =
follows=20
:</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>I have
created a menu with a Flash =
movie for=20
each button and a movie with scrolling
images,</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>and
w</FONT><FONT face=3DVerdana =
size=3D2>hen the=20
HTML page opens we need to click once on the button or the
scrolling =
images=20
</FONT></DIV>
<DIV><FONT face=3DVerdana size=3D2>to make-it
working.</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>see :
<A=20
=
href=3D"
ergraphik.net</A></FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Useless to
say that the same movies =
are playing=20
well in IE6 with Windows SP1 !...</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana size=3D2>Anybody can
help ?</FONT></DIV>
<DIV><FONT face=3DVerdana
size=3D2></FONT> </DIV>
<DIV><FONT face=3DVerdana =
size=3D2>Thanks.</FONT></DIV></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0018_01C69A05.5FA39D70-- -
Success with Arch, Fail with Windows
So I successfully partitioned Linux, and got everything working(internet, drivers, the whole shebang), as a dual boot with windows. However, now when I try to boot into Windows, it gives a /boot/bcd error, saying that I should use an installation disk to repair it. When I try the installation disk, it says that the disk is not compatible with this version of windows.
I know that I partitioned the HHD correctly, and here is the output of lsblk:
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 931.5G 0 disk
├─sda1 8:1 0 100M 0 part
├─sda2 8:2 0 752.3G 0 part
├─sda3 8:3 0 1007K 0 part
├─sda4 8:4 0 100G 0 part /home
├─sda5 8:5 0 3G 0 part [SWAP]
└─sda6 8:6 0 50G 0 part /
sdb 8:16 0 232.9G 0 disk
└─sdb1 8:17 0 232.9G 0 part
sr0 11:0 1 1024M 0 rom
Please help, I have a LOT of extremely important data on Windows, so please reply quickly and accurately. I don't mind if I have to delete Arch to get windows working again, windows is REALLY important, so please help me save it!
Thank you for your help...FrigidDev wrote:
Ok, I'm really sorry that I didn't respond sooner, but I will run those tests, and please reply as quicky as possible!
I'm using Windows 7 Ultimate, dual booted with Arch Linux.
I used by BIOS to boot into the Arch Linux iso cd I created, and then installed it from there, and now I have Grub to boot into things.
fdisk -l /dev/sda
Disk /dev/sda: 931.5 GiB, 1000204886016 bytes, 1953525168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0A569326-EF92-4480-AA6F-DA1BBB621D7B
Device Start End Size Type
/dev/sda1 2048 206847 100M Microsoft basic data
/dev/sda2 206848 1577846467 752.3G Microsoft basic data
/dev/sda3 1577846784 1577848797 1007K BIOS boot partition
/dev/sda4 1577848832 1787564031 100G Linux filesystem
/dev/sda5 1787564032 1793855487 3G Linux filesystem
/dev/sda6 1793855488 1898713087 50G Linux filesystem
I thought it would be safe because I already had successfully installed Bactrack 5 R3 into it's own seperate partition. I soon tired of seeing the script kiddy community, so I decided to go to Arch. So, I removed backtrack from the partition(Windows disk managment), so that it was about 179 Gb of free space. I then made sure that windows booted(it did), and then popped in my arch linux cd. I installed arch(no easy task, but this OS is definitely worth it), and then, for reassurance, booted into windows. When I tried(selected to boot from GRUB menu), I got the /boot/BCD error, and when I tried use the installation disk, and go into repair mode so that I can access the cmd(only half-way decent thing about windows, I think), it says that "this version of system installation disk is not compatible with your version of Windows". The problem with that, is that I tested it before I installed Arch, and it worked fine.
Thanks again.
That a guid partition, not an mbr one. But win7 should be able to boot from that, I think. Grub has some sort of ability to boot windows with grub bootloader. You're not using a 64-bit version of Windows installer on a 32-bit Windows? You can boot from the 64-bit CD to override that.
Maybe you are looking for
-
How can I resize an image in Preview?
There has been lots of discussion about Preview but non really answers my question. If I resize an image and duplicate it the duplicate over rides the settings of the original - so now I have 2 images the same size which is not what I want. I want th
-
Hi All, I am trying to convert data from internal table to Binary and then taking the same in the XML format for Display. Steps 1 : from internal table to Binary conversion. create & set encoding lo_encoding = lo_ixml->create_encoding(
-
i have a field in a table that stores the email address; this field is manually populated, so almost anything can be put into it; the field is 100 characters long; one one particular record, someone entered: "[email protected] [email protected]" into
-
REST and content wrapped inside !CDATA in xml feeds
I would like some assistance in extracting jpg images for a gallery inside !CDATA in REST feeds like http://saturn.jpl.nasa.gov/news/latest-cassini-huygens.xml - source looks like: <item> <title><![CDATA[NASA Cassini Images May Reveal Birth of a Satu
-
Only right side speaker on my ipod touch works
I have an I Pod touch, only one side of the speakers work. Where do I get it repaired? Do I send it off and where?