ubuntuusers.de

Das Problem mit "Couldn't read File"

Status: Ungelöst | Ubuntu-Version: Kubuntu 12.04 (Precise Pangolin)
Antworten |

Odlgruamdaucha

Anmeldungsdatum:
4. Juli 2012

Beiträge: Zähle...

Sers zamm

Mein Problem ist folgendes: Bis vor ein paar Tagen lief 12.04 noch einwandfrei und völlig ohne Probleme, eines Morgens dann war es jedoch schleppend langsam. Funktionieren tat immer noch alles, nur eben halt im Schneckentempo. Mein erster Gedanke war, dass es an fehlenden Updates liegt, also fein alles runtergeladen und installiert was mir der Update Manager da vorgesetzt hatte. Am Abend dann, nach einem Neustart, ging gar nichts mehr. Ich bekam die Meldung "Error: Couldn't read file" Also erst mal versucht im Recovery Mode zu starten. Pustekuchen. Gleiche Meldung. Bei älteren Versionen wurde scheinbar geladen, doch anschließend kam dann eine Fehlermeldung, dass KDE_Greet (Oder so) abgestürzt sei. Anschließend ging die GUI weg und bis auf ne Vollbildkonsole blieb mir nichts. Nach einigem hin und her hab ich dann von Live-CD 11.10 gestartet. Problemlos. Ich versuchte also das, was ich auf Google fand. Grub-update, grub2rescue, alles kein Erfolg. Teils ging es zwar, hatte aber am Ende doch keinen Effekt, teils haperte es an einem Laufwerk zum Brennen bzw einem bootfähigen USB-Stick.

Nächster Gedanke: DBAN, alles plattmachen und 11.10 noch mal draufklatschen. Nachdem DBAN nach ca 80% mit der Meldung "DBAN finished with a non-fatal Error" versuchte ich 11.10 zu installieren. Ging nicht, nach der Hälfte brach die Installation ab und wollte sich auch nicht drüberinstallieren lassen. Also noch mal DBAN. Diesmal kam er immerhin bis 99,XX% und 11.10 ließ sich dann ohne weiteres installieren und sogar starten! Allerdings, wie schon ein paar Tage zuvor, extrem langsam. Der Update-Manager ließ sich zwar öffnen, allerdings fror er ein, bevor er mir überhaupt eine Liste mit Updates geben konnte. Updates über die Konsole gingen allerdings, nur...

...nach dem Neustart die altbekannte Meldung "Couldn't read file", diesmal gepaart mit "You have to load the kernel first". So langsam verzweifel ich.

fdisk -l gibt mir an, dass die Bootpartition sda1 ist.

Die Results.txt von Bootinfoscript enthält folgendes:

                  Boot Info Script 0.61      [1 April 2012]


============================= Boot Info Summary: ===============================

 => Grub2 (v1.99) is installed in the MBR of /dev/sda and looks at sector 1 of 
    the same hard drive for core.img. core.img is at this location and looks 
    for (,msdos1)/boot/grub on this drive.

sda1: __________________________________________________________________________

    File system:       ext4
    Boot sector type:  -
    Boot sector info: 
    Operating System:  Ubuntu 11.10
    Boot files:        /boot/grub/grub.cfg /etc/fstab /boot/grub/core.img

sda2: __________________________________________________________________________

    File system:       Extended Partition
    Boot sector type:  -
    Boot sector info: 

sda5: __________________________________________________________________________

    File system:       swap
    Boot sector type:  -
    Boot sector info: 

============================ Drive/Partition Info: =============================

Drive: sda _____________________________________________________________________

Disk /dev/sda: 320.1 GB, 320072933376 bytes
255 heads, 63 sectors/track, 38913 cylinders, total 625142448 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes

Partition  Boot  Start Sector    End Sector  # of Sectors  Id System

/dev/sda1    *          2,048   617,582,591   617,580,544  83 Linux
/dev/sda2         617,584,638   625,141,759     7,557,122   5 Extended
/dev/sda5         617,584,640   625,141,759     7,557,120  82 Linux swap / Solaris


"blkid" output: ________________________________________________________________

Device           UUID                                   TYPE       LABEL

/dev/loop0                                              squashfs   
/dev/sda1        fe2f4dcf-9a66-4d5a-af53-635fb406697c   ext4       
/dev/sda5        7c13fe5e-1279-4f25-9893-e34e3f978016   swap       

================================ Mount points: =================================

Device           Mount_Point              Type       Options

/dev/loop0       /rofs                    squashfs   (ro,noatime)
/dev/sr0         /cdrom                   iso9660    (ro,noatime)


=========================== sda1/boot/grub/grub.cfg: ===========================

