You are not logged in.

#1 2011-10-16 11:13:09

killgriff
Member
Registered: 2011-07-24
Posts: 37

Grub installation error

I'm trying to dual boot with osx on an imac and have the hard drive partitioned so that /dev/sda2 is osx, /dev/sda3 is boot, /dev/sda4 is swap, /dev/sda5 is /, and /dev/sda6 is the home folder. I get all the way through the installation (64 bit on a dual install cd) with no problems, but when I try to install grub it says "Error installing GRUB. (see /dev/tty7 for output). In tty7 it says:
grub> device (hd0) /dev/sda
grub> root (hd0,2)
Filesystem type unknown, partition type 0xaf
grub> setup (hd0)
...then continues with the error shown in setup. After attempting to install grub and editing the config file my only option on boot device selection is /dev/sda. If I could install it on /dev/sda3 it should work, but I am not given that option. Is there any way to add a device to the Boot Device Selection menu? If there is anything I'm doing wrong, I'd appreciate the advice.

Offline

#2 2011-10-16 11:29:03

7etc/
Member
Registered: 2010-05-08
Posts: 47

Re: Grub installation error

Hi, I don't understand your partitions. You have one partition for osx, ok. And for a basic linux  instalation you need one partition for /, one for swap and another one for home. Delete the boot partition, and reparticioned your HD once again

Offline

#3 2011-10-16 20:35:54

killgriff
Member
Registered: 2011-07-24
Posts: 37

Re: Grub installation error

Ok, but if I delete the boot partition, where will grub be installed?

Offline

#4 2011-10-17 19:18:12

7etc/
Member
Registered: 2010-05-08
Posts: 47

Re: Grub installation error

When you are installing arch, grub ask you where to install, and it show you your partitions. The first pari¡tion, where you have install your system, should be called sda. Try to install there

Offline

#5 2011-10-17 19:32:25

7etc/
Member
Registered: 2010-05-08
Posts: 47

Re: Grub installation error

Another thing, grub change the name of the partitions. her is an exmple of mine:

DEVICE NAME CONVERSIONS
#
#  Linux           Grub
# -------------------------
#  /dev/fd0        (fd0)
#  /dev/sda        (hd0)
#  /dev/sdb2       (hd1,1)
#  /dev/sda3       (hd0,2)

My installation is so:
# (0) Arch Linux
title  Arch Linux 64
root   (hd0,4)
kernel /boot/vmlinuz-linux root=/dev/sda5 ro quiet nomodeset
initrd /boot/initramfs-linux.img

You can open it with #nano (or vi, if you prefer it...) /boot/grub/menu.lst

Last edited by 7etc/ (2011-10-17 19:43:46)

Offline

Board footer

Powered by FluxBB