You are not logged in.

#1 2009-05-31 08:58:57

Dimon-z
Member
Registered: 2008-06-22
Posts: 92

Grub error [Solved]

Hello all..
i install windows 7 to other partition and windows installed to mbr own bootloader..
I boot charka live cd..install grub to mbr(root (hd0,0), setup(hd0)) all ok..if i boot me show error
"GRUB loading, please wait...
Error 2"
files on /boot/grub/

-rwxr-xr-x 1 root root    197 Апр 17 03:08 default
-rw-r--r-- 1 root root     15 Май 30 22:16 device.map
-rw-r--r-- 1 root root   9140 Авг  6  2006 e2fs_stage1_5
-rw-r--r-- 1 root root   8964 Авг  6  2006 fat_stage1_5
-rw-r--r-- 1 root root   8052 Авг  6  2006 ffs_stage1_5
-rw-r--r-- 1 root root   1822 Май 30 22:16 grub.txt
-rw-r--r-- 1 root root   8148 Авг  6  2006 iso9660_stage1_5
-rw-r--r-- 1 root root   9696 Авг  6  2006 jfs_stage1_5
-rw-r--r-- 1 root root    512 Май 30 22:16 mbr.sda.9234
-rw-r--r-- 1 root root   1421 Май 31 08:42 menu.lst
-rw-r--r-- 1 root root   8244 Авг  6  2006 minix_stage1_5
-rw-r--r-- 1 root root  10932 Авг  6  2006 reiserfs_stage1_5
-rw-r--r-- 1 root root    512 Авг  6  2006 stage1
-rw-r--r-- 1 root root 116786 Авг  6  2006 stage2
-rw-r--r-- 1 root root 116786 Авг  6  2006 stage2_eltorito
-rw-r--r-- 1 root root   8392 Авг  6  2006 ufs2_stage1_5
-rw-r--r-- 1 root root   7732 Авг  6  2006 vstafs_stage1_5
-rw-r--r-- 1 root root  10588 Авг  6  2006 xfs_stage1_5

how to fix this?..

Last edited by Dimon-z (2009-05-31 10:31:19)

Offline

#2 2009-05-31 09:33:56

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: Grub error [Solved]

could stage1 be on a different drive than you think?

grub> find /boot/grub/stage1

Arch i686 on Phenom X4 | GTX760

Offline

#3 2009-05-31 09:34:21

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: Grub error [Solved]

http://wiki.archlinux.org/index.php/Reinstalling_GRUB
and try to reinstall the grub package too, just to be sure.
Iirc, error 2 is bad file or directory type.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#4 2009-05-31 09:42:02

stefanwilkens
Member
From: Enschede, the Netherlands
Registered: 2008-12-10
Posts: 624

Re: Grub error [Solved]

Mr.Elendig wrote:

http://wiki.archlinux.org/index.php/Reinstalling_GRUB
and try to reinstall the grub package too, just to be sure.
Iirc, error 2 is bad file or directory type.

Note on that:
http://www.gnu.org/software/grub/manual … 02dinstall

3.3 Installing GRUB using grub-install

Caution: This procedure is definitely less safe, because there are several ways in which your computer can become unbootable. For example, most operating systems don't tell GRUB how to map BIOS drives to OS devices correctly—GRUB merely guesses the mapping. This will succeed in most cases, but not always. Therefore, GRUB provides you with a map file called the device map, which you must fix if it is wrong. See Device map, for more details.

And on error 2:
http://www.uruk.org/orig-grub/errors.html#stage1_5

2 : "Selected disk doesn't exist"

This error is returned if the device part of a device- or full filename refers to a disk or BIOS device that is not present or not recognized by the BIOS in the system.


Arch i686 on Phenom X4 | GTX760

Offline

#5 2009-05-31 10:31:01

Dimon-z
Member
Registered: 2008-06-22
Posts: 92

Re: Grub error [Solved]

stage 1 on hd0..i run grub-install and all worked smile thank wink

Offline

Board footer

Powered by FluxBB