Форум русскоязычного сообщества Ubuntu


Увидели сообщение с непонятной ссылкой, спам, непристойность или оскорбление?
Воспользуйтесь ссылкой «Сообщить модератору» рядом с сообщением!

Автор Тема: GRUB error 25, не грузится Линукс  (Прочитано 3071 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Lex999

  • Автор темы
  • Новичок
  • *
  • Сообщений: 18
  • Ubuntu 7.04
    • Просмотр профиля
GRUB error 25, не грузится Линукс
« : 19 Июня 2008, 23:32:22 »
Всем доброго времени суток. Полетел загрузчик выдает постоянно error 25. На винте стоит ХР и Debian. Перепробовал кучу всякой хрени, и с LiveCD грузился переставлял GRUB, и пробовал редактировать список в момент загрузки "Е", ничего не помогает :'(
Мой menu.lst
Цитировать
# menu.lst - See: grub( 8 ), info grub, update-grub( 8 )
#            grub-install( 8 ), grub-floppy( 8 ),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default      0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout      15

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW7o548kHK1QfV3P2b26znUoe/
# password topsecret

#
# examples
#
# title      Windows 95/98/NT/2000
# root      (hd0,1)
# makeactive
# chainloader   +1
#
# title      Linux
# root      (hd0,0)
# kernel   /vmlinuz root=/dev/hda1 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title      Debian GNU/Linux, kernel 2.6.18-6-486
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.18-6-486 root=/dev/hda1 ro
initrd      /boot/initrd.img-2.6.18-6-486
savedefault

title      Debian GNU/Linux, kernel 2.6.18-6-486 (single-user mode)
root      (hd0,0)
kernel      /boot/vmlinuz-2.6.18-6-486 root=/dev/hda1 ro single
initrd      /boot/initrd.img-2.6.18-6-486
savedefault

### 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/hda2
title      Microsoft Windows XP Professional RU
root      (hd0,1)
savedefault
makeactive
chainloader   +1

Делал:
GRUB> find /boot/grub/stage1 (и /stage2)
Получил (hd0,0)
GRUB> root (hd0,0) - установил раздел с ядром которое мне показал GRUB
GRUB> setup (hd0) - загрузил GRUB в MBR (хотя он там всегда и был).
В момент загрузки GRUB делал "Е" менял (hd0,0), (hd0,1), (hd0,2), (hd0,3), выдает error 15 и 17

При переустановке Винды всегда помогало, а тут я нихрена не переустанавливал :evil: . Хотя с я в винде сделал еще один раздел на диске и склоняюсь к тому что Линукс не грузится именно по этом. Друзья прошу Вашей помощи, очень не хочется сносить систему.
Пожалуста не отсылайте меня в HOWTO > GRUB, я все там перепробовал ничего не подходит :'(

Оффлайн Q3303Z

  • Участник
  • *
  • Сообщений: 154
  • в фортачки дует вирями, а дома тихо и спокойно
    • Просмотр профиля
Re: GRUB error 25, не грузится Линукс
« Ответ #1 : 20 Июня 2008, 01:43:34 »
хм... у тебя сколько хардов? если 2 то возможно они загрузились не в том порядке, как надо. Т.е. сLiveCD диск с МБР отображался как 0, а при загрузке компа он как 1 отображается(у меня почти так же, то наоборот)

Если же 1 хард, то даж незнаю.... у меня такого не наблюдалось с 1 хардом...
Ubuntu(vmware) miniServer [apache2/perl/mysql/php]

Оффлайн Lex999

  • Автор темы
  • Новичок
  • *
  • Сообщений: 18
  • Ubuntu 7.04
    • Просмотр профиля
Re: GRUB error 25, не грузится Линукс
« Ответ #2 : 21 Июня 2008, 01:15:05 »
Один диск и все. Никто пока не смог это :idiot2: обяснить к сожалению :'(

Оффлайн Lex999

  • Автор темы
  • Новичок
  • *
  • Сообщений: 18
  • Ubuntu 7.04
    • Просмотр профиля
Re: GRUB error 25, не грузится Линукс
« Ответ #3 : 23 Июня 2008, 01:23:27 »
Вот что написал мой fdisk:
ubuntu@ubuntu:~$ sudo fdisk -l

Диск /dev/hda: 30.0 ГБ, 30060527616 байт
255 головок, 63 секторов/дорожку, 3654 цилиндров
Единицы = цилиндры по 16065 * 512 = 8225280 байт

Устр-во    Загр     Начало       Конец       Блоки   Id  Система
/dev/hda1               1         702     5638783+  83  Linux
/dev/hda2   *         703        1699     8008402+   b  W95 FAT32
/dev/hda3            1700        3584    15141262+   f  W95 расшир. (LBA)
/dev/hda4            3585        3654      562275    c  W95 FAT32 (LBA)
/dev/hda5            1700        2378     5454036    7  HPFS/NTFS
/dev/hda6            2379        3521     9181116   83  Linux
/dev/hda7            3522        3584      506016   82  Linux своп / Solaris
Дохрена разделов, у меня два под NTFS (C и D Виндовые), 1 FAT32, 1 ReiserFS (Linux), 1 ext3 (home). А тут их СЕМЬ! :o Писец я потерялся  :idiot2:
Какого-то хрена Загрузка (как я понял) стоит напротив того раздела что я зделал FAT32 в Винде :shock: Что делать господа! Кстати может я уже намутил херни на GRUB> find /boot/grub/stage1 (и 2 тоже) пишет "error 15. File not faund". Хотя они там лежат 100%  :'(

Оффлайн Lex999

  • Автор темы
  • Новичок
  • *
  • Сообщений: 18
  • Ubuntu 7.04
    • Просмотр профиля
Re: GRUB error 25, не грузится Линукс
« Ответ #4 : 02 Июля 2008, 16:41:37 »
ВСЕ! >:( Переустановил Дебиан и все заработало, что это была за фигня, до сих пор загадка  :idiot2:

 

Страница сгенерирована за 0.058 секунд. Запросов: 23.