You are not logged in.

#1 2013-01-08 19:09:27

roddur
Member
Registered: 2012-11-11
Posts: 4

grub-install with target i386-pc in 64bit machine

Dear friends,
while installing grub, I have done --target=i386-pc as I am not aware of correct target for me.
I have a 64bit machine,
$uname -rm
3.6.11-1-ARCH x86_64

can I change it now? and should I change it?

Offline

#2 2013-01-08 20:07:01

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,597
Website

Re: grub-install with target i386-pc in 64bit machine

Welcome to Arch.  We have an excellent wiki which should be consulted before posting common questions.

https://wiki.archlinux.org/index.php/Gr … fi_package

Failing that, google is an excellent source, for example: http://lmgtfy.com/?q=grub-install+target

Welcome to Arch.

Last edited by graysky (2013-01-08 20:18:36)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2016-01-26 21:08:04

alecz
Member
Registered: 2016-01-26
Posts: 1

Re: grub-install with target i386-pc in 64bit machine

Googling for "grub install target" returns the Archlinux wiki and this post.
From the only reply to this thread one might deduct that you need so specify --target=x86_64-efi for 64-bit system.

I found that this is not necessarily required for 64-bit systems.

As long as you don't use UEFI, I don't know if it is needed to use  --target=x86_64-efi for 64-bit system.
I chose --target=i386-pc, and on boot GRUB gave the option to choose x64 or i686 kernel

This wiki has some details about the --target options: https://wiki.gentoo.org/wiki/GRUB2_Quick_Start
Maybe someone with more insight can give more details on when to use what.

Offline

#4 2016-01-26 21:25:15

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: grub-install with target i386-pc in 64bit machine

i386-pc is fine for grub2
The kernel takes over and runs x86_64 given you are using 64-bit kernel.  You could use the 32-bit kernel on 64-bit, but probably more stable on 64-bit.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#5 2016-01-29 06:09:00

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: grub-install with target i386-pc in 64bit machine

@alecz,

please don't bump old threads.

https://wiki.archlinux.org/index.php/Fo … bumping.22

Closing.

Offline

Board footer

Powered by FluxBB