| Author |
Message |
Hanisch
|
|
|
Post subject: GRUB2 install in partition now
Posted: 18.09.2010, 08:36
|
|

Joined: 2010-09-16
Posts: 12
Status: Offline
|
|
Hi,
I have installed aptosid on a USB-Harddrive in Partition /dev/sdc8 and boot via GRUB1 (GRUB legacy) from /dev/sdc1 in MBR and then via Chainload to aptosid (/dev/sdc8).
Now I have maked:
Code:
upgrade-from-grub-legacy
and stored the GRUB2 in the partition /dev/sdc8 with the Warning: "... its a bad idea".
I think it's a good idea than I can now boot via Chainloader all my partitions and works GRUB1 and GRUB2 together fine.
This is a solution when a distribution with GRUB2 is installed on a system with available GRUB1-strukture.
But a problem seems in any cases when writing GRUB2 in a partition:
Code:
# grub-install /dev/sdc10
/usr/sbin/grub-setup: warn: Es wird versucht, GRUB in eine Partition anstelle in den MBR zu installieren. Das ist eine SCHLECHTE Idee..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
/usr/sbin/grub-setup: error: Benutzen Sie --force, wenn Sie wirklich Blocklisten verwenden wollen..
The solution is:
Code:
# grub-install --force /dev/sdc10
/usr/sbin/grub-setup: warn: Es wird versucht, GRUB in eine Partition anstelle in den MBR zu installieren. Das ist eine SCHLECHTE Idee..
/usr/sbin/grub-setup: warn: Embedding is not possible. GRUB can only be installed in this setup by using blocklists. However, blocklists are UNRELIABLE and their use is discouraged..
Installation finished. No error reported.
and now I can boot the GRUB2-partition from a GRUB1-partition via chainloader.
It's possible to write GRUB2 in MBR and in a partition.
regards
Ch. Hanisch |
Last edited by Hanisch on 20.09.2010, 08:45; edited 2 times in total
|
| |
|
|
|
 |
Bequimão
|
|
Post subject: RE: GRUB2 install in partition now
Posted: 18.09.2010, 14:48
|
|

Joined: 2010-09-12
Posts: 12
Location: Mannheim
Status: Offline
|
|
Hello,
I have also two installations running (Moros in Portuguese, Hypnos in German) and must always read "it's a bad idea to install to partition ..." Both have grub2.
Of course, I have to install to partition in one instance!
Best regards,
Bequimão |
_________________ Bequimão (pronounced Be-ki-mão) is a brasilian revolutionary in Maranhão (? - 1685).
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: GRUB2 install in partition now
Posted: 18.09.2010, 20:37
|
|
Team Member

Joined: 2010-08-26
Posts: 168
|
|
|
Bequimão wrote:
Of course, I have to install to partition in one instance!
not necessarly you can always install to MBR and the last install *lists* all existent ones when using grub2
btw. when u install a new kernel in any install u also must do an update-grub in the one that manages the grub |
_________________ Why do strong arms fatigue themselves with frivolous dumbbells?
To dig a vineyard is worthier exercise for men.
Marcus Valerius Martialis, römischer Satiriker und Epigrammdichter
Será que o diabo perdeu a virgindade?
|
| |
|
|
|
 |
Bequimão
|
|
Post subject: Re: RE: GRUB2 install in partition now
Posted: 19.09.2010, 08:02
|
|

Joined: 2010-09-12
Posts: 12
Location: Mannheim
Status: Offline
|
|
|
x-un-i wrote:
Bequimão wrote:
Of course, I have to install to partition in one instance!
not necessarly you can always install to MBR and the last install *lists* all existent ones when using grub2
btw. when u install a new kernel in any install u also must do an update-grub in the one that manages the grub
Yes, I know. And found out that grub2 does not scan the different partitions, it simply reads the configuration files (grub.cfg). |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: GRUB2 install in partition now
Posted: 19.09.2010, 10:03
|
|
Moderator

Joined: 2010-09-11
Posts: 464
|
|
|
Quote:
Yes, I know. And found out that grub2 does not scan the different partitions, it simply reads the configuration files (grub.cfg).
Hmmm, I think here something is missing. Since update-grub suppose to create new grub.cfg,
it is not possible to "simply read" grub.cfg. |
|
|
| |
|
|
|
 |
Bequimão
|
|
Post subject: Re: RE: Re: RE: GRUB2 install in partition now
Posted: 19.09.2010, 17:05
|
|

Joined: 2010-09-12
Posts: 12
Location: Mannheim
Status: Offline
|
|
|
muchan wrote:
...
Hmmm, I think here something is missing. Since update-grub suppose to create new grub.cfg,
it is not possible to "simply read" grub.cfg.
The different files in the other partitions. I saw errors in grub.cfg (in partion) passed through to grub.cfg (in MBR)
Bequimão |
|
|
| |
|
|
|
 |
|
|