Bug 24485 - Partitionierung mit mehreren Platten kann zu nicht bootfähigem System führen
Partitionierung mit mehreren Platten kann zu nicht bootfähigem System führen
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: UCS Installer
UCS 3.0
Other Linux
: P5 normal (vote)
: ---
Assigned To: Installer maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-11-09 15:39 CET by Felix Botner
Modified: 2017-08-08 07:07 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Botner univentionstaff 2011-11-09 15:39:33 CET
Ich hatte ein KVM Instanz mit einer vda und einer sda Platte. Die Installation von UCS 3.0 wurde auf sda vorgenommen, vda wurde NICHT initialisiert (MBR) und partitioniert. 

Das Bootloader Device wird mittlerweile durch scripts/02_disk_check.sh automatisch ermittelt. In diesem Fall hat es aber wohl /dev/vda als Ziel für den GRUB ermittelt. grub-install auf das Device geht aber schief bis nicht mindestens eine Partition auf dem Gerät vorhanden ist:

/usr/sbin/grub-setup: warn: Attempting to install GRUB to a partitionless disk.  This is a BAD idea..
/usr/sbin/grub-setup: error: embedding is not possible, but this is required for cross-disk install.

Zumindest dies sollte in scripts/02_disk_check.sh beachtet werden. 

Bei der Installation mit mehreren Platten kommt hinzu, dass das Gerät auf dem der Grub installiert wird ja nicht zwingenderweise das Gerät ist, von dem gebootet wird. Im obigen Beispiel habe ich vda dann nachträglich partitioniert und den grub installiert. Gebootet wird das System von KVM/libvirt aber von sda. Da dort kein grub installiert wurde, bootet das System dann nicht.
Comment 1 Jascha Geerds univentionstaff 2011-12-02 13:03:01 CET
Bei VMware/KVM beobachtet:

Maschine besitzt zwei Festplatten. Beide werden bei der Installation initialisiert (MBR). Wird das komplette System auf der zweiten Festplatte installiert und GRUB auf der ersten, dann startet das System danach nicht.

Bei 2x SCSI in VMware bleibt der Bildschirm lediglich schwarz beim starten.
Bei einem IDE/SCSI-Gemisch (VMware) erscheint GRUB mit folgender Meldung:

error no such partition.
Entering rescue mode...
Comment 2 Stefan Gohmann univentionstaff 2017-06-16 20:37:03 CEST
This issue has been filed against UCS 3. UCS 3 is out of the normal maintenance and many UCS components have vastly changed in UCS 4.

If this issue is still valid, please change the version to a newer UCS version otherwise this issue will be automatically closed in the next weeks.
Comment 3 Stefan Gohmann univentionstaff 2017-08-08 07:07:57 CEST
This issue has been filed against UCS 3.0.

UCS 3.0 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed.

If this issue still occurs in newer UCS versions, please use "Clone this bug" or reopen this issue. In this case please provide detailed information on how this issue is affecting you.