PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Wiedermal die 1024-grenze



Nore
28.10.01, 12:42
hi,

zwischen welchen beiden zeilen genau muss ich

lba32

einfügen? hab schon mehrere probiert, klappt aber irgendwie nie.

Ciao

geronet
28.10.01, 12:44
das ist völlig egal, irgendwo in den oberen zeilen der lilo.conf.

Aber du musst nachdem Editieren "lilo" ausführen!

geronet
28.10.01, 12:50
wow ne antwort von mir innerhalb 2 minuten!
:D

Nore
28.10.01, 13:04
Can't put the boot sector on logical partition 0x307

heisst es bei dem befehl "lilo". hab "lba32" (ohne die " natürlich) in die erster unkommentierte zeile geschrieben.

geronet
28.10.01, 13:20
poste mal dein system,
"fdisk -l" auch mal,
und die lilo.conf bitte.
Dann kann dir geholfen werden.

Nore
28.10.01, 13:34
bash-2.04# fdisk -l

Festplatte /dev/hda: 255 Köpfe, 63 Sektoren, 2491 Zylinder
Einheiten: Zylinder mit 16065 * 512 Bytes

Gerät Booten Anfang Ende Blöcke ID Dateisystemtyp
/dev/hda1 1 1306 10490413+ c Win95 FAT32 (LBA)
/dev/hda2 * 1307 2491 9518512+ 5 Erweiterte
/dev/hda5 1307 1308 16033+ 83 Linux
/dev/hda6 1309 1325 136521 82 Linux (Auslagerung)
/dev/hda7 1326 1652 2626596 83 Linux
/dev/hda8 1653 1979 2626596 83 Linux
/dev/hda9 1980 2491 4112608+ 83 Linux

Festplatte /dev/hdc: 1 Köpfe, 377480 Sektoren, 1 Zylinder
Einheiten: Zylinder mit 377480 * 512 Bytes

Festplatte /dev/hdc enthält keine gültige Partitionstabelle.
bash-2.04#

---

# LILO configuration file
# Start LILO global Section
# If you want to prevent console users to boot with init=/bin/bash,
# restrict usage of boot params by setting a passwd and using the option
# restricted.
#password=bootpwd
#restricted
lba32
initrd=/boot/initrd
append="lba32"
boot=/dev/hda2
#compact # faster, but won't work on all systems.
vga=normal
message=/boot/message
read-only
prompt
timeout=300
# End LILO global Section
#
image = /boot/vmlinuz
root = /dev/hda7
label = linux

#
other = /dev/hda1
label = win
table = /dev/hda

---

hätte es ja schon früher gepostet, aber netscape navigator und einfügen... arg. so sieht meine lilo.conf gerade aus. was ist daran falsch?

geronet
28.10.01, 13:51
boot=/dev/hda2
ist der falsche parameter.

es muss bei dir
boot=/dev/hda
heissen, da hda2 die exended-partition ist und nicht die erste platte hda.

aber wieso das append="lba32" ?

das wär ja ein kernel-boot-parameter, den ich nicht kenne und den es nicht gibt. also den brauchst du auch nicht (soweit ich weiss).

was ist hdc für ne platte? n' cdrom?

Nore
28.10.01, 15:06
hi,

das mit dem append hab ich einfach mal ausprobiert, kommt wieder raus das lba32 dort.

hdc ist cdrom, hdd brenner.

Nore
28.10.01, 15:13
# LILO configuration file
# Start LILO global Section
# If you want to prevent console users to boot with init=/bin/bash,
# restrict usage of boot params by setting a passwd and using the option
# restricted.
#password=bootpwd
#restricted
initrd=/boot/initrd
boot=/dev/hda
#compact # faster, but won't work on all systems.
vga=normal
message=/boot/message
read-only
prompt
timeout=300
# End LILO global Section
#
image = /boot/vmlinuz
root = /dev/hda7
label = linux

#
other = /dev/hda1
label = win
table = /dev/hda

so, trotzdem will das noch nicht so ganz... ?

geronet
28.10.01, 15:33
moment, was sagt lilo jetzt?

Nore
28.10.01, 16:00
Can't put the boot sector on logical partition 0x307

wie vorher :-(

geronet
28.10.01, 17:08
hast du auch root-rechte?

ist es auch die richtige Datei,
die /etc/lilo.conf ?

versuch mal "lilo -C /etc/lilo.conf"

Wird schon klappen *-)

Nore
28.10.01, 17:42
<BLOCKQUOTE><font size="1" face="Arial,Helvetica,Geneva">Zitat:</font><HR>Original erstellt von geronet:
<STRONG>hast du auch root-rechte?

ist es auch die richtige Datei,
die /etc/lilo.conf ?

versuch mal "lilo -C /etc/lilo.conf"

Wird schon klappen *-)</STRONG>[/quote]

hi,

ja, irgendwie muss das ja gehen.

alles was mit diesem thread bzw. lilo zu tun hat, mache in unter root.

ja, es ist etc/lilo.conf.

bash-2.04# lilo -C /etc/lilo.conf
Warning: device 0x0305 exceeds 1024 cylinder limit
geo_comp_addr: Cylinder number is too big (1306 > 1023)
bash-2.04#

