SYSLINUX Boot Windows from dm-raid device

Hello,
I have Arch Linux and Windows 8.1 installed on my PC and I boot Arch with syslinux. I tried to configure it to boot my windows but I failed. Now I need your help.
I do have 3 HDDs and one SSD. Two of the HDDs are a FakeRAID 1 (Mainboard Gigabyte 880GMA-UD2H) have a look:
# NAME FSTYPE LABEL UUID MOUNTPOINT
# sda promise_fasttrack_raid_member
# └─pdc_bhfhachjc
# └─pdc_bhfhachjcp1 ntfs Daten 5C588E5F588E3832 /media/Daten
# sdb promise_fasttrack_raid_member
# └─pdc_bhfhachjc
# └─pdc_bhfhachjcp1 ntfs Daten 5C588E5F588E3832 /media/Daten
# sdc
# └─sdc1 ntfs 1E1EED741EED44FD /mnt/hidden (not mounted by default)
# sdd
# ├─sdd1 ext4 8e16936c-938d-4552-bb3e-1cb51117d498 /boot
# ├─sdd2 ext4 516a27f1-1bf3-4ca8-86d3-212fa430d831 /
# ├─sdd3 ext4 e5d9d69e-b9d1-4ce3-8bb9-11292fb883d0 /home
# └─sdd4 ntfs LinuxUndBackup 69E0D72E15010D81 /media/LinuxUndBackup
I can choose in BIOS to boot from Disk2 (sdd) and then my Arch Linux boots or I choose the Disk0 (sda+sdb as raid) and the my Windows boots.
The Windows boot partition is D: (sda+sdb as raid) but Windows itself is installed on C: the SSD (sdc). I tried a lot but I am not able to boot Windows with syslinux.
Thaks for help

my syslinux.cfg
DEFAULT arch
PROMPT 0
TIMEOUT 50
KBDMAP de.ktl
UI vesamenu.c32
MENU TITLE Startauswahl
MENU BACKGROUND splash.png
MENU COLOR border 30;44 #40ffffff #a0000000 std
MENU COLOR title 1;36;44 #9033ccff #a0000000 std
MENU COLOR sel 7;37;40 #e0ffffff #20ffffff all
MENU COLOR unsel 37;44 #50ffffff #a0000000 std
MENU COLOR help 37;40 #c0ffffff #a0000000 std
MENU COLOR timeout_msg 37;40 #80ffffff #00000000 std
MENU COLOR timeout 1;37;40 #c0ffffff #00000000 std
MENU COLOR msg07 37;40 #90ffffff #a0000000 std
MENU COLOR tabmsg 31;40 #30ffffff #00000000 std
MENU VSHIFT 10
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/sdd2 rw
INITRD ../initramfs-linux.img
LABEL windows
MENU LABEL Windows 8.1
COM32 chain.c32
APPEND mbr:0xFE02F000
and the "0xFE02F000" I got from
hexdump -s 440 -n 4 -e '"0x%08x\n"' /dev/xy
where I tried everything for xy (sda, sdb, dm-1, dm-0, mapper/pdc_bhfhachjc ...)
I also tried APPEND hd0 1

