View previous topic :: View next topic |
Author |
Message |
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3488 Location: Berlin
|
Posted: Mon Apr 16, 2007 4:12 pm Post subject: [gelöst] reiserfs und fstab |
|
|
Hallo
Ich hatte bis jetzt
Code: | olaf@Roadrunner ~ $ cat /etc/fstab
/dev/sda8 /boot ext3 defaults,noatime 1 2
/dev/sda9 none swap sw 0 0
/dev/sda10 / reiserfs notail,noatime 0 0
/dev/sda11 /home ext3 auto,defaults 0 3 | und habe das jetzt geändert in Code: |
/dev/sda9 none swap sw 0 0
/dev/sda10 / reiserfs notail,noatime 0 0
/dev/sda11 /home ext3 auto,defaults 0 3 | , d.h. ich habe Boot auf der reiserfs / Partition.
M.E. ist aber dann Code: | /dev/sda10 / reiserfs notail,noatime 0 0 | falsch. Ich finde aber den korrekten Eintrag nicht mehr. Irgendetwas war da zu beachten.
Last edited by flammenflitzer on Mon Apr 16, 2007 6:23 pm; edited 1 time in total |
|
Back to top |
|
|
blu3bird Retired Dev
Joined: 04 Oct 2003 Posts: 614 Location: Munich, Germany
|
Posted: Mon Apr 16, 2007 4:23 pm Post subject: |
|
|
Wirklich falsch ist da nichts, aber ich würde nicht notail nehmen und dem ding bei pass ne 1 geben, damit's beim Start gefsckt wird.
also:
Code: | /dev/sda10 / reiserfs noatime 0 1 |
Du mußt aber noch deinem Grub sagen, dass (Grub-)root nicht mehr hd(0,7) ist, sondern hd(0,9). _________________ Black Holes are created when God divides by zero! |
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3488 Location: Berlin
|
Posted: Mon Apr 16, 2007 4:32 pm Post subject: |
|
|
Ich habe grub schon neu installiert und dann in der Grub konsole
root (hd0,9)
setup (hd0)
eingegeben und die grub.conf geändert. Beim reboot hat Grub aber den Kernel auf /dev/sda10 nicht gefunden, so das ich von /dev/sda8 booten mußte.
Nun dachte ich, das es mit einem falschen Eintrag in der fstab zu tun hat. Da gab es auch mal irgendwo einen Hinweis, wie
man den Eintrag anpassen muß.
(Ich glaube, in der ersten /etc/fstab, die ich hatte stand # NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.) |
|
Back to top |
|
|
blu3bird Retired Dev
Joined: 04 Oct 2003 Posts: 614 Location: Munich, Germany
|
Posted: Mon Apr 16, 2007 4:54 pm Post subject: |
|
|
Dann stimmt eher was in deiner grub.conf(menu.lst) nicht.
Hast du beim kernel /boot/ davorstehen?
also statt
Code: | title Gentoo GNU/Linux
root (hd0,7)
kernel /bzImage root=/dev/sda10 |
das hier
Code: | title Gentoo GNU/Linux
root (hd0,9)
kernel /boot/bzImage root=/dev/sda10 |
_________________ Black Holes are created when God divides by zero! |
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3488 Location: Berlin
|
Posted: Mon Apr 16, 2007 5:32 pm Post subject: |
|
|
Ich habe über die Jahre immer eine separate /boot Partition gehabt. Da war kernel /bzImage root=/dev/sda10 i.O. Kann natürlich sein, das ich das jetzt ändern muß. |
|
Back to top |
|
|
Fauli l33t
Joined: 24 Apr 2004 Posts: 760 Location: Moers, Germany
|
Posted: Mon Apr 16, 2007 6:33 pm Post subject: |
|
|
flammenflitzer wrote: | Ich habe über die Jahre immer eine separate /boot Partition gehabt. Da war kernel /bzImage root=/dev/sda10 i.O. |
Du meinst wahrscheinlich root=/dev/sda8.
Der Kernel liegt ja im Root-Verzeichnis des Dateisystems auf sda8, also reicht dort ein "kernel /bzImage". Aus Sicht von sda10 ist der Kernel aber in der Datei /boot/bzImage. _________________ Do your part to beautify the web! Turn off link underlining! |
|
Back to top |
|
|
flammenflitzer Advocate
Joined: 25 Nov 2003 Posts: 3488 Location: Berlin
|
Posted: Mon Apr 16, 2007 6:56 pm Post subject: |
|
|
bei Code: | /dev/sda9 none swap sw 0 0
/dev/sda10 / reiserfs notail,noatime 0 0
/dev/sda11 /home ext3 auto,defaults 0 3
|
Code: |
title=Gentoo Linux-2.6.19
root (hd0,9)
kernel /boot/bzImage-2.6.19-gentoo-r5 root=/dev/sda10
| bei
Code: |
/dev/sda8 /boot ext3 defaults,noatime 1 2
/dev/sda9 none swap sw 0 0
/dev/sda10 / reiserfs notail,noatime 0 0
/dev/sda11 /home ext3 auto,defaults 0 3 |
Code: | title=Gentoo Linux-2.6.19
root (hd0,7)
kernel /bzImage-2.6.19-gentoo-r5 root=/dev/sda10 |
|
|
Back to top |
|
|
phixom Apprentice
Joined: 07 Jan 2003 Posts: 224
|
Posted: Thu Apr 19, 2007 7:51 am Post subject: |
|
|
Es ist durchaus möglich immer
Code: | kernel /boot/kernelname.bz root=/dev/XXX |
zu verwenden. Genau aus diesem Grund ist standardmäßig beim entpacken des Grundsystems in /boot in symlink namens boot auf . angelegt.
phixom |
|
Back to top |
|
|
|