You are not logged in.
Hello,
I just installed Arch Linux on my laptop with Windows 7. I followed the Beginners Guide. However, when I did "grub-install --target=i386-pc --recheck /dev/sda" it said something along the lines of:
warning, no BIOS boot partition, embedding is not possible
warning, embedding is not possible, need to use blocklists
error, will not proceed with blocklists.
Now, I think this was my mistake. I decided to use the --force option. Now grub works, and boots to linux, but when I try to boot to windows, windows says Windows failed to boot.
Please help, and if I have missed any information then just ask me.
Grub version is 2.02 beta 2-4.
Grub is booting Windows, but Windows displays this:
Windows failed to start. A recent hardware or software change might be the cause.
Thanks a lot!
Last edited by 097 (2014-07-10 22:20:23)
Offline
Create a BIOS boot partition (using gdisk, add a new partition in sectors 34-2047 of type "EF02") and re-run grub-install...
If os-prober is installed, GRUB should provide a menu entry for Windows 7 (after running grub-mkconfig) ![]()
Jin, Jîyan, Azadî
Offline
Actually, there already is an entry for Windows 7. It just doesn't work. Here it is:
### BEGIN /etc/grub.d/30_os-prober ###
menuentry 'Windows 7 (loader) (on /dev/sda1)' --class windows --class os $menuentry_id_option 'osprober-chain-AC66E08666E0529E' {
insmod part_gpt
insmod ntfs
set root='hd0,gpt1'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt1 --hint-efi=hd0,gpt1 --hint-baremetal=ahci0,gpt1 AC66E08666E0529E
else
search --no-floppy --fs-uuid --set=root AC66E08666E0529E
fi
chainloader +1
}
### END /etc/grub.d/30_os-prober ###
Also, when I ran gdisk, it says this: Found valid GPT with protective MBR; using GPT.
Can I just ignore that?
Thank you for your help!
Offline
Also, when I ran gdisk, it says this: Found valid GPT with protective MBR; using GPT.
Can I just ignore that?
That means your (GPT-formatted) disk is undamaged ![]()
Try creating the BIOS boot partition & see if GRUB will re-install correctly...
Jin, Jîyan, Azadî
Offline
There were no errors, so I think everything went ok. However, gdisk said this:
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.
Does this mean I need to restart before doing grub-install? Also, would the target be i386-pc or x86_64-efi?
Thanks again!
Offline
There were no errors, so I think everything went ok. However, gdisk said this:
Warning: The kernel is still using the old partition table.
The new table will be used at the next reboot.Does this mean I need to restart before doing grub-install? Also, would the target be i386-pc or x86_64-efi?
Thanks again!
You need to read https://wiki.archlinux.org/index.php/Wi … imitations. Target should be x86_64-efi. DIsable "Legacy boot" mode in your BIOS setup.
Last edited by the.ridikulus.rat (2014-07-10 19:35:57)
Offline
"i386-pc" is for booting in non-EFI "CSM" or "Legacy" mode, which is how I presumed you were booting.
"x86_64-efi" is for booting in EFI-mode: you will need an EFI system partition for this (your Windows 7 installation may have already created one), mount /boot to the ESP for the simplest configuration...![]()
Jin, Jîyan, Azadî
Offline
mount: /boot Is not a block device.
What does that mean?
Offline