--------------------------------------------------------------------------------
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd0,msdos1)'
search --no-floppy --fs-uuid --set=root fe2f4dcf-9a66-4d5a-af53-635fb406697c
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_msdos
  insmod ext2
  set root='(hd0,msdos1)'
  search --no-floppy --fs-uuid --set=root fe2f4dcf-9a66-4d5a-af53-635fb406697c
  set locale_dir=($root)/boot/grub/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 0,71,115; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, mit Linux 3.0.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	set gfxpayload=$linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root fe2f4dcf-9a66-4d5a-af53-635fb406697c
	linux	/boot/vmlinuz-3.0.0-22-generic root=UUID=fe2f4dcf-9a66-4d5a-af53-635fb406697c ro   quiet splash vt.handoff=7
	initrd	/boot/initrd.img-3.0.0-22-generic
}
menuentry 'Ubuntu, mit Linux 3.0.0-22-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root fe2f4dcf-9a66-4d5a-af53-635fb406697c
	echo	'Linux 3.0.0-22-generic wird geladen …'
	linux	/boot/vmlinuz-3.0.0-22-generic root=UUID=fe2f4dcf-9a66-4d5a-af53-635fb406697c ro recovery nomodeset 
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-3.0.0-22-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, mit Linux 3.0.0-12-generic' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	set gfxpayload=$linux_gfx_mode
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root fe2f4dcf-9a66-4d5a-af53-635fb406697c
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=fe2f4dcf-9a66-4d5a-af53-635fb406697c ro   quiet splash vt.handoff=7
	initrd	/boot/initrd.img-3.0.0-12-generic
}
menuentry 'Ubuntu, mit Linux 3.0.0-12-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os {
	recordfail
	insmod gzio
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root fe2f4dcf-9a66-4d5a-af53-635fb406697c
	echo	'Linux 3.0.0-12-generic wird geladen …'
	linux	/boot/vmlinuz-3.0.0-12-generic root=UUID=fe2f4dcf-9a66-4d5a-af53-635fb406697c ro recovery nomodeset 
	echo	'Initiale Ramdisk wird geladen …'
	initrd	/boot/initrd.img-3.0.0-12-generic
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root fe2f4dcf-9a66-4d5a-af53-635fb406697c
	linux16	/boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
	insmod part_msdos
	insmod ext2
	set root='(hd0,msdos1)'
	search --no-floppy --fs-uuid --set=root fe2f4dcf-9a66-4d5a-af53-635fb406697c
	linux16	/boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if keystatus; then
    if keystatus --shift; then
      set timeout=-1
    else
      set timeout=0
    fi
  else
    if sleep --interruptible 3 ; then
      set timeout=0
    fi
  fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
--------------------------------------------------------------------------------

=============================== sda1/etc/fstab: ================================

--------------------------------------------------------------------------------
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
proc            /proc           proc    nodev,noexec,nosuid 0       0
# / was on /dev/sda1 during installation
UUID=fe2f4dcf-9a66-4d5a-af53-635fb406697c /               ext4    errors=remount-ro 0       1
# swap was on /dev/sda5 during installation
UUID=7c13fe5e-1279-4f25-9893-e34e3f978016 none            swap    sw              0       0
--------------------------------------------------------------------------------

=================== sda1: Location of files loaded by Grub: ====================

           GiB - GB             File                                 Fragment(s)

               =                boot/grub/core.img                             1
               =                boot/grub/grub.cfg                             1
               =                boot/initrd.img-3.0.0-12-generic               3
               =                boot/initrd.img-3.0.0-22-generic               1
               =                boot/vmlinuz-3.0.0-12-generic                  1
               =                boot/vmlinuz-3.0.0-22-generic                  1
               =                initrd.img.old                                 3
               =                vmlinuz                                        1
               =                vmlinuz.old                                    1

========= Devices which don't seem to have a corresponding hard drive: =========

sdb 

=============================== StdErr Messages: ===============================

xz: (stdin): Compressed data is corrupt
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in
awk: cmd. line:36: Math support is not compiled in

Ich hoffe, ihr könnt mir weiterhelfen!

martinjo

Avatar von martinjo

Anmeldungsdatum:
26. November 2010

Beiträge: Zähle...

Moinsens,

auch mir wurde "couldn't read file" angezeigt, gefolgt von einer Kernel Panic. Auch ich hatte die Standard-Installation mit / und einer erweiterten Partition für Swap (ja, ich war zu bequem).

Mit einer Live-CD und GParted habe ich dann "/" verkleinert und eine neue Partition angelegt. Anschließend die Daten aus "/home/deinName" in die neue Partition kopiert, die Rechte und fstab geändert. Anleitung dazu findet man im Netz. Einfach nach "ubuntu fstab home" suchen. Jetzt fährt die Kiste wieder sauber hoch und ich habe meine Daten "sicher" auf einer eigenen Partition.

majo

Odlgruamdaucha

(Themenstarter)

Anmeldungsdatum:
4. Juli 2012

Beiträge: 2

Ich werds versuchen. Danke ☺

martinjo

Avatar von martinjo

Anmeldungsdatum:
26. November 2010

Beiträge: 29

Hier im Forum http://wiki.ubuntuusers.de/Home_umziehen findest du die Info wie man mit Home umzieht. Viel Erfolg.

Majo

Antworten |