You are not logged in.

#1 2015-11-04 17:51:29

phys1ks
Member
Registered: 2015-11-03
Posts: 12

Dual boot Windows 8.1 & Hydrogen (UEFI)

So, I've got a system I'm on right now that is Windows 8.1, running on two SSD's in a RAID, EFI boot all that fun jazz.

Is it possible to dual boot with Hydrogen and not completely bomb my UEFI stuff? If so, what should I look to do and not do?

Offline

#2 2015-11-04 18:11:53

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

I think the best option is to use a Debian netinstall ISO image [1] to install a basic (non-X) system and then download & run johnraff's script [2] to install BunsenLabs on top of that:
http://crunchbang.org/forums/viewtopic.php?id=39656

The (non-live) Debian netinstall ISO will install in UEFI mode and should detect your Windows system and provide a GRUB menu entry for it.

Unfortunately, the BunsenLabs ISO image cannot install in UEFI mode so you would have to convert the system post-installation -- see the link in my signature for details.

Be sure to disable Secure Boot to install BunsenLabs as Debian does not support it natively.

Secure Boot can be re-enabled after installation by following the guide linked in my signature.

[1] http://cdimage.debian.org/cdimage/unoff … 64/iso-cd/
[2] https://github.com/BunsenLabs/bunsen-netinstall


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#3 2015-11-05 15:20:18

phys1ks
Member
Registered: 2015-11-03
Posts: 12

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

I'd like to complicate it just a tad bit more....

This is my current setup..

Intel RAID - 2x SSD - Windows -RAID0
             2x Raptor Drives - Linux -RAID0
Non-RAID - 2x 3TB Drives (Windows, Linux)
           DVD Drive


I'd like to install Linux, obviously, on the raptors, and keep all the RAIDs.... Would this be possible? I've seen stuff for ArchLinux on it, but nothing for Debian?

Offline

#4 2015-11-05 15:23:43

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

I think the Debian installer should detect and accomodate the RAID0 array.

You may have to fiddle around with mdadm(8) to get it to work though.

Unfortunately I have zero experience with RAID, sorry.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#5 2015-11-05 17:13:40

phys1ks
Member
Registered: 2015-11-03
Posts: 12

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

Well this is where I'm at so far...

I can enable dmraid by following this to step 5, https://wiki.debian.org/DebianInstaller/SataRaid

It installed Debian just fine, all felt well, I can even see the files in the /target and modify them, but when I reboot I get presented with unable to load dm-raid45, I don't have RAID5 and don't need it so I tried to follow these instructions...

http://forums.debian.net/viewtopic.php?f=16&t=113616

But the Recovery environment won't let me mount my dmraid drives.... soooo confused....

http://imgur.com/tJp3TZA

I can see all my partitions in the installer...not anywhere else.....the heck?

Last edited by phys1ks (2015-11-05 18:12:50)

Offline

#6 2015-11-06 19:52:02

phys1ks
Member
Registered: 2015-11-03
Posts: 12

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

So getting further in this, I can install Debian in UEFI mode and it will see all the partitions, but only in the installer...

I've read that a dmtab file is required to keep the partitions in line? A gentoo user made this work by doing dmsetup table >> /etc/dmtab but it doesn't work to boot to that dmraid?

Gentoo posts: https://forums.gentoo.org/viewtopic-t-7 … art-0.html bottom post and https://forums.gentoo.org/viewtopic-t-7 … art-0.html that also

I'm reading about initramfs and that I might need one of those? I have no idea...

I'll update the thread as I make progress and try to do a write up if I get it all working. The setup I'm looking for is dual booting UEFI Hydrogen and Windows 8.1 on fakeraid.

If anybody has some advice feel free to chime in with it, anything helps at this point I guess.

Offline

#7 2015-11-06 20:40:13

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

phys1ks wrote:

I'm reading about initramfs and that I might need one of those? I have no idea...

You already have one at /boot/initrd.img-$VERSION-$ARCH

I know *nothing about RAID but a quick search at https://startpage.com/ throws up links like this:
http://www.overclockers.com/how-to-dual … aid-array/

That one's far too old to be useful but I'm sure you could find a more recent guide.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#8 2015-11-09 05:47:36

phys1ks
Member
Registered: 2015-11-03
Posts: 12

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

Well I finally landed on this..

https://bugs.debian.org/cgi-bin/bugrepo … bug=777140

Looks like it is just a plain old bug and I can't do what I want to do...period...

Tried installed Weezy, it doesn't support my E2200 Killer network out the gate, so that was a no go..

Tried to install Jessie again and chroot and update mdadm after doing some hokey workaround crap, that was a no go, always results in a system that just won't boot...

I guess I give up for now, in the process I deleted my Windows partitions (I have a backup) aaaaand now I'm just running off the bunsenlabs live CD lol

Also, tried just installing in Legacy mode to the RAID, that worked, but no GRUB...sooooooooo Crap. Debian UEFI installed to the RAID and would try to boot from it, but it crapped the bed because of the MDADM issues I guess. I have no idea, it is a quarter to midnight and I'm out of ideas completely...

Wishlist for Bunsenlabs: UEFI - Fix MDADM if at all possible?

If anybody knows of a work around or something I could try please do let me know...

Last edited by phys1ks (2015-11-09 05:53:11)

Offline

#9 2015-11-09 17:34:48

phys1ks
Member
Registered: 2015-11-03
Posts: 12

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

So found a Stretch alpha installer CD....guess what? It worked. What the crap.... I've been doing some hacking around to get bunsenlabs to work on it, I'm 90% of the way there now... UEFI booting on my fake RAID0.

*phew* What a freaking disaster, but, running Hydrogen on a Stretch install I guess.

Edit: The installer script you provided for hydrogen is not bad, I need to do some adjustments but I'm thinking of forking that to make an installer that works with Stretch so it will work out the gate, I'm in the process of fixing a lot of packages etc. A lot of stuff was not installed with the initial script, but pouring the package list into aptitude installed a lot that were missing, I'm thinking that I can make adjustments to have the Jessie repos AND Stretch AND Bunsenlabs with a priority list setup, that way I can install the packages that need to come from the Jessie repo if need be, otherwise default to Stretch and Bunsen.

If I get this working and happy on an automated base I'll provide a write up for anybody wanting UEFI on Intel MDADM Fake RAID0 and Hydrogen. It shouldn't be hard to do, I'll try and make it dynamic so that its not a total cookie cutter solution.

Apologies if this looks like a bunch of spam text, just trying to make it work with my system.

Current status: Dual booting alright, Debian Stretch Alpha + Bunsenlabs UEFI booting to MDADM RAID0 is running, fixing the missing packages and getting things running correctly now. So far I have not had to modify any config files to make this work, just had to grab the right packages.

smile I love Debian for a desktop Linux OS and I love the simplicity and slimness of Hydrogen.

Last edited by phys1ks (2015-11-09 18:58:29)

Offline

#10 2015-11-09 20:38:35

Frogman
Member
From: The Server Room
Registered: 2015-11-01
Posts: 22

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

Soft RAID is trickier than hardware RAID, but you can recover it with just about any hardware, not just the same model as would be needed on a hardware RAID set up. I've set up md RAID to boot and LVM RAID for OS and data on servers before, and to get it to boot I had to be sure to install GRUB to every drive in the boot RAID so that in a drive failure event the system can boot from any drive in the RAID. RAID0 precludes that, though. :-/ Haven't had a chance to work on UEFI yet, but it's still hairy on legacy/BIOS booting.

Offline

#11 2015-11-09 20:41:28

phys1ks
Member
Registered: 2015-11-03
Posts: 12

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

I've found with UEFI it was actually much easier, it seems the Intel fake RAID writes the meta data that mdadm can read and assemble the raid, and the Debian installer installs grub just fine to it with no extra grub steps.

So far I'm running, but I'd really like to be running on Jessie but something in their installer is bugged and not letting the system boot. I'm going to keep trying different methods, if I need to stick with Stretch then I suppose I will, and I'll modify a version of the bunsenlabs installer to handle Stretch better.

Offline

#12 2015-11-09 20:41:30

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

phys1ks wrote:

I'm thinking that I can make adjustments to have the Jessie repos AND Stretch AND Bunsenlabs with a priority list setup, that way I can install the packages that need to come from the Jessie repo if need be, otherwise default to Stretch and Bunsen.

