Sziasztok!
Kérnék egy kis segítséget. 3 operációs rendszerem van feltelepítve: Win98, XP, Ubuntu 7.04.
Mikor elindult a Grub kiválaszthattam hogy Linux vagy Win. Ha Win-t választottam akkor előjött egy másik menü hogy 98 vagy XP. Ez volt a jó. Csakhogy az XP újra lett telepítve, a Grub eltűnt és csak a 98 vagy az XP közül választhatok. Hogy tudom visszahozni a GRUB-ot?
Bootoltam Live cd-ről és ezekkel próbálkoztam (ezeket találtam a fórumokon), de nem lett belőle semmi:
To run a command as administrator (user "root"), use "sudo ".
See "man sudo_root" for details.
ubuntu@ubuntu:~$ sudo grub-install /dev/hda3
Probing devices to guess BIOS drives. This may take a long time.
Could not find device for /boot: Not found or not a block device.
ubuntu@ubuntu:~$ sudo mount -t ext3 /dev/hda3 /mnt
ubuntu@ubuntu:~$ sudo grub-install -root-directory=/mnt hd0
Unrecognized option `-root-directory=/mnt'
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
--root-directory=DIR install GRUB images under the directory DIR
instead of the root directory
--grub-shell=FILE use FILE as the grub shell
--no-floppy do not probe any floppy drive
--force-lba force GRUB to use LBA mode even for a buggy
BIOS
--recheck probe a device map even if it already exists
INSTALL_DEVICE can be a GRUB device name or a system device filename.
grub-install copies GRUB images into the DIR/boot directory specfied by
--root-directory, and uses the grub shell to install grub into the boot
sector.
Report bugs to .
ubuntu@ubuntu:~$ sudo umount /mnt
ubuntu@ubuntu:~$
Ha valaki tud, akkor légyszi segítsen, de konkrét megoldással amit már csak be kell másolnom.
Mellékelem a partíciók felosztását:
ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/hda: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 638 5124703+ b W95 FAT32
/dev/hda2 639 1913 10241437+ f W95 Ext'd (LBA)
/dev/hda3 1914 2399 3903795 83 Linux
/dev/hda4 2400 2434 281137+ 82 Linux swap / Solaris
/dev/hda5 639 1913 10241406 b W95 FAT32
Disk /dev/hdc: 80.0 GB, 80026361856 bytes
16 heads, 63 sectors/track, 155061 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 155040 78140128+ 7 HPFS/NTFS
Disk /dev/sda: 1025 MB, 1025024000 bytes
64 heads, 32 sectors/track, 977 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 978 1000688 b W95 FAT32
Partition 1 has different physical/logical endings:
phys=(836, 63, 32) logical=(977, 15, 32)
ubuntu@ubuntu:~$
Az eseteleges segítséget előre is köszönöm.