[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: weired problem around grub2



Hello,

Camaleón wrote:
> On Mon, 07 Feb 2011 07:53:56 +0100, Geronimo wrote:
> > Camaleón wrote:
> >> Maybe you can look into Rescatux (SuperGrubDisk) and try to install
> >> GRUB2 from there. At least with GRUB Legacy, SGD always worked fine for
> >> me.
> > 
> > Thank you for that hint.
> > 
> > I tried that CD, but the result did not differ from my manual tries. The
> > point is, I have an external SATA-controller and disks change order too
> > much times. That means, I don't have reliable device order.
> 
> "Installing GRUB" and "booting from GRUB" are two separate things :-)

For sure!

But as I don't know, which of it causes the trouble, I told you the whole 
story.

To me it appears, that grub-install changes a pointer in mbr and on reboot, 
grub looks like it does not find the target of that pointer. So it hangs in 
boot screen.

But I can't state, whether grub-install puts a wrong pointer into mbr or 
whether the drive order changed on reboot and grub is not able to resolve the 
target of that pointer. One of the three causes troubles.

So if you have any hints/testcases - I'm willing to test, but I don't by 
myself what to do to locate the error.

> Better that labels are UUID (Debian recommended) or ID for identifying
> devices.

The short answer is - I use both labels and uuid, depending whether I wonna 
refer to a physical or logical partition. I use labels for the logical ones.
 
> Did you mark the old partition with the "bootable" flag?

Yes.

The major difference between the "old" and "new" partition: 
The old system uses separate drives for /usr and /var - the new one uses all 
in one partition.
The minor difference:
The old system is a complete GUI installation, the new one only basic system.


kind regards

Gero


Reply to: