Probleme beim starten

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
video4tux
Beiträge: 23
Registriert: 31.08.2008 22:34:54

Probleme beim starten

Beitrag von video4tux » 16.09.2008 16:26:38

Hi

also ich habe da zwei Probleme

Oft stopt Debian beim hochfahren

Code: Alles auswählen

Begin: Waiting for root file system
in fstab stand

Code: Alles auswählen

/dev/hdf1       /               ext3    defaults,errors=remount-ro 0       1
da ich dachte, dass die Platte als Scsi erkannt wird, also habe ich es in

Code: Alles auswählen

/dev/sdb1       /               ext3    defaults,errors=remount-ro 0       1
geändert. Dabei wird Debian auch nicht immer gestartet. In GParted wird die Platte denn noch als hdf1 angezeigt.
Die Lösung hat nicht geklappt http://www.ephys.de/blog/2006/06/01/beg ... le-system/
Zum anderem wenn der Brohter MFC-215c eingeschaltet ist stopt Debian mit

Code: Alles auswählen

sd 3:0:0:0: Attachend scsi removable disk sda
Leider habe ich kein plan was geändert werden muss

cu Reiner

uname
Beiträge: 12508
Registriert: 03.06.2008 09:33:02

Re: Probleme beim starten

Beitrag von uname » 16.09.2008 16:46:22

Was sagt denn wenn es doch mal korrekt gestartet wird und zum Vergleich eine LiveCD:

Code: Alles auswählen

fdisk -l
df -h
ls -l /dev/disk/by-uuid
ls -l /dev/disk/by-id

video4tux
Beiträge: 23
Registriert: 31.08.2008 22:34:54

Re: Probleme beim starten

Beitrag von video4tux » 16.09.2008 17:00:49

Code: Alles auswählen

df -h
Dateisystem          Größe Benut  Verf Ben% Eingehängt auf
/dev/sdb1             6,8G  3,8G  2,7G  60% /
tmpfs                1014M     0 1014M   0% /lib/init/rw
udev                   10M   76K   10M   1% /dev
tmpfs                1014M     0 1014M   0% /dev/shm
/dev/hdf4              89G   20G   66G  23% /home
/dev/hdf2             195G  148G   38G  80% /tmp/disks-conf-hdf2

Code: Alles auswählen

video4tux:~$ ls -l /dev/disk/by-uuid
insgesamt 0
lrwxrwxrwx 1 root root 10 2008-09-16 16:05 2f6bf975-0b4a-4c35-b9da-aae735f34e09 -> ../../hde3
lrwxrwxrwx 1 root root 10 2008-09-16 16:05 420c6760-e9c5-4063-9867-8c9f7fc473df -> ../../hdf2
lrwxrwxrwx 1 root root 10 2008-09-16 16:04 6c74ca9c-6554-4389-812a-5383cc95cf34 -> ../../hdf4
lrwxrwxrwx 1 root root 10 2008-09-16 16:05 7438b49f-52bc-4d99-a6fc-c5dc12e6438d -> ../../hde1
lrwxrwxrwx 1 root root 10 2008-09-16 16:04 8cd06dc0-7a91-454e-a7b9-29d7ce33db07 -> ../../hdf1

Code: Alles auswählen

reiner@video4tux:~$ ls -l /dev/disk/by-id
insgesamt 0
lrwxrwxrwx 1 root root  9 2008-09-16 16:04 ata-HL-DT-ST_DVDRAM_GSA-4167B_3F1500E8DBD4 -> ../../hda
lrwxrwxrwx 1 root root  9 2008-09-16 16:04 ata-SAMSUNG_HD320LD_1492J1FL511166 -> ../../hdf
lrwxrwxrwx 1 root root 10 2008-09-16 16:04 ata-SAMSUNG_HD320LD_1492J1FL511166-part1 -> ../../hdf1
lrwxrwxrwx 1 root root 10 2008-09-16 16:05 ata-SAMSUNG_HD320LD_1492J1FL511166-part2 -> ../../hdf2
lrwxrwxrwx 1 root root 10 2008-09-16 16:04 ata-SAMSUNG_HD320LD_1492J1FL511166-part3 -> ../../hdf3
lrwxrwxrwx 1 root root 10 2008-09-16 16:04 ata-SAMSUNG_HD320LD_1492J1FL511166-part4 -> ../../hdf4
lrwxrwxrwx 1 root root  9 2008-09-16 16:04 ata-ST340810A_5FB1J7AJ -> ../../hde
lrwxrwxrwx 1 root root 10 2008-09-16 16:05 ata-ST340810A_5FB1J7AJ-part1 -> ../../hde1
lrwxrwxrwx 1 root root 10 2008-09-16 16:04 ata-ST340810A_5FB1J7AJ-part2 -> ../../hde2
lrwxrwxrwx 1 root root 10 2008-09-16 16:05 ata-ST340810A_5FB1J7AJ-part3 -> ../../hde3
fdisk wird nicht gefunden habe schon semtliche pakete installiert in den fdisk enthalten ist

