You are not logged in.

#1 2013-07-02 08:04:48

liticovjesac
Member
From: Köln-Stockholm-Belgrade
Registered: 2008-07-16
Posts: 112

Installing package from aur during installation of system

Hi,
I want to install arch on one old imac that i got recently. Since the grub2 and syslinux instalation is so complicated (and i am linux user for almoust a decade)  i would like to use grub-legacy. It has been a while since i installed arch from scratch and i don't remember if its possible to use aur during system install or not.

Offline

#2 2013-07-02 08:07:40

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Installing package from aur during installation of system

Just add base-devel to the pacstrap command and then you can use wget and makepkg to install what you need from AUR.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2013-07-02 09:05:54

liticovjesac
Member
From: Köln-Stockholm-Belgrade
Registered: 2008-07-16
Posts: 112

Re: Installing package from aur during installation of system

Thanx. I guess that adding another repo to pacman.cfg while installing system is not possible?

Offline

#4 2013-07-02 11:51:52

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Installing package from aur during installation of system

AUR is not a repo (although it has 'repository' in the name ...), it doesn't host precompiled binaries. pacman cannot install packages directly from the AUR.

Also, I don't think installing syslinux is complicated.

Last edited by karol (2013-07-02 11:52:33)

Offline

#5 2013-07-02 12:09:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: Installing package from aur during installation of system

karol wrote:

Also, I don't think installing syslinux is complicated.

Agreed.  I've never used grub 2, so it may be a false impression - but that does seem complicated to me.  But it really couldn't get easier than syslinux.

Install the pacakge, and run one command and there's a good chance you'll be set.  At most you'd need to change sda3 in the syslinux.cfg to match where your root partition is.  And the syslinux.cfg syntax is very similar to grub 0.97's menu.lst - except with far more sane device identification: sda3 is sda3, sdb1 is sdb1, there is no hd(0,1), etc.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#6 2013-07-02 12:13:31

cju
Member
Registered: 2013-06-23
Posts: 194

Re: Installing package from aur during installation of system

karol wrote:

Also, I don't think installing syslinux is complicated.

Imho, it's even much easier than installing GRUB, especially for a GPT-Layout. smile

Offline

#7 2013-07-02 12:53:31

liticovjesac
Member
From: Köln-Stockholm-Belgrade
Registered: 2008-07-16
Posts: 112

Re: Installing package from aur during installation of system

Its nice that we have different opinion about syslinux.
If i make/have following partitions on that computer how should i easy install syslinux on sda3 and make it work?  I am ready to be enlightened and learn something new smile

sda1 mac system something
sda2 apple os
sda3 /boot
sda4 /home
sda5 swap

Offline

#8 2013-07-02 13:00:46

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: Installing package from aur during installation of system

pacman -S syslinux
syslinux-install_update -i -a -m

You could then edit syslinux.cfg to suite your tastes, but the defaults will all work as your root partition .... um - oops, your root isn't sda3.  Where is your root partition?

And do you want to dual boot with "something something"?

Last edited by Trilby (2013-07-02 13:01:40)


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#9 2013-07-02 13:13:51

liticovjesac
Member
From: Köln-Stockholm-Belgrade
Registered: 2008-07-16
Posts: 112

Re: Installing package from aur during installation of system

Sorry, its a typo. root - boot. sda3 should be /root

I am confused about -m flag. As i understand it does something with MBR. How that affect rEfit which is recomended to be used with linux instalation on apple computers? On my other apple computer which run arch and grub-legacy, boot goes first to rEfit and then to grub.
Yes, I want to be able to dual boot with mac os but that does rEfit when i start computer.

Offline

#10 2013-07-02 13:29:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,459
Website

Re: Installing package from aur during installation of system

I think you mean sda3 should be / not /root - unfortunately "root" is used to refer to at least 3 distinct things in linux, a root user (root), a root-user directory (/root/), and the root directory (/).

As for installing syslinux to a partition - that can be done much like grub-legacy, though I've never done it.  I suppose it's not as simple as the 'typical' syslinux install, but then installing grub to a partition isn't as simple as a typical grub install either.  I still think syslinux is at least as easy if not easier than grub-legacy (I've used both to a good extent), but in this case if you're just much more familiar with grub-legacy, that could be a reason to go with that.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#11 2013-07-02 13:42:46

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,727

Re: Installing package from aur during installation of system

So you want to use grub-legacy on a UEFI system? Why?

Last edited by Scimmia (2013-07-02 13:48:50)

Offline

Board footer

Powered by FluxBB