You are not logged in.

#1 2010-04-21 01:03:48

c008
Member
Registered: 2010-04-17
Posts: 20

Need help with Grub2

Hi all,
OK, I am not able to use the old boot loader since it will not boot and I am not able to change the order of my harddrives at the moment.
I am new to Arch, so any help is really apreciated.
First I installed Arch onto my first drive, SDA which is an IDE drive.
I then selected not to instal a boot loader and I then installed grub2 and it removed the old Grub.
But when I issue grub-install /dev/sdb it doesn't work and I hae used the chroot . from within /mnt.
Isn't this correct, or what am I missing?
Many thanks!

Offline

#2 2010-04-21 02:18:00

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: Need help with Grub2

"doesn't work" could mean a lot of things. You need to be specific with your error message.

Why do you say that grub-install 'removed the old Grub' when you previously mention that you opted not to install a bootloader?

Why are you installing grub to /dev/sdb when you installed Arch to /dev/sda?

Did you mount /dev /proc and /sys when you chrooted?

Offline

#3 2010-04-21 07:27:33

demian
Member
From: Frankfurt, Germany
Registered: 2009-05-06
Posts: 709

Re: Need help with Grub2

You don't have to chroot, you can just mount the partition you want grub2 installed in to /mnt and use grub-install --root-directory=/mnt /dev/sda  (or sdb, w/e).
But falconindy is right, you probably failed because you didn't mount /dev. /proc and /sys.
And isn't IDE supposed to have the prefix h? Wouldn't it be HD[A,B] instead of SD[A,B] in your case?

Greets,
demian

Last edited by demian (2010-04-21 07:29:33)


no place like /home
github

Offline

Board footer

Powered by FluxBB