You are not logged in.

#1 2014-05-30 07:48:36

xaverlalo
Member
Registered: 2012-05-02
Posts: 18

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

Offline

#2 2014-05-30 10:01:36

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: SYSLINUX Boot Windows from dm-raid device

xaverlalo wrote:

I tried to configure it to boot my windows ... I tried a lot ...

OK - but what did you try exactly?

Offline

#3 2014-05-30 11:57:39

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: SYSLINUX Boot Windows from dm-raid device

Also show us your syslinux.cfg

Offline

#4 2014-05-30 13:54:54

xaverlalo
Member
Registered: 2012-05-02
Posts: 18

Re: SYSLINUX Boot Windows from dm-raid device

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

Offline

#5 2014-05-30 16:40:23

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: SYSLINUX Boot Windows from dm-raid device

What does

fdisk -l /dev/sda

give for the disk identifier?
Try that if it's different; if the same try adding

 ntldr=/bootmgr

to the end of the APPEND line (I'm assuming windows 8 uses the same boot loader as vista/7).

EDIT: forgot you could also try the “swap” option on your APPEND line, as Windows usually wants to boot off the first disk.

Last edited by ukhippo (2014-05-30 18:07:06)

Offline

#6 2014-05-31 15:11:57

xaverlalo
Member
Registered: 2012-05-02
Posts: 18

Re: SYSLINUX Boot Windows from dm-raid device

unfortunately neither "ntldr=/bootmgr" nor "swap" work. I also checked the disk ID's with "fdisk"

Offline

#7 2014-05-31 21:43:15

ukhippo
Member
From: Non-paged pool
Registered: 2014-02-21
Posts: 366

Re: SYSLINUX Boot Windows from dm-raid device

Did you try using “APPEND hd1” instead of “APPEND hd0 1”?
Perhaps also try “APPEND hd1 swap”.
By changing the boot disk, the BIOS may have changed the disk numbering order.

Other than that I'm out of ideas.

Last edited by ukhippo (2014-05-31 21:44:33)

Offline

Board footer

Powered by FluxBB