|
|
ru.linux- RU.LINUX --------------------------------------------------------------------- From : Sergey Shumov 2:5020/5046.1 12 Jan 2004 13:46:28 To : Sergey Klepickov Subject : Re: XP + Linux -------------------------------------------------------------------------------- Помнится 08 Jan 04 в 23:43, Sergey Klepickov писал к Sergey Shumov: SS>> Hесмотpя ни на что, пpиветствую тебя, All! SS>> Во-пеpвых поздpавляю всех с наступающим Hовым годом. SK> Мне тоже стала интеpесна такая конфигуpация, поэтому позвольте несколько SK> вопpосов Без проблем. Щас отвечу. SS>> 1. Поставить загpузчик (Lilo или GRUB) в MBR SS>> 2. Снять бутсектоp на дискету SK> КАК ? Есть два варианта - так как я сделал или согласно здешнему FAQ В моем варианте я не ставил загрузчик Linux в MBR, а только на тот раздел куда и поставил Linux. Бутсектор NT остался нетронутым. Потом я воспользовался DiskEdit (на это раз Acronis DiskEdit) в нем перешел на нужный раздел (куда поставил) переключился в Hex и скопировал 512 байт в файл bootsect.lnx Есть вариант согласно здешнего FAQ - из под Linux подмонтировать дискету и дать команду dd if=/dev/куда поставил Linux (свой я запихнул аж на hda7) of=/mnt/floppy/bootsect.lnx bs=512 count=1 то есть для установленного на второй primari раздел, винчестера, стоящего мастером на первом IDE канале надо будет указать следующую команду: dd if=/dev/hda2 of=/mnt/floppy/bootsect.lnx bs=512 count=1 SS>> 3. Восстановить бут для 2000/XP SK> Это fdisk /mbr ? Ага, щаз... загружаешься в консоль восстановления (Recovery Console), даешь команду FIXBOOT === Cut === Fixboot Writes a new partition boot sector to the system partition. The fixboot command is only available when you are using the Recovery Console. fixboot [drive] Parameter drive The drive to which a boot sector will be written. This replaces the default drive, which is the system partition you are logged on to. An example of a drive is: D: Example The following example writes a new partition boot sector to the system partition in drive D: fixboot d: Note Using the fixboot command without any parameters will write a new partition boot sector to the system partition you are logged on to. === Cut === далее команду FIXMBR === Cut === Fixmbr Repairs the master boot record of the boot disk. The fixmbr command is only available when you are using the Recovery Console. fixmbr [device_name] Parameter device_name The device (drive) on which you want to write a new master boot record. The name can be obtained from the output of the map command. An example of a device name is: \Device\HardDisk0. Example The following example writes a new master boot record to the device specified: fixmbr \Device\HardDisk0 Notes If you do not specify a device_name, a new master boot record will be written to the boot device, which is the drive on which your primary system is loaded. If an invalid or nonstandard partition table signature is detected, you will be prompted whether you want to continue. If you are not having problems accessing your drives, you should not continue. Writing a new master boot record to your system partition could damage your partition tables and cause your partitions to become inaccessible. === Cut === SS>> 4. Записать бутсектоp Linux в bootsect.lnx в коpень SS>> 5. Отpедактиpовать соответсвенно boot.ini SK> Что там надо испpавить? Добавляешь строку c:\bootsect.lnx="Linux" SK> Благодаpю за возможные ответы! Да без проблем. Приятно было с тобой побеседовать, Sergey! --- ICC ESRR * Origin: Moskov RailRoad, my work place (2:5020/5046.1) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.linux/388740029f74.html, оценка из 5, голосов 10
|