Portál AbcLinuxu, 24. dubna 2024 17:19
Win xp mate na rozsirene partition ?
Win patri vzdy na primarni a nejlepe tu prvni partition - jedine tak se lze vyhnout problemum.
Proste zkopirovani windows souboru a adresaru nestaci.
Nabootujte instalacku win xp a dejte fixboot a fixmbr
Nyni by jiz mely bootovat windows.
Pomoci Live CD nabootujte Vasi distribuci a pouzijte grub-install
ubuntu@ubuntu:~$ grub-install
install_device not specified.
Usage: grub-install [OPTION] install_device
Install GRUB on your drive.
-h, --help print this message and exit
-v, --version print the version information and exit
--modules=MODULES pre-load specified modules MODULES
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-setup=FILE use FILE as grub-setup
--grub-mkimage=FILE use FILE as grub-mkimage
--grub-probe=FILE use FILE as grub-probe
--no-floppy do not probe any floppy drive
--recheck probe a device map even if it already exists
--force install even if problems are detected
--disk-module=MODULE disk module to use
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into /boot/grub (or /grub on NetBSD and
OpenBSD), and uses grub-setup to install grub into the boot sector.
If the --root-directory option is used, then grub-install will copy
images into the operating system installation rooted at that directory.
Pro jistotu jsem to zkusil ještě s dvěmi parametrama, vypsalo mi to totéž co bez nich:
ubuntu@ubuntu:~$ grub-install --recheck --force
Tak jsem zkusil ještě návod, který jsem našel na http://forum.ubuntu.cz/index.php?topic=42267.0 , výsledek byl také chybový:
ubuntu@ubuntu:~$ sudo fdisk -l
sudo: unable to execute /sbin/fdisk: Input/output error
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /mnt
ubuntu@ubuntu:~$ sudo grub-install --root-directory=/mnt/ /dev/sda
Installation finished. No error reported.
ubuntu@ubuntu:~$ sudo update-grub
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted?).
sudo update-grub
sudo grub-install /dev/sda
fixboot C: fixmbrMůže tam být i problém, že nejsou na disku soubory "ntldr a ntdetect.com", ty pro jistotu zkopírujte
H je Vaše CDROMka COPY h:\i386\NTLDR C: COPY h:\i386\NTDETECT.COM C:a reboot a XP by tam měla být nazad
Tiskni Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.