That is a bad idea.

Spend some time reading this thread:
http://forums.debian.net/viewtopic.php?&t=114130

If you want shiny new s**t, use Arch.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#13 2015-11-09 21:30:53

phys1ks
Member
Registered: 2015-11-03
Posts: 12

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

Head_on_a_Stick wrote:
phys1ks wrote:

I'm thinking that I can make adjustments to have the Jessie repos AND Stretch AND Bunsenlabs with a priority list setup, that way I can install the packages that need to come from the Jessie repo if need be, otherwise default to Stretch and Bunsen.

That is a bad idea.

Spend some time reading this thread:
http://forums.debian.net/viewtopic.php?&t=114130

If you want shiny new s**t, use Arch.

Not looking for shiny new stuff, I'm looking to be able to use it period. That was kind of a rude remark honestly. There is something broken in the Jessie installer using MDADM, but it was fixed for Stretch, I didn't say I wanted to use Sid.

I'm looking to stabilize and use the system, if I have to use updated packages then I have to use updated packages, but I'd like to make things work period. I could drop everything and just build a custom system out of Stretch and forget about Bunsenlabs, but I'm not looking to do that.

Also, reading that thread, I'm not looking to bring Stretch packages into Jessie, I'm looking to bring Jessie packages that are not updated for Stretch in for the time being to make things work. I honestly don't know why unrar isn't in the stretch repos yet, but it wasn't there. I'm going to be doing more investigating but short of having to build a custom installer with whatever fixes mdadm, this is where I'm at, this isn't for shiny new shit, its for stability.

The only other option is to install Wheezy, dist-upgrade to Jessie and then make it all work, however I'll need a different kernel on Wheezy because my network card is not supported in Jessie -> https://wiki.debian.org/alx


The repos would only pull from Jessie if Stretch does not have it by the way, hence priority. I would not mix up a bunch of packages, that DOES result in a broken system and I have been there before, not a happy day.

Last edited by phys1ks (2015-11-09 21:37:34)

Offline

#14 2015-11-09 21:41:27

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

phys1ks wrote:

I'm not looking to bring Stretch packages into Jessie, I'm looking to bring Jessie packages that are not updated for Stretch in for the time being to make things work.

Just backport the stretch packages yourself, it is very simple to do.
https://wiki.debian.org/SimpleBackportCreation


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#15 2015-11-09 21:45:02

phys1ks
Member
Registered: 2015-11-03
Posts: 12

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

Head_on_a_Stick wrote:
phys1ks wrote:

I'm not looking to bring Stretch packages into Jessie, I'm looking to bring Jessie packages that are not updated for Stretch in for the time being to make things work.

Just backport the stretch packages yourself, it is very simple to do.
https://wiki.debian.org/SimpleBackportCreation

That would be great if the problem wasn't at the installer level, I can get it to install but booting into the system does not happen, hangs after GRUB. How would I fix the installer?

I'm going to drop back to Jessie and try again, but something is unhappy in Jessie with the system... Digging into log files via rescue looks like my only option there...

Last edited by phys1ks (2015-11-09 21:46:53)

Offline

#16 2015-11-09 21:51:10

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

phys1ks wrote:

How would I fix the installer?

Use a preseed [1][2] with the stretch installer to make it install a jessie system instead.

[1] https://wiki.debian.org/DebianInstaller/Preseed
[2] https://www.debian.org/releases/stable/amd64/apb.html

EDIT: Or debootstrap(8) from the live environment.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#17 2015-11-10 17:36:45

phys1ks
Member
Registered: 2015-11-03
Posts: 12

Re: Dual boot Windows 8.1 & Hydrogen (UEFI)

Head_on_a_Stick wrote:
phys1ks wrote:

How would I fix the installer?

Use a preseed [1][2] with the stretch installer to make it install a jessie system instead.

[1] https://wiki.debian.org/DebianInstaller/Preseed
[2] https://www.debian.org/releases/stable/amd64/apb.html

EDIT: Or debootstrap(8) from the live environment.

Now that seems like a good fix, better than what I was doing. I'll give it a shot this week sometime, I um...got distracted...*cough*fallout4*cough*

Offline

Board footer

Powered by FluxBB