You are not logged in.

#1 2013-03-26 12:45:42

d3ka
Member
Registered: 2013-03-26
Posts: 4

arch on macbook problem

Hey guys,

i have a little problem installing Arch here.
First of all, i'm working on a macbook 5,5 with a SSD and a HDD with the linux partion on the hdd.

I coulnd't really boot Arch directly(dd-ed the *.iso to the usb stick, but refit refused to boot it), so i booted ubuntu(which worked just fine) and installed Arch with the bootstrap script.

Fine. Everythink worked out until the point "Configure the system" in the installtion guide.
So i should:
# genfstab -p /mnt >> /mnt/etc/fstab

But in the chroot Arch, it tells me that genfstab cannot be found or installed over pacman. Also ubuntu doesn't know the command.

Anybody knows how to work around this problem?

Output of the OS X diskutil list:

Last edited by d3ka (2013-03-26 15:51:54)

Offline

#2 2013-03-26 12:48:45

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

Re: arch on macbook problem

Can you boot an arch liveCD?  From there you can run genfstab.

Alternately, all genstab does is create a default fstab file.  See the examples in the wiki article of fstab, and you can create it manually.


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

Offline

#3 2013-03-26 12:53:07

d3ka
Member
Registered: 2013-03-26
Posts: 4

Re: arch on macbook problem

No, i cannot boot the arch live cd. I have no clue why, but i can only boot Ubuntu with refit.

Anyway, i'm not really sure about the fstab.
Here is the partition table:

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1      409639      204819+  ee  GPT
/dev/sda2   *      409640   599406431   299498396   af  HFS / HFS+
/dev/sda3       599406592   972838911   186716160   83  Linux
/dev/sda4       972838912   976773119     1967104   82  Linux swap / Solaris

Would this fstab entry would look ok?

# <file system>        <dir>         <type>    <options>             <dump> <pass>

/dev/sda3              /             ext3      defaults,noatime      0      1
/dev/sda4              none          swap      defaults              0      0

Offline

#4 2013-03-26 13:38:47

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

Re: arch on macbook problem

First, to be able to boot the live CD you have to wait for refit to timeout - you'll wait at that grey screen for up to a minute or two, then it will finally read the CD - I don't know that it'd ever read the usb.

That looks like an appropriate fstab.

But you do know that for a mac you really should be doing the efi/uefi setup, right?  I did a "standard" install on a macbook, and it works fine, but I have to wait for refit to time out every time I boot.  This takes boot times from a matter of seconds, to often a couple minutes.


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

Offline

#5 2013-03-26 13:54:48

d3ka
Member
Registered: 2013-03-26
Posts: 4

Re: arch on macbook problem

Thanks,
I'm not really sure about the problem here. I did the efi/uefi setup, i get the grub menu before the refit menu. But if i just hit the command key, i get into the refit menu and can boot OS X without a problem. No waiting for timeouts or so.

Otherwise: i now may have a problem with the bootloader. I set up grub but it won't boot with the error: no such device: ad4103fa-d940-and so on.

Ok, looks like my grub is broken, i hope i figure this out

Offline

#6 2013-03-26 14:36:12

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

Re: arch on macbook problem

I'm not following - you don't need to wait for a timeout to boot OSX.  Refit was made for OS X.  You'd need to wait for the timeout before it would read an arch CD.


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

Offline

#7 2013-03-26 15:55:21

d3ka
Member
Registered: 2013-03-26
Posts: 4

Re: arch on macbook problem

Ok, missunderstanding here, nervermind, thank you Trilby.


Ok, my Arch enviroment is now running, but i encountered the next problem.

Arch doesn't recognize my ethernet controller sad

lspci | grep 0a
00.0a.0 Ethernet controller: NVIDIA Corporation MCP79 Ethernet (rev b1)

ip link gives a wired interface enp0s10

i set it up with ip link set enp0s10 up
give it an ip adress ip addr add 10.0.0.19 dev enp0s10
and a gateway ip route add default via 10.0.0.138

but then:
EDIT: Nevermind, figured it out. Now i'm fighting with Xorg big_smile

what the hell?

Last edited by d3ka (2013-03-26 16:53:16)

Offline

Board footer

Powered by FluxBB