[erledigt]Installation in LVM: MBR bleibt intakt

Hier köchelt der Sud für die nächste Mageia-Suppe. Also stellst Du hier alle Fragen und lieferst hier alle Beiträge zur Entwicklungsversion ab.

Moderator: Mageia Founders

[erledigt]Installation in LVM: MBR bleibt intakt

Beitragvon Bequimao » Mai 19th, '12, 07:33

Ich habe Mageia-2-rc-x86_64-DVD in eine logische Partition eines LVM installiert. Bei der Konfiguration von Grub habe ich die Vorschlagswerte belassen: also nach /dev/sda. Ich wäre darauf vorbereitet gewesen, den MBR (grub2) wiederherzustellen. Aber der MBR blieb intakt, Mageia 2 bootet mit grub2 und alles ok. :D

Es ist aber auch ein Programmverhalten, das nicht erwartet wurde, also ein Bug. Ich weiß nichts über grub Legacy (und brauch auch nichts zu wissen). Bootet grub Legacy überhaupt in einer logischen LVM-Partition?

Ein paar Infos:
Code: Alles auswählen
[root@localhost grub]# pwd
/boot/grub
[root@localhost grub]# ls -l
insgesamt 236
-rw-r--r-- 1 root root     30 Mai 11 21:26 device.map
-rw-r--r-- 1 root root   8680 Mai 11 21:26 e2fs_stage1_5
-rw-r--r-- 1 root root   7976 Mai 11 21:26 fat_stage1_5
-rw-r--r-- 1 root root   7224 Mai 11 21:26 ffs_stage1_5
-rwxr-xr-x 1 root root    108 Mai 11 21:26 install.sh*
-rw-r--r-- 1 root root   8792 Mai 11 21:26 iso9660_stage1_5
-rw-r--r-- 1 root root   8688 Mai 11 21:26 jfs_stage1_5
-rw------- 1 root root    824 Mai 11 21:26 menu.lst
-rw-r--r-- 1 root root   1101 Jan 12  2011 menu.lst.example
-rw-r--r-- 1 root root   7376 Mai 11 21:26 minix_stage1_5
-rw-r--r-- 1 root root   9764 Mai 11 21:26 reiserfs_stage1_5
-rw-r--r-- 1 root root    512 Mai 11 21:26 stage1
-rw-r--r-- 1 root root 115596 Mai 11 21:26 stage2
-rw-r--r-- 1 root root   7492 Mai 11 21:26 ufs2_stage1_5
-rw-r--r-- 1 root root   6824 Mai 11 21:26 vstafs_stage1_5
-rw-r--r-- 1 root root   9632 Mai 11 21:26 xfs_stage1_5
[root@localhost grub]# df .
Dateisystem                Größe Benutzt Verf. Verw% Eingehängt auf
/dev/mapper/lvm--gr1-mylv6  7,0G    4,7G  2,0G   71% /


Der Inhalt von menu.lst:
Code: Alles auswählen
timeout 10
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=/dev/lvm-gr1/mylv6  splash quiet resume=UUID=d654b093-8bf2-4f8c-8abc-b82ab03f3452 vga=788
initrd (hd0,0)/boot/initrd.img

title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=/dev/lvm-gr1/mylv6  resume=UUID=d654b093-8bf2-4f8c-8abc-b82ab03f3452
initrd (hd0,0)/boot/initrd.img

title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=/dev/lvm-gr1/mylv6  failsafe
initrd (hd0,0)/boot/initrd.img

title Mandriva Linux (Official)
root (hd0,1)
configfile /boot/grub/menu.lst

title openSUSE 12.1 (x86_64)
VERSION = 12.1
CODENAME = Asparagus
root (hd0,8)
configfile /boot/grub/menu.lst

title Mageia (Official)
root (hd0,11)
configfile /boot/grub/menu.lst


Die Angabe (hd0,0) ist Unsinn. Die Partition /dev/sda1 war bei der Installation nicht gemountet und ist intakt.

Viele Grüße
Bequimão
Zuletzt geändert von Bequimao am Mai 22nd, '12, 05:55, insgesamt 1-mal geändert.
Bequimão (gesprochen: Be-ki-mãu) ist Manuel Beckmann,
brasilianischer Revolutionär in Maranhão (1630 - 1685).
Bequimao
 
Beiträge: 146
Registriert: Jun 11th, '11, 09:29
Wohnort: Minas Gerais, Brasilien

Re: Installation in LVM: MBR bleibt intakt

Beitragvon Bequimao » Mai 20th, '12, 17:50

Bequimao hat geschrieben: ...
Es ist aber auch ein Programmverhalten, das nicht erwartet wurde, also ein Bug. Ich weiß nichts über grub Legacy (und brauch auch nichts zu wissen). Bootet grub Legacy überhaupt in einer logischen LVM-Partition?
...


Nach einer Google-Suche bootet grub Legacy nicht, wenn /boot in der logischen Partition eines LVM liegt. Man braucht eine separate boot-Partition. Also kein Bug. Man geht davon aus, daß der Benutzer, der sich LVM installiert, sich informiert. Tatsächlich verringert das Verhalten meinen Aufwand, aber eine Hinweismeldung wäre gut.

Viele Grüße
Bequimão
Bequimao
 
Beiträge: 146
Registriert: Jun 11th, '11, 09:29
Wohnort: Minas Gerais, Brasilien


Zurück zu Cauldron

Wer ist online?

Mitglieder in diesem Forum: 0 Mitglieder und 1 Gast

cron