Здравствуйте
ФС4
Скачал версию 1.97(GRUB 2.0) /configure;make;make install.
Все отработало вроде без сообщений об ошибках.
1.Нигде поиском не нашел файлов stage1,stage2,stage1.5 соответствующих
времени компиляции
2.grub-install потребовал указать непосредственно с помощью ключа --modeles
какие то модули
3.grub-setup тоже что то пролепетал(не помню)
вопрос по GRUB (FC4)
Модератор: Модераторы разделов
-
Juliette
- Сообщения: 5058
- Статус: ROSA Lab
- ОС: Ubuntu LTS, Mandriva 2011
Re: вопрос по GRUB
проделываем все указанны вами операции в какой-нибудь иксовой консоли и копи-пастом сохраняем всё, что пролепечет вам grub-setup сотоварищи, после чего выкладываем в студию 
-
us_ed
- Сообщения: 7
- ОС: linux FC4
Re: вопрос по GRUB
make install
./mkinstalldirs /usr/local/lib/grub/i386-pc
./mkinstalldirs /usr/local/bin
./mkinstalldirs /usr/local/sbin
-------------------------------
ББ*grub-emu Б 627270Бё╬╫ 30 15:17Б
ББ*grub-install Б 6477Бё╬╫ 30 15:17
Б*grub-mkdevicemap Б 27826Бё╬╫ 30 15:17
ББ*grub-mkimage Б 57791Бё╬╫ 30 15:17Б
ББ*grub-probe Б 297719Бё╬╫ 30 15:17
ББ*grub-setup Б 319106Бё╬╫ 30 15:17
Б
------------------------------
./grub-install hd0
cannot find a GRUB drive for /dev/root.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
-----------------------------------
./grub-setup hd0
Invalid device `hd0'.
Try ``grub-setup --help'' for more information.
[root@usov sbin]# ./grub-setup '(hd0)'
grub-setup: error: Cannot guess the root device. Specify the option ``--root-device''.
[root@usov sbin]# ./grub-setup --root-device=hd0
No device is specified.
Try ``grub-setup --help'' for more information.
[root@usov sbin]# ./grub-setup hda
Invalid device `hda'.
Try ``grub-setup --help'' for more information. GNU-GRUB-manual 0.97
--------------------------------------
пытался повторить примеры из
mke2fs /dev/fd0
mke2fs 1.37 (21-Mar-2005)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
184 inodes, 1440 blocks
72 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=1572864
1 block group
8192 blocks per group, 8192 fragments per group
184 inodes per group
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root@usov grub-1.95]# mount -t ext2 /dev/fd0 /mnt
mount -t ext2 /dev/fd0 /mnt
[root@usov grub-1.95]# grub-install --root-directory=/mnt fd0
Invalid device `fd0'.
Try ``grub-setup --help'' for more information.
./mkinstalldirs /usr/local/lib/grub/i386-pc
./mkinstalldirs /usr/local/bin
./mkinstalldirs /usr/local/sbin
-------------------------------
ББ*grub-emu Б 627270Бё╬╫ 30 15:17Б
ББ*grub-install Б 6477Бё╬╫ 30 15:17
Б*grub-mkdevicemap Б 27826Бё╬╫ 30 15:17
ББ*grub-mkimage Б 57791Бё╬╫ 30 15:17Б
ББ*grub-probe Б 297719Бё╬╫ 30 15:17
ББ*grub-setup Б 319106Бё╬╫ 30 15:17
Б
------------------------------
./grub-install hd0
cannot find a GRUB drive for /dev/root.
Auto-detection of a filesystem module failed.
Please specify the module with the option `--modules' explicitly.
-----------------------------------
./grub-setup hd0
Invalid device `hd0'.
Try ``grub-setup --help'' for more information.
[root@usov sbin]# ./grub-setup '(hd0)'
grub-setup: error: Cannot guess the root device. Specify the option ``--root-device''.
[root@usov sbin]# ./grub-setup --root-device=hd0
No device is specified.
Try ``grub-setup --help'' for more information.
[root@usov sbin]# ./grub-setup hda
Invalid device `hda'.
Try ``grub-setup --help'' for more information. GNU-GRUB-manual 0.97
--------------------------------------
пытался повторить примеры из
mke2fs /dev/fd0
mke2fs 1.37 (21-Mar-2005)
Filesystem label=
OS type: Linux
Block size=1024 (log=0)
Fragment size=1024 (log=0)
184 inodes, 1440 blocks
72 blocks (5.00%) reserved for the super user
First data block=1
Maximum filesystem blocks=1572864
1 block group
8192 blocks per group, 8192 fragments per group
184 inodes per group
Writing inode tables: done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 21 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
[root@usov grub-1.95]# mount -t ext2 /dev/fd0 /mnt
mount -t ext2 /dev/fd0 /mnt
[root@usov grub-1.95]# grub-install --root-directory=/mnt fd0
Invalid device `fd0'.
Try ``grub-setup --help'' for more information.
-
us_ed
- Сообщения: 7
- ОС: linux FC4