Similar Messages

  • Boot Windows from VHD

    Hey.
    I have to work with Windows Server 2012 for a university project but my laptop doesn't have Intel VT-x. I know that it's possible to boot Windows from a VHD file, in Windows I just need to add the file.vhd to MBR.
    Can I boot a VHD file with Windows on it from syslinux? If yes how I install Windows on the file using Linux?
    Thanks in advance,
    Hugo Rodrigues.

    GloW_on_dub wrote:Not sure to understand, why not use virtualbox ?
    Because my laptop doesn't support Intel VT-x and Windows Server 2012 it's only available in x86_64 and I only can virtualize x86 systems
    ayekat wrote:
    It's very unlikely that you can simply boot directly from a VHD file without some sort of hypervisor (since there is a non-negligible amount of virtualisation going on here).
    According to this, you are not really "adding the file to the MBR", but rather adding an entry to the Windows-bootloader to take the file into account. I suppose that behind the scenes it's loading some kind of Microsoft Virtual blabla to launch the system that's on the VHD.
    This was just to clarify; I cannot tell you whether it is possible from syslinux or GRUB, but it will probably invole a lot of hacking, since you need to load some hypervisor like VirtualBox, VMWare or at least qemu/KVM.
    I know it's possible to do it with a VHD with a Linux OS. Look up in here
    ayekat wrote:The fact that your hardware does not support hardware virtualisation (Intel VT-x), is annoying...
    Yeah it kinda sucks
    Last edited by Hugao (2014-05-07 14:53:44)

  • Dual boot Windows from Toshiba Recovery CD

    Is it possible to dual boot Windows from a Toshiba Recovery CD?
    I have a Satellite A45-S120 with a Toshiba Windows XP Recovery CD.
    I have XP installed on one partition.  I partitioned the hard drive using GParted, and installed Linux on several partitions.  I want to install XP on a 2nd partition, so I can dual boot 2 versions of Windows from the same hard drive.
    When I go to install Windows, the Toshiba Recovery CD says the entire hard drive will be deleted.  Is this the case, or will it only reformat a partition?  I went into GParted and was able to change the first Windows XP ntfs partition to hidden, and now successfully can not boot Windows from the Grub Boot Manager.  However, I worry that if GParted can see the partition, then the Toshiba Recovery CD might be able to.  In addition, the Linux ext partitions could not be set to hidden.  Will the Toshiba Recovery CD overwrite all the partitions, or can it maybe only install itself on the one ntfs partition available?
    I read at http://www.vistax64.com/general-discussion/193560-install-xp-toshiba-recovery-disk-d.html that there may be a way possible, any advice?
    Specs are:
    1.26 Ghz Celeron
    1.256 GB Ram
    40 GB HD

    Satellite A45-S120 
    I want to install XP on a 2nd partition,
    So far as I know, that recovery disc will install nothing. It will restore the entire hard drive (master boot record and all) by writing all the bytes that were on the original drive (byte-by-byte). 
    -Jerry

  • Dual boot windows from USB via grub?

    HI all:
    I recently had a motherboard failure on an existing PC on which I dual-booted Windows XP and Gentoo.  I replaced that box with a new HP PC preloaded with Vista.  Wiped that immediately, and installed ARCH.  But, I would like to also boot XP, and, since my old hard drive is still OK (I have it in an external USB adapter), I was thinking that I might configure grub to point at an external USB drive like this:
    # Windows XP
    title Windows XP
    root (hd1,0)
    makeactive
    chainloader +1
    where "hd1" (I hope) would point at my old drive, now connected via USB.  In this way, I am really booting from my HDD (where grub lives), but "chain loading" from my USB external.  Can this work??
    -dvh

    dvh wrote:
    I configured as shown in the wiki, but when I try to boot XP, I get a message that says something to the effect of "missing or corrupted <windows root>\system32\ntoskrnl.exe".  I checked the disk and it seems to be there and OK.  I get the feeling that it is either NOT finding the hard disk (or partition) or it cannot interpret the NTFS file system (but grub was able to boot this before,...).  So, two questions...
    1) how do I know what the designator for the external USB hard disk will be?  I have speculated that grub will find it at "hd1", but maybe not?
    2) does the target disk NEED a windows boot loader?  as I said earlier, I used to dual boot it, so there is a grub loader on that disk also.
    ...ok, three questions...
    3) anything else that I should consider??
    Thanks again for any help.
    -dvh
    1) i don'tknow a way to check this, but the
    missing or corrupted <windows root>\system32\ntoskrnl.exe message comes from the windows boot process,
    so it seems grub is configured correctly.
    The main problem is that BOTH grub and windows boot need to have the correct settings.
    Windows takes the settings for boot from the boot.ini file in the root of C:\ , and that probably needs to be changed.
    You will need some way to get read/write access to the windows C-drive partition.
    Install ntfs-3g in archlinux (see NTFS_Write_Support ) and post the contents of boot.ini .

  • SOS!! SOS!! HELP ME!!! The mobo won't load/boot windows from the SCSI Drive!!! HELP!!!

    Ok so i got the board and the crucial RAM with a new enermax 450W power supply. I am running the 1MB A64 3400+ CG on this board.
    I am using the Seagate cheetah 15.3K SCSI drive with a LSI 21320 SCSI controller
    (http://www.lsilogic.com/products/ultra320_host_bus_adapters/lsi21320.html )
    I am also running a IDE drive on the primary IDE channel set as slave.
    I went to the bios and changed the boot order to use the SCSI HD as the first boot device and proceed to intall windows XP. I pressed F6 to install the SCSI drivers and everything went fine until the reboot after all the files has been copied. I would get an error message saying something like:
    "NTLDR cannot find boot drive etc"
    I have no idea what to do...i tried everything and i am 100% sure that its not my SCSI HD or SCSI card.
    PLZZZZ HELP ME!!!!!!! PLZZZ HELP!!!!!

    Found it set your boot order to bootable add in card first in the screen shown here courtesy of HardOCP : http://www.hardocp.com/image.html?image=MTA4MjM1MDg3NWxrOFNyWHJRcTNfMl8yNl9sLmdpZg==
    That should do ya.
    Also be sure that the LSI controller is configured to use the Seagate drive to boot from. There is usually an option of which channel to boot from in the HBA BIOS.

  • [SOLVED] Booting Windows from a desktop shortcut

    I'm looking for a script or method that changes the default menu entry for the bootloader and reboots the system, but when I reboot (or shutdown) from Windows, Arch Linux becomes the default entry.
    Maybe what I'm looking for is a way to save the previous selection as the default. Is this possible?
    Last edited by DSpider (2012-04-23 09:50:23)

    Ah, now I remember. GRUB Legacy. It's been so long since I last used it... About 3 years I think. It was great. It did what it was meant to do, and did it well. I use Syslinux now.
    Here's something interesting:
    http://www.syslinux.org/wiki/index.php/Doc/extlinux
    5. EXTLINUX now has "boot-once" support. The boot-once information is stored in an on-disk datastructure, part of extlinux.sys, called the "Auxillary Data Vector". The Auxilliary Data Vector is also available to COMBOOT/COM32 modules that want to store small amounts of information.
    To set the boot-once information, do:
    extlinux --once 'command' /boot/extlinux
    where 'command' is any command you could enter at the SYSLINUX command line. It will be executed on the next boot and then erased.
    I should probably reboot, press Tab at the "Windows XP" entry and jot it down on a piece of paper or something (on my phone, most likely).
    Last edited by DSpider (2012-04-23 09:52:22)

  • Booting Windows from external drive

    Hi all. I recently got an external Firewire 400 drive for backups, and it's just occurred to me that I could possibly run Windows off of it and reclaim some 60GB of internal hard drive space. I would like to know if this is possible. Yes, I know that Windows supposedly cannot boot from an external drive, but I have read reports of people booting it off of USB drives, and wonder if a similar tact can be tried for Firewire for greater I/O speed. I also know that OS X can be booted from Firewire, so it seems it should be possibly for Windows.
    My guess as to how to do this would be to. . .
    - use dd to do a bit-by-bit copy of the Windows partition on my internal drive to a partition on the external drive
    - modify the boot.ini on the external so that it points to the correct location
    - modify a .cfg file to load Firewire drivers earlier in the boot process (?)
    The first step is trivial, and the second will be easy since the Firewire drive will appear in the same place unless I have another external or CD attached. What I'm not sure how to go about doing is the third - which .cfg? I can probably figure out the drivers otherwise.
    Finally: has anyone else done something like this? If so, links/hints? Thanks.

    i recommend looking into rEFIt:
    I've looked at rEFIt before (because I really didn't want to go through all that hacking), but I think the problem still exists: Windows XP does not support EFI (and neither will Vista), so there's still the problem of USB/Firewire drivers loading at boot time. From
    http://forums.macrumors.com/archive/index.php/t-224050.html
    some people got rEFIt on the external drive, and that helped to dual boot on that drive, but it still required hacking the Windows CD (it's the registry, that I think goes into the installation itself, that's hacked). It's a Window's problem.
    you should be able to do this using esata external
    drives with a esata express card for native speeds.
    If the expresscard includes drivers that support booting, it may work (hence the mention of the Nitro AV card). I know that not all cards do, and I haven't heard anyone had success with it. But, it would be cool if someone decides to get such cards and try ; )

  • Not able to use Mac after booting windows from bootcamp!

    Hello,
    In my Mac mini, I dual booted it by installing windows on it using bootcamp!
    Could you help me how to go to mac partition and i am also not able to use windows!
    Pls help
    Punit Khatri
    +91-9925326095

    Hi there:
    You may be able to start up the Mac in such a way as to look
    for an OS X volume at the same time using a keyboard comb-
    ination at startup... Press key(s) immediately after start tone.
    Press Option (opt) key during startup will start in Startup Manager
    where you can select an OS X volume or network volume to run.
    {There is also a way to choose a hardware test for diagnostic
    purposes on startup, too. Some macs have features in the OS
    to include a 'recovery' mode on later models.}
    • Startup key combinations for Intel-based Mac:
    http://support.apple.com/kb/HT1533
    PS: if you decide to remove Windows, you should also
    consider Boot Camp to remove the partition it made.
    Hopefully this helps.
    Good luck & happy computing!

  • How do I install windows from USB on Macbook pro 3,1

    How do I install windows from USB on Macbook pro 3,1 ?
    My Superdrive is far from super anymore, So I managed to make an extern drive with both Snow Leopard Partition, Lion Partition (Since I thought Boot Camp 4,1 would bypass my problem), and Time Machine partition, Since I got 1. USB drive that works.
    - My general issue is that Boot camp Refuse to see the USB drive - (Many "how to"´s though show how they install windows perfectly through the USB port, but they use airbooks!, and somehow the Macbook will not ?)
    I fix that issue with >> rEFIt <<, that suddenly makes it possible for the Mac to see the USB drive, and partitions.
    Which was very strange since I could use an extern HD with the whole installation to start up wipe the whole disk, and then use my extern drive with partitions to install Snow Leopard and get everything as before with timemachine. Very smart with timemachine, but very lucky that I have a extern drive that runs the whole system and that I made the partitionsdrive before. DVD-drives are the past!
    Point: So the original system could see the Snow Leopard installation USB disk, but boot camp cannot find the USB drive ?????????
    After rEFIt I booted and then I got this error:
    Starting bootmgr.efi
    Error: Unsupported while loading bootmgr.efi
    I read it could be a problem with the Windows software, so I purchased an extern DVD drive, Used Disk Utility to make an image (.DMG), then used another program to convert the .dmg to .ISO.
    Then downloaded a trialversion of vmWare fusion, and installed windows from the iso. Everything worked brilliant, except and that is why I want to use boot camp, Running windows in another program while running the mac system is a little hacky and slow.
    Point: Nothing is wrong with the windows software, and windows runs fine.
    I then downloaded the Windows DVD / USB Tool, reformatted a USB drive as Master Boot Partition, MS-Dos Fat partition, then after lots of struggling got Vmware, windows to recognise the USB drive. And installed the windows software on the USB drive, as all the walkthroughs recommend.
    Then I tried for "fun"! to just install windows form the extern USB drive, and with rEFIt it will see the drive and start to do something, but then when it starts to boot, the screen just turns into black and nothing happens, and you can see the drive does NOTHING. (I think it is because I only have 1 USB drive and the Extern DVD drive does not get enough power, but again the mac refuse to see the USB drive unless it is a Snow Leopard installation USB-drive!
    Well trying to install Windows Ultimate 64 Bit, which worked great in vmware, because that program installed from the .ISO file that I had on the desktop, but trying with Boot Camp did not get anywhere, what kind of **** program is this boot camp anyway!?, but then I try the new USB disk with windows made from windows, thorugh rEFIt, it sees the disk and then starts and then I get this ERROR:
    rEFIt - Booting Legacy OS
    Starting legacy loader
    Using load option ´USB´
    Error: Not found returned from legacy loader
    Error: Not found from LocateDevicePath
    (x 9 times)
    Error: Load Error while (re)opening our installation volume
    The firmware refused to boot from the selected volume. Note that external hard drives are not well-supported by Apple´s firmware for legacy OS booting
    (Hey Apple please send out a updated firmware that fix this issue?!)
    So how do I do it ? - or is the only option to fix the partition running the system from the extern disk. Format the whole drive in 2 from the "bottom" and install windows and then afterwards install Mac on the other partition ?  Or just run windows on the mac and forget about mac software ? What a stupid solution...

    There are strings in the pliist file to add other Macs so that you can use some USB-DVD drives.
    This is 5 page thread, so a little more 'meat' to it:
    https://discussions.apple.com/thread/3410900?start=60&tstart=0
    And on PC booting Windows from a USB DVD to do the install is usually a piece of cake, sometimes you just need to specify that USB in the BIOS boot order and sometimes select via F12 (or another Fkey) and that is it.
    What you have here seems to be everything and everyone is excluded unless there is a  mac-model device ID string that specifies yes.  An unnecessary hurdle.

  • Can't boot windows after creating new MS-DOS (FAT) partition

    I created a new MS-DOS (FAT) partition on Yosemite, and now I am unable to access my windows bootcamp partition.
    - I can attempt to boot into windows from Yosemite however after a long while, I am prompted with "no bootable device".
    - The option to boot windows from the startup manager is no longer visible.

    It still shows the bootcamp partition with windows.
    EDIT: Creating the new FAT partition did seem to create another partition which is visible when looking at the partition layout; the other partition is 1.04gb; format "Free Space". Apparently that's from bootcamp - hadn't noticed before.
    I took some screens to show what I mean ("WINDOWS EXT" is the new partition I created):
    - https://dl.dropboxusercontent.com/u/23413810/Apple/new%20fat.png
    - https://dl.dropboxusercontent.com/u/23413810/Apple/new%20fat%20details.png
    - https://dl.dropboxusercontent.com/u/23413810/Apple/created%20alongside%20fat.png
    - https://dl.dropboxusercontent.com/u/23413810/Apple/windows%20bootcamp.png
    - https://dl.dropboxusercontent.com/u/23413810/Apple/windows%20bootcamp%20details. png

  • Run Windows from an external drive......

    I want to boot Windows from an external drive. Why would Apple not allow this to be done. It makes no sence to me at all. You would still have to run Windows from the intel-Mac. To make you waste good MacOS space on the internal drive is a shame. I know... I can remove Windows and re-gain my "lost" space. However, my kid needs to run some school programs that are in the Windows format only. I hope that someday Apple will let BootCamp run from an external drive also.
    Apple //GS

    I run OS X from one drive, have my home account on a second drive and improves performance.
    VMware image is on non OS X boot drive which I think helps so there isn't I/O contention.
    OS X shouldn't really be doing much paging regardless of what you are running if you have enough memory. A lot of system and application paging 'maps' to VM, and you can't disable or want to with either Windows or OS X. The Windows \C: is going to be wherever the VM client is located.
    Now, whether VMware or Parallels running as an application is paging and using OS X swap, that just depends on your system memory, and goes to OS X boot drive like any application.
    OS X can run off external and you could install some windows programs to use an external drive (FAT or NTFS partition) to free up space also. Or use Parallels and put the VM there.

  • Running boot camp from a HDD in optical bay and OS X from an SSD in hard drive

    Hi, I was wondering if it is possible to boot windows from the optical bay location on a macbook pro as I am looking in to moving my current 500GB hard drive to the optical bay and installing a 256GB SSD to where the current HDD is and using this to boot Mac OS X.
    Regards,
    nicholls1507

    yes.

  • Trying to boot arch from win7 with EasyBCD; "boot device not found"

    EDIT: title was 'Dual boot with Win7, easybcd + syslinux, getting "Boot error"'. Narrowed down the issue to something unrelated to Arch, and felt this was more accurate. The Arch install is sound, it's getting win7/EasyBCD to load it that's the issue.
    I got a new work computer and am trying to recreate my formerly successful setup, which I documented here some time ago. Unfortunately... I'm having issues. Just a note up front from scouring the internet for ideas: I cannot use syslinux (or any other bootloader) to chainload Win7 vs. the other way around! The computer drive is encrypted with McAfee Endpoint Encryption, and doing anything whatsoever with the MBR from outside of Windows will brick my computer. Just wanted to add that, as almost all issues involving dual boot inevitably bring about the suggestion to "just chainload windows from grub/syslinux/etc."
    With that out of the way, here's the process I used:
    drive setup
    Here's the partition scheme:
    - /dev/sda1: SYSTEM (pre-existing)
    - /dev/sda2: C:, Win7 (pre-existing)
    - /dev/sda3: /boot, ext2 (created)
    - /dev/sda4: /, encrypted Arch root, cryptsetup/ext4 (created)
    My process for creating the partitions is as follows:
    - shrunk C: down from the Win7 built-in partition utility
    - created two unformatted partitions with no drive letter using Minitool Partition Wizard, setting the partition ID to 0x83 for both
    - booted from USB drive of the Arch installation .iso (downloaded Friday 5/29)
    - booted x86_64 arch
    # fdisk -l
    Disk /dev/sda: 238.5 GiB, 256060514304 bytes, 500118192 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: dos
    Disk identifier: 0x1e6513b3
    Device Boot Start End Sectors Size Id Type
    /dev/sda1 * 2048 2101247 2099200 1G 7 HPFS/NTFS/exFAT
    /dev/sda2 2101248 177278975 175177728 83.5G 7 HPFS/NTFS/exFAT
    /dev/sda3 177278976 177541119 262144 128M 83 Linux
    /dev/sda4 177541120 500103167 322562048 153.8G 83 Linux
    # modprobe dm_crypt
    # cryptsetup -c aes-xts-plain64 -s 512 -h sha512 -i 5000 -y luksFormat /dev/sda4
    # cryptsetup open /dev/sda4 root
    # mkfs.ext4 /dev/mapper/root
    # mkfs.ext2 /dev/sda3
    installation
    I just followed the Arch installation guide but documented my steps to a text file just to be sure...
    # mount /dev/mapper/root /mnt
    # mkdir /mnt/boot
    # mount /dev/sda3 /mnt/boot
    ### connect to internet
    # pacstrap /mnt base
    # genfstab -p /mnt >> /mnt/etc/fstab
    # arch-chroot /mnt
    # echo arch_zbook > /etc/hostname
    # ln -sf /usr/share/zoneinfo/America/Chicago /etc/localtime
    ### uncomment en_US.utf-8 in /etc/locale.gen
    # locale-gen
    # echo LANG=en_US.UTF-8 > /etc/locale.conf
    ### add encrypt before "filesystem" in /etc/mkinitcpio.conf hooks
    # mkinitcpio -p linux
    # passwd
    # pacman -S syslinux
    # cp -r /usr/lib/syslinux/bios/*.c32 /boot/syslinux
    # extlinux -i /boot
    ### the above echoes "/boot is device /dev/sda3"
    Then I edited /boot/syslinux/syslinux.cfg:
    LABEL arch
    MENU LABEL Arch Linux
    LINUX ../vmlinuz-linux
    APPEND root=/dev/mapper/root cryptdevice=/dev/sda4:root crypto=sha512:aes-xts-plain64:512:: rw
    INITRD ../initramfs-linux.img
    EDIT: I deleted the contents of /boot, reinstalled syslinux, linux, and mkinitcpio, and repeated the above with `extlinux -i /boot/syslinux`, noting that syslinux.cfg points to ../vmlinuz-linux. Same result.
    Just to double check proper syslinux setup, here's the dir contents:
    # ls /boot
    initramfs-linux-fallback.img
    initramfs-linux.img
    ldlinux.c32
    ldlinux.sys
    lost+found
    syslinux
    vmlinuz-linux
    # ls /boot/syslinux
    cat.c32
    chain.c32
    cmd.c32
    cmenu.c32
    config.c32
    cptime.c32
    cpu.c32
    cpuid.c32
    cpuidtest.c32
    debug.c32
    dhcp.c32
    disk.c32
    dmi.c32
    dmitest.c32
    elf.c32
    ethersel.c32
    gfxboot.c32
    gpxecmd.c32
    hdt.c32
    hexdump.c32
    host.c32
    ifcpu64.c32
    ifcpu.c32
    ifmemdsk.c32
    ifplop.c32
    kbdmap.c32
    kontron_wdt.c32
    ldlinux.c32
    lfs.c32
    libcom32.c32
    libgpl.c32
    liblua.c32
    libmenu.c32
    libutil.c32
    linux.c32
    ls.c32
    lua.c32
    mboot.c32
    meminfo.c32
    menu.c32
    pci.c32
    pcitest.c32
    pmload.c32
    poweroff.c32
    prdhcp.c32
    pwd.c32
    pxechn.c32
    reboot.c32
    rosh.c32
    sanboot.c32
    sdi.c32
    sysdump.c32
    syslinux.c32
    syslinux.cfg
    vesa.c32
    vesainfo.c32
    vesamenu.c32
    vpdtest.c32
    whichsys.c32
    zzjson.c32
    EasyBCD and boot attempt
    At this point, exited the arch-chroot, unmounted/closed my partitions, and rebooted into Win7. Using EasyBCD, I added a entry for a syslinux bootloader, pointing it to "Partition 3 (Linux - 128MiB)."
    I reboot, get the EasyBCD menu, but then the lone words "Boot error" on a black screen. Any key press takes me to some sort of BIOS boot thingy which tells me to "Please install an operating system!" I think this is something built into the laptop BIOS, not anything from the syslinux side. Selecting "Boot existing OS" from the Arch install USB doesn't give me any options at all.
    From what I can tell, I'm using the same procedure that I ended up with on this former troubleshooting exercise.
    Thoughts
    I'm really struggling to understand what I'm doing wrong. I originally had a couple variations on logical/extended partitions since I need my eventual setup to hold a shared TrueCrypt partition so I can access my work files from both Win7 and arch. I tried /boot as primary and Arch/TC as logicals, as well as a primary TC partition with boot/root as a logical drive combination. I've simplified to just primary partitions (as shown above) to troubleshoot.
    It's quite difficult to troubleshoot as I don't know if this is an installation issue or an EasyBCD one. Is there a way to manually try and boot my HD arch install from the install USB? I wanted to try that using the "Boot existing OS" option, but am wondering if it fails since only /dev/sda1 features a bootable flag and it's encrypted so only the HP BIOS can handle it? I thought about making /dev/sda3 bootable, but from my reading I can only have one bootable flag on a Windows system.
    On that note, I checked my BIOS settings and the MBR is set to "Legacy mode" vs. the othe UEFI alternatives, so I don't think that's an issue. I also used blkid to confirm that it's using an MBR (output was "dos").
    I will try UUIDs in /etc/fstab and syslinux next, as there are some other posts (example) talking about this as a potential issue (and, indeed, I sometimes get my HD as /dev/sdb* when booting from the arch USB drive. I can also try grub2 in case it's a syslinux issue.
    Thanks for any ideas/suggestions. Does anything look awry in my description/setup above? I can chroot and do stuff just fine... so I think the install appears to be sound; it's just booting it!
    Last edited by jwhendy (2015-06-06 04:38:09)

    A bit of progress, though this couldn't be much more awful in my opinion. Installed Arch to an sdcard to use as a bootloader, only to find that I can't boot from an sdcard, even though the HP docs say there's an sdcard boot option in the BIOS (which there's not). If the BIOS were in UEFI mode, there is an sdcard option listed in the boot order, but not in legacy mode. Sigh.
    I don't have another sdcard laying around that's big enough to install Arch on, as I'm using my sole 8g drive for the installation media (and no optical drive). Sigh.
    I did, however, through trial and error get my sdd arch install to boot using the installation drive's "boot existing OS" option! Took me a while to figure it out. In my opinion the drive/partition numbering is quite odd. Using the Hardware Information tool, the usb stick shows up as the first drive (so I'd assume hd0), but it can't be as "hd0 3" got me into the sdd installation. I'd have assumed hd0 0 was /dev/sda1, but that must be incorrect, as hd0 3 is /dev/sda3.
    So, where I'm at now:
    - going to re-partition how I originally intended (with truecrypt shared storage as a primary partition and boot/root as logical partitions)
    - reinstall arch
    - try to boot using the above procedure from the installation media
    If that goes well, I'll try to find some teensy tiny usb stick to use as a bootloader device unless someone has any insights on why I can't boot by chainloading from Windows. I think at this point I've narrowed it down to a BIOS or drive numbering or EasyBCD issue, so maybe this post isn't a good fit for the Arch forums after all. Sorry for all the noise/updates... just wanted to provide the updated information as I uncovered it.
    Thanks if you have any ideas or things I could try.

  • [SOLVED] Unable to Boot Windows 7 from GRUB

    I recently reinstalled Arch onto my laptop (Lenovo Thinkpad t520) and have been having problems with Grub. For the last week I've been having trouble getting it to run grub at boot at all, only being able to run windows 7 by flagging it as the bootable drive. The other day I finally got it to boot into grub, and from grub I can boot into Arch. However, I can not boot into windows 7 through grub. When I attempt to, it throws an error:
    Invalid EFI file path
    I'm somewhat new to arch, and especially new to efi bootloading and such. Right now the only way I can get into windows is either booting from the arch install disk > boot other os and specifying partition 2 (where I have windows installed) or by pressing f12 at boot. When I do this (not sure what the term is, if anyone knows please tell me), it brings up a menu asking where I want to boot with "arch_efi" "cd drive" "Hard drive" etc. I choose hard drive and it will then boot to windows by default. Booting normally takes me to grub where I can boot into arch but not windows. If there's any more info you need please let me know and I'll try to provide it. Thanks in advance.
    Also, here is my current partition setup
    /dev/sda1 /boot/efi
    /dev/sda2 Windows7
    /dev/sda3 Extended partition containing sda 5,6, & 7
    /dev/sda4 swap
    /dev/sda5 /boot
    /dev/sda6 /
    /dev/sda7 /home
    UPDATE
    Terminator seems to be right (still on a roll!), so I wiped the partition I had grub on, removed grub, and installed syslinux. Now I have another problem that I'm hoping can be solved in the same thread to avoid another. It boots to syslinux no problem, and I can boot to windows from there all good, but when I select arch I get:
    Root device mounted successfully but /sbin/init does not exist
    I haven't been able to look for solutions too much on my own, but any help would be appreciated, thank you.
    Last edited by IamFuzzles (2012-08-22 04:20:56)

    Terminator wrote:If I understand it correctly, what you are trying is impossible: you are trying to boot windows using UEFI on a disk with MBR partitioning. Windows 7 only supports UEFI on discs with GPT partitioning but AFAIK, extended partitions only exist in MBR partitioning.
    i also saw this in the arch wiki, but i have a brand new lenovo ideapad y570 running windows 7 64-bit that i'm in the process of setting up for someone, and it has what i think is an efi system partition but the disk uses mbr partitioning.  does anyone know why this might be, or is there a way i can verify that the system is actually being booted via bios-mbr?
    Last edited by e_tank (2012-08-21 11:56:15)

  • Boot Windows AND FreeBSD from my MacBook Pro 8,3 using an external DVD drive. I'm considering to remove my DVD-ROM and replace it with an SSD drive. That doesn't seem to work. Why not?

    As the title says, I'm attempting to boot off my favorite operating systems, Mac OS X, Windows 7 and FreeBSD from an external DVD drive. However, for some odd reasons, booting the Windows DVD and FreeBSD 9.1 install DVD from the external drive does not seem to work. I was able to create a bootable USB with the Windows installer, but whenever I attempt to do the same with FreeBSD, I only get an error message that says "No bootable device -- press any key to restart." Is this a limitation that Apple deliborately created? If so, why won't Apple let its customers do whatever they please with their computers, considering that customers who want to change the hardware and/or operating systems knows what he is doing, without having to worry about some silly Apple limitations?
    If I sound rude, I apologize for that, as no impoliteness is intended from my side.
    In advance, thanks. Have a wonderful day, everyone.

    That is only partially correct at best.
    When you are booting off Windows or any other operating systems that usually don't support EFI (including Windows), your Mac uses something called CSM-BIOS. And as long as that CSM-BIOS implementation on EFI-based Mac do not support booting off from USB (note that Mac OS X Installer works fine when booting from USB), not even a USB Apple SuperDrive which once was an internal drive, there mot definately is something for Apple to fix.
    When attempting to install Windows via BootCamp, a somewhat hybrid GTP/MBR table is created. When you boot off the installer disc of the OS you intend to install (i.e. Windows 7, FreeBSD, etc), your Mac might not support the EFI boot option (at least my 2011 17-inch MacBook Pro doesn't support that), so the only way of booting that second OS installer is via the regular BIOS, which Apple's EFI based systems implement as CSM-BIOS.

Maybe you are looking for