I installed Arch earlier, but once I get to the stage where I select which partition to install GRUB, I get an error that it cannot be installed and that I should look at /dev/tty7. I'm not sure how to look in there, for the installation failed and I cannot boot into Arch. I can, however, boot into a non-graphical GRUB where I have tried to "find /boot/grub/stage1", but it returns that the file cannot be found.
Any ideas on how to get GRUB working so I can get into Arch? :]
how did you setup the partition map? did you use cfdisk?
Macs don't use a bootloader, they use openEFI, and openEFI only uses the GPT partition table. Cfdisk only writes to the mbd partition table, so you have to use parted. Once you use parted, grub should install fine, but if it doesn't, get rEFIt (a program that makes openEFI accessable and gives you a nice bootscreen). Then you can get into the openEFI shell and sync the MBD and GPT partition tables so that grub works.
It is most likely you are using GPT. I had the same problem and it is because legacy grub cannot interact with GPT.
If your intention is to dual boot osx and archlinux I think you should use boot camp to partition the space you need for archlinux. rEFIt is the opensource version of it, I think. This way grub will work. Check out the wiki: http://wiki.archlinux.org/index.php/Macbook.
To go to tty7 press ctrl-alt-F7 (you are at ctrl-alt-F1).
@Lexion I used GParted to partition, then I used whichever partition program comes built into the Arch installation. I'm also using rEFIt, but without GRUB, the Arch partition will say "Missing Operating System." I have looked this up and found that I also need GRUB.
@stryder I'll double check the wiki, but I believe I have done exactly what it has told me to do. Also, whenever I ctrl-alt-F7, it goes into command line, but it brings up some kind of error and I cannot type; I'm forced to manually shut down the computer.
Here's your solution: Use the 2008.06 iso.
Last edited by DeeCodeUh (2010-02-05 20:38:02)
Can you elaborate why I should? If I do, should I update after I do?
Because I installed Arch on my Girlfriend's Macbook a month ago. Strangely enough, that was the last iso that worked.
So install using that CD, update, move all of the .pacnew files to where they should be, and you'll be good as new.
It's a good thing Arch is rolling release.
Okay thanks. I'll try it out!
It went well until I got to the Install Bootloader section. Then with either GRUB or LILO it said the installation couldn't be complete and asked me if GRUB/LILO were installed. Wasn't that the point of the Install Bootloader section... haha
Last edited by rodney3 (2010-02-05 22:23:15)
Did you have the grub package selected during package selection?
Grub actually isn't in the package list unless it's listed as something other than 'grub'. LILO is, but whenever I try to install the packages, I get an error:
warning: couldn't create package cache, using /tmp instead
:: Retrieving packages from core...
error: fail to commit transaction (unexpected error)
error: error downloading 'gcc-libs-4.3.1-1-x86_64.pkg.tar.gz':
warning: failed to retrieve some files from core
errors occured, no packages upgraded
Package installation FAILED
Also, I get the GCC error even when GCC isn't selected.
Is this a net install CD?
What does ifconfig say? You don't need to tell me exactly what it says, just does it have a network device running?
Can you ping google.com?
It's not the net install, it's the core install. And I'm not sure where I can actually enter commands. The only spot where I actually type is on startup with GRUB.
It sounds like the image you downloaded is corrupted.
Get the md5sum of the iso you downloaded and check it with this: http://goo.gl/brS0
Nope, I just checked and it's totally fine. Hmm.
Okay, a few things. One, I found that to get to the CLI, I had to hit Alt-F7 rather than Ctrl-Alt-F7. I tried to cat TTY7, but it didn't do anything. Also, when I fdisk -l, it doesn't show all of my partitions; it only shows sda1 through sda4. Any ideas why?
Unless you have an extended partition with more partitions inside of it, a hard drive can only support 4 partitions.
So is this what you're saying?
You ran the 2008.06 boot cd, booted up until you logged in as root, ran /arch/setup, went through each numbered process in order, and when you got to the "install packages" stage, it gave you an error saying that it failed to retrieve packages?
That is correct. And it only does this with the 2008.06 cd. The latest stable release yields no problems in that area, but still problems installing GRUB.
hm, I don't know what to say. That image has always worked well for me.
Okay so now on startup, when I root in GRUB, I actually get something! But I'm not sure what to type in with kernel. Any help? I tried to do:
kernel /vmlinuz root=/dev/sda3
but it gives me an Error 15: File Not Found
Last edited by rodney3 (2010-02-07 02:07:43)
Maybe you're missing ro on the end of the line?
haha, I don't know enough about grub. I don't even know what "ro" does.
# (0) Arch Linux title Arch Linux root (hd1,0) kernel /vmlinuz26 root=/dev/disk/by-uuid/33d93913-a5a7-469e-a148-1ffceb5cdd8f ro initrd /kernel26.img
I hope this helps.
Okay, so apparently ro stands for read only.
I could have guessed that.
That helped out a lot, and I checked out my menu.lst by using an old live-cd of another distro, so I got it booting, but 2 seconds after it starts booting, I get a kernel panic. Gah!
Oh man, the problems just never stop, do they? lol
haha yeah I think I'm going to reinstall Fedora until I get a new laptop (which will be a PC). This thread wasn't the beginning of the problems, either! Anyway, I hate to give up on something like this, but thanks for all of your help!