noch ein paar infos: ich hab ne 20gb hd, am anfang sind 9gb mit win98, der rest ist für mein suse 7.0 pro.n

hda5 = /boot
hda7 = /
hda8 = /usr
hda9 = /home

zwischen /boot und / hab ich noch ne 128mb swap.

Ciao

geronet
28.10.01, 17:47
welche lilo-version hast du denn?

sollte schon 22.0 sein...

Nore
28.10.01, 17:51
hi,

nein eben nicht, hab 21. hab grad bei suse.de nachgeschaut und bin dabei einen neueren lilo zu installieren... hab das mit den verschiedenen lilo-versionen nicht gewusst, sonst hätte ichs schon früher gesagt.

geronet
28.10.01, 17:54
eben dann müsste es gehen :D :D

Nore
28.10.01, 18:13
nein, auch nicht.

bash-2.04# lilo
Warning: device 0x0305 exceeds 1024 cylinder limit.
Use of the 'lba32' option may help on newer (EDD BIOS) systems.
Fatal: geo_comp_addr: Cylinder number is too big (1306 > 1023)
bash-2.04#

---

bash-2.04# lilo -version
LILO version 21.6, Copyright (C) 1992-1998 Werner Almesberger
Linux Real Mode Interface library Copyright (C) 1998 Josh Vanderhoof
Development beyond version 21 Copyright (C) 1999-2000 John Coffman
Released 04-Oct-2000 and compiled at 10:37:22 on Nov 30 2000.

Caching device /dev/hda (0x0300)
Caching device /dev/hda1 (0x0301)
Caching device /dev/hda2 (0x0302)
Caching device /dev/hda3 (0x0303)
Caching device /dev/hda4 (0x0304)
Caching device /dev/hda5 (0x0305)
Caching device /dev/hda6 (0x0306)
Caching device /dev/hda7 (0x0307)
Caching device /dev/hda8 (0x0308)
Caching device /dev/hdb (0x0340)
Caching device /dev/hdb1 (0x0341)
Caching device /dev/hdb2 (0x0342)
Caching device /dev/hdb3 (0x0343)
Caching device /dev/hdb4 (0x0344)
Caching device /dev/hdb5 (0x0345)
Caching device /dev/hdb6 (0x0346)
Caching device /dev/hdb7 (0x0347)
Caching device /dev/hdb8 (0x0348)
Caching device /dev/sda (0x0800)
Caching device /dev/sda1 (0x0801)
Caching device /dev/sda2 (0x0802)
Caching device /dev/sda3 (0x0803)
Caching device /dev/sda4 (0x0804)
Caching device /dev/sda5 (0x0805)
Caching device /dev/sda6 (0x0806)
Caching device /dev/sda7 (0x0807)
Caching device /dev/sda8 (0x0808)
Caching device /dev/sdb (0x0810)
Caching device /dev/sdb1 (0x0811)
Caching device /dev/sdb2 (0x0812)
Caching device /dev/sdb3 (0x0813)
Caching device /dev/sdb4 (0x0814)
Caching device /dev/sdb5 (0x0815)
Caching device /dev/sdb6 (0x0816)
Caching device /dev/sdb7 (0x0817)
Caching device /dev/sdb8 (0x0818)
Caching device /dev/loop0 (0x0700)
Caching device /dev/loop1 (0x0701)
Caching device /dev/loop2 (0x0702)
Caching device /dev/loop3 (0x0703)
Caching device /dev/loop4 (0x0704)
Caching device /dev/loop5 (0x0705)
Caching device /dev/loop6 (0x0706)
Caching device /dev/loop7 (0x0707)
Reading boot sector from /dev/hda
Merging with /boot/boot.b
Warning: device 0x0305 exceeds 1024 cylinder limit.
Use of the 'lba32' option may help on newer (EDD BIOS) systems.
Device 0x0305: BIOS drive 0x80, 255 heads, 2491 cylinders,
63 sectors. Partition offset: 20980953 sectors.
Fatal: geo_comp_addr: Cylinder number is too big (1306 > 1023)
bash-2.04#
bash-2.04# lilo
Warning: device 0x0305 exceeds 1024 cylinder limit.
Use of the 'lba32' option may help on newer (EDD BIOS) systems.
Fatal: geo_comp_addr: Cylinder number is too big (1306 > 1023)
bash-2.04#

---

für mein mainboard gibts kein neuers bios bzw. hab schon das neueste. ist ein asus k7m das ich da habe.

Nore
28.10.01, 18:20
hi nochmal,

es geht doch :-).

obwohl diese fehlermeldungen mit den zylindern kommen (auch unter yast => admin des systems => kernel- und bootkonfiguration => lilo konfigurieren) geht es. sehr komisch... auf jeden fall, wenn ich (neu-)starte, kommt ein roter kasten in dem ich linux bzw. win98 auswählen kann. vielen dank für deine hilfe!

Ciao

geronet
28.10.01, 18:22
ist aber ein komischer lilo, ich würd lieber den "echten" lilo als tar.gz version 22.0 installieren und nochmal schaun..

aber bitte es geht doch....