You are not logged in.
Hi guys, I'm trying to make windows 7 to load on my notebook but it's been a struggle to do it.
This is the output of the bootinfoscript:
Boot Info Script 0.61 [1 April 2012]
============================= Boot Info Summary: ===============================
=> Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 2048
of the same hard drive for core.img. core.img is at this location and
looks in partition 99 for .
sda1: __________________________________________________________________________
File system: BIOS Boot partition
Boot sector type: Grub2's core.img
Boot sector info:
sda3: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System: Windows 7
Boot files: /Windows/System32/winload.exe
sda4: __________________________________________________________________________
File system: ext4
Boot sector type: -
Boot sector info:
Operating System:
Boot files:
sda5: __________________________________________________________________________
File system: swap
Boot sector type: -
Boot sector info:
sda6: __________________________________________________________________________
File system: ntfs
Boot sector type: Windows Vista/7: NTFS
Boot sector info: No errors found in the Boot Parameter Block.
Operating System:
Boot files:
sda7: __________________________________________________________________________
File system: ext4
Boot sector type: SYSLINUX 4.06 2012-10-23
Boot sector info: Syslinux looks at sector 30757264 of /dev/sda7 for
its second stage. SYSLINUX is installed in the
/boot/syslinux directory. The 2 ADV sectors are not
the same (corrupt).
Operating System: Arch Linux ()
Boot files: /boot/grub/grub.cfg /etc/fstab
/boot/syslinux/syslinux.cfg /boot/syslinux/ldlinux.sys
============================ Drive/Partition Info: =============================
Drive: sda _____________________________________________________________________
Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Partition Boot Start Sector End Sector # of Sectors Id System
/dev/sda1 1 976,773,167 976,773,167 ee GPT
GUID Partition Table detected.
Partition Start Sector End Sector # of Sectors System
/dev/sda1 2,048 206,847 204,800 BIOS Boot partition
/dev/sda3 206,848 119,576,575 119,369,728 Data partition (Windows/Linux)
/dev/sda4 119,578,624 296,161,279 176,582,656 Data partition (Windows/Linux)
/dev/sda5 296,161,280 300,306,431 4,145,152 Swap partition (Linux)
/dev/sda6 300,306,432 928,770,047 628,463,616 Data partition (Windows/Linux)
/dev/sda7 928,770,048 976,771,071 48,001,024 Data partition (Windows/Linux)
"blkid" output: ________________________________________________________________
Device UUID TYPE LABEL
/dev/sda1
/dev/sda3 B8C011AFC01174BA ntfs win7
/dev/sda4 80978e5c-4b6c-4c73-851f-a2faec61a700 ext4 /home
/dev/sda5 8fc6930e-bfd7-4c6b-ad35-e46e5c37be21 swap
/dev/sda6 657F7C2A0831F175 ntfs storage
/dev/sda7 9569ad18-8350-4337-bb1c-245cb4770ce3 ext4 /
================================ Mount points: =================================
Device Mount_Point Type Options
/dev/sda4 /home ext4 (rw,relatime,data=ordered)
/dev/sda7 / ext4 (rw,relatime,data=ordered)
=========================== sda7/boot/grub/grub.cfg: ===========================
--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3
else
search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
set timeout=10
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-9569ad18-8350-4337-bb1c-245cb4770ce3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3
else
search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
}
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-9569ad18-8350-4337-bb1c-245cb4770ce3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3
else
search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
}
menuentry 'Arch GNU/Linux, with Linux core repo kernel (recovery mode)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-recovery-9569ad18-8350-4337-bb1c-245cb4770ce3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3
else
search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/20_memtest86+ ###
### END /etc/grub.d/20_memtest86+ ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
##windows
#menuentry "Windows 7" {
# insmod ntfs
# set root='(hd0,2)'
# chainloader +1
# makeactive
#}
menuentry "Windows 7 (loader) (on /dev/sda3)" {
insmod part_msdos
insmod ntfs
set root=(hd0,2)
chainloader +1
}
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------
=============================== sda7/etc/fstab: ================================
--------------------------------------------------------------------------------
# /dev/sda7 LABEL=/
UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 / ext4 rw,relatime,data=ordered 0 1
# /dev/sda4 LABEL=/home
UUID=80978e5c-4b6c-4c73-851f-a2faec61a700 /home ext4 rw,relatime,data=ordered 0 2
# /dev/sda5
UUID=8fc6930e-bfd7-4c6b-ad35-e46e5c37be21 none swap defaults 0 0
#UUID=04EE-2685 /boot/efi vfat defaults 0 1
--------------------------------------------------------------------------------
======================= sda7/boot/syslinux/syslinux.cfg: =======================
--------------------------------------------------------------------------------
# Config file for Syslinux -
# /boot/syslinux/syslinux.cfg
#
# Comboot modules:
# * menu.c32 - provides a text menu
# * vesamenu.c32 - provides a graphical menu
# * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders
# * hdt.c32 - hardware detection tool
# * reboot.c32 - reboots the system
# * poweroff.com - shutdown the system
#
# To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux.
# If /usr and /boot are on the same file system, symlink the files instead
# of copying them.
#
# If you do not use a menu, a 'boot:' prompt will be shown and the system
# will boot automatically after 5 seconds.
#
# Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux
# The wiki provides further configuration examples
DEFAULT arch
PROMPT 0 # Set to 1 if you always want to display the boot: prompt
TIMEOUT 50
# You can create syslinux keymaps with the keytab-lilo tool
#KBDMAP de.ktl
# Menu Configuration
# Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux
UI menu.c32
#UI vesamenu.c32
# Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu
MENU TITLE Arch Linux
#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
# boot sections follow
#
# TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line.
#
#-*
LABEL arch
MENU LABEL Arch Linux
LINUX ../vmlinuz-linux
APPEND root=/dev/sda7 ro
INITRD ../initramfs-linux.img
LABEL archfallback
MENU LABEL Arch Linux Fallback
LINUX ../vmlinuz-linux
APPEND root=/dev/sda7 ro
INITRD ../initramfs-linux-fallback.img
LABEL windows
MENU LABEL Windows
COM32 chain.c32
APPEND hd0 3
LABEL hdt
MENU LABEL HDT (Hardware Detection Tool)
COM32 hdt.c32
LABEL reboot
MENU LABEL Reboot
COM32 reboot.c32
LABEL off
MENU LABEL Power Off
COMBOOT poweroff.com
--------------------------------------------------------------------------------
=================== sda7: Location of files loaded by Grub: ====================
GiB - GB File Fragment(s)
================= sda7: Location of files loaded by Syslinux: ==================
GiB - GB File Fragment(s)
============== sda7: Version of COM32(R) files used by Syslinux: ===============
boot/syslinux/chain.c32 : COM32R module (v4.xx)
boot/syslinux/hdt.c32 : COM32R module (v4.xx)
boot/syslinux/menu.c32 : COM32R module (v4.xx)
boot/syslinux/reboot.c32 : COM32R module (v4.xx)
boot/syslinux/vesamenu.c32 : COM32R module (v4.xx)
=============================== StdErr Messages: ===============================
cat: /tmp/BootInfo-pE6NmGsD/Tmp_Log: No such file or directory
cat: /tmp/BootInfo-pE6NmGsD/Tmp_Log: No such file or directory
No volume groups found
mdadm: No arrays found in config file or automaticallyAny idea of what I've been doing wrong?
Thanks in advance
Offline
I'm not familiar with that output, but do you have both Grub and Syslinux at the same time?
Also, have you tried os-prober?
Offline
I'm not familiar with that output, but do you have both Grub and Syslinux at the same time?
Also, have you tried os-prober?
Probably yes.
The best option at my view, would be to boot from the installation media, chroot into /dev/sda7 and remove syslinux and reinstall grub (--recheck if needed).
Or you can do the same from you current installation if you can boot and login normally.
KISS my Arch
Offline
Hi guys, I'm trying to make windows 7 to load on my notebook but it's been a struggle to do it.
This is the output of the bootinfoscript:Boot Info Script 0.61 [1 April 2012] ============================= Boot Info Summary: =============================== => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 2048 of the same hard drive for core.img. core.img is at this location and looks in partition 99 for . sda1: __________________________________________________________________________ File system: BIOS Boot partition Boot sector type: Grub2's core.img Boot sector info: sda3: __________________________________________________________________________ File system: ntfs Boot sector type: Windows Vista/7: NTFS Boot sector info: No errors found in the Boot Parameter Block. Operating System: Windows 7 Boot files: /Windows/System32/winload.exe sda4: __________________________________________________________________________ File system: ext4 Boot sector type: - Boot sector info: Operating System: Boot files: sda5: __________________________________________________________________________ File system: swap Boot sector type: - Boot sector info: sda6: __________________________________________________________________________ File system: ntfs Boot sector type: Windows Vista/7: NTFS Boot sector info: No errors found in the Boot Parameter Block. Operating System: Boot files: sda7: __________________________________________________________________________ File system: ext4 Boot sector type: SYSLINUX 4.06 2012-10-23 Boot sector info: Syslinux looks at sector 30757264 of /dev/sda7 for its second stage. SYSLINUX is installed in the /boot/syslinux directory. The 2 ADV sectors are not the same (corrupt). Operating System: Arch Linux () Boot files: /boot/grub/grub.cfg /etc/fstab /boot/syslinux/syslinux.cfg /boot/syslinux/ldlinux.sys ============================ Drive/Partition Info: ============================= Drive: sda _____________________________________________________________________ Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Partition Boot Start Sector End Sector # of Sectors Id System /dev/sda1 1 976,773,167 976,773,167 ee GPT GUID Partition Table detected. Partition Start Sector End Sector # of Sectors System /dev/sda1 2,048 206,847 204,800 BIOS Boot partition /dev/sda3 206,848 119,576,575 119,369,728 Data partition (Windows/Linux) /dev/sda4 119,578,624 296,161,279 176,582,656 Data partition (Windows/Linux) /dev/sda5 296,161,280 300,306,431 4,145,152 Swap partition (Linux) /dev/sda6 300,306,432 928,770,047 628,463,616 Data partition (Windows/Linux) /dev/sda7 928,770,048 976,771,071 48,001,024 Data partition (Windows/Linux) "blkid" output: ________________________________________________________________ Device UUID TYPE LABEL /dev/sda1 /dev/sda3 B8C011AFC01174BA ntfs win7 /dev/sda4 80978e5c-4b6c-4c73-851f-a2faec61a700 ext4 /home /dev/sda5 8fc6930e-bfd7-4c6b-ad35-e46e5c37be21 swap /dev/sda6 657F7C2A0831F175 ntfs storage /dev/sda7 9569ad18-8350-4337-bb1c-245cb4770ce3 ext4 / ================================ Mount points: ================================= Device Mount_Point Type Options /dev/sda4 /home ext4 (rw,relatime,data=ordered) /dev/sda7 / ext4 (rw,relatime,data=ordered) =========================== sda7/boot/grub/grub.cfg: =========================== -------------------------------------------------------------------------------- # # DO NOT EDIT THIS FILE # # It is automatically generated by grub-mkconfig using templates # from /etc/grub.d and settings from /etc/default/grub # ### BEGIN /etc/grub.d/00_header ### insmod part_gpt insmod part_msdos if [ -s $prefix/grubenv ]; then load_env fi set default="0" if [ x"${feature_menuentry_id}" = xy ]; then menuentry_id_option="--id" else menuentry_id_option="" fi export menuentry_id_option if [ "${prev_saved_entry}" ]; then set saved_entry="${prev_saved_entry}" save_env saved_entry set prev_saved_entry= save_env prev_saved_entry set boot_once=true fi function savedefault { if [ -z "${boot_once}" ]; then saved_entry="${chosen}" save_env saved_entry fi } function load_video { if [ x$feature_all_video_module = xy ]; then insmod all_video else insmod efi_gop insmod efi_uga insmod ieee1275_fb insmod vbe insmod vga insmod video_bochs insmod video_cirrus fi } if [ x$feature_default_font_path = xy ] ; then font=unicode else insmod part_gpt insmod ext2 set root='hd0,gpt7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3 else search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3 fi font="/usr/share/grub/unicode.pf2" fi if loadfont $font ; then set gfxmode=auto load_video insmod gfxterm set locale_dir=$prefix/locale set lang=en_US insmod gettext fi terminal_input console terminal_output gfxterm set timeout=10 ### END /etc/grub.d/00_header ### ### BEGIN /etc/grub.d/10_linux ### menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-9569ad18-8350-4337-bb1c-245cb4770ce3' { load_video set gfxpayload=keep insmod gzio insmod part_gpt insmod ext2 set root='hd0,gpt7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3 else search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3 fi echo 'Loading Linux core repo kernel ...' linux /boot/vmlinuz-linux root=UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initramfs-linux.img } menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-9569ad18-8350-4337-bb1c-245cb4770ce3' { load_video set gfxpayload=keep insmod gzio insmod part_gpt insmod ext2 set root='hd0,gpt7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3 else search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3 fi echo 'Loading Linux core repo kernel ...' linux /boot/vmlinuz-linux root=UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 ro quiet echo 'Loading initial ramdisk ...' initrd /boot/initramfs-linux-fallback.img } menuentry 'Arch GNU/Linux, with Linux core repo kernel (recovery mode)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-recovery-9569ad18-8350-4337-bb1c-245cb4770ce3' { load_video set gfxpayload=keep insmod gzio insmod part_gpt insmod ext2 set root='hd0,gpt7' if [ x$feature_platform_search_hint = xy ]; then search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3 else search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3 fi echo 'Loading Linux core repo kernel ...' linux /boot/vmlinuz-linux root=UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 ro single echo 'Loading initial ramdisk ...' initrd /boot/initramfs-linux-fallback.img } ### END /etc/grub.d/10_linux ### ### BEGIN /etc/grub.d/20_linux_xen ### ### END /etc/grub.d/20_linux_xen ### ### BEGIN /etc/grub.d/20_memtest86+ ### ### END /etc/grub.d/20_memtest86+ ### ### BEGIN /etc/grub.d/30_os-prober ### ### END /etc/grub.d/30_os-prober ### ### BEGIN /etc/grub.d/40_custom ### # This file provides an easy way to add custom menu entries. Simply type the # menu entries you want to add after this comment. Be careful not to change # the 'exec tail' line above. ##windows #menuentry "Windows 7" { # insmod ntfs # set root='(hd0,2)' # chainloader +1 # makeactive #} menuentry "Windows 7 (loader) (on /dev/sda3)" { insmod part_msdos insmod ntfs set root=(hd0,2) chainloader +1 } ### END /etc/grub.d/40_custom ### ### BEGIN /etc/grub.d/41_custom ### if [ -f ${config_directory}/custom.cfg ]; then source ${config_directory}/custom.cfg elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then source $prefix/custom.cfg; fi ### END /etc/grub.d/41_custom ### -------------------------------------------------------------------------------- =============================== sda7/etc/fstab: ================================ -------------------------------------------------------------------------------- # /dev/sda7 LABEL=/ UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 / ext4 rw,relatime,data=ordered 0 1 # /dev/sda4 LABEL=/home UUID=80978e5c-4b6c-4c73-851f-a2faec61a700 /home ext4 rw,relatime,data=ordered 0 2 # /dev/sda5 UUID=8fc6930e-bfd7-4c6b-ad35-e46e5c37be21 none swap defaults 0 0 #UUID=04EE-2685 /boot/efi vfat defaults 0 1 -------------------------------------------------------------------------------- ======================= sda7/boot/syslinux/syslinux.cfg: ======================= -------------------------------------------------------------------------------- # Config file for Syslinux - # /boot/syslinux/syslinux.cfg # # Comboot modules: # * menu.c32 - provides a text menu # * vesamenu.c32 - provides a graphical menu # * chain.c32 - chainload MBRs, partition boot sectors, Windows bootloaders # * hdt.c32 - hardware detection tool # * reboot.c32 - reboots the system # * poweroff.com - shutdown the system # # To Use: Copy the respective files from /usr/lib/syslinux to /boot/syslinux. # If /usr and /boot are on the same file system, symlink the files instead # of copying them. # # If you do not use a menu, a 'boot:' prompt will be shown and the system # will boot automatically after 5 seconds. # # Please review the wiki: https://wiki.archlinux.org/index.php/Syslinux # The wiki provides further configuration examples DEFAULT arch PROMPT 0 # Set to 1 if you always want to display the boot: prompt TIMEOUT 50 # You can create syslinux keymaps with the keytab-lilo tool #KBDMAP de.ktl # Menu Configuration # Either menu.c32 or vesamenu32.c32 must be copied to /boot/syslinux UI menu.c32 #UI vesamenu.c32 # Refer to http://syslinux.zytor.com/wiki/index.php/Doc/menu MENU TITLE Arch Linux #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 # boot sections follow # # TIP: If you want a 1024x768 framebuffer, add "vga=773" to your kernel line. # #-* LABEL arch MENU LABEL Arch Linux LINUX ../vmlinuz-linux APPEND root=/dev/sda7 ro INITRD ../initramfs-linux.img LABEL archfallback MENU LABEL Arch Linux Fallback LINUX ../vmlinuz-linux APPEND root=/dev/sda7 ro INITRD ../initramfs-linux-fallback.img LABEL windows MENU LABEL Windows COM32 chain.c32 APPEND hd0 3 LABEL hdt MENU LABEL HDT (Hardware Detection Tool) COM32 hdt.c32 LABEL reboot MENU LABEL Reboot COM32 reboot.c32 LABEL off MENU LABEL Power Off COMBOOT poweroff.com -------------------------------------------------------------------------------- =================== sda7: Location of files loaded by Grub: ==================== GiB - GB File Fragment(s) ================= sda7: Location of files loaded by Syslinux: ================== GiB - GB File Fragment(s) ============== sda7: Version of COM32(R) files used by Syslinux: =============== boot/syslinux/chain.c32 : COM32R module (v4.xx) boot/syslinux/hdt.c32 : COM32R module (v4.xx) boot/syslinux/menu.c32 : COM32R module (v4.xx) boot/syslinux/reboot.c32 : COM32R module (v4.xx) boot/syslinux/vesamenu.c32 : COM32R module (v4.xx) =============================== StdErr Messages: =============================== cat: /tmp/BootInfo-pE6NmGsD/Tmp_Log: No such file or directory cat: /tmp/BootInfo-pE6NmGsD/Tmp_Log: No such file or directory No volume groups found mdadm: No arrays found in config file or automaticallyAny idea of what I've been doing wrong?
Thanks in advance
Where is /dev/sda2 in your output? There is no info about that. I initially thought you wanted to BIOS boot Windows from GPT but I see you also have an efisys partition which you try to mount at /boot/efi so I am confused whether your Windows is installed in BIOS or UEFI mode. Is this output from latest version of boot-info-script?
Windows cannot boot from GPT via BIOS. You need to install or convert Windows to UEFI boot if you want it to boot from GPT disk. Or you need to revert back to MBR using gdisk and then reinstall Windows bootloader from within Windows Install ISO. Also read UEFI, UEFI Bootloaders and GPT pages in the wiki and http://msdn.microsoft.com/en-us/windows … 63525.aspx .
Post the output of 'fdisk -l /dev/sda', 'gdisk -l /dev/sda', 'parted /dev/sda print', 'blkid -c /dev/null' and grub.cfg separately.
Offline
Thanks guys for all the replies and I'm sorry for the late response. Having a few issues with my internet lately.
Alright so here we go with the outputs.
Electrolr0x wrote:Hi guys, I'm trying to make windows 7 to load on my notebook but it's been a struggle to do it.
....Post the output of 'fdisk -l /dev/sda', 'gdisk -l /dev/sda', 'parted /dev/sda print', 'blkid -c /dev/null' and grub.cfg separately.
fdisk -l /dev/sda
[mateus@localhost ~]$ sudo fdisk -l /dev/sda
[sudo] password for mateus:
WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x000c8458
Device Boot Start End Blocks Id System
/dev/sda1 1 976773167 488386583+ ee GPT
Partition 1 does not start on physical sector boundary.gdisk -l /dev/sda
[mateus@localhost ~]$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.6
Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: present
Found valid GPT with protective MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 83D692C7-6AD4-4424-93D9-9659C4E6EDE8
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 6125 sectors (3.0 MiB)
Number Start (sector) End (sector) Size Code Name
1 2048 206847 100.0 MiB EF02 EFI system partition
3 206848 119576575 56.9 GiB 0700 Basic data partition
4 119578624 296161279 84.2 GiB 0700
5 296161280 300306431 2.0 GiB 8200
6 300306432 928770047 299.7 GiB 0700
7 928770048 976771071 22.9 GiB 0700 parted /dev/sda print
[mateus@localhost ~]$ sudo parted /dev/sda print
Model: ATA Hitachi HTS54755 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 106MB 105MB EFI system partition bios_grub
3 106MB 61.2GB 61.1GB ntfs Basic data partition
4 61.2GB 152GB 90.4GB ext4
5 152GB 154GB 2122MB linux-swap(v1)
6 154GB 476GB 322GB ntfs
7 476GB 500GB 24.6GB ext4 legacy_bootblkid -c /dev/null
[mateus@localhost ~]$ sudo blkid -c /dev/null
/dev/sda1: PARTLABEL="EFI system partition" PARTUUID="17599272-26e5-4a0f-bb8f-5db684aa7f4f"
/dev/sda3: LABEL="win7" UUID="B8C011AFC01174BA" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="596fc009-a2f6-45ea-b0b2-e57cd8bfea73"
/dev/sda4: LABEL="/home" UUID="80978e5c-4b6c-4c73-851f-a2faec61a700" TYPE="ext4" PARTUUID="6ecbef33-266d-409c-8c21-20f6354285d2"
/dev/sda5: UUID="8fc6930e-bfd7-4c6b-ad35-e46e5c37be21" TYPE="swap" PARTUUID="d0af4a9b-5fef-477c-8571-95df3d6d790d"
/dev/sda6: LABEL="storage" UUID="657F7C2A0831F175" TYPE="ntfs" PARTUUID="1caecaf8-5cd9-4103-849e-01d35cb9b21a"
/dev/sda7: LABEL="/" UUID="9569ad18-8350-4337-bb1c-245cb4770ce3" TYPE="ext4" PARTUUID="28c2a2e4-94f7-46d2-ab51-4ae8c6c7eff4"grub.cfg
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
set default="0"
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3
else
search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
set timeout=10
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch GNU/Linux, with Linux core repo kernel' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-true-9569ad18-8350-4337-bb1c-245cb4770ce3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3
else
search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux.img
}
menuentry 'Arch GNU/Linux, with Linux core repo kernel (Fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-fallback-9569ad18-8350-4337-bb1c-245cb4770ce3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3
else
search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 ro quiet
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
}
menuentry 'Arch GNU/Linux, with Linux core repo kernel (recovery mode)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-core repo kernel-recovery-9569ad18-8350-4337-bb1c-245cb4770ce3' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt7'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt7 --hint-efi=hd0,gpt7 --hint-baremetal=ahci0,gpt7 9569ad18-8350-4337-bb1c-245cb4770ce3
else
search --no-floppy --fs-uuid --set=root 9569ad18-8350-4337-bb1c-245cb4770ce3
fi
echo 'Loading Linux core repo kernel ...'
linux /boot/vmlinuz-linux root=UUID=9569ad18-8350-4337-bb1c-245cb4770ce3 ro single
echo 'Loading initial ramdisk ...'
initrd /boot/initramfs-linux-fallback.img
}
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
##windows
#menuentry "Windows 7" {
# insmod ntfs
# set root='(hd0,2)'
# chainloader +1
# makeactive
#}
menuentry "Windows 7 (loader) (on /dev/sda3)" {
insmod part_msdos
insmod ntfs
set root=(hd0,2)
chainloader +1
}
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###And yes mate, this is the latest version of the bootinfo script.
Offline
@Electrolr0x:
Windows cannot boot from GPT via BIOS. You need to install or convert Windows to UEFI boot if you want it to boot from GPT disk. Or you need to revert back to MBR using gdisk and then reinstall Windows bootloader from within Windows Install ISO. Also read UEFI, UEFI Bootloaders and GPT pages in the wiki and http://msdn.microsoft.com/en-us/windows … 63525.aspx .
[mateus@localhost ~]$ sudo gdisk -l /dev/sda
GPT fdisk (gdisk) version 0.8.6Partition table scan:
MBR: protective
BSD: not present
APM: not present
GPT: presentFound valid GPT with protective MBR; using GPT.
Disk /dev/sda: 976773168 sectors, 465.8 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 83D692C7-6AD4-4424-93D9-9659C4E6EDE8
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 976773134
Partitions will be aligned on 2048-sector boundaries
Total free space is 6125 sectors (3.0 MiB)Number Start (sector) End (sector) Size Code Name
1 2048 206847 100.0 MiB EF02 EFI system partition
3 206848 119576575 56.9 GiB 0700 Basic data partition
4 119578624 296161279 84.2 GiB 0700
5 296161280 300306431 2.0 GiB 8200
6 300306432 928770047 299.7 GiB 0700
7 928770048 976771071 22.9 GiB 0700
From the output of gdisk, parted and blkid, I can definitely say you are totally confused. You installed Windows in BIOS mode in MBR disk and later converted it to GPT in the process of installing Arch. Then as required by GRUB in BIOS-GPT boot, you marked the /dev/sda1 as EF02 (BIOS Boot Partition), but the problem is you are thinking of it as EFI System Partition.
BIOS Boot Partition: bios_grub flag in GNU Parted, EF02 type code in gdisk, no FS aka unformatted, about 1 to 2 MiB size (not need for more than that), raw embedding space for grub's core.img in GPT disk. Required only in BIOS systems and only for GRUB(2).
EFI System Partition: Storage space for EFI bootloaders and apps, min 100 MiB (512 MiB recommended), mandatory FAT variant FS (FAT32 recommended), "boot" flag in GNU Parted and EF00 type code in gdisk. Required only in UEFI systems (but mandatory, irrespective of bootloader used).
You can't make Windows to boot from GPT disk via BIOS, period (unless you hack into Windows bootloader and make it work in BIOS-GPT config). If you want to continue with GPT boot, you also need to migrate to UEFI (i.e. UEFI-GPT setup). First you need to change the type code of sda1 to EF00 and then install UEFI bootloader (read the wiki's UEFI page fully).
(OR) you can revert back to MBR using gdisk (section "Converting from GPT to MBR" in http://rodsbooks.com/gdisk/mbr2gpt.html) and dual-boot Windows and Arch in BIOS-MBR setup.
Offline