You are not logged in.

#1 2010-12-04 06:02:51

hamptonids
Member
Registered: 2010-11-05
Posts: 5

Grub error 22 on fresh install, but the CD redirects it correctly??

Hi All,
     I just installed arch fresh and I am receiving an error 22. The weird part is if I have the Arch CD in and choose option 2 (to boot your own OS) grub works fine?

I have a disk with windows 7, then one with arch and a separate disk for /home

sda0 = win7
sdb1=/ sdb2=swap
sdc1=/home

Everything looks correct in menu.lst. It seems weird that the CD hands it over and it works, but not without?

Any advice appreciated.

TIA

Offline

#2 2010-12-04 09:59:13

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Grub error 22 on fresh install, but the CD redirects it correctly??

Not weird at all - it just means grub is not installed correctly on the hard drive, whereas it is (of course) on the CD.

Reinstall grub and you should be fine.

Offline

#3 2010-12-04 18:13:35

hamptonids
Member
Registered: 2010-11-05
Posts: 5

Re: Grub error 22 on fresh install, but the CD redirects it correctly??

ok, so I reinstalled grub, but I think I might have installed it on sdb instead of sda. Now it thinks that the second HD (sdb) is root (hd0), but windows won't load at all. I have tried to correct it, but it doesn't work. That being said when the CD is in it still works fine?
Could someone assist me in what I should be telling grub and how to get it off the second HD? What i have tried to do to fix it is, boot into my arch install and type:

grub
root (hd1,0)
setup (hd0)
quit

Since arch is on the second physical HD and shows as sdb1 (2 is swap) and windows is on sda.

I would really like to get this solved, so I don't have to reinstall.

TIA

Offline

#4 2010-12-05 06:33:29

Vagabond
Member
Registered: 2010-09-18
Posts: 14

Re: Grub error 22 on fresh install, but the CD redirects it correctly??

One newbie to another: it looks as if maybe you don't speak Grubbish.  The designations of drives and partitions on them is different for Grub.  There is, for example, no such thing as sda0 (that's a mix of Plainspeak and Grubbish). 

Here are some equivalents that might clarify matters:

sda1 = hd0,0
sda2 = hd0,1
sdb3 = hd1,2

Grub starts counting with 0, your /etc/fstab starts with 1 or with a.

So in Grubbish, hd1,2 means "hard drive number two, third partition."

Offline

#5 2010-12-05 16:11:48

shulamy
Member
From: israel
Registered: 2010-09-11
Posts: 454

Re: Grub error 22 on fresh install, but the CD redirects it correctly??

as far as i know you need to map a windows drive

if you whant to boot it.

map (hd0) (hd1) or map (hd1) (hd0)

its in tha info->booting->OS-specific notes->DOS/Windows

Offline

#6 2010-12-07 19:08:57

hamptonids
Member
Registered: 2010-11-05
Posts: 5

Re: Grub error 22 on fresh install, but the CD redirects it correctly??

It appeared to be something with the drive. I had some other wierdness with it. Once I removed it and reinstalled everything grub wise was playing nice. Now if I can just get the HDMI audio sound working with an Nvidia GTX 470 life would be good.

Thanks for your suggestions1

Offline

#7 2010-12-07 20:10:46

surfed
Member
From: Vienna Austria
Registered: 2009-10-30
Posts: 86

Re: Grub error 22 on fresh install, but the CD redirects it correctly??

shulamy wrote:

as far as i know you need to map a windows drive

if you whant to boot it.

map (hd0) (hd1) or map (hd1) (hd0)

its in tha info->booting->OS-specific notes->DOS/Windows


only if it is not on the first drive.

Offline

Board footer

Powered by FluxBB