nixp.ru v3.0

19 апреля 2024,
пятница,
12:38:11 MSK

Digger написал 16 декабря 2004 года в 13:21 (726 просмотров) Ведет себя как мужчина; открыл 39 тем в форуме, оставил 251 комментарий на сайте.

Товарищи! Что-то какая-то фигня у меня творится:

у меня 2 винта: 1 SATA Seagate, на нем стоит Винда, 2 -IDE стоит Линукс.

На 2ом винте установлен граб, на 1ом ntloader. Как мне правильно сконфигурировать граб, чтобы он винду грузил? Надо ли устанавливать граб на 1 винт(с виндой)?

мой конф

default 0

timeout 15

splashimage=(hd0,0)/boot/grub/splash.xpm.gz

title Gentoo

root(hd0,0)

kernel /boot/vmlinuz-2.6.9-gentoo-r4 root=/dev/hda3

title Windooze

makeactive

rootnoverify (hd1,0)

chainloader +1

fly4life

Так какой у тебя из них всё-таки первый (hd0), а какой второй (hd1) винт? А-то описание текущего положения дел с коняигом grub’а противоречат… Из-за этого есть некоторое недопонимание.

Digger

IDE винт с линуксом hda

Sata с виндой hde

При выборе 2 пункта все виснет(черный экран)

fly4life

Теперь понятнец ;). Знчит, линукс грузится без проблем, а винда отказывается…

Тогда попробуй выставить в секции для загрузки виндовса:

title Windooze  
makeactive
rootnoverify (hd4,0)
chainloader +1
boot
sky

Как вариант:

Windows NT

This is the second most common dual booting situation. Windows NT presents several more problems than dual booting between Windows 9x and Linux. The one we are most concerned with is if the Master Boot Record is overwritten with LILO, NT will not boot successfully. Therefore, we must use the OS Loader that comes with Windows NT. The steps below show how you should setup a Windows NT and Linux dual boot system.

1. Install Windows NT

2. Install Linux, making sure LILO is installed to the superblock of the Linux partition

3. Get the first 512 bytes of the Linux root partition and store it on the Windows NT partition

4. Edit C:\BOOT.INI under Windows NT to add a Linux option

Installing Windows NT should be fairly straightforward, as should installing Linux. From there, it gets a little more tricky. Grabbing the first 512 bytes of the Linux partition is easier than it sounds. You will need to be in Linux to accomplish this. Assuming your Linux partition is /dev/hda2, issue this command:

# dd if=/dev/hda2 of=/tmp/bootsect.lnx bs=1 count=512

That’s it. Now you need to copy bootsect.lnx to the Windows NT partition. Here’s where we run into another problem. Linux does not have stable write support for the NTFS filesystem. If you installed Windows NT and formatted your drive as NTFS, you will need to copy this file to a FAT floppy and then read from it under Windows NT. If you formatted the Windows NT drive as FAT, you can simply mount it under Linux and copy the file over. Either way, you will want to get /tmp/bootsect.lnx from the Linux drive to C:\BOOTSECT.LNX on the Windows NT drive.

The last step is adding a menu option to the Windows NT boot menu. Under Windows NT open a command prompt.

C:\WINNT>cd \

C:\>attrib -r -a -s -h boot.ini

C:\>edit boot.ini

Add this line to the end of the file:

C:\bootsect.lnx="Slackware Linux»

Save the changes and exit the editor. When you reboot Windows NT, you will have a Linux option on the menu. Choosing it will boot into Linux.

Digger

При

title Windooze

makeactive

rootnoverify (hd4,0)

chainloader +1

boot

Пишет, что такой диск не существует

А при

title Windooze

makeactive

rootnoverify (hd1,0)

chainloader +1

boot

Выводит эту хрень и опять-таки виснет…

fly4life
Digger
При

title Windooze

makeactive

rootnoverify (hd4,0)

chainloader +1

boot

Пишет, что такой диск не существует

А при

title Windooze

makeactive

rootnoverify (hd4,0)

chainloader +1

boot

Выводит эту хрень и опять-таки виснет…

дважды перечитал, так и не нашёл, чем отличается первое от второго.

А у тебя виндовс точно стоит на первом разделе жёсткого диска (hd4,0)? Может hd4,1 или ещё какой раздел?

Digger

Пардон, теперь исправил, что-то клинит меня сегодня…

fly4life
Digger
Пардон, теперь исправил, что-то клинит меня сегодня…

а на вопрос ответить? ;)

Который: <font size=«-2»>"А у тебя виндовс точно стоит на первом разделе жёсткого диска (hd4,0)? Может hd4,1 или ещё какой раздел?"</font>

Digger

На первом.(весь диск (200Гб) отдан под виндовс).

А не надо граб в мбр этого диска ставить?

fly4life
Digger
А не надо граб в мбр этого диска ставить?

Нет, не надо.

Digger

Фигня какая-то может на самом деле все в нтлоадер прописать…

Последние комментарии

ecobeingecobeing.ru
Экология и вегетарианство на благо всем живым существам Планеты.