Ich habe keine Live CD sondern Ubuntu als zweit System laufen, hm da wird mir nichts gezeigt.
Wobei im gpradet die Platten als sda bzw. sdb angezeigt wird.

video4tux
Beiträge: 23
Registriert: 31.08.2008 22:34:54

Re: Probleme beim starten

Beitrag von video4tux » 16.09.2008 17:20:21

doch gefunden :oops:

Code: Alles auswählen

/reiner# fdisk -l

Disk /dev/hde: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hde1   *           1        1459    11719386   83  Linux
/dev/hde2            4378        4865     3919860   82  Linux swap / Solaris
/dev/hde3            1460        4377    23438835   83  Linux

Partition table entries are not in disk order

Disk /dev/hdf: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/hdf1           25761       26654     7181055   83  Linux
/dev/hdf2               1       25760   206917168+  83  Linux
/dev/hdf3           26655       27144     3935925   82  Linux swap / Solaris
/dev/hdf4           27145       38913    94534492+  83  Linux

Partition table entries are not in disk order

video4tux
Beiträge: 23
Registriert: 31.08.2008 22:34:54

Re: Probleme beim starten

Beitrag von video4tux » 16.09.2008 17:42:26

so sieht es unter Ubuntu aus

Code: Alles auswählen

 fdisk -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8a9f8a9f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1459    11719386   83  Linux
/dev/sda2            4378        4865     3919860   82  Linux swap / Solaris
/dev/sda3            1460        4377    23438835   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0007eccb

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1           25761       26654     7181055   83  Linux
/dev/sdb2               1       25760   206917168+  83  Linux
/dev/sdb3           26655       27144     3935925   82  Linux swap / Solaris
/dev/sdb4           27145       38913    94534492+  83  Linux

Partition table entries are not in disk order

uname
Beiträge: 12508
Registriert: 03.06.2008 09:33:02

Re: Probleme beim starten

Beitrag von uname » 16.09.2008 17:51:42

Das sieht wirklich etwas komisch aus. Einerseits ist es /dev/sdb1 und dann ist es mal /dev/hdf1. Für /dev/sdb1 gibt es keinen UUID-Eintrag, für /dev/hdf1 gibt es jedoch einen.

Schau dir evtl. mal die /etc/fstab von Ubuntu an. Dort stehen anstatt von /dev/sdb1 usw. UUID-Nummern drin. Du könntest versuchen diese Syntax auch unter Debian zu nutzen. Trage in /etc/fstab von Debian für "/" die UUID von /dev/hdf1 ein. Sollte Debian gar nicht mehr booten so boote Ubuntu, mounte / von Debian und mache die Aktion rückgängig.

Code: Alles auswählen

lrwxrwxrwx 1 root root 10 2008-09-16 16:04 8cd06dc0-7a91-454e-a7b9-29d7ce33db07 -> ../../hdf1

pingu!
Beiträge: 111
Registriert: 12.09.2005 21:43:45

Re: Probleme beim starten

Beitrag von pingu! » 16.09.2008 18:24:36

Hi,
Welche Kernels verwendest du?
Seit kernel 2.6.22 wird libata verwendet. So werden PATA (IDE) und SATA disk neu via SCSI protokoll angesprochen.
Das würde auch erklären, dass bei einem System sda & sdb (Ubuntu) und auf dem anderen hde & hdf (Debian) vorhanden sind.

