Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Adding HD: Grub error 5

0 views
Skip to first unread message

Derk

unread,
Nov 24, 2009, 12:31:51 PM11/24/09
to
Hi,

I have a serious problem: I ran out of HD space and decided to add a new
SATAII HD. I didn't have a SATA cable, do I removed the DVD cables and used
those. After I added the new HD and saw the BIOS recognized it, I booted and
couldn't get passed a Grub "Error 5" message. I got desperate and removed
the old HD and installed openSUSE 11.2 completely fresh on the new HD
without any problems.

However, I'd like to get my latest data back from my old HD. Tomorrow I'll
buy a new SATA cable set, but what will happen if I just add it to the
system? It's the HD that contained a complete openSUSE11.2 system.

Is there anything I have to change in Fstab or Grub (or the BIOS) before I
can access my data again?

I just don't understand what went wrong, because I added a new HD in the
past without any problems.

TIA,


Derk

bb

unread,
Nov 25, 2009, 9:54:13 AM11/25/09
to

This happened for me when I only had sata disks and then added one ide.

Whats happened was that the new disk became (hd0) and the old (hd0)
became (hd1) and so on since you inserted a new hd.

At that time I had opensuse 10.3 and the repair boot failed too, but
it's maybe better now, I don't know.

There is a map option to grub, where you can:
map (hd0) (hd1)
map (hd1) (hd0)

in /boot/grub/menu.lst , but also check /boot/grub.device.map
since all disks get different /dev/sd-Names

But maybe you shall try to boot your dvd and see if repair can fix it for you,
or, if all are sata, try to swap the cables so you see your boot disk first in
the BIOS, and the new disk last.
This was not possible for me since the ide disk was always first in my BIOS.

/bb

Derk

unread,
Nov 25, 2009, 2:38:13 PM11/25/09
to
bb wrote:

First of all , thanks for your answer!

> This happened for me when I only had sata disks and then added one ide.

I have 2 Sata disks and added 1 more.


>try to swap the cables so you see your boot disk
> first in the BIOS, and the new disk last.
> This was not possible for me since the ide disk was always first in my

I just solved it and it turned out to be simple: after adding a SATA disk,
the boot sequence was changed automatically in the Bios. I just had to
select the proper boot disk and move it up again in the boot sequence list
and all errors stopped. I thought that adding another disk would put it last
in line, but obviously I was wrong.

Thanks again!

Derk

bb

unread,
Nov 26, 2009, 5:29:14 AM11/26/09
to
On 2009-11-25 15:54, bb wrote:

> But maybe you shall try to boot your dvd and see if repair can fix it
> for you,

Oh, sorry I was maybe tired, you can't boot your DVD in this case unless you
have an extended USB DVD , so you must try to fix it by hand or in the BIOS if
possible.

/bb

0 new messages