Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Trying to install dual boot with windows 8
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
coffeecat
n00b
n00b


Joined: 17 Jun 2003
Posts: 52

PostPosted: Wed Jul 02, 2014 4:30 pm    Post subject: Trying to install dual boot with windows 8 Reply with quote

And Gentoo won't boot. I've tried the Gentoo Handbook's method with grub 2, and I've tried [url="https://wiki.gentoo.org/wiki/UEFI_Dual_boot_with_Windows_7/8"]the wiki's method using refind[/url] to no avail. Both lead to booting windows in UEFI mode and a kernel panic in legacy BIOS mode. Even after installing refind, in legacy mode it goes to a grub menu (followed by kernel panic), as if refind doesn't exist. Can someone help?[/url]
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Jul 02, 2014 6:11 pm    Post subject: Reply with quote

can you post a picture of the panic?
what install media did you use? when the install media was booted were you in efi mode?
How did you make the kernel? genkernel or manual? boot the installcd/usb, mount the gentoo partitions, run
Code:
 wgetpaste /mnt/gentoo/usr/src/linux/.config
lspci -k | wgetpaste
wgetpaste /proc/cpuinfo
post the url's returned

Quote:
Even after installing refind, in legacy mode
refind requires efi mode at boot time not legacy bios mode.

Was windows installed in uefi mode?

guessing -- windows is installed on one disk in uefi mode
gentoo is installed on another disk in legacy bios mode with grub 2 installed to the MBR of the second disk
the plan is to boot to "BIOS" and select uefi or legacy to select which os would boot?
_________________
Defund the FCC.
Back to top
View user's profile Send private message
coffeecat
n00b
n00b


Joined: 17 Jun 2003
Posts: 52

PostPosted: Wed Jul 02, 2014 8:04 pm    Post subject: Reply with quote

DONAHUE wrote:
can you post a picture of the panic?

It's at https://app.box.com/s/0f2pfjjbmf669etvy2js
Quote:
what install media did you use? when the install media was booted were you in efi mode?
How did you make the kernel? genkernel or manual?

I used the minimal install, booted in legacy bios mode; I can't get into anything but windows in uefi.
Quote:
boot the installcd/usb, mount the gentoo partitions, run
Code:
 wgetpaste /mnt/gentoo/usr/src/linux/.config
lspci -k | wgetpaste
wgetpaste /proc/cpuinfo
post the url's returned

.config is at http://bpaste.net/show/429141/
lspci at http://bpaste.net/show/429147/
proc/cpuinfo is at http://bpaste.net/show/429148/

Quote:
"Even after installing refind, in legacy mode" refind requires efi mode at boot time not legacy bios mode.

Was windows installed in uefi mode?

The computer came out of the box with windows installed in uefi mode. In uefi mode, even now, with refind supposedly installed, the computer doesn't seem to know refind is there; it just boots into windows.

Quote:
guessing -- windows is installed on one disk in uefi mode
gentoo is installed on another disk in legacy bios mode with grub 2 installed to the MBR of the second disk
the plan is to boot to "BIOS" and select uefi or legacy to select which os would boot?

It's a laptop with only one disk.
The plan was nowhere near so well thought out. I bought a new computer, noticed that since the last time I installed gentoo something called uefi was invented, and thought I could somehow make a selection menu like I had on my previous computer with bios and grub legacy.
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


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

PostPosted: Wed Jul 02, 2014 9:18 pm    Post subject: Reply with quote

in spite of the various complications introduced by uefi and windows you appear to have the very common problem of not having drivers configured in the kernel for the hard drive.

