0
вопросы по LiLo
Автор Angel Of Nemesis, 26 окт 2010 14:54
Сообщений в теме: 8
#1
Отправлено 26 октября 2010 - 14:54
Как в lilo.conf замаскировать раздел при загрузке системы (что-то типа hide в grube)? Или чтобы система, стоящая на втором первичном разделе считала что она на первом первичном?
#2
Отправлено 26 октября 2010 - 15:25
через лило можно переназначать буквы физических дисков опираясь на коды биос:
disk=/dev/sda bios=0x80 disk=/dev/hda bios=0x81прятать можно через user.tex, а именно с использованием change-rules. найдите файл user.tex в локальных доках вашего лило.
think different
#3
Отправлено 26 октября 2010 - 17:26
Во, нашел:
Цитата
change
This keyword starts a section which describes how primary partition IDs are changed, and how primary partitions are activated and deactivated. If change is omitted, change rules are generated as though the automatic keyword were specified. The keyword change alone, without any rules following, will suppress automatic change-rules. For example,
other=/dev/hda2
label=dos
table=/dev/hda
change
automatic
partition=/dev/hda1
set=DOS12_hidden
deactivate
partition=/dev/hda2
set=DOS16_big_normal
activate
specifies that when primary partition /dev/hda2 is booted, automatic change-rules will be in effect; plus, partition 1, a DOS12 partition, will be set hidden, and deactivated. In addition, partition 2, will be set normal, and activated.
This keyword starts a section which describes how primary partition IDs are changed, and how primary partitions are activated and deactivated. If change is omitted, change rules are generated as though the automatic keyword were specified. The keyword change alone, without any rules following, will suppress automatic change-rules. For example,
other=/dev/hda2
label=dos
table=/dev/hda
change
automatic
partition=/dev/hda1
set=DOS12_hidden
deactivate
partition=/dev/hda2
set=DOS16_big_normal
activate
specifies that when primary partition /dev/hda2 is booted, automatic change-rules will be in effect; plus, partition 1, a DOS12 partition, will be set hidden, and deactivated. In addition, partition 2, will be set normal, and activated.
#4
Отправлено 26 октября 2010 - 21:07
Angel Of Nemesis (Oct 26 2010, 18:25) писал:
Во, нашел:
change-rules Defines boot-time changes to partition type numbers (`hiding'). change-rules reset type=DOS12 normal=1 hidden=0x11 type=DOS16_small normal=4 hidden=0x14 type=DOS16_big normal=0x06 hidden=0x16 The above excerpt from a configuration file specifies that all default change-rules are removed (reset, the three types specified would have been added to the existing default change-rules. Normally, the default rules are sufficient. The strings which define the partition types are used in a change section (see below), with the suffixes ''
think different
#5
Отправлено 27 октября 2010 - 19:32
вот засада, лило, как выяснилось, не поддерживает загрузку asp 12 Установил EasyBCD и NeoGrub. Проверил, загружают всё.
Сообщение отредактировал Angel Of Nemesis: 27 октября 2010 - 19:33
#6
Отправлено 28 октября 2010 - 00:02
Angel Of Nemesis (Oct 27 2010, 20:31) писал:
вот засада, лило, как выяснилось, не поддерживает загрузку asp 12 Установил EasyBCD и NeoGrub. Проверил, загружают всё.
think different
#7
Отправлено 28 октября 2010 - 13:14
Цитата
быть такого не может. asploader - это форк lilo. какая разница какой стоит линукс. у него есть kernel и возможно внешний initrd. остальное неважно
Цитата
setup root: moving /dev failed: No such file or directory
mount: could not find filesystem '/dev/root'
error mounting /proc no such file or directory
error mounting /sys: No such file or directory
kernel panic - not syncing. Attempted to kill init!
mount: could not find filesystem '/dev/root'
error mounting /proc no such file or directory
error mounting /sys: No such file or directory
kernel panic - not syncing. Attempted to kill init!
#9
Отправлено 29 октября 2010 - 13:06
Цитата
покажи свой /etc/lilo.conf
Там было что-то типа:
image=/boot/asplinuz
label=asplinux12
root=/dev/hda12
initrd=/boot/asplinux.img
Ладно, все норм загружает обычный grub macos x, надо только прописать ему chainloader /boot/tboot, где - tboot это загрузочный сектор HFS+ раздела, найденный здесь
Вопросы сняты.
Количество пользователей, читающих эту тему: 2
0 пользователей, 2 гостей, 0 анонимных