You are not logged in.

#1 2008-01-10 09:18:09

devosion
Member
Registered: 2008-01-10
Posts: 2

Unable to load GRUB after install

I recently purchased an Acer Extensa 4620 and wanted to load Archlinux on it. For those of you unfamiliar with this particular brand, Acer has a bad habit of partitioning the hard drive into strange partitions. In the case of my 120gb hard drive I had two partitions of about 56gb each and a 5gb ghost partition. I cleaned up the larger two partitions and made them into a single 115gb partition. From here I partitioned this into my /, /home/, and swap for my install. After completing the install, and loading GRUB into /, I am given the error of no OS, which is the case since I no longer have XP installed. Im curious if whether or not I installed GRUB correctly. Should I have installed it in /, or made the /boot partition? Or does none of this matter because the 5gb ghost parition, which is for recovery tools, could be somehow interfering?

I thought i'd ask before I went ahead and deleted the partition. My next step before doing so is recreating the partitions and including a /boot and installed GRUB here.

I'd appreciate any help in this quandry.

By the way pardon the bad grammar. Sleeplessness is getting to me.

Last edited by devosion (2008-01-10 09:19:30)

Offline

#2 2008-01-10 11:44:23

Jack B
Member
Registered: 2006-06-27
Posts: 107
Website

Re: Unable to load GRUB after install

I think you may have grub in the wrong place, though I'm not sure exactly what you've done.

Grub consists of two parts, the loader itself, and the files.  The files just have to be somewhere the loader can read them, so /boot/ (does not have to be a separate partition) is the usual place.

The loader can be in one of two places, the root partition (which I think you may have done) or the MBR.  If it is in the MBR it will be used to boot the computer, if it is in the root partition, it expects a different bootloader (in the MBR) to boot the computer, then pass over to it.
Thus, you should be installing to the MBR, not the root partition.

Either way, it looks like grub is not installed in the MBR, so try:

install-grub /dev/sda

Replace sda with the appropriate device if your hard drive is not sda.  Note sda not sda1.
You'll have to do so with a live CD of course, if you cannot boot.

You can get a bit more info on grub in the wiki

HTH
Jack

Offline

#3 2008-01-10 15:04:09

jacko
Member
Registered: 2007-11-23
Posts: 840

Re: Unable to load GRUB after install

if u want grub to boot when the computer is turned on then U need to install it in the MBR.

If u have one drive in your computer and u are using the arch install CD then the command  jack b gave above would work. It doesn't matter if its IDE or SATA as arch only see's SATA drives even if they are IDE. Don't worry, your IDE will still work its just being labeled as a SATA device.

Offline

#4 2008-01-10 17:19:40

zenlord
Member
From: Belgium
Registered: 2006-05-24
Posts: 1,223
Website

Re: Unable to load GRUB after install

Did you select XFS as root FS in the installer? Did you use the current official iso (2007.08-2)? If yes on both questions: this is a known bug and fixed in the new install-iso's you can find in the announceents-section of this forum.

Zl.

Offline

#5 2008-01-10 19:37:09

devosion
Member
Registered: 2008-01-10
Posts: 2

Re: Unable to load GRUB after install

I gave the command a shot but received an error within the live cd. So I went ahead and went through the installer again and used that to install grub to /dev/sda and it worked like a charm. Thanks!

Offline

Board footer

Powered by FluxBB