lilo проблем при Debian

11 отговора 189 прегледа
#1

lilo проблем при Debian

bash-2.05b#lilo
Warning: Unable to determine video adapter in use in the present system.
Added Linux *

Някой друг с Дебиан има ли такъв проблем?

Отговор
в отговор на lilo #2

остави дебиан-а...

а ако си беше тропнал тука и lilo.conf файла - цена нямаше да имаш направо

пък така трябва да се правим на братовчеди на баба ванга.

TANSTAAFL! There AiNt Such Thing As A Free Lunch
Отговор
в отговор на onzi #3

Re: остави дебиан-а...

bash-2.05b# cat /etc/lilo.conf
lba32
# Generated by liloconfig

# Specifies the boot device
boot=/dev/hda5

# Specifies the device that should be mounted as root.
# If the special name CURRENT is used, the root device is set to the
# device on which the root file system is currently mounted. If the root
# has been changed with -r , the respective device is used. If the
# variable ROOT is omitted, the root device setting contained in the
# kernel image is used. It can be changed with the rdev program.
root=/dev/hda5

# Enables map compaction:
# Tries to merge read requests for adjacent sectors into a single
# read request. This drastically reduces load time and keeps the map
# smaller. Using COMPACT is especially recommended when booting from a
# floppy disk.
# compact

# Default menu for Debian. (Using the images from debian-bootscreen)
# from Philipp Wolfer <phil@newswriter.org>.
bitmap=/usr/share/lilo/contrib/sid.bmp
bmp-colors=1,,0,2,,0
bmp-table=120p,173p,1,15,17
bmp-timer=254p,432p,1,0,0

# Install the specified file as the new boot sector.
# If INSTALL is omitted, /boot/boot.b is used as the default.
# Note: /boot/boot-bmp.b must be used in order to the boot menu works.
# install=/boot/boot.b
install=/boot/boot-bmp.b

# Specifies the number of _tenths_ of a second LILO should
# wait before booting the first image. LILO
# doesn't wait if DELAY is omitted or if DELAY is set to zero.
# delay=20

# Prompt to use certaing image. If prompt is specified without timeout,
# boot will not take place unless you hit RETURN
prompt
timeout=50

# Specifies the location of the map file. If MAP is
# omitted, a file /boot/map is used.

map=/boot/map

# Specifies the VGA text mode that should be selected when
# booting. The following values are recognized (case is ignored):
# NORMAL select normal 80x25 text mode.
# EXTENDED select 80x50 text mode. The word EXTENDED can be
# abbreviated to EXT.
# ASK stop and ask for user input (at boot time).
# <number> use the corresponding text mode. A list of available modes
# can be obtained by booting with vga=ask and pressing [Enter].
vga=normal

image=/vmlinuz
label=Linux
read-only

# If you have another OS on this machine (say DOS),
# you can boot if by uncommenting the following lines
# (Of course, change /dev/hda2 to wherever your DOS partition is.)
# other=/dev/hda2
# label=dos

bash-2.05b#


Това което проучих и разбрах е следното:
В lilo.conf имам ред
install=/boot/boot-bmp.b
,но в /boot/ нямам boot-bmp.b , а имам само:

bash-2.05b# pwd
/boot
bash-2.05b# ls
boot.0300 config-2.4.18-bf2.4 System.map-2.4.18-bf2.4
boot.0305 map vmlinuz-2.4.18-bf2.4
bash-2.05b#

Отговор
в отговор на lilo #4

Re: остави дебиан-а...

разкарай всякакви битмапи и ще спиш спокойно. ето ти примерен лило.конф:


prompt
timeout=10
default=linux
boot=/dev/hda
map=/boot/map
install=/boot/boot.b
message=/boot/message
lba32

image=/boot/bzImage-2.4.18
label=linux
read-only
root=/dev/hda3

image=/boot/bzImage-2.4.12
label=old
read-only
root=/dev/hda3



тук /boot/boot.b ти е боот сектора. без него няма да мине номера. така като гледам, при теб е boot.0300 или boot.0305

TANSTAAFL! There AiNt Such Thing As A Free Lunch
Отговор
в отговор на onzi #5

Re: остави дебиан-а...

Оффффф,
Не стана нищо.

Изцяло като твоя го направих и пак едно и също.

Ще се мъча сега да компилирам 2.4.20 ядрото...
ама от сега знам, че нищо няма да стане понеже досега не съм компилирвал, а само съм прекомпилирвал ядро.

Отговор
в отговор на lilo #6

Re: остави дебиан-а...

Не съм сигурен дали ще стане с прекомпилиране на ядрото.
Между другото колко ти е голям диска? виждам, че се boot-а е на hda5 и може би проблема е до това, че този дял е над 1024 цилиндър (8 GB)?

Отговор
в отговор на TV!OOO #7

Re: остави дебиан-а...

Ами то новите lilo-ta не им е проблем това

Когато бях с друго дистро нямаше проблем

И аз не знам какво е още.

За hda5 ами това е втория дял

Disk /dev/hda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 638 5124703+ 7 HPFS/NTFS
/dev/hda2 639 4865 33953377+ f Win95 Ext'd (LBA)
/dev/hda5 639 1859 9807651 83 Linux
/dev/hda6 1860 3034 9438156 b Win95 FAT32
/dev/hda7 3035 3569 4297356 b Win95 FAT32
/dev/hda8 3570 3631 497983+ 82 Linux swap
/dev/hda9 3632 4865 9912073+ 83 Linux

Когато дойдоха да ми качват ОС така ми го нацепиха диска и единствено resize i type на последните дялове, а на първите всичко ценно.

Отговор
в отговор на lilo #8

Re: остави дебиан-а...

Не се смейте

Още няколко дена и нема да има ntfs i fat32. С това apt-get install напълних диска и ще има тотална роакада. NTFS и FAT32 ще изчезнат

Отговор
в отговор на lilo #9

Re: остави дебиан-а...

Ако искаш си инсталирай GRUB. Имаш го като пакет, само apt-get install grub и заравяш за проблемите!!!

Отговор
в отговор на lilo #10

Re: остави дебиан-а...

чакай чакай чакай
аз само пейстнах моя лило.конф. не го слагай точно същия. остави си /дев/хда5 за руут, остави имената на имиджите....

TANSTAAFL! There AiNt Such Thing As A Free Lunch
Отговор
в отговор на onzi #11

Re: остави дебиан-а...

Е да де. Промених го като твоя, но с моите данни. И /boot/* с моите данни... Всичко както требва.

Отговор
в отговор на steve #12

Re: остави дебиан-а...

Ами ударих му едно apt-get install grub ама не мога го конфигурирам, нещо не мога да се ориентирам(дори в документацията). Ако ми кажеш какво трябва да направя, цена няма да имаш



Отговор