gestern habe ich mit einer md5sum geprüften DVD Squeeze zu installieren.
Das System sieht wie folgt aus:
sda1 Bootmanager ---primär
sda2 Windowx XP ---primär
sda4 Extended
sda5 Squeeze / ---logisch
sda6 Squeeze /home ---logisch
sda7 SWAP ---logisch
Grub sollte in /dev/sda5 installiert (Chainloading) werden, das funktioniert jedoch trotz Angabe am Ende der Installation nicht.
Kann es evtl.daran liegen, weil eine Lücke zwischen sda2 und sda4 liegt?
Mit Lenny ließ sich die Partitionierung einwandfrei nutzen.
Zweimal habe ich die Installation komplett durchgeführt, mit Grub immer das gleiche Problem.
MfG
AxelMD
Lösung wie folgt bei mir:
Mit gparted neu partitioniert ab sda2, wie folgt.
sda1 Bootmanager ---primär
sda2 Windowx XP ---primär
sda3 Squeeze / ---primär
sda4 EXTENDED
sda5 Squeeze /home ---logisch
sda7 SWAP ---logisch
Jetzt hat sich Grub2 von Squeeze ohne Schwierigkeiten in die Rootpartion sda3 installieren lasen.
Warum das so ist, kann ich mir nicht erklären, weiß es jemand?
Hm, oder habe ich evtl. einen Fehler gemacht. *grübel
MfG
AxelMD
Edit: 23. September 2011
Workaround:
https://bugs.launchpad.net/ubuntu/+sour ... bug/777057
Code: Alles auswählen
Bug Description
Binary package hint: grub-pc
Release: Natty, Maverick
Architecture: amd64, i386
Latest tests done with ubuntu-server installation CDs
Test environment:
Multiboot installation to 250G harddrive. Partition layout as follows:
/dev/sda (contains bootloader in mbr pointing to sda1)
/dev/sda1 (contains grub2 files for first stage boot loader, chainloading into OS partitions)
/dev/sda2 swap
/dev/sda5 (contains OS installation, boot loader supposed to be in first sector)
/dev/sda6 (another OS installation)
...
As installing grub into any partitions requires block lists it is "discouraged" (but it works). First problem, doing this at installation time will always fail as grub-install needs to be called with "-f".
Second problem: even when forcing this into /dev/sda5 (which completes with complaints but without error message) there will be no boot record written.
Workaround:
* Force installation of grub into /dev/sda1
* then dd if=/dev/sda1 of=/dev/sda5 bs=512 count=1
dd if=/dev/sda of=/dev/sda5 bs=512 count=1
MfG
AxelMD
Suchbegriffe: Grub2 Grub Squeeze logische Partition erweitertere extended