Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Lilo
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
vampyro
n00b
n00b


Joined: 25 Jun 2004
Posts: 13

PostPosted: Thu Sep 28, 2006 2:24 pm    Post subject: Lilo Reply with quote

Hi,

Ich hab XP neuinstallieren müssen, nun muss ich aber den lilo neu lade.

Mein problem ist das wenn ich 'lilo' im chroot /mnt/rescue eingebe dann kommt

[/b]Warning: Unable to determine video adapter in use in the present system.
Fatal: open /boot/vmlinuz: No such file or directory



ODER:
wenn ich

/mnt/rescue/sbin/lilo -r /mnt/rescue/etc/lilo.conf dann kommt

Fatal: chroot /mnt/rescue/etc/lilo.conf: Not a directory

was kann man da machen?

thnx Sascha
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Thu Sep 28, 2006 2:36 pm    Post subject: Re: Lilo Reply with quote

vampyro wrote:
Hi,

Ich hab XP neuinstallieren müssen, nun muss ich aber den lilo neu lade.

Mein problem ist das wenn ich 'lilo' im chroot /mnt/rescue eingebe dann kommt

[/b]Warning: Unable to determine video adapter in use in the present system.
Fatal: open /boot/vmlinuz: No such file or directory



ODER:
wenn ich

/mnt/rescue/sbin/lilo -r /mnt/rescue/etc/lilo.conf dann kommt

Fatal: chroot /mnt/rescue/etc/lilo.conf: Not a directory

was kann man da machen?

thnx Sascha


Auf dem Live System:
Code:
mount /dev/ROOTPARTITION /mnt/rescue
chroot /mnt/rescue /bin/bash
mkdir /boot && mount /dev/BOOTPARTITION /boot
lilo


Sollte so gehen, evt. noch dev und sys binden.
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
vampyro
n00b
n00b


Joined: 25 Jun 2004
Posts: 13

PostPosted: Thu Sep 28, 2006 2:48 pm    Post subject: Re: Lilo Reply with quote

Auf dem Live System:
Code:
mount /dev/ROOTPARTITION /mnt/rescue
chroot /mnt/rescue /bin/bash
mkdir /boot && mount /dev/BOOTPARTITION /boot
lilo


Sollte so gehen, evt. noch dev und sys binden.[/quote]


:cry:
Bitte macht es einfach!!!
Bin ein totaler NOOB!!!

Das alles hat mir ein freund installiert OHNE mir zu erklären wie ich das genau mache. Hat mir dann eine EMail geschickt die folgendes enthalten hat:
knoppix cd rein und booten - bei dem bootscreen

knoppix 3

eingeben (sorgt dafür das er keine grafische oberfläche startet)
sobald er mim booten fertig ist gibst

fdisk -l

ein und schaust nach welche partition deine root partition ist
(filesystem muss "linux" sein und bei den "Blocks" wird vermutlich der
größte wert von allen "linux" partitionen sein, vermutlich hda3 oder
hda5)

wennst weißt welche partition deine root partition ist gehtst her und
erstellst mit

mkdir /mnt/rescue

einen ordner und mountest die partition mit

mount /dev/hdaX /mnt/rescue <---- statt dem X halt die entsprechende
partitionsnummer

wennst damit fertig bist kannst mit

chroot /mnt/rescue

den root verschieben ( brauchst ned verstehen :) )

und solltest jetzt mit dem command

lilo

nen output ala

*addet sowieso
addet wasanderes

kriegen. wenn das funktioniert hat dann kannst mit

exit

umount /mnt/rescue

reboot

BITTE um hilfe!
THNX Sascha
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Thu Sep 28, 2006 3:03 pm    Post subject: Reply with quote

Quote:
wennst damit fertig bist kannst mit

chroot /mnt/rescue



danach eben
Code:
mkdir /boot && mount /dev/BOOT_PARTITION /boot

und
Code:
lilo


HTH
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
vampyro
n00b
n00b


Joined: 25 Jun 2004
Posts: 13

PostPosted: Thu Sep 28, 2006 3:27 pm    Post subject: Reply with quote

danach eben
Code:
mkdir /boot && mount /dev/BOOT_PARTITION /boot

und
Code:
lilo




Sorry smg, hab vergessen die Fehlermeldung zu schreiben...

hab das was du mir geschrieben hast genau so gemacht, aber dann gibt er mir das aus:
mkdir: kann Verzeichnis >>/boot<< nicht anlegen: Die Datei existiert bereits

was jetzt?

THNX Sascha
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Thu Sep 28, 2006 3:30 pm    Post subject: Reply with quote

vampyro wrote:
danach eben
Code:
mkdir /boot && mount /dev/BOOT_PARTITION /boot

und
Code:
lilo




Sorry smg, hab vergessen die Fehlermeldung zu schreiben...

hab das was du mir geschrieben hast genau so gemacht, aber dann gibt er mir das aus:
mkdir: kann Verzeichnis >>/boot<< nicht anlegen: Die Datei existiert bereits

was jetzt?

THNX Sascha

Dann eben nur
Code:
mount /dev/BOOT_PARTITION /boot

_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Thu Sep 28, 2006 3:31 pm    Post subject: Reply with quote

cd /boot und ls -la, was zeigt das an?
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
vampyro
n00b
n00b


Joined: 25 Jun 2004
Posts: 13

PostPosted: Thu Sep 28, 2006 3:56 pm    Post subject: Reply with quote

root@tty1[boot]# ls
config-2.4.19-xfs System.map System.map-2.4.19-xfs vmlinuz vmlinuz-2.4.19-xfs


root@tty1[boot]# la
insgesamt 1427
drwxr-xr-x 2root root 2048 2002-10-06 20:58 .
drwxr-xr-x 19root root 4096 2002-11-08 01:36 ..
-rw-r--r-- 1root root 34897 2002-10-06 20:13 config-2.4.19-xfs
lrwxrwxrwx 1root root 21 2002-10-06 20:56 System.map -> system.map-2.4.19-xfs
-rw-r--r-- 1root root 503853 2002-10-06 20:35 System.map-2.4.19-xfs
lrwxrwxrwx 1root root 18 2002-10-06 20:58 vmlinuz -> vmlinuz-2.4.19-xfs
-rw-r--r-- 1root root 914462 2002-10-06 20:35 vmlinuz-2.4.19-xfs
Back to top
View user's profile Send private message
l3u
Advocate
Advocate


Joined: 26 Jan 2005
Posts: 2546
Location: Konradsreuth (Germany)

PostPosted: Thu Sep 28, 2006 4:15 pm    Post subject: Reply with quote

vampyro wrote:
Bitte macht es einfach!!!
Bin ein totaler NOOB!!!

Ohne dir jetzt zu nahe treten zu wollen ... aber ich würde dir derzeit nicht unbedingt empfehlen, Gentoo zu benutzen, weil es eben doch einige Grundkenntnisse voraussetzt (die du scheinbar erstmal sammeln solltest -- nicht böse gemeint! ;-)

Aber falls du dich nicht "auf die harte Tour" mit Linux auseinandersetzen willst -- warum schaust du dir nicht erstmal sowas wie Kubuntu an? Vielleicht wirst du damit glücklicher! Gerade, wenn du Gentoo nicht selbst aufgesetzt hast ...

(Abgesehen davon würd ich GRUB benutzen und nicht LILO ;-)
Back to top
View user's profile Send private message
vampyro
n00b
n00b


Joined: 25 Jun 2004
Posts: 13

PostPosted: Thu Sep 28, 2006 4:48 pm    Post subject: Reply with quote

Mir tritt keiner zu nahe... Ich bin ja auch ein NOOB im Umgang mit Linux.

Hatte eingentlich vor etwas später Gentoo mit dem Handbuch neu aufzusätzen weil meine Gentoo Version schon einige Jahre alt ist und einiges auch nicht mehr funzt...

Man hat mir gesagt es ist zeihmlich einfach mit dem Handbuch.

Werd aber schauen was besser is, bis es aber soweit ist muss ich den Lilo zum laufen bringen...
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Thu Sep 28, 2006 5:09 pm    Post subject: Reply with quote

vampyro wrote:
Mir tritt keiner zu nahe... Ich bin ja auch ein NOOB im Umgang mit Linux.

Hatte eingentlich vor etwas später Gentoo mit dem Handbuch neu aufzusätzen weil meine Gentoo Version schon einige Jahre alt ist und einiges auch nicht mehr funzt...

Man hat mir gesagt es ist zeihmlich einfach mit dem Handbuch.

Werd aber schauen was besser is, bis es aber soweit ist muss ich den Lilo zum laufen bringen...

Warum nimmst Du eine alte Version?Auf den Mirrors ist die aktuelle verfügbar,worauf sich auch immer das aktuelle Handbuch bezieht.
Das kann nur in die Hose gehen,spätestens beim ersten Updateversuch.
Jetzt ist auch klar warum Du lilo installieren willst.
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
vampyro
n00b
n00b


Joined: 25 Jun 2004
Posts: 13

PostPosted: Thu Sep 28, 2006 5:18 pm    Post subject: Reply with quote

Nein....


BEIM NEUINSTALLIEREN von Gentoo nehm ich ne neue!!


Aber jetzt hab ich eine alte Version weil die 2002 auf den laptop gehaut wurde, und seitdem nicht mehr upgedated wurde.... den lilo will ich nur nochmal laden weil ich XP neuinstallieren hab müssen!
Jetzt komm ich nur ins XP und nicht mehr ins Gentoo...


ich muss es nur schaffen den Lilo (der schon existiert und funzt) in den MBR zu schreiben.

Das ist das Prob... wie schon in den letzten Posts beschrieben...
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Thu Sep 28, 2006 5:26 pm    Post subject: Reply with quote

OK,hatte ich irgendwie in den falschen Hals bekommen,sorry.
Also,Du bist in chroot-Umgebung und hast /boot gemountet?
Code:
mount /dev/BOOTPARTITION /boot

_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
vampyro
n00b
n00b


Joined: 25 Jun 2004
Posts: 13

PostPosted: Thu Sep 28, 2006 5:39 pm    Post subject: Reply with quote

NP..

Wenn ich das eingebe dann spuckt er mir das aus:

sh-2.05b# mount /dev/hda2 /boot
NTFS driver v1.1.22 [Flags: R/W MODULE]
NTFS: Warning! NTFS volume version is Win2K+: Mounting read-only
sh-2.05b#



Und wenn ich dannach

lilo

eingebe dan spuckt er das

Fatal: creat /boot/System.map~: Read-only file system

thnx sascha
Back to top
View user's profile Send private message
Finswimmer
Bodhisattva
Bodhisattva


Joined: 02 Sep 2004
Posts: 5467
Location: Langen (Hessen), Germany

PostPosted: Thu Sep 28, 2006 5:43 pm    Post subject: Reply with quote

vampyro wrote:
NP..

Wenn ich das eingebe dann spuckt er mir das aus:

sh-2.05b# mount /dev/hda2 /boot
NTFS driver v1.1.22 [Flags: R/W MODULE]
NTFS: Warning! NTFS volume version is Win2K+: Mounting read-only
sh-2.05b#



Und wenn ich dannach

lilo

eingebe dan spuckt er das

Fatal: creat /boot/System.map~: Read-only file system

thnx sascha


Dann versuchst du grad deine Windows Partition zu mounten.

Probier mal alle Partiition duch. Danach immer ein ls /boot/ und du siehst dann, welche deine Linux Part. ist

Tobi
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Thu Sep 28, 2006 5:43 pm    Post subject: Reply with quote

Bist Du sicher dass auf /dev/hda2 Dein /boot ist?
Code:
NTFS: Warning! NTFS volume version is Win2K+: Mounting read-only

NTFS ist ein Win-Dateisystem.
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
vampyro
n00b
n00b


Joined: 25 Jun 2004
Posts: 13

PostPosted: Thu Sep 28, 2006 5:55 pm    Post subject: Reply with quote

FUNZT!!!!!!!!!!!!!! :lol:

@ Finswimmer und Doe John Ihr hattet recht.... hda2 war XP (hab mich wennst fdisk -l eingibst vom * unter boot bei hda2 iritieren lassen)


hda1 war boot und jetzt FUNZT alles wieder!!


PS: gibts ne Gentoo Anleitung für Einsteiger ausser das Handbuch (oder reicht das Handbuch? oder doch Kubuntu?)

THNX leute :D[
Back to top
View user's profile Send private message
nikaya
Veteran
Veteran


Joined: 13 May 2006
Posts: 1471
Location: Germany

PostPosted: Thu Sep 28, 2006 6:13 pm    Post subject: Reply with quote

vampyro wrote:

PS: gibts ne Gentoo Anleitung für Einsteiger ausser das Handbuch (oder reicht das Handbuch? oder doch Kubuntu?)

Lese das Handbuch wenn es geht mehrmals durch.Was Du nicht verstehst versuche woanders zu recherchieren z.B. hier
_________________
Notes on Dhamma
How to waste your time: look for an explanation of consciousness, ask to know what feeling is. (Nanavira Thera)
Back to top
View user's profile Send private message
vampyro
n00b
n00b


Joined: 25 Jun 2004
Posts: 13

PostPosted: Thu Sep 28, 2006 6:15 pm    Post subject: Reply with quote

K..

nochmals THNX

sascha
Back to top
View user's profile Send private message
smg
Veteran
Veteran


Joined: 13 Aug 2004
Posts: 1402
Location: /home/stephan

PostPosted: Thu Sep 28, 2006 6:20 pm    Post subject: Reply with quote

vampyro wrote:
FUNZT!!!!!!!!!!!!!! :lol:

@ Finswimmer und Doe John Ihr hattet recht.... hda2 war XP (hab mich wennst fdisk -l eingibst vom * unter boot bei hda2 iritieren lassen)


hda1 war boot und jetzt FUNZT alles wieder!!


PS: gibts ne Gentoo Anleitung für Einsteiger ausser das Handbuch (oder reicht das Handbuch? oder doch Kubuntu?)

THNX leute :D[


Eventuell Opensuse für dich, oder Kubuntu. Hoffe du kommst jetzt zurecht.

Doe John wrote:
vampyro wrote:

PS: gibts ne Gentoo Anleitung für Einsteiger ausser das Handbuch (oder reicht das Handbuch? oder doch Kubuntu?)

Lese das Handbuch wenn es geht mehrmals durch.Was Du nicht verstehst versuche woanders zu recherchieren z.B. hier


<intelligent-kote> falscher imperativ; sollte lies heißen :)</intelligent-kote>

HTH
_________________
GnuPG-Key-ID: 0xF8C275D4
Fingerprint: 5B6F 134A 189B A24D 342B 0961 8D4B 0230 F8C2 75D4
Code:
perl -WTe '($")=$/;print qq(@{[reverse('0'..'100')]}$/BOOM!$/);'
Back to top
View user's profile Send private message
platinumviper
l33t
l33t


Joined: 12 Feb 2004
Posts: 648
Location: Munich, Germany

PostPosted: Fri Sep 29, 2006 7:12 am    Post subject: Reply with quote

smg wrote:
Eventuell Opensuse für dich, oder Kubuntu.
Dieser Satz kein Verb. :twisted:
SCNR

platinumviper
_________________
No money back garantee. In case of problems, don't call us, we call you.
Back to top
View user's profile Send private message
platinumviper
l33t
l33t


Joined: 12 Feb 2004
Posts: 648
Location: Munich, Germany

PostPosted: Fri Sep 29, 2006 7:24 am    Post subject: Reply with quote

vampyro wrote:
hda1 war boot und jetzt FUNZT alles wieder!!

Schön, dann solltest Du Dir eine Rescue-CD machen. Als root:
Code:
mount /boot
mkrescue --iso --size hd
cdrecord dev=/dev/hdc rescue.iso

Mit der kannst Du dann Dein System booten, ohne nach der /- und /boot-Partition suchen zu müssen.

platinumviper
_________________
No money back garantee. In case of problems, don't call us, we call you.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum