Jump to content
  • 0
brutico

Windows 10 and grub

Question

Os-prober detects windows me but not in the grub

 

/boot/grub/grub.cfg

menuentry "Windows 8" {
  insmod part_gpt
  insmod fat
  set root=(hostdisk//dev/sdb,gpt8)
  search --no-floppy --fs-uuid --set 5204-F9A0
  chainloader +4
}

 I put in the directory /etc/boot.conf

"Windows 8" {
        type win8
        params root=/dev/sdb8
}
     

I can not find it.

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0


??[juanpe@funtoo] - [~] - [dom abr 24, 10:57]
??[$]> cat /etc/boot.conf
+boot {
generate grub
default "Funtoo Linux"
timeout 3
}

"Funtoo Linux" {
kernel bzImage[-v]
}

"Funtoo Linux genkernel" {
kernel kernel[-v]
initrd initramfs[-v]
params += real_root=auto rootfstype=auto
}

"Windows 8" {
type win8
params root=/dev/sdb8
}


??[juanpe@funtoo] - [~] - [dom abr 24, 10:58]
??[$]> cat /boot/grub/grub.cfg
set timeout=5

insmod part_gpt
insmod fat
set root=(hostdisk//dev/sdb,gpt4)
search --no-floppy --fs-uuid --set 9634-A2BC
if loadfont /grub/unifont.pf2; then
set gfxmode=640x480
insmod all_video
terminal_output gfxterm
fi

set menu_color_normal=cyan/blue
set menu_color_highlight=blue/cyan

menuentry "+boot - kernel-debian-sources-x86_64-4.4.6-1" {
insmod part_gpt
insmod fat
set root=(hostdisk//dev/sdb,gpt4)
search --no-floppy --fs-uuid --set 9634-A2BC
linux /kernel-debian-sources-x86_64-4.4.6-1 rootfstype=btrfs root=/dev/sdb2
set gfxpayload=keep
}

menuentry "Funtoo Linux genkernel - kernel-debian-sources-x86_64-4.4.6-1" {
insmod part_gpt
insmod fat
set root=(hostdisk//dev/sdb,gpt4)
search --no-floppy --fs-uuid --set 9634-A2BC
linux /kernel-debian-sources-x86_64-4.4.6-1 rootfstype=auto real_root=/dev/sdb2 rootfstype=btrfs
initrd /initramfs-debian-sources-x86_64-4.4.6-1
set gfxpayload=keep
}

menuentry "Windows 8" {
insmod part_gpt
insmod fat
set root=(hostdisk//dev/sdb,gpt8)
search --no-floppy --fs-uuid --set 5204-F9A0
chainloader +4
}
set default=0


??[juanpe@funtoo] - [~] - [dom abr 24, 10:59]
??[$]> cat /etc/portage/make.conf

# ---[CPU configuraci?n]---
CFLAGS="-march=bdver2 -O2 -pipe"
CXXFLAGS="-march=bdver2 -O2 -pipe"
CPU_FLAGS_X86="aes avx fma3 fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed -Wl,--sort-common"
CHOST="x86_64-pc-linux-gnu"


# ---[Xorg configuraci?n]---
INPUT_DEVICES="evdev keyboard mouse"
VIDEO_CARDS="radeonsi amdgpu"


# ---[Portage configuraci?n]---
MAKEOPTS="-j9"
ACCEPT_LICENSE="*"
LINGUAS="es es_ES"
ABI_X86="32 64"
PAX_MARKINGS="none"
AUTOCLEAN="yes"
ACCEPT_KEYWORDS="~amd64"
USE="qt5 plasma pulseaudio networkmanager gstreamer dvd bluray lm_sensors vdpau mtp gpg zsh-completions v4l -qt4 -gnome -gtk"
EMERGE_DEFAULT_OPTS="--ask --verbose --jobs --load-average=8 --with-bdeps=y --autounmask-write=y --keep-going=y"


# ---[Grub configuraci?n]---
GRUB_PLATFORMS="efi-64"


# ---[Portage Directorios]---
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
PORTAGE_TMPDIR="/tmp"


??[juanpe@funtoo] - [~] - [dom abr 24, 11:01]
??[$]> emerge -pv grub

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild R ] sys-boot/grub-2.02_beta2-r3::gentoo USE="binfont nls sdl truetype -debug -device-mapper -doc -efiemu -libzfs -mount -multislot -static {-test}" GRUB_PLATFORMS="efi-64 -coreboot -efi-32 -emu -ieee1275 -loongson -multiboot -pc -qemu -qemu-mips -xen" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...