Ho una situazione dei dischi molto simile alla tua con la differenza che non ho usato LVM perché mi ha creato sempre delle noie
[code]# fdisk -l
Disk /dev/sda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders, total 156301488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xf98df98d
Device Boot Start End Blocks Id System
/dev/sda1 * 63 102398309 51199123+ 7 HPFS/NTFS/exFAT
/dev/sda2 102398310 156296384 26949037+ 7 HPFS/NTFS/exFAT
Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders, total 312581808 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00067c1e
Device Boot Start End Blocks Id System
/dev/sdb1 63 12289724 6144831 83 Linux
/dev/sdb2 12289725 148729769 68220022+ 83 Linux
/dev/sdb3 148729856 271607807 61438976 7 HPFS/NTFS/exFAT
/dev/sdb4 271609854 312580095 20485121 5 Extended
/dev/sdb5 271609856 276742143 2566144 82 Linux swap / Solaris
/dev/sdb6 * 276744192 312580095 17917952 83 Linux[/code]
Sda con Windows - Sdb con Ubuntu e Fedora15 oltre a partizione dati in NTFS
Il boot è gestito dal GRUB di Ubuntu in sda - Il GRUB di F15 l’ho installato nella sua root
Per gli aggiornamenti del Grub di Ubuntu avvio in “modalità rispristino” e scelgo l’opzione di aggiornamento del bootloader ed il gioco è fatto
[code]#
DO NOT EDIT THIS FILE
It is automatically generated by /usr/sbin/grub-mkconfig using templates
from /etc/grub.d and settings from /etc/default/grub
BEGIN /etc/grub.d/00_header
if -s $prefix/grubenv ]; then
load_env
fi
set default=“0”
if ${prev_saved_entry} ]; then
set saved_entry=${prev_saved_entry}
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if -z ${boot_once} ]; then
saved_entry=${chosen}
save_env saved_entry
fi
}
function recordfail {
set recordfail=1
if -n ${have_grubenv} ]; then if -z ${boot_once} ]; then save_env recordfail; fi; fi
}
insmod ext2
set root=’(hd1,1)’
search --no-floppy --fs-uuid --set da3de9dd-49ee-4ff6-a44c-bf437abffc82
if loadfont /usr/share/grub/unicode.pf2 ; then
set gfxmode=640x480
insmod gfxterm
insmod vbe
if terminal_output gfxterm ; then true ; else
# For backward compatibility with versions of terminal.mod that don’t
# understand terminal_output
terminal gfxterm
fi
fi
insmod ext2
set root=’(hd1,1)’
search --no-floppy --fs-uuid --set da3de9dd-49ee-4ff6-a44c-bf437abffc82
set locale_dir=($root)/boot/grub/locale
set lang=it
insmod gettext
if ${recordfail} = 1 ]; then
set timeout=-1
else
set timeout=5
fi
END /etc/grub.d/00_header
BEGIN /etc/grub.d/05_debian_theme
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
END /etc/grub.d/05_debian_theme
BEGIN /etc/grub.d/10_linux
menuentry ‘Ubuntu, con Linux 2.6.32-33-generic’ --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root=’(hd1,1)’
search --no-floppy --fs-uuid --set da3de9dd-49ee-4ff6-a44c-bf437abffc82
linux /boot/vmlinuz-2.6.32-33-generic root=UUID=da3de9dd-49ee-4ff6-a44c-bf437abffc82 ro quiet splash
initrd /boot/initrd.img-2.6.32-33-generic
}
menuentry ‘Ubuntu, con Linux 2.6.32-33-generic (modalità ripristino)’ --class ubuntu --class gnu-linux --class gnu --class os {
recordfail
insmod ext2
set root=’(hd1,1)’
search --no-floppy --fs-uuid --set da3de9dd-49ee-4ff6-a44c-bf437abffc82
echo ‘Caricamento Linux 2.6.32-33-generic…’
linux /boot/vmlinuz-2.6.32-33-generic root=UUID=da3de9dd-49ee-4ff6-a44c-bf437abffc82 ro single
echo ‘Caricamento ramdisk iniziale…’
initrd /boot/initrd.img-2.6.32-33-generic
}
END /etc/grub.d/10_linux
BEGIN /etc/grub.d/20_memtest86+
menuentry “Memory test (memtest86+)” {
insmod ext2
set root=’(hd1,1)’
search --no-floppy --fs-uuid --set da3de9dd-49ee-4ff6-a44c-bf437abffc82
linux16 /boot/memtest86+.bin
}
menuentry “Memory test (memtest86+, serial console 115200)” {
insmod ext2
set root=’(hd1,1)’
search --no-floppy --fs-uuid --set da3de9dd-49ee-4ff6-a44c-bf437abffc82
linux16 /boot/memtest86+.bin console=ttyS0,115200n8
}
END /etc/grub.d/20_memtest86+
BEGIN /etc/grub.d/30_os-prober
menuentry “Microsoft Windows XP Home Edition (on /dev/sda1)” {
insmod ntfs
set root=’(hd0,1)’
search --no-floppy --fs-uuid --set 54E0104CE01036A8
drivemap -s (hd0) ${root}
chainloader +1
}
menuentry “Fedora (2.6.38.8-35.fc15.i686) (on /dev/sdb6)” {
insmod ext2
set root=’(hd1,6)’
search --no-floppy --fs-uuid --set 482f18c2-f899-4a9b-905d-b401105f54e9
linux /boot/vmlinuz-2.6.38.8-35.fc15.i686 ro root=UUID=482f18c2-f899-4a9b-905d-b401105f54e9 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=it rhgb quiet
initrd /boot/initramfs-2.6.38.8-35.fc15.i686.img
}
menuentry “Fedora (2.6.38.8-32.fc15.i686) (on /dev/sdb6)” {
insmod ext2
set root=’(hd1,6)’
search --no-floppy --fs-uuid --set 482f18c2-f899-4a9b-905d-b401105f54e9
linux /boot/vmlinuz-2.6.38.8-32.fc15.i686 ro root=UUID=482f18c2-f899-4a9b-905d-b401105f54e9 rd_NO_LUKS rd_NO_LVM rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=it rhgb quiet
initrd /boot/initramfs-2.6.38.8-32.fc15.i686.img
}
END /etc/grub.d/30_os-prober
BEGIN /etc/grub.d/40_custom
This file provides an easy way to add custom menu entries. Simply type the
menu entries you want to add after this comment. Be careful not to change
the ‘exec tail’ line above
END /etc/grub.d/40_custom ###.[/code]