boot the minimal install cd, mount the gentoo partitions, enter the chroot, nominally (guessing your partitions)
Code:
[mount /dev/sda6 /mnt/gentoo
mount /dev/sda4 /mnt/gentoo/boot
cp -L /etc/resolv.conf /mnt/gentoo/etc/
mount -t proc none /mnt/gentoo/proc
mount --rbind /sys /mnt/gentoo/sys
mount --rbind /dev /mnt/gentoo/dev
chroot /mnt/gentoo /bin/bash
source /etc/profile
export PS1="(chroot) $PS1"
then
Code:
cd /usr/src/linux;make menuconfig
edit menuconfig to include
Quote:
Device Drivers --->
< > ATA/ATAPI/MFM/RLL support (DEPRECATED) ----
<*> Serial ATA and Parallel ATA drivers (libata) --->
--- Serial ATA and Parallel ATA drivers (libata)
[ ] Verbose ATA error reporting
[*] ATA ACPI Support
[ ] SATA Port Multiplier support
*** Controllers with non-SFF native interface ***
<*> AHCI SATA support
< > Platform AHCI SATA support
< > Initio 162x SATA support (Very Experimental)
< > ACard AHCI variant (ATP 8620)
< > Silicon Image 3124/3132 SATA support
[*] ATA SFF support (for legacy IDE and PATA)
*** SFF controllers with custom DMA interface ***
< > Pacific Digital ADMA support
< > Pacific Digital SATA QStor support
< > Promise SATA SX4 support (Experimental)
[*] ATA BMDMA support
*** SATA SFF controllers with BMDMA ***
<*> Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support
< > Marvell SATA support
< > NVIDIA SATA support
< > Promise SATA TX2/TX4 support
< > Silicon Image SATA support
< > SiS 964/965/966/180 SATA support
< > ServerWorks Frodo / Apple K2 SATA support
< > ULi Electronics SATA support
< > VIA SATA support
< > VITESSE VSC-7174 / INTEL 31244 SATA support
*** PATA SFF controllers with BMDMA ***
< > ALi PATA support
< > AMD/NVidia PATA support
< > ARTOP 6210/6260 PATA support
< > ATI PATA support
< > ARTOP/Acard ATP867X PATA support
< > CMD64x PATA support
< > Cypress CY82C693 PATA support (Very Experimental)
< > EFAR SLC90E66 support
< > HPT 366/368 PATA support
< > HPT 370/370A/371/372/374/302 PATA support
< > HPT 371N/372N/302N PATA support
< > HPT 343/363 PATA support
< > IT8213 PATA support (Experimental)
< > IT8211/2 PATA support
< > JMicron PATA support
< > Marvell PATA support via legacy mode
< > NETCELL Revolution RAID support
< > Ninja32/Delkin Cardbus ATA support
< > Nat Semi NS87415 PATA support
< > Intel PATA old PIIX support
< > OPTI FireStar PATA support (Very Experimental)
< > Promise PATA 2027x support
< > Older Promise PATA controller support
< > RADISYS 82600 PATA support (Experimental)
< > RDC PATA support
< > Intel SCH PATA support
< > SERVERWORKS OSB4/CSB5/CSB6/HT1000 PATA support
< > CMD / Silicon Image 680 PATA support
< > SiS PATA support
< > Toshiba Piccolo support (Experimental)
< > Compaq Triflex PATA support
< > VIA PATA support
< > Winbond SL82C105 PATA support
*** PIO-only SFF controllers ***
< > CMD640 PCI PATA support (Experimental)
< > Intel PATA MPIIX support
< > Nat Semi NS87410 PATA support
< > OPTI621/6215 PATA support (Very Experimental)
< > PC Tech RZ1000 PATA support
*** Generic fallback / legacy drivers ***
< > ACPI firmware driver for PATA
< > Generic ATA support
< > Legacy ISA PATA support (Experimental)
recompile and recopy the kernel, make a graceful exit:
Code:
exit
cd
umount -l /mnt/gentoo/dev{/shm,/pts,}
umount -l /mnt/gentoo{/boot,/proc,}
reboot
based on evidence to date you should then be able to boot windows in uefi and gentoo in legacy bios mode.
_________________
Defund the FCC.
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