Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2 Probleme - Grub config und Sound
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
eine Sage
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 179
Location: Peine, Germany

PostPosted: Mon Feb 03, 2003 1:34 pm    Post subject: 2 Probleme - Grub config und Sound Reply with quote

Hallo Leute, ich schriebe das erste mal hier, bin noch relativ unerfahren mit Gentoo, und habe 2 Fragen. Ein Bekannter hat mir Gentoo eingerichtet, aber werde das System auch bald auf meinem Desktoprechner installieren. Bisher laeuft es nur auf einem Notebook...

1. Wo liegt die Grubconfig, in der das timeout steht? Die gesamte /boot ist leer, also auch kein /boot/grub vorhanden.

2. Im Kernel scheint keine Soundunterstuetzung zu sein, jedenfalls nicht fuer die super Notebook-Dolby Surround-Lautsprecher :wink:
Ich habe die gleiche Kernelversion (2.4.20) nochmal kopiliert, weil ich nicht wusste was ich sonst da machen kann...?

Also, hab schon viel gsucht, aber nichts hilfreiches gefunden...
Waere fuer Hilfe sehr dankbar,
Sage
_________________
Nichts ist wahr, alles ist erlaubt!
http://www.verschwoerungen.info? cnn.com? Die Wahrheit liegt irgendwo dazwischen!
Back to top
View user's profile Send private message
Snowy
n00b
n00b


Joined: 20 Jan 2003
Posts: 9

PostPosted: Mon Feb 03, 2003 1:38 pm    Post subject: Reply with quote

Hi,
zur Frage 1:
Du musst erst /boot mounten. Es wird Standardmäßig nicht gemountet.
Wenn die Bootpartition in der fstab eingetragen ist sollte ein "mount /boot" reichen, wenn nicht dann ist ein "mount /dev/hdxx /boot" nötig.

Bei der 2. Frage muss ich passen.

Ciao
Back to top
View user's profile Send private message
eine Sage
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 179
Location: Peine, Germany

PostPosted: Mon Feb 03, 2003 1:52 pm    Post subject: Reply with quote

Scheint gemountet zu sein.
In der fstab steht /boot drin, allerdings meldet er
"mount: special device /dev/BOOT does not exist"
In /boot komme ich ja rein, und ls -al meldet nichts außer eben "." und ".." - also ist sie leer?!
_________________
Nichts ist wahr, alles ist erlaubt!
http://www.verschwoerungen.info? cnn.com? Die Wahrheit liegt irgendwo dazwischen!
Back to top
View user's profile Send private message
A.Stranger
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 148
Location: Dortmund

PostPosted: Mon Feb 03, 2003 2:17 pm    Post subject: Reply with quote

Hallo,

:lol: Da scheint Dein Freund vergessen zu haben, Deine fstab anzupassen. Ändere sie mal in /dev/hda1 und versuche sie nochmal zu mounten.

Und poste am besten gleich mal Deine komplette fstab. Wer weiss, was er noch vergessen hat?! :wink:
_________________
Bis denn...
A.Stranger
_________________________
System: findet Ihr hier
Back to top
View user's profile Send private message
eine Sage
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 179
Location: Peine, Germany

PostPosted: Mon Feb 03, 2003 2:39 pm    Post subject: Reply with quote

Die fstab sieht folgendermaßen aus:
Code:

# /etc/fstab: static file system information.
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/fstab,v 1.10 2002/11/18 19:39:22 azarah Exp $
#
# noatime turns of atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail and tail freely.

# <fs>             <mountpoint>    <type>     <opts>            <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/BOOT      /boot      ext2      noauto,noatime      1 1
/dev/ROOT      /      xfs      noatime         0 0
/dev/SWAP      none      swap      sw         0 0
/dev/cdroms/cdrom0   /mnt/cdrom   iso9660      noauto,ro      0 0
proc         /proc      proc      defaults      0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink). Adding the following
# line to /etc/fstab should take care of this:
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will use almost no
#  memory if not populated with files)

tmpfs         /dev/shm   tmpfs      defaults      0 0

_________________
Nichts ist wahr, alles ist erlaubt!
http://www.verschwoerungen.info? cnn.com? Die Wahrheit liegt irgendwo dazwischen!
Back to top
View user's profile Send private message
A.Stranger
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 148
Location: Dortmund

PostPosted: Mon Feb 03, 2003 2:46 pm    Post subject: Reply with quote

Hi,

dass habe ich mir gedacht.

Du kannst mal folgendes versuchen:

"/dev/BOOT" nach "/dev/hda1" ändern
"/dev/ROOT" nach "/dev/hda2" ändern
"/dev/SWAP" nach "/dev/hda3" ändern

oder:
"/dev/ROOT" nach "/dev/hda3" ändern
"/dev/SWAP" nach "/dev/hda2" ändern

Wo genau Root hängt, solltest Du mit einem einfachen "mount" herausfinden (wahrscheinlich direkt die erste Zeile, die ausgegeben wird, wenn Du "mount" eintippst).

Danach ruhig mal neu booten, dann kannst Du auch als root "mount /boot" eingeben und wirst (hoffentlich) Deine grub.conf finden.
_________________
Bis denn...
A.Stranger
_________________________
System: findet Ihr hier
Back to top
View user's profile Send private message
eine Sage
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 179
Location: Peine, Germany

PostPosted: Mon Feb 03, 2003 3:40 pm    Post subject: Reply with quote

Nein, habe beide Aenderungen ausprobiert, bei der ersten meldet er nur nur einen Fehler beim Mounten beim Start, beim 2. fordert er das Root-Passwort nachdem er gemeint hat:"Root filesystem could not be mounted R/W" , dann kommt die direkte bash, ich habe aber nur Leserecht fuer die fstab, gebe ich das Root-Passwort nicht ein, haellt er inne und arbeitet, scheint jedenfalls so, in einer Schleife...

Wie bekomm ich die fstab nun wieder in Ordnung :roll:
_________________
Nichts ist wahr, alles ist erlaubt!
http://www.verschwoerungen.info? cnn.com? Die Wahrheit liegt irgendwo dazwischen!
Back to top
View user's profile Send private message
eine Sage
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 179
Location: Peine, Germany

PostPosted: Mon Feb 03, 2003 4:05 pm    Post subject: Reply with quote

Also konkreter:
Was muss ich machen um wieder _vollstaendige_ Kontrolle zu bekommen?
Anscheinend ist /etc/ nur zum Lesen gebergt....
_________________
Nichts ist wahr, alles ist erlaubt!
http://www.verschwoerungen.info? cnn.com? Die Wahrheit liegt irgendwo dazwischen!
Back to top
View user's profile Send private message
eine Sage
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 179
Location: Peine, Germany

PostPosted: Mon Feb 03, 2003 4:25 pm    Post subject: Reply with quote

Leute, ih komm hier wirklich nicht weiter!!
Ein
Code:

mount -t ext2 /dev/hda1 /etc

gibt
"EXT2-fs: ide0(3,1): could't mount because of unsupported optional features (4).
mount: wrong fs type, bad option, bad superblock on /dev/hda1,
or too many mounted file system"
zurueck.
_________________
Nichts ist wahr, alles ist erlaubt!
http://www.verschwoerungen.info? cnn.com? Die Wahrheit liegt irgendwo dazwischen!
Back to top
View user's profile Send private message
swain
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2002
Posts: 136

PostPosted: Mon Feb 03, 2003 5:15 pm    Post subject: Reply with quote

was für ein file system setzt du den ein ?
wie bootest du den die Kiste wenn deine fstab so strubbelig ist ?

weißt du wie die festplatte partitioniert ist ?
Wenn ja poste das mal hier, dann kann dir auch bei deiner fstab geholfen werden ...


und beschreibe mal bis zu welchem punkt du kommst, bootet der Rechner normal hoch bis zum Login ?

Ich bin gerade verwirrt durch deine aussagen :)
Back to top
View user's profile Send private message
eine Sage
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 179
Location: Peine, Germany

PostPosted: Mon Feb 03, 2003 6:46 pm    Post subject: Reply with quote

ext2
Weiss ich auch nicht wie das geht...
Ja, eine Große (ca.20 gb) / , und /boot und /root und das uebliche Swap...

Er stoppt bei:
Code:

-Checking root filesystem...
fsck 1.32 (09-Nov-2002)
fsck.ext2: Is a directory while trying to open /
/:
The superblock could not be read or does not describe a correct ext2 filesystem. If the deviceis valid and it really contains an ext2 fs (and not swap or ufs or something els), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

-Filesystem repaired

-Remounting root filesystem read/write...
-Root filesystem could not be mounted R/W :(

Give root password for maintenance
(or type Control-D for normal startup):

Das sieht nach einer kaputten Partition aus!?
_________________
Nichts ist wahr, alles ist erlaubt!
http://www.verschwoerungen.info? cnn.com? Die Wahrheit liegt irgendwo dazwischen!


Last edited by eine Sage on Mon Feb 03, 2003 7:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
eine Sage
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 179
Location: Peine, Germany

PostPosted: Mon Feb 03, 2003 7:08 pm    Post subject: Reply with quote

Hm, in der fstab (lesen kann ich ja) steht das das FS xfs sein sollte. Allerdings laesst es sich damit auch nicht mounten...
_________________
Nichts ist wahr, alles ist erlaubt!
http://www.verschwoerungen.info? cnn.com? Die Wahrheit liegt irgendwo dazwischen!
Back to top
View user's profile Send private message
swain
Tux's lil' helper
Tux's lil' helper


Joined: 30 Sep 2002
Posts: 136

PostPosted: Mon Feb 03, 2003 7:41 pm    Post subject: Reply with quote

eine Sage wrote:

Code:

-Checking root filesystem...
fsck 1.32 (09-Nov-2002)
fsck.ext2: Is a directory while trying to open /
/:
The superblock could not be read or does not describe a correct ext2 filesystem. If the deviceis valid and it really contains an ext2 fs (and not swap or ufs or something els), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>

-Filesystem repaired

-Remounting root filesystem read/write...
-Root filesystem could not be mounted R/W :(

Give root password for maintenance
(or type Control-D for normal startup):



hast du mal das gemacht was dir vorgeschlagen wird ?

nur mal so als frage..
Back to top
View user's profile Send private message
eine Sage
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 179
Location: Peine, Germany

PostPosted: Mon Feb 03, 2003 8:03 pm    Post subject: Reply with quote

Daher kommt das ganze...
Ich Trottel habe nicht wie der Seltsame

"/dev/BOOT" nach "/dev/hda1" geaendert, sondern "/dev/BOOT" stehen gelassen, und dafuer "/dev/hda1" ersetzt. :roll: Und das bei allen 3 Eintraegen. Daruas folgte, dass ich keinen Schreibzugriff mehr auf / habe!

Hab es unterdessen auch mit Knoppix versucht, aber auch das meldet nur Fehler beim Mounten.
_________________
Nichts ist wahr, alles ist erlaubt!
http://www.verschwoerungen.info? cnn.com? Die Wahrheit liegt irgendwo dazwischen!
Back to top
View user's profile Send private message
SethGecko
n00b
n00b


Joined: 15 Nov 2002
Posts: 10
Location: Leipzig

PostPosted: Mon Feb 03, 2003 9:22 pm    Post subject: Reply with quote

Weisst du noch, wieviele Partitionen du hast (mindestens drei?) und welche wofür gedacht war? Z.b. die erste (hda1) für /boot, die zweite für Swap und die dritte für / ? Nur wenn du das weisst kannst du fstab richtig einrichten.
Wenn du das Zeug nicht mehr genau weisst (ich muss es mir auch immer aufschreiben :) ), dann leg mal die Gentoo CD ein und rufe "fdisk /dev/hda" auf, dann drück "p", so bekommst du die Partitionstabelle.
Back to top
View user's profile Send private message
eine Sage
Apprentice
Apprentice


Joined: 03 Feb 2003
Posts: 179
Location: Peine, Germany

PostPosted: Mon Feb 03, 2003 11:49 pm    Post subject: Reply with quote

Da ich den groessten Teil der Installation nicht mitbekommen habe, habe ich entschieden das ganze nochmal selbst zu machen. Den Rechner kann ich erstmal entbehren, was wichtiges ist nicht drauf, und dann lern ich mal was! :D

Daher werdet ihr ab jetzt meine Fragen zur Installation zu hoeren bekommen :lol:
Danke fuer eure Muehe
eure Sage
_________________
Nichts ist wahr, alles ist erlaubt!
http://www.verschwoerungen.info? cnn.com? Die Wahrheit liegt irgendwo dazwischen!
Back to top
View user's profile Send private message
A.Stranger
Tux's lil' helper
Tux's lil' helper


Joined: 31 Oct 2002
Posts: 148
Location: Dortmund

PostPosted: Tue Feb 04, 2003 7:32 am    Post subject: Reply with quote

Hi,

dann arbeite genau die Installationsanleitung durch. Da kommt dann auch wirgendwann die Stelle mit der fstab. Dann weisst Du auch für die Zukunft, was es damit aufsich hat. :)
_________________
Bis denn...
A.Stranger
_________________________
System: findet Ihr hier
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