UPDATE:
Die Changes wurden schon in einer frühren Kernel version implementiert, man hat sie jedoch bis jetzt nicht "enabeld". Dies schein jedoch mit der neueren Kernel version der Fall zu sein.
Wenn jedoch die "alte" Vorgehensweise noch gewünscht ist, kann das mit einem Custom kernel geändert werden.


Kannst du mal von Debian (welches verwedest du? Etch oder Lenny) und Ubuntu den printout von

Code: Alles auswählen

uname -r
posten.
Kannst du dann den PC mit Ubuntu booten und:

Code: Alles auswählen

fdisk -l
df -h
ls -l /dev/disk/by-uuid
ls -l /dev/disk/by-id
posten (Ich gehe mal davon aus, dass die printouts von oben mit debian gemacht wurden)
Noch eine Frage. Wie hast du Grub installiert. Mit Debian oder Ubuntu. Poste doch bitte noch den printout von

Code: Alles auswählen

less boot/grub/menu.lst
Zuletzt geändert von pingu! am 18.09.2008 15:58:15, insgesamt 1-mal geändert.

video4tux
Beiträge: 23
Registriert: 31.08.2008 22:34:54

Re: Probleme beim starten

Beitrag von video4tux » 16.09.2008 20:35:06

Das ist von Ubuntu.
Zu Grub: erst war Ubuntu auf dem Rechner Debian hats erweitert.

Code: Alles auswählen

reiner@video4tux:~$ sudo -i
[sudo] password for reiner: 
root@video4tux:~# uname -r
2.6.24-19-generic
root@video4tux:~# fdisk -l

Disk /dev/sda: 40.0 GB, 40020664320 bytes
255 heads, 63 sectors/track, 4865 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x8a9f8a9f

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1459    11719386   83  Linux
/dev/sda2            4378        4865     3919860   82  Linux swap / Solaris
/dev/sda3            1460        4377    23438835   83  Linux

Partition table entries are not in disk order

Disk /dev/sdb: 320.0 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0007eccb

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1           25761       26654     7181055   83  Linux
/dev/sdb2               1       25760   206917168+  83  Linux
/dev/sdb3           26655       27144     3935925   82  Linux swap / Solaris
/dev/sdb4           27145       38913    94534492+  83  Linux

Partition table entries are not in disk order
root@video4tux:~# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1              12G  2.6G  8.1G  24% /
varrun               1014M  104K 1014M   1% /var/run
varlock              1014M     0 1014M   0% /var/lock
udev                 1014M   68K 1014M   1% /dev
devshm               1014M   12K 1014M   1% /dev/shm
lrm                  1014M   39M  975M   4% /lib/modules/2.6.24-19-generic/volatile
/dev/sda3              23G   11G   11G  52% /home
/dev/sdb2             195G  148G   38G  80% /home/reiner/Video
root@video4tux:~# ls -l /dev/disk/by-uuid
total 0
lrwxrwxrwx 1 root root 10 Sep 16 20:22 2f6bf975-0b4a-4c35-b9da-aae735f34e09 -> ../../sda3
lrwxrwxrwx 1 root root 10 Sep 16 20:22 420c6760-e9c5-4063-9867-8c9f7fc473df -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 16 20:22 6c74ca9c-6554-4389-812a-5383cc95cf34 -> ../../sdb4
lrwxrwxrwx 1 root root 10 Sep 16 20:22 7438b49f-52bc-4d99-a6fc-c5dc12e6438d -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 16 20:22 8cd06dc0-7a91-454e-a7b9-29d7ce33db07 -> ../../sdb1
root@video4tux:~# ls -l /dev/disk/by-id
total 0
lrwxrwxrwx 1 root root  9 Sep 16 20:22 ata-SAMSUNG_HD320LD_1492J1FL511166 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 16 20:22 ata-SAMSUNG_HD320LD_1492J1FL511166-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 16 20:22 ata-SAMSUNG_HD320LD_1492J1FL511166-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 16 20:22 ata-SAMSUNG_HD320LD_1492J1FL511166-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Sep 16 20:22 ata-SAMSUNG_HD320LD_1492J1FL511166-part4 -> ../../sdb4
lrwxrwxrwx 1 root root  9 Sep 16 20:22 ata-ST340810A_5FB1J7AJ -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 16 20:22 ata-ST340810A_5FB1J7AJ-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 16 20:22 ata-ST340810A_5FB1J7AJ-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 16 20:22 ata-ST340810A_5FB1J7AJ-part3 -> ../../sda3
lrwxrwxrwx 1 root root  9 Sep 16 20:22 scsi-1ATA_SAMSUNG_HD320LD_1492J1FL511166 -> ../../sdb
lrwxrwxrwx 1 root root 10 Sep 16 20:22 scsi-1ATA_SAMSUNG_HD320LD_1492J1FL511166-part1 -> ../../sdb1
lrwxrwxrwx 1 root root 10 Sep 16 20:22 scsi-1ATA_SAMSUNG_HD320LD_1492J1FL511166-part2 -> ../../sdb2
lrwxrwxrwx 1 root root 10 Sep 16 20:22 scsi-1ATA_SAMSUNG_HD320LD_1492J1FL511166-part3 -> ../../sdb3
lrwxrwxrwx 1 root root 10 Sep 16 20:22 scsi-1ATA_SAMSUNG_HD320LD_1492J1FL511166-part4 -> ../../sdb4
lrwxrwxrwx 1 root root  9 Sep 16 20:22 scsi-1ATA_ST340810A_5FB1J7AJ -> ../../sda
lrwxrwxrwx 1 root root 10 Sep 16 20:22 scsi-1ATA_ST340810A_5FB1J7AJ-part1 -> ../../sda1
lrwxrwxrwx 1 root root 10 Sep 16 20:22 scsi-1ATA_ST340810A_5FB1J7AJ-part2 -> ../../sda2
lrwxrwxrwx 1 root root 10 Sep 16 20:22 scsi-1ATA_ST340810A_5FB1J7AJ-part3 -> ../../sda3
root@video4tux:~# less /boot/grub/menu.lst
# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not use 'savedefault' or your
# array will desync and will not let you boot your system.
default         0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout         10

## hiddenmenu
# Hides the menu by default (press ESC to see the menu)
#hiddenmenu

# Pretty colours
#color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title         Windows 95/98/NT/2000
# root          (hd0,0)
# makeactive
# chainloader   +1
#
# title         Linux
# root          (hd0,1)
# kernel        /vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=UUID=7438b49f-52bc-4d99-a6fc-c5dc12e6438d ro

## Setup crashdump menu entries
## e.g. crashdump=1
# crashdump=0

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet splash

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(recovery) single
# altoptions=(recovery mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title           Ubuntu 8.04.1, kernel 2.6.24-19-generic
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.24-19-generic root=UUID=7438b49f-52bc-4d99-a6fc-c5dc12e6438d ro quiet splash
initrd          /boot/initrd.img-2.6.24-19-generic
quiet

title           Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.24-19-generic root=UUID=7438b49f-52bc-4d99-a6fc-c5dc12e6438d ro single
initrd          /boot/initrd.img-2.6.24-19-generic

title           Ubuntu 8.04.1, memtest86+
root            (hd0,0)
kernel          /boot/memtest86+.bin
quiet

### END DEBIAN AUTOMAGIC KERNELS LIST

# This is a divider, added to separate the menu items below from the Debian
# ones.
title           Other operating systems:
root


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title           Debian GNU/Linux, kernel 2.6.18-6-686 (on /dev/sdb1)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.18-6-686 root=/dev/hdf1 ro 
initrd          /boot/initrd.img-2.6.18-6-686
savedefault
boot


# This entry automatically added by the Debian installer for an existing
# linux installation on /dev/sdb1.
title           Debian GNU/Linux, kernel 2.6.18-6-686 (single-user mode) (on /dev/sdb1)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.18-6-686 root=/dev/hdf1 ro single 
initrd          /boot/initrd.img-2.6.18-6-686
savedefault
boot


Jetzt versuche ich noch mal an Debian zu kommen, bitte Dauemen drücken.

video4tux
Beiträge: 23
Registriert: 31.08.2008 22:34:54

Re: Probleme beim starten

Beitrag von video4tux » 16.09.2008 20:40:20

Jetzt hats mal wieder geklappt
Debian

Code: Alles auswählen

 uname -r
2.6.18-6-686

pingu!
Beiträge: 111
Registriert: 12.09.2005 21:43:45

Re: Probleme beim starten

Beitrag von pingu! » 16.09.2008 21:36:34

Hi,
Von den printouts von uname -r ist sichtbar, dass Ubuntu mit der neuen libata arbeitet, während Debian noch mit dem "alten" libata-pata arbeitet.
mach ein backup vom file:

Code: Alles auswählen

cp/boot/grub/menu.lst /boot/grub/menu.bak
Dann kannst du folgende Änderung in der Datei (/boot/grub/menu.lst) machen: (am einfachsten alles kopieren und dann im file einfügen)

Code: Alles auswählen

# menu.lst - See: grub(8), info grub, update-grub(8)
#            grub-install(8), grub-floppy(8),
#            grub-md5-crypt, /usr/share/doc/grub
#            and /usr/share/doc/grub-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from 0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved' or your
# array will desync and will not let you boot your system.
default		0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the default entry
# (normally the first entry defined).
timeout		5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive editing
# control (menu entry editor and command-line)  and entries protected by the
# command 'lock'
# e.g. password topsecret
#      password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title		Windows 95/98/NT/2000
# root		(hd0,0)
# makeactive
# chainloader	+1
#
# title		Linux
# root		(hd0,1)
# kernel	/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##      kopt_2_6_8=root=/dev/hdc1 ro
##      kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda3 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##      alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##      lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=

## should update-grub lock old automagic boot options
## e.g. lockold=false
##      lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##      altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##      howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##      memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## ## End Default Options ##

title           Ubuntu 8.04.1, kernel 2.6.24-19-generic
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.24-19-generic root=UUID=7438b49f-52bc-4d99-a6fc-c5dc12e6438d ro quiet splash
initrd          /boot/initrd.img-2.6.24-19-generic
quiet

title           Ubuntu 8.04.1, kernel 2.6.24-19-generic (recovery mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.24-19-generic root=UUID=7438b49f-52bc-4d99-a6fc-c5dc12e6438d ro single
initrd          /boot/initrd.img-2.6.24-19-generic

title           Ubuntu 8.04.1, memtest86+
root            (hd0,0)
kernel          /boot/memtest86+.bin
quiet

title           Debian GNU/Linux, kernel 2.6.18-6-686
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.18-6-686 root=UUID=8cd06dc0-7a91-454e-a7b9-29d7ce33db07 ro
initrd          /boot/initrd.img-2.6.18-6-686
savedefault

title           Debian GNU/Linux, kernel 2.6.18-6-686 (single-user mode)
root            (hd1,0)
kernel          /boot/vmlinuz-2.6.18-6-686 root=UUID=8cd06dc0-7a91-454e-a7b9-29d7ce33db07 ro single
initrd          /boot/initrd.img-2.6.18-6-686
savedefault

### END DEBIAN AUTOMAGIC KERNELS LIST

video4tux
Beiträge: 23
Registriert: 31.08.2008 22:34:54

Re: Probleme beim starten

Beitrag von video4tux » 16.09.2008 22:28:16

Jetzt kommt die Meldung

resume Could not stat the resume device file.
Pleas type in the file name to try again or press Enter to boot the system:

also es geht jetzt bis zur Konsole, aber wenn ich versuche /etc/init.d/gdm start wird home nicht gefunden
in der log Datei wurde auch nach /dev/hdf4 gesucht und nicht gefunden.
Nun war versuch die fstab anzupassen mal hdf4 bzw. sdb4, ohne Erfolg.

pingu!
Beiträge: 111
Registriert: 12.09.2005 21:43:45

Re: Probleme beim starten

Beitrag von pingu! » 17.09.2008 07:40:19

Hi,
Im fstab kannst du die devices nicht einfach so umbenennen. /dev/sdb4 und /dev/hdf4 wird da nicht funktionieren, da es 2 grundliegend verschiedene devices sind.
/dev/hdf würde an und für sich schon gehen. /dev/sdb4 würde auch gehen, wenn eine SATA oder SCSI- Disk installiert wäre. Da bei dir jedoch PATA (IDE) Disk installiert ist, funktioniert dies nicht gleich.
Poste mal den printout vom file /etc/fstab
Versuche mal anstelle von /dev/hdf4 folgendes zu nehmen (mach aber vorher eine Kopie, falls du probleme mit dem file bekommst):

/dev/disk/by-uuid/6c74ca9c-6554-4389-812a-5383cc95cf34 /home ext3 defaults 0 2

video4tux
Beiträge: 23
Registriert: 31.08.2008 22:34:54

Re: Probleme beim starten

Beitrag von video4tux » 17.09.2008 08:45:22

Werde ich mal machen. Was mir auf gefallen ist das die Erkennung der Festplatten wecheslt mal als /dev/hdf und nach dem Gnome lief und einen neustart mache wirds zu /dev/hdb. Also habe ich jetzt mehrfach fsbab gändert.

Code: Alles auswählen

# /etc/fstab: static file system information.
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    defaults        0       0
/dev/hdb1       /               ext3    defaults,errors=remount-ro 0       1
#UUID=8cd06dc0-7a91-454e-a7b9-29d7ce33db07 /   ext3    relatime,errors=remount-$/dev/hdb4       /home           ext3    defaults       0       2
#UUID=6c74ca9c-6554-4389-812a-5383cc95cf34    /home           ext3    default  $
/dev/hda2       none            swap    sw              0       0
/dev/hdb3       none            swap    sw              0       0
/dev/hda        /media/cdrom0   udf,iso9660 user,noauto     0       0
/dev/hdb        /media/cdrom1   udf,iso9660 user,noauto     0       0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0       0

uname
Beiträge: 12508
Registriert: 03.06.2008 09:33:02

Re: Probleme beim starten

Beitrag von uname » 17.09.2008 08:49:58

Seit kernel 2.6.22 wird libata verwendet. So werden PATA (IDE) und SATA disk neu via SCSI protokoll angesprochen. Das würde auch erklären, dass bei einem System sda & sdb (Ubuntu) und auf dem anderen hde & hdf (Debian) vorhanden sind.
Falls es wirklich daran liegt solltest du mal überlegen, ob es sinnvoll ist auf Etch+0.5 oder gleich auf Lenny upzugraden. Der Upgrade auf Etch+0.5 ist im übrigen recht unkritisch. Die Frage wäre ja auch seit wann der Fehler überhaupt auftritt.

video4tux
Beiträge: 23
Registriert: 31.08.2008 22:34:54

Re: Probleme beim starten

Beitrag von video4tux » 17.09.2008 09:06:04

Der Fehler war von Anfang an. Da ich noch nicht viel installiert habe, Nvidia treiber und Cinelerra, wäre ein update nicht so schlimm.

pingu!
Beiträge: 111
Registriert: 12.09.2005 21:43:45

Re: Probleme beim starten

Beitrag von pingu! » 17.09.2008 14:51:53

Hi,
Wenn ich so das letzte listing von fstab anschaue, ist da etwas total misskonfiguriert:
proc /proc proc defaults 0 0
/dev/hdb1 / ext3 defaults,errors=remount-ro 0 1
#UUID=8cd06dc0-7a91-454e-a7b9-29d7ce33db07 / ext3 relatime,errors=remount-$/dev/hdb4 /home ext3 defaults 0 2
#UUID=6c74ca9c-6554-4389-812a-5383cc95cf34 /home ext3 default $
/dev/hda2 none swap sw 0 0
/dev/hdb3 none swap sw 0 0
/dev/hda /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/hdb /media/cdrom1 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Darin steht /dev/hdb einmal als Disk (/dev/hdb1, /dev/hdb3) und einmal als /dev/hdb /media/cdrom1. Das Kann nicht gut gehen....
Frage:
Wie sind die Disks's und CDROM's angeschlossen?

IDE0:0 CDROM0
IDE0:1 CDROM1
IDE1:0 DISK1
IDE1:1 DISK2

Sind dabei alle Jumpers (Master/ Slave/ Cableseclet) korrekt gesetzt bz sind im BIOS die bootorders korrekt?

video4tux
Beiträge: 23
Registriert: 31.08.2008 22:34:54

Re: Probleme beim starten

Beitrag von video4tux » 21.09.2008 00:12:52

Ich möchte mich bedanken für die Hilfe, ich habe es durchs Update auf Lenny gelöst

hier ist meine danke http://wiki.debianforum.de/WikiSandkast ... =subscribe

Antworten