PDA

View Full Version : Reinstallare xp e mbr


figulus
03-06-2005, 13:12
Devo reinstallare xp sul mio notebook che attualmente è in dual boot con Debian, con grub sull'mbr. windows è in ntfs su hda1 e debian in reiserfs su hda2.

Non mi ricordo se xp mi riconosce un boot manager di terze parti e quindi mi chiede di sovrascrivere o meno l'mbr.

In caso me lo sovrascriva non potrò più avviare debian. Dovrò quindi avvaire questa procedura (ditemi se è corretta):

1) bootare con un cd di knoppix
2) Digitare in una console quanto segue:

# mkdir /mnt/distro
# mount /dev/hda2 /mnt/distro
# mount -t proc proc /mnt/distro/proc
# chroot /mnt/distro /bin/bash
# grub-install /dev/hda
# umount /mnt/distro/proc
# umount /mnt/distro
# reboot

mi chiedo se non debba specificare a grub di continuare a usare lo stesso /boot/grub/menu.lst o se lo faccia già...

O esiste una procedura migliore?

josephdrivein
03-06-2005, 21:50
se hai il dischetto puoi partire da lì!
dd if=/boot/vmlinuz of=/dev/fd0

NiLUS
04-06-2005, 01:48
L'ho fatto anche io giusto l'altro ieri.
Basta montare la partizione con la distro in RW, lanci grub e gli da semplicemente
root (hd0,1)
setup (hd0)
quit
O anche con il grub-install è uguale.
Ricorda che se usi la grub shell hda1 è (hd0,0), hda2 è (hd0,1), hdb1 è (hd1,0) ecc...

Hardware Upgrade Forum Database Error
Database Error Database error
The Hardware Upgrade Forum database has encountered a problem.

Please try the following:
  • Load the page again by clicking the Refresh button in your web browser.
  • Open the www.hwupgrade.it home page, then try to open another page.
  • Click the Back button to try another link.
The www.hwupgrade.it forum technical staff have been notified of the error, though you may contact them if the problem persists.
 
We apologise for any inconvenience.