PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : zwischen Windoof und Ubuntu wählen



-Mischka-
08.08.06, 09:18
Also ich hatte Windows am laufen, und zuätzlich Ubuntu installiert (auf ner andren Partition). Nun ist das Problem, das der LILO Boot Manager immer nur Linux läd, aber nicht windows :(
Ein mal hab ich sinnfrei auf die Tastatur gehämmert, da durfte ich mir ein Betriebssystem auswählen, dummerweise weiß ich nicht, welche Taste ich dazu drücken muss, hoffe einer kann mir dabei helfen.

Tomek
08.08.06, 09:58
Wie sieht denn deine LILO-Konfiguration aus? Poste bitte mal die Datei /etc/lilo.conf.

kreol
08.08.06, 09:58
Wenn Dir Link (http://www.pro-linux.de/t_kernel/liloconf.html) nicht weiterhilft, poste die Ausgabe von "cat /etc/lilo.conf" sowie die Ausgabe von "fdisk -l" hierher, bitte unter Verwendung der vB-Tags aus meiner Sig...

Btw: Das alternative Betriebssystem heißt Windows... ;)


Kreol

-Mischka-
08.08.06, 10:20
poste die Ausgabe von "cat /etc/lilo.conf" sowie die Ausgabe von "fdisk -l" hierherdumme Frage: Ich weiß bin en n00b, kann mir mal wer erklären, wie ich an diese Ausgaben komme, das erste mal, dass ich überhaupt en einem Linux-Rechner sitze, habe bisher nur Windows benutzt. *schäm*

marce
08.08.06, 10:23
Konsole / Shell öffnen und die Befehle tippen. Evtl. musst Du dazu aber root sein...

-Mischka-
08.08.06, 10:46
Konsole / Shell öffnen und die Befehle tippen. Evtl. musst Du dazu aber root sein...noch 2 dumme fragen:
1) Hab kein root-pw gesetzt, gibts da en StandartPW, oder ist das erste Benutzerkonto, das ich bei der Installation erstellt hab, automatisch root.
2) WIe öffne ich die Konsole...

kreol
08.08.06, 11:00
Habe kein Ubuntu. Versuch mal <alt>+<F2> und in dem Befehlsfenster, das sich ggf. öffnet "konsole". Dort dann "cat /etc/lilo.conf" und "sudo fdisk -l" eingeben und die jeweilige Ausgabe hierher posten. Ubuntu schafft afaik ab Werk ohne root, das macht sudo.

Wirf gelegentlich auch mal einen Blick auf meine Sig und die dortigen Links ;)


Kreol

-Mischka-
08.08.06, 11:20
Habe kein Ubuntu. Versuch mal <alt>+<F2> und in dem Befehlsfenster, das sich ggf. öffnet "konsole". Dort dann "cat /etc/lilo.conf" und "sudo fdisk -l" eingeben und die jeweilige Ausgabe hierher posten. Ubuntu schafft afaik ab Werk ohne root, das macht sudo.ok, hab ich gemacht, alt + F2 macht auch ein kleines Fenster auf, aber wenn ich die eingaben tätige, schließt sich das Fenster, ohne eine Ausgabe...

kreol
08.08.06, 11:37
Wieso "die Eingaben"? altF2 und in dem kleinen Fenster "konsole" eingeben. Ist exakt eine Eingabe...

Aber bevor Du weiterhin "sinnfrei auf der Tastatur rumhämmerst" schau Dir doch die schon empfohlenen Links an. Wenn Du nicht mal weißt, wie man die Konsole aufruft ist erstmal lesen angesagt, nichts für ungut...


Kreol

-Mischka-
08.08.06, 11:46
Wieso "die Eingaben"? altF2 und in dem kleinen Fenster "konsole" eingeben. Ist exakt eine Eingabe...ok, habs geschnallt das dumme ist, dass dort folgendes Fehlermeldung kommt, wenn ich konsole eingeb:


Speicherort "file://konsole" konnte nicht angezeigt werden

Datails: Mit diesem Speicherort ist keine Vorgabeaktion verknüpft

quinte17
08.08.06, 11:55
du hast doch oben links ein paar menüs.
kannst du da mal duchschauen, und nach "Terminal" suchen. dies musst du starten. (da öffnet sich dann ein fenster, was so änlich aussieht wie die dosbox unter winxp)
und da musst du dann die genannten befehle wie fdisk -l und cat /etc/lilo.conf
eintippen, und die ausgabe davon hier wie gesagt posten.

mit dem alt+f2 vergiss des lieber schnell wieder :) wäre eher etwas anderes gewesen..

greetz

-Mischka-
08.08.06, 12:28
du hast doch oben links ein paar menüs.
kannst du da mal duchschauen, und nach "Terminal" suchen. dies musst du starten. (da öffnet sich dann ein fenster, was so änlich aussieht wie die dosbox unter winxp)
und da musst du dann die genannten befehle wie fdisk -l und cat /etc/lilo.conf
eintippen, und die ausgabe davon hier wie gesagt posten.

mit dem alt+f2 vergiss des lieber schnell wieder :) wäre eher etwas anderes gewesen..

greetzDanke, funktioniert, jetzt muss ich mir nur noch überlegen, wie ich den Text von dem Linux-Rechner auf den Rechner bekomme, mit dem ich im Internet bin, naja, hab heut keine Zeit mehr, werd mich morgen drum kümmern, THX 4 help!!!

Krischi
08.08.06, 12:50
1) Hab kein root-pw gesetzt, gibts da en StandartPW, oder ist das erste Benutzerkonto, das ich bei der Installation erstellt hab, automatisch root.Für den Fall, daß in diesem Punkt noch Unklarheit bestehen sollte:
Bei Ubuntu wird standardmäßig kein root-Passwort gesetzt. Administrative Aufgaben werden per sudo erledigt.
Siehe dazu auch
http://www.linuxforen.de/forums/showthread.php?t=208770

kreol
08.08.06, 13:10
Danke, funktioniert, jetzt muss ich mir nur noch überlegen, wie ich den Text von dem Linux-Rechner auf den Rechner bekomme, mit dem ich im Internet bin, naja, hab heut keine Zeit mehr, werd mich morgen drum kümmern, THX 4 help!!!Wenn Du Dateien zwischen den Rechnern austauschen kannst (Diskette, Datenstick o.ä.) kannst Du die Ausgaben in zwei Dateien schreiben und von dem anderen Rechner posten... Geht mit
cat /etc/lilo.conf > ~/lilo.conf.txt
sudo fdisk -l > ~/fdisk.txtDie Dateien sind dann in Deinem Homeverzeichnis (~ ersetzt das /home/username).


Kreol

-Mischka-
11.08.06, 14:58
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
# --------------- `install-mbr(8)', `/usr/share/doc/lilo/',
# and `/usr/share/doc/mbr/'.

# +---------------------------------------------------------------+
# | !! Reminder !! |
# | |
# | Don't forget to run `lilo' after you make changes to this |
# | conffile, `/boot/bootmess.txt' (if you have created it), or |
# | install a new kernel. The computer will most likely fail to |
# | boot if a kernel-image post-install script or you don't |
# | remember to run `lilo'. |
# | |
# +---------------------------------------------------------------+

# Specifies the boot device. This is where Lilo installs its boot
# block. It can be either a partition, or the raw device, in which
# case it installs in the MBR, and will overwrite the current MBR.
#
boot=/dev/hda

# Specifies the device that should be mounted as root. (`/')
#
root=/dev/hda3

# This option may be needed for some software RAID installs.
#
# raid-extra-boot=mbr-only

# Enable 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. It is disabled here by default
# because it doesn't always work.
#
# compact

# Installs the specified file as the new boot sector
# You have the choice between: text, bmp, and menu
# Look in lilo.conf(5) manpage for details
#
#install=menu

# Specifies the location of the map file
#
map=/boot/map

# You can set a password here, and uncomment the `restricted' lines
# in the image definitions below to make it so that a password must
# be typed to boot anything but a default configuration. If a
# command line is given, other than one specified by an `append'
# statement in `lilo.conf', the password will be required, but a
# standard default boot will not require one.
#
# This will, for instance, prevent anyone with access to the
# console from booting with something like `Linux init=/bin/sh',
# and thus becoming `root' without proper authorization.
#
# Note that if you really need this type of security, you will
# likely also want to use `install-mbr' to reconfigure the MBR
# program, as well as set up your BIOS to disallow booting from
# removable disk or CD-ROM, then put a password on getting into the
# BIOS configuration as well. Please RTFM `install-mbr(8)'.
#
# password=tatercounter2000

# Specifies the number of deciseconds (0.1 seconds) LILO should
# wait before booting the first image.
#
delay=20

# You can put a customized boot message up if you like. If you use
# `prompt', and this computer may need to reboot unattended, you
# must specify a `timeout', or it will sit there forever waiting
# for a keypress. `single-key' goes with the `alias' lines in the
# `image' configurations below. eg: You can press `1' to boot
# `Linux', `2' to boot `LinuxOLD', if you uncomment the `alias'.
#
# message=/boot/bootmess.txt
# prompt
# delay=100
# timeout=100

# Specifies the VGA text mode at boot time. (normal, extended, ask, <mode>)
#
# vga=ask
# vga=9
#


# Kernel command line options that apply to all installed images go
# here. See: The `boot-prompt-HOWTO' and `kernel-parameters.txt' in
# the Linux kernel `Documentation' directory.
#
# append=""

# If you used a serial console to install Ubuntu, this option should be
# enabled by default.
# serial=

#
# Boot up Linux by default.
#
default=Linux

image=/vmlinuz
label=Linux
read-only
# restricted
# alias=1

initrd=/initrd.img

image=/vmlinuz.old
label=LinuxOLD
read-only
optional
# restricted
# alias=2

initrd=/initrd.img.old


# If you have another OS on this machine to boot, you can uncomment the
# following lines, changing the device name on the `other' line to
# where your other OS' partition is.
#
# other=/dev/hda4
# label=HURD
# restricted
# alias=3
other=/dev/hda1
label=Windows
# restricted
# alias=2

Das wäre der Inhalt von lilo.conf

marce
11.08.06, 17:22
setz doch mal den Wert von delay hoch - dann erkennt man immerhin mal, ob lilo eine vernünftige Ausgabe liefert oder ob da evtl. ein anderes Problem vorliegt.

Evtl. auch den vga-Mode auf eine ungefährliche Variante stellen.

Hinter her nicht vergessen, lilo neu zu installieren, damit die Änderungen wirksam werden...

dragon's might
11.08.06, 17:27
Ich dachte Ubuntu verwendet standardmäßig GRUB.

BedriddenTech
11.08.06, 17:50
In deiner lilo.conf hast du ein Schlüsselwort »prompt«, und davor ein Nummerzeichen (#). Das Nummernzeichen muß weg, damit das Menü kommt. Benutze also einen Editor, z.B. den nano, ändere und speichere die lilo.conf und installiere dann lilo mit dem gleichnamigen Befehl neu in den MBR.

Das könnte z.B. so aussehen:

nano /etc/lilo.conf
(Datei editieren)
lilo

-Mischka-
11.08.06, 18:36
ok, delay-Zeit geändert, null problemo, aber das was BedriddenTech da geschrieben hat, hab ich irgendwie nicht ganz gerafft.
PS: Wie kann ich Lilo jetzt neu installieren?

marce
11.08.06, 20:23
[_] Du hast die Datei aufmerksam durchgelesen...

-Mischka-
11.08.06, 20:36
was für ne Datei, sry, Leuts, Ubuntu Linux ist ne Nr. zu groß für mich, pls help!

marce
11.08.06, 20:39
... von welcher Datei, in der Du Änderungen machen sollst reden wir denn hier? Hast Du die denn mal aufmerksam durchgelesen - besonders, sagen wir mal, die ersten 15 Zeilen?

-Mischka-
12.08.06, 11:50
mag ja sein dass ich zu dumm bin, verzeiht mir das bidde, aber wie install ich das lilo neu, ein Bekannter hat mir die lilo.conf neu geschrieben, ich bekomm das neu installen aber nit hin...

marce
13.08.06, 12:35
# /etc/lilo.conf - See: `lilo(8)' and `lilo.conf(5)',
# --------------- `install-mbr(8)', `/usr/share/doc/lilo/',
# and `/usr/share/doc/mbr/'.

# +---------------------------------------------------------------+
# | !! Reminder !! |
# | |
# | Don't forget to run `lilo' after you make changes to this |
# | conffile, `/boot/bootmess.txt' (if you have created it), or |
# | install a new kernel. The computer will most likely fail to |
# | boot if a kernel-image post-install script or you don't |
# | remember to run `lilo'. |
# | |
# +---------------------------------------------------------------+


könnte sein, dass Du recht hast...