You are not logged in.

#1 2017-01-19 16:48:08

cmykevin
Member
From: Brooklyn, NY
Registered: 2014-05-07
Posts: 8

Delete i686 files from Live USB?

For whatever reason, the live medium is booting as i686 on my Core 2 Duo iMac.
While the actual Arch install recognizes that it's an x86_64 machine, packages installed through the live medium come in as i686.

This causes issues (for example, I had errors with my graphics driver where the screen goes black – when I boot into the live usb to fix it, any files installed will by i686).

My question is: Is it safe to delete the i686 files from my live medium, in order to force it to boot in x86_64 mode?
If so, which files/directories should I focus on?

Thanks

Offline

#2 2017-01-19 16:50:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Delete i686 files from Live USB?

How did you write the image to the drive?

Online

#3 2017-01-19 17:04:06

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,963
Website

Re: Delete i686 files from Live USB?

edit
Ignore this post. See Scimmia's reply below.

pacstrap is just a wrapper around pacman with some default arguments. By my interpretation of the code (I haven't tested it), you should be able to pass "--arch x86_64" as the final argument to pacstrap to force it to use your target architecture (or use the pacstrap option to select a modified configuration file with the Architecture set to x86_64).

Last edited by Xyne (2017-01-19 17:46:12)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#4 2017-01-19 17:15:07

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Delete i686 files from Live USB?

If it's booting i686, though, he wouldn't be able to chroot, and a whole lot of install scripts and hooks would fail. Don't do this.

Online

#5 2017-01-19 17:54:02

cmykevin
Member
From: Brooklyn, NY
Registered: 2014-05-07
Posts: 8

Re: Delete i686 files from Live USB?

Scimmia wrote:

How did you write the image to the drive?

I used unetbootin only because I got a "Missing Operating System" error when using dd directly.

Offline

#6 2017-01-19 18:12:40

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Delete i686 files from Live USB?

Yeah, unetbootin is the problem here. Know issue.

Online

#7 2017-01-19 18:51:19

cmykevin
Member
From: Brooklyn, NY
Registered: 2014-05-07
Posts: 8

Re: Delete i686 files from Live USB?

Got it. So is it feasible to delete the i686 files, or should I be looking to solve the Missing OS issue?

For clarification, the dd write was done exactly as in the wiki, from an existing Arch install:

dd bs=4M if=/path/to/archlinux.iso of=/dev/sdx status=progress && sync

Offline

#8 2017-01-19 19:26:59

mis
Member
Registered: 2016-03-16
Posts: 234

Re: Delete i686 files from Live USB?

Maybe try another usb drive? I had some issues with a very cheap one, no boot at all..

Offline

#9 2017-01-20 00:15:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Delete i686 files from Live USB?

Is this a UEFI or a BIOS system?

Online

#10 2017-01-20 01:50:52

cmykevin
Member
From: Brooklyn, NY
Registered: 2014-05-07
Posts: 8

Re: Delete i686 files from Live USB?

uefi

Offline

#11 2017-01-20 01:52:15

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Delete i686 files from Live USB?

Being that old, is it a 32-bit UEFI implementation? Information on that is in the Wiki.

Online

#12 2017-01-20 02:06:59

cmykevin
Member
From: Brooklyn, NY
Registered: 2014-05-07
Posts: 8

Re: Delete i686 files from Live USB?

Seems to have 64 bit UEFI. It's a late 2009 27" iMac. Seems like earlier than 2007 had 32 bit.

Offline

#13 2017-01-20 02:22:58

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,544

Re: Delete i686 files from Live USB?

Core 2 Duo in a late 2009 system? Wouldn't have expected that.

If that's the case, writing it directly to USB should work AFAIK.

Online

Board footer

Powered by FluxBB