Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
UEFI Dual Boot - Black screen after severe mess up.
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
McPuffin
n00b
n00b


Joined: 14 Jan 2016
Posts: 6

PostPosted: Thu Jan 14, 2016 7:29 pm    Post subject: UEFI Dual Boot - Black screen after severe mess up. Reply with quote

ASUS ROG G751JY-DH71 gaming laptop - for the sake of keeping the thread as short as possible, you can look up the specs yourself.


Alright, so to preface this post for the sake of sanity, lets just say im a noob at linux. I probably did everything wrong you could possibly do wrong, so lets just go forward with that mentality.

I got everything working using rEFInd and following this guide - https://wiki.gentoo.org/wiki/UEFI_Dual_boot_with_Windows_7/8

So, this brings me to my next point... where everything went catastrophically wrong.

From within windows I tried to install ext2fsd (http://www.ext2fsd.com/) and assign a letter ( D: ) to my root drive which is /dev/sdb5 in linux (filesystem ext4). This appeared to work in the program, so I saved it and then I rebooted... and black screen.

Oh crap.

I rebooted and held down esc to boot into the motherboards bootloader thing and selected the default windows bootloader which still works (thankfully, as its what I'm using right now). From here I tried to nuke everything from orbit and just start from scratch. I loaded up my USB drive and booted to the windows system restore thing and just wiped the drive and tried to repartition it back to factory settings. I figured this would reset he EFI partition back to factory defaults as well, but apparently not, because upon rebooting... black screen, until I rebooted again and went to the windows bootloader. Upon loading, I noticed that it didn't repartition the drives the way it came from the factory. I'm missing my D: drive. So to make it clear, I have two physical drives in my system, one is a 256gb SSD and one is a 1TB HDD but they are partitioned in half, this is how the drives came from the factory. So the SSD was C: (windows) and I was attempting to put Gentoo on the other half, D: - and the HDD is just for data storage on E: and F:

Alright, so I fire up disk management and I shrink the windows partition down by 60gb and then I attempt to reinstall rEFInd and I follow the instructions to the letter, and I reboot and instead of the refind screen its just black screen, have to do the ESC -windows bootloader thing again to get into windows.

I rebooted into the USB stick and went to advanced options - command line - and tried:

bootrec /fixboot
bootrec /fixmbr
bootrec /rebuildbcd

which all said they worked successfully.

Rebooted, and black screen.

So I'm pretty frustrated right now... kind of at a dead end, and I'm wondering if I perma-broke my EFI partition.

EDIT: Made some progress...

Followed this guide - http://superuser.com/questions/460762/how-can-i-repair-the-windows-8-efi-bootloader - and now it loads, but veeery slowly. I boot the computer and its black-screen for about 2 minutes, then the EFI menu finally pops up.

I think its trying to load something else before it loads the rEFInd boot manager... I can't figure out where to look to see if anything else is loaded before rEFInd.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7553
Location: Goose Creek SC

PostPosted: Fri Jan 15, 2016 8:29 pm    Post subject: Reply with quote

repeat this: http://www.rodsbooks.com/refind/installing.html#windows ( the guide mentions: The Windows 10 upgrade was remarkably painless compared to prior experiences. It did evict the rEFInd entry from UEFI which required repeating part of http://www.rodsbooks.com/refind/installing.html#windows. An update of rEFInd was due anyway. ) You'll find this useful anytime windows actions screw up rEFInd on the windows ESP.

win 10 repair: Sometimes simply booting win 10 in safe mode will cleanup the ESP.

When windows wants to try to repair, try to select in sequence:
advanced options
startup settings
enable safe mode
boot in safe mode
restart see if normal boot occurs

To repair windows boot problems the hard way. http://blog.d0zingcat.xyz/2015/09/28/Windows/How%20to%20repair%20the%20EFI%20Bootloader%20in%20Windows%2010/ which is a win 10 rewrite of http://superuser.com/questions/460762/how-can-i-repair-the-windows-8-efi-bootloader

rather than D: maybe Z: but if you want to pass stuff win to linux or vice versa sticking in a flash drive and leaving it is the easiest, least dangerous way. A fat32 partition can be used as both OS can read it. linux with ntfs3g can mount and read ntfs partitions. If you use a file system
in one OS and then switch to the other OS expect some automatic file system checking to occur.
_________________
Defund the FCC.
Back to top
View user's profile Send private message
McPuffin
n00b
n00b


Joined: 14 Jan 2016
Posts: 6

PostPosted: Tue Jan 19, 2016 8:21 am    Post subject: Reply with quote

This has been solved by pretty much doing a completely fresh wipe and starting from scratch.

Boot is still a little on the slow side with rEFInd, but its nothing I can't deal with.

Now I'm having a problem with X and nouveau - https://forums.gentoo.org/viewtopic-t-1037454.html
Back to top
View user's profile Send private message
P.Kosunen
Guru
Guru


Joined: 21 Nov 2005
Posts: 309
Location: Finland

PostPosted: Tue Jan 19, 2016 5:38 pm    Post subject: Reply with quote

McPuffin wrote:
Boot is still a little on the slow side with rEFInd, but its nothing I can't deal with.

Might help if turn off automatic scans and setup options manually?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum