Код: Выделить всё
<div class="code"><pre style="margin-top: 0pt; display: inline;">ubuntu@ubuntu:~$ sudo fdisk -l
Disk /dev/sda: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2beb2beb
Device Boot Start End Blocks Id System
/dev/sda1 * 1 2611 20972826 7 HPFS/NTFS <== Tut Windows
/dev/sda2 2612 38913 291595815 5 Extended
/dev/sda5 2612 19584 136335591 7 HPFS/NTFS
/dev/sda6 19585 38913 155260161 7 HPFS/NTFS
Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa57f0ea6
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 13 104391 83 Linux <=== /boot (?)
/dev/sdb2 14 274 2096482+ 82 Linux swap / Solaris
/dev/sdb3 275 4587 34644172+ 83 Linux <=== Tut /
/dev/sdb4 4588 38913 275723595 5 Extended
/dev/sdb5 11480 38913 220363573+ 7 HPFS/NTFS
/dev/sdb6 4588 11479 55359927 83 Linux <=== /home
</pre></div>так же, на всякий случай привожу menu.lst, взятый из/dev/sdb3/boot/grub
Код: Выделить всё
<div class="code"><pre style="margin-top: 0pt; display: inline;">title Ubuntu 8.10, kernel 2.6.27-7-generic
uuid 263b209d-9b35-47f5-8543-5e2289779f87
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=263b209d-9b35-47f5-8543-5e2289779f87 ro quiet splash
initrd /boot/initrd.img-2.6.27-7-generic
quiet
title Ubuntu 8.10, kernel 2.6.27-7-generic (recovery mode)
uuid 263b209d-9b35-47f5-8543-5e2289779f87
kernel /boot/vmlinuz-2.6.27-7-generic root=UUID=263b209d-9b35-47f5-8543-5e2289779f87 ro single
initrd /boot/initrd.img-2.6.27-7-generic
title Ubuntu 8.10, memtest86+
uuid 263b209d-9b35-47f5-8543-5e2289779f87
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/sda1
title Microsoft Windows XP Professional RU
root (hd0,0)
savedefault
makeactive
chainloader +1
</pre></div>все встреченные мной советы , видимо имели своим первоисточиком один рецепт по восстановлению граба...по предлагаемой инструкции я проделал следующее
Код: Выделить всё
<div class="code"><pre style="margin-top: 0pt; display: inline;">sudo grub
grub> find /boot/grub/stage1
(hd1,2)
grub> root (hd1,2)
grub> setup (hd1,2)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd1,2)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd1,2)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd1,2) /boot/grub/stage2 p /boot/grub/menu.lst "... succeeded
Done.
grub> quitв итоге получаю Grub Error 2 при загрузке.
попробовал восстановить с помощью Grub Super Disk
при выборе Linux Auto выскакивает окно с выбором вариантов загрузки винды и убунты, который был до злосчастного момента моих экспериментов...но при выборе убунты вываливается ошибка
Код: Выделить всё
</div><div class="code"><pre style="margin-top: 0pt; display: inline;">Booting `Ubuntu 8.10, krenel 2.6.2-7-generic
kernel /boot/vmlinuz-2.6.27-7 generic root=UUID=263b209d-9b35-47f5-8543-5e2289-779f87 no quiet splash
Error 13: Invalid or unsupported executable format
Press any key to continue</pre></div>Причем если выбрать вариант загрузки винды, то винда грузится, как ни в чем не бывало...
..вопрос в следующем - чем вылечить загрузчик ??... ибо переустанавливать по любому поводу - не тру..да и жалко...вылизывал долго мою малышку))...система Ubuntu 8.10...заранее благодарен)