PDA

View Full Version : Problema Dual-boot grub vs. win xp


steveD
04-04-2008, 12:39
Salve a tutti io ho quasi lo stesso problema di manumax, con la differenza che ho un HD ide con ubuntu e uno sata con win xp gia installato. Il problema è che quando scelgo dal menu di grub di far partire win xp mi dice: NTLDR mancante. Credo dipenda da una configurazione sbagliata della menu.lst
vi posto il mio fdisk:

{
Disco /dev/sda: 120.0 GB, 120034123776 byte
255 heads, 63 sectors/track, 14593 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0xf6f628a5

Dispositivo Boot Start End Blocks Id System
/dev/sda1 * 1 14592 117210208+ 7 HPFS/NTFS

Disco /dev/sdb: 250.0 GB, 250059350016 byte
255 heads, 63 sectors/track, 30401 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x577e6842

Dispositivo Boot Start End Blocks Id System
/dev/sdb1 * 1 30401 244196001 7 HPFS/NTFS

Disco /dev/hda: 160.0 GB, 160041885696 byte
255 heads, 63 sectors/track, 19457 cylinders
Units = cilindri of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000d01fc

Dispositivo Boot Start End Blocks Id System
/dev/hda1 * 1 19080 153260068+ 83 Linux
/dev/hda2 19081 19457 3028252+ 5 Esteso
/dev/hda5 19081 19457 3028221 82 Linux swap / Solaris

}
sul primo, quello da 120GB c è Win Xp, il secondo è un HD condiviso, nel terzo c è ubuntu 7.10

questa è la mia menu.lst

{
title Ubuntu 7.10, kernel 2.6.22-14-generic
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=75ef2f69-9d5a-4ef9-a7ee-b0b00ae047a9 ro quiet splash locale=it_IT
initrd /boot/initrd.img-2.6.22-14-generic
quiet

title Ubuntu 7.10, kernel 2.6.22-14-generic (recovery mode)
root (hd0,0)
kernel /boot/vmlinuz-2.6.22-14-generic root=UUID=75ef2f69-9d5a-4ef9-a7ee-b0b00ae047a9 ro single
initrd /boot/initrd.img-2.6.22-14-generic

title Ubuntu 7.10, memtest86+
root (hd0,0)
kernel /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title Other operating systems:
root


# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1

}

Grazie a tutti in anticipo!

patel45
04-04-2008, 13:23
# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/sdb1
title Microsoft Windows XP Professional
root (hd1,0)
savedefault
makeactive
map (hd1) (hd0)
map (hd0) (hd1)
chainloader +1


Prova con

root (hd2,0)
savedefault
makeactive
map (hd2) (hd0)
map (hd0) (hd2)
chainloader +1

steveD
05-04-2008, 14:48
Grazie mille!
Ho fatto come mi hai detto e ora funziona, anche se ho dovuto cambiare la priorità degli HD dal bios ;)
Cmq devo dire che questi HD S-ATA mi hanno dato parecchi rompicapo con ubuntu, speriamo che gli sviluppatori risolvano la questione in futuro.

BYE