PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Festplatte Mounten



Seiten : [1] 2

miracle789
13.03.09, 14:14
Tach zusammen,

ich habe auf meinem Netbook vor einen halben Jahr Ubuntu installiert und bisher lief auch alles wunderbar. Seit dem letzten Update spuckt mir das System allerdings eine Kernel panic aus. Da ich keine Lust habe mich damit auseinanderzusetzen (halte es für komplizierter als mein geplantes Vorgehen) habe ich Knoppix über USB als Live-Version gestartet.

Nun mein Problem:

Ich bekomme meine Festplatte in 3 Partitionen angezeigt, sda1; sda2; sda5. Die Daten, die ich vor der Festplattenformatierung retten möchte, befinden sich wohl auf sda2. Diese Partition lässt sich nicht einbinden!

Fehler:
Gerät /dev/sda2 ist kein Wechseldatenträger
mount: can't find /dev/sda2 in /etc/fstab or /etc/mtab

Dann habe ich probiert die Platte über das Terminal zu mounten:
"mount /dev/sda2 /mnt/sda2"
Fehler:
you must specify the filesystem type

dann...
"mount -t ext3 /dev/sda2 /mnt/sda2"
Fehler:
wrong fs type, bad option, bad superblock on /dev/sda2,
missing codepage or helper program, or other error
(aren't you trying to mount an extended partition,
instead of some logical partition inside?)
In some casas useful info is found in syslog - try
dmesg | tail or so

leider kann ich mit dem Text nichts anfangen den er ausspuckt bei "dmesg"... bin ein absoluter Linux-Anfänger und habe keinen Plan von dem was ich tue ;-)

Vielleicht fällt euch ja etwas ein wie ich an meine Daten herankomme.

Danke im Voraus für eure Hilfe!

muell200
13.03.09, 14:24
Ich bekomme meine Festplatte in 3 Partitionen angezeigt, sda1; sda2; sda5. Die Daten, die ich vor der Festplattenformatierung retten möchte, befinden sich wohl auf sda2. Diese Partition lässt sich nicht einbinden!


hallo und willkommen auf dem board

was sagt


fdisk -l /dev/sda


ist es evt. reiserfs?

Rain_maker
13.03.09, 14:29
leider kann ich mit dem Text nichts anfangen den er ausspuckt bei "dmesg"...

Das mit dem "nichts anfangen können" geht uns genau so, allerdings, weil wir diese Ausgaben _nicht_ sehen können.

miracle789
13.03.09, 14:37
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x537c5b79

Device Boot Start End Blocks Id System
/dev/sda1 * 1 31 248976 83 Linux
/dev/sda2 32 14593 116969265 5 Extended
/dev/sda5 32 14593 116969233+ 8e Linux LVM

das wirft er bei "fdisk -l /dev/sda" aus

Rain_maker
13.03.09, 14:41
Kein Wunder, /dev/sda2 ist eine erweiterte Partition, die kann man nicht mounten, wo immer auch Dein Linux liegt, auf sda2 sicher nicht.

Allerdings ist sda1 viel zu klein (/boot?) und sda5 laut fdisk ein LVM-Volume, stimmt das?

muell200
13.03.09, 14:41
/dev/sda1 * 1 31 248976 83 Linux
/dev/sda2 32 14593 116969265 5 Extended
/dev/sda5 32 14593 116969233+ 8e Linux LVM


verwende die "code" - dann ist es besser lesbar

sda2 ist eine erweiterte partition.

versuch mal sda5 zu mounten
( hoffe es gibt ein backup! )

miracle789
13.03.09, 14:43
Danke für den Tipp, werde mich bessern ;-)

Wenn ich sda5 mounte passiert allerdings genau das gleiche :(

muell200
13.03.09, 14:46
Danke für den Tipp, werde mich bessern ;-)

Wenn ich sda5 mounte passiert allerdings genau das gleiche :(

genau was?
sollen wir raten?

dachte du wolltest dich bessern? :)

miracle789
13.03.09, 14:48
genau was?
sollen wir raten?

dachte du wolltest dich bessern? :)

mount: wrong fs type, bad option, bad superblock on /dev/sda5,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

Rain_maker
13.03.09, 14:49
Versteckte Kamera?

miracle789
13.03.09, 14:51
Versteckte Kamera?

NEIN, ich habe wirklich keinen Plan!

Also sda1 ist denke ich mal die Boot Partition
sda2 und sda5 sind von den Sectoren her gleich, habe daher keine Ahnung welche Partition die Daten enthält...

Ich habe ebenfalls keine Ahnung was eine LVM ist.

glako
13.03.09, 14:52
Hi!


dmesg | tail
Hast Du das schonmal gemacht?
Also in die Konsole eingegeben?
Die Ausgabe mal bitte posten.

miracle789
13.03.09, 14:58
Hi!


dmesg | tail
Hast Du das schonmal gemacht?
Also in die Konsole eingegeben?
Die Ausgabe mal bitte posten.


[ 91.554337] mtrr: no more MTRRs available
[ 114.033432] [drm:i915_get_vblank_counter] *ERROR* trying to get vblank count for disabled pipe 0
[ 437.986604] r8169: eth0: link up
[ 437.987455] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 448.736683] eth0: no IPv6 routers present
[ 521.517482] CE: hpet increasing min_delta_ns to 15000 nsec
[ 886.810515] attempt to access beyond end of device
[ 886.810534] sda2: rw=0, want=4, limit=2
[ 886.810548] EXT3-fs: unable to read superblock
[ 941.269495] VFS: Can't find ext3 filesystem on dev sda5.

Rain_maker
13.03.09, 15:02
code einfügen funzt leider mit dem browser hier nicht. Sry!


hier die CODE-Ausgaben rein

mborchi
13.03.09, 16:49
da man keine lvm-partition mounten kann, poste bitte die ausgaben von


vgscan
pvscan
lvscan


falls du fehlermeldungen erhälst, bitte folgendes eintippen


sudo modprobe dm-mod

und danach die oberen befehle wiederholen

zyrusthc
13.03.09, 17:48
Poste doch mal:
file -s /dev/sd*

Greeez Oli

miracle789
13.03.09, 18:10
da man keine lvm-partition mounten kann, poste bitte die ausgaben von


vgscan
pvscan
lvscan


falls du fehlermeldungen erhälst, bitte folgendes eintippen


sudo modprobe dm-mod

und danach die oberen befehle wiederholen

Ich möchte nicht ausschließen, dass ich etwas falsch mache aber bekomme die Meldung

bash: vgscan: command not found
bash: pvscan: command not found
bash: lvscan: command not found

miracle789
13.03.09, 18:11
Poste doch mal:
file -s /dev/sd*

Greeez Oli


/dev/sda: x86 boot sector, LInux i386 boot LOader; partition 1: ID=0x83, active, starthead 1, startsector 63, 497952 sectors; partition 2: ID=0x5, starthead 0, startsector 498015, 233938530 sectors
/dev/sda1: Linux rev 1.0 ext3 filesystem data, UUID=10261492-fe01-49ce-84f6-b2cf3cea4daf
/dev/sda2: x86 boot sector; partition 1: ID=0x8e, starthead 1, startsector 63, 233938467 sectors
/dev/sda5: LVM2 (Linux Logical Volume Manager) , UUID: ztOL4dlFWEBiILvrhVSlAQ8ZfapDLRB
/dev/sdb: x86 boot sector; partition 1: ID=0xb, active, starthead 1, startsector 32, 1970144 sectors
/dev/sdb1: x86 boot sector

zyrusthc
13.03.09, 18:14
Ich möchte nicht ausschließen, dass ich etwas falsch mache aber bekomme die Meldung

bash: vgscan: command not found
bash: pvscan: command not found
bash: lvscan: command not found
lvm2 überhaupt installiert?

Greeez Oli

miracle789
13.03.09, 18:31
lvm2 überhaupt installiert?

Greeez Oli

Ich weiß noch nicht mal was lvm bedeutet :rolleyes:

bzw eher was das macht...Logical Volume Manager...

stefan.becker
13.03.09, 18:32
Kann man nachlesen. Wikipedia und Goggeln hilft immer.

miracle789
13.03.09, 18:46
Kann man nachlesen. Wikipedia und Goggeln hilft immer.

Danke für deinen Tipp... war mir bisher fremd...

Das Problem besteht nur darin, dass ich den ganzen Kram net verstehe, da mir einfach gewisse Basics fehlen. Bestimmt kann man mein gesamtes Problem ergoogeln, nur dann wäre ja auch dieses Forum überflüssig, oder?

Ich danke im Voraus für weitere konstruktive Beiträge!

zyrusthc
13.03.09, 19:07
Zunächst Paket lvm2 installieren und die geforderten Infos posten!
Allerdings frage ich mich warum da ein lvm verwendet wurde wenn Du nicht mal weisst was es ist?!

Greeez Oli

stefan.becker
13.03.09, 19:07
Sorry, aber wenn du bei Wikipedia den Begriff eingibst, passt direkt der erste Treffer.

Du kannst doch nicht ernsthaft verlangen, dass die hier jemand das nochmal alles aufschreibt.

Lies dir das mal durch, dann weist du auch, was "lvm" ist.

miracle789
13.03.09, 19:23
Sorry, aber wenn du bei Wikipedia den Begriff eingibst, passt direkt der erste Treffer.

Du kannst doch nicht ernsthaft verlangen, dass die hier jemand das nochmal alles aufschreibt.

Lies dir das mal durch, dann weist du auch, was "lvm" ist.

Ich glaube wir reden aneinander vorbei.

So wie ich das als Laie sehe liegen meine Daten auf der Partition sda5, die lvm verschlüsselt ist und ich möchte auf diese zugreifen. Da ich allerdings nichts "kaputt" machen möchte bin ich auf eure Hilfe angewiesen.

Mir ist schon klar, dass ihr versucht den lvm manuell zu starten, da eine Live-CD diese nicht automatisch startet. Ich denke aber man braucht dazu das entsprechende Paket installiert (lvm2?). Mit
apt-get install lvm2 klappt die Installation allerdings nicht. Ich glaube da hilft es mir reichlich wenig mich einzulesen wie ich eine lvm einrichte oder so.

Sehe ich das soweit richtig?

Das hier wirft er mir übrigens als Fehler aus, wenn ich versuche das Paket zu installieren

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut
Lese Status-Informationen ein... Fertig
Paket lvm2 ist nicht verfügbar, wird aber von einem anderen
Paket referenziert. Das kann heißen, dass das Paket fehlt, dass es veraltet
ist oder nur aus einer anderen Quelle verfügbar ist.
E: Paket lvm2 hat keinen Installationskandidaten

stefan.becker
13.03.09, 19:30
Ich hatte dich so verstanden, dass du nicht weisst, was lvm bedeutet. Also wohl falsch interpretiert.

miracle789
13.03.09, 19:33
Ich hatte dich so verstanden, dass du nicht weisst, was lvm bedeutet. Also wohl falsch interpretiert.

Ich weiß nur net wie man damit umgeht ;-)

HirschHeisseIch
13.03.09, 19:37
http://www.knoppix.net/wiki/LVM2

Vorher auch brav 'apt-get update' ausgeführt? ;)


zyrusthc:
AFAIK Ist das mittlerweile standard bei Ubuntu...

miracle789
13.03.09, 19:57
http://www.knoppix.net/wiki/LVM2

Vorher auch brav 'apt-get update' ausgeführt? ;)


zyrusthc:
AFAIK Ist das mittlerweile standard bei Ubuntu...

AHHHH! Danke für den Tipp!

Hab mal direkt folgende Befehle ausgeführt

vgscan --mknodes
vgchange -ay

und erhalte dann folgende Meldung


Reading all physical volumes. This may take a while...
Found volume group "ubuntu" using metadata type lvm2

2 logical volume(s) in volume group "ubuntu" now active

nach dem Befehl "lvs"


LV VG Attr LSize Origin Snap% Move Log Copy% Convert
root ubuntu -wi-a- 108,62G
swap_1 ubuntu -wi-a- 2,93G

"mount /dev/ubuntu/home /mnt/sda5"


mount: you must specify the filesystem type


und nun?

zyrusthc
13.03.09, 23:27
mount: you must specify the filesystem type


und nun?
Er sagt doch was zu tun ist!

-t vfstype
The argument following the -t is used to indicate the file system type. The file system types which are currently supported include: adfs, affs, autofs,
cifs, coda, coherent, cramfs, debugfs, devpts, efs, ext, ext2, ext3, hfs, hfsplus, hpfs, iso9660, jfs, minix, msdos, ncpfs, nfs, nfs4, ntfs, proc, qnx4,
ramfs, reiserfs, romfs, smbfs, sysv, tmpfs, udf, ufs, umsdos, usbfs, vfat, xenix, xfs, xiafs. Note that coherent, sysv and xenix are equivalent and that
xenix and coherent will be removed at some point in the future — use sysv instead. Since kernel version 2.1.21 the types ext and xiafs do not exist anymore.
Earlier, usbfs was known as usbdevfs. Note, the real list of all supported filesystems depends on your kernel.

For most types all the mount program has to do is issue a simple mount(2) system call, and no detailed knowledge of the filesystem type is required. For a
few types however (like nfs, nfs4, cifs, smbfs, ncpfs) ad hoc code is necessary. The nfs, nfs4, cifs, smbfs, and ncpfs have a separate mount program. In
order to make it possible to treat all types in a uniform way, mount will execute the program /sbin/mount.TYPE (if that exists) when called with type TYPE.
Since various versions of the smbmount program have different calling conventions, /sbin/mount.smbfs may have to be a shell script that sets up the desired
call.

If no -t option is given, or if the auto type is specified, mount will try to guess the desired type. Mount uses the blkid or volume_id library for guessing
the filesystem type; if that does not turn up anything that looks familiar, mount will try to read the file /etc/filesystems, or, if that does not exist,
/proc/filesystems. All of the filesystem types listed there will be tried, except for those that are labeled "nodev" (e.g., devpts, proc and nfs). If
/etc/filesystems ends in a line with a single * only, mount will read /proc/filesystems afterwards.

The auto type may be useful for user-mounted floppies. Creating a file /etc/filesystems can be useful to change the probe order (e.g., to try vfat before
msdos or ext3 before ext2) or if you use a kernel module autoloader. Warning: the probing uses a heuristic (the presence of appropriate ‘magic'), and could
recognize the wrong filesystem type, possibly with catastrophic consequences. If your data is valuable, don't ask mount to guess.

More than one type may be specified in a comma separated list. The list of file system types can be prefixed with no to specify the file system types on
which no action should be taken. (This can be meaningful with the -a option.)

For example, the command:
mount -a -t nomsdos,ext
mounts all file systems except those of type msdos and ext.



Greeez Oli