jk-koldus
10-08-2007, 16:57
ciao a tutti.. ho recentemente installato linux.. poi su un'altro hd ho installato anche windows xp...
dunque è successo che io li ho installati non tenendo mai contemporaneamente gli hd attaccati (i due S.O. ovviamente stanno uno per hd..) perchè nel frattempo stavo facendo dei backup...
ovviamente se lascio uno solo degli hd funziona l'os corrispondente correttamente...
se li metto entrambi parte il bootloader (grub) che ovviamente non è impostato per far eseguire windows.. allora ho provato questa impostazione:
title Windows XP
root (hd1,0)
makeactive
chainloader +1
boot
title Debian GNU/Linux, kernel 2.6.18-4-486
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-4-486 root=/dev/hdc1 ro
initrd /boot/initrd.img-2.6.18-4-486
savedefault
mentre debian mi parte correttamente linux non va... gli hd sono questi:
Koldus:/boot/grub# dmesg | grep hda
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
hda: Maxtor 6Y120P0, ATA DISK drive
hda: max request size: 128KiB
hda: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(133)
hda: cache flushes supported
hda: hda1
Koldus:/boot/grub# dmesg | grep hdc
Kernel command line: root=/dev/hdc1 ro
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hdc: ST380011A, ATA DISK drive
hdc: max request size: 512KiB
hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(33)
hdc: cache flushes supported
hdc: hdc1 hdc2 < hdc5 >
Adding 1510068k swap on /dev/hdc5. Priority:-1 extents:1 across:1510068k
EXT3 FS on hdc1, internal journal
Koldus:/boot/grub#
cosa devo fare?
dunque è successo che io li ho installati non tenendo mai contemporaneamente gli hd attaccati (i due S.O. ovviamente stanno uno per hd..) perchè nel frattempo stavo facendo dei backup...
ovviamente se lascio uno solo degli hd funziona l'os corrispondente correttamente...
se li metto entrambi parte il bootloader (grub) che ovviamente non è impostato per far eseguire windows.. allora ho provato questa impostazione:
title Windows XP
root (hd1,0)
makeactive
chainloader +1
boot
title Debian GNU/Linux, kernel 2.6.18-4-486
root (hd0,0)
kernel /boot/vmlinuz-2.6.18-4-486 root=/dev/hdc1 ro
initrd /boot/initrd.img-2.6.18-4-486
savedefault
mentre debian mi parte correttamente linux non va... gli hd sono questi:
Koldus:/boot/grub# dmesg | grep hda
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
hda: Maxtor 6Y120P0, ATA DISK drive
hda: max request size: 128KiB
hda: 240121728 sectors (122942 MB) w/7936KiB Cache, CHS=65535/16/63, UDMA(133)
hda: cache flushes supported
hda: hda1
Koldus:/boot/grub# dmesg | grep hdc
Kernel command line: root=/dev/hdc1 ro
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hdc: ST380011A, ATA DISK drive
hdc: max request size: 512KiB
hdc: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(33)
hdc: cache flushes supported
hdc: hdc1 hdc2 < hdc5 >
Adding 1510068k swap on /dev/hdc5. Priority:-1 extents:1 across:1510068k
EXT3 FS on hdc1, internal journal
Koldus:/boot/grub#
cosa devo fare?