Mailinglist Archive: opensuse (4498 mails)

< Previous Next >
Re: [opensuse] GRUB error - can anyone help please?
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Sun, 26 Nov 2006 13:14:19 +0100 (CET)
  • Message-id: <Pine.LNX.4.64.0611261307390.1480@xxxxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


The Sunday 2006-11-26 at 14:01 +1100, Basil Chupin wrote:


> > Check that file, perhaps it is broken somehow. Usually, "/boot/initrd" is a
> > symlink, so check the link and the destination. Also, you can try to expand
> > it on a temporary dir, it is gzipped.
>
> Well, if it[1] was broken then I wouldn't be able to boot into the installed
> system from the Installation CD/DVD, and if it couldn't fit into memory then,
> again, it wouldn't fit when booting from the Installation CD.

I'm not sure of that.

> Something very weird going on here and I cannot figure it out.
>
> I used the Repair System from the Installation CD and when the automatic
> repair did nothing to fix the problem I used the Expert Mode and tried to
> Repair the Boot Loader. The interesting -- if you call this error message
> "interesting"! -- thing here is I got the following error message:
>
> grub> setup --stage2=/boot/grub/stage2 (hd0,8) (hd0,8)
> Error 21 Selected disk does not exist
>
> but, of course, the disc does exist.

Have a look at the "/boot/grub/device.map" file. Mine has:

(hd1) /dev/hdb
(fd0) /dev/fd0
(hd3) /dev/hdd
(hd0) /dev/hda


> Grub is reading something from somewhere which has been corrupted but the
> Installation CD is not reading the same info and therefore boots into the
> existing system correctly. But what is grub reading and, more importantly, how
> to fix this is the 64,000 dollar question :-) (which I cannot answer :-( ).
>
> ([1] BTW, where is this gzipped copy located" I couldn't find it :-( .)

Copy? I don't understand.

But:

nimrodel:/boot # l initrd*
lrwxrwxrwx 1 root root 29 Sep 28 02:06 initrd -> initrd-2.6.16.21-0.25-default
-rw-r--r-- 1 root root 2440205 Oct 5 21:42 initrd-2.6.16.21-0.25-cer
-rw-r--r-- 1 root root 2438012 Sep 28 02:06 initrd-2.6.16.21-0.25-default
lrwxrwxrwx 1 root root 25 Oct 5 21:50 initrd-cer -> initrd-2.6.16.21-0.25-cer

initrd is a symlink, and you should check it is pointing correctly. Also:

nimrodel:/boot # file initrd-2.6.16.21-0.25-default
initrd-2.6.16.21-0.25-default: gzip compressed data, from Unix, max compression

it is a gziped file, so probably it can be checked. Or even easier,
rebuilt wit the command "mkinitrd". Do it, it won't hurt.

- --
Cheers,
Carlos E. R.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFFaYUctTMYHG2NR9URAq12AKCE5TCduoQIiw8+mhudUUqKUqW7IgCfUthQ
+4/MIFPXimaPDiWU8p9f/U4=
=mvyI
-----END PGP SIGNATURE-----

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >