gelöst: Probleme mit Disk Bezeichner, mount u. fdisk

Du kommst mit der Installation nicht voran oder willst noch was nachfragen? Schau auch in den "Tipps und Tricks"-Bereich.
Antworten
ElNino
Beiträge: 6
Registriert: 07.02.2008 22:12:54
Wohnort: Karlsruhe

gelöst: Probleme mit Disk Bezeichner, mount u. fdisk

Beitrag von ElNino » 24.09.2008 12:21:14

Hallo,

ich sitze hier einem seltsamen Problem mit mount auf und bräuchte Unterstützung.
Nach einwandfreiem Systemstart ist die Ausgabe von "mount" und "fdisk -l" inkonsistent. Laut mount wird /dev/sdc1 als "/" gemountet. Die Ausgabe von fdisk -l zeigt aber, dass es sich bei /dev/sdc1 um die vorhandene Windows NTFS Partitionen handelt. Wie kann das denn sein?

Das ist natürlich ein teuflischer Zustand. Kann mir jemand etwas dazu sagen?

Verwirrte Grüße,
Tom

Zum System / Hardware:
Mainboard ASUS P5E WS Pro / X38 + ICH9R
3 x 750GB SEAGATE Barracuda ST3750640NS im AHCI Mode
kompilierter Kernel 2.6.18.8-xen auf aktuellem Lenny.

auf (hd0)<->/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD4WJ4R # befindet sich Linux ext3, System / Swap und LVM
auf (hd1)<->/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD3Y2ZT # befindet sich DATEN ext3
auf (hd2)<->/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD423Y2 # befindet sich Win XP und weitere NTFS Partitionen

Die relevanten Teile der Ausgaben sind mit *** markiert.

Code: Alles auswählen

Cosmos:~# mount

/dev/sdc1 on / type ext3 (rw,errors=remount-ro) ***
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sdd1 on /DATEN type ext3 (rw)
/dev/sdc4 on /DATEN_NTFS type fuse (rw,allow_other,default_permissions)

Code: Alles auswählen

Cosmos:~# cat /etc/fstab

# /etc/fstab: static file system information.
#
# <file system>                                                  <mount point>  <type>          <options>                    <dump><pass>
proc                                                            /proc           proc            defaults                     00
/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD423Y2-part1            /               ext3            errors=remount-ro            01
/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD423Y2-part5            none            swap            sw                           00
/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD423Y2-part4            /DATEN_NTFS     ntfs-3g         defaults,locale=de_DE@euro,uid=1000,gid=users,umask=022       0       0
/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD3Y2ZT-part1            /DATEN          ext3            defaults                     00
/dev/scd0                                                       /media/cdrom0   udf,iso9660     user,noauto                  00
/dev/scd1                                                       /media/cdrom1   udf,iso9660     user,noauto                  00
/dev/fd0                                                        /media/floppy0  auto            rw,user,noauto               00

Code: Alles auswählen

Cosmos:~# fdisk -l

Disk /dev/sdc: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000a6798
   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1        5099    40957686    7  HPFS/NTFS ***
/dev/sdc2            5100       10198    40957717+   7  HPFS/NTFS
/dev/sdc3           10199       15297    40957717+   7  HPFS/NTFS
/dev/sdc4           15298       91201   609698880    7  HPFS/NTFS

Disk /dev/sdd: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000e5da6
   Device Boot      Start         End      Blocks   Id  System
/dev/sdd1   *           1       91201   732572001   83  Linux

Disk /dev/sde: 750.1 GB, 750156374016 bytes 255 heads, 63 sectors/track, 91201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x00045230
   Device Boot      Start         End      Blocks   Id  System
/dev/sde1   *           1        3735    30001356   83  Linux
/dev/sde2            3736       16379   101562930    5  Extended
/dev/sde5            3736        4221     3903763+  82  Linux swap / Solaris
/dev/sde6            4222       16379    97659103+  8e  Linux LVM

Disk /dev/dm-0: 32.2 GB, 32212254720 bytes 255 heads, 63 sectors/track, 3916 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x2af92af8
     Device Boot      Start         End      Blocks   Id  System
/dev/dm-0p1   *           1        3916    31455238+   7  HPFS/NTFS

Disk /dev/dm-1: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x94949494
     Device Boot      Start         End      Blocks   Id  System
/dev/dm-1p1   *           1        2610    20964793+   7  HPFS/NTFS

Disk /dev/dm-2: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x2af92af8
     Device Boot      Start         End      Blocks   Id  System
/dev/dm-2p1   *           1        2610    20964793+   7  HPFS/NTFS

Code: Alles auswählen

Cosmos:~# ls -l /dev/disk/by-id/

insgesamt 0
lrwxrwxrwx 1 root root 10 24. Sep 08:43 dm-name-xenstore-win_w2k -> ../../dm-1
lrwxrwxrwx 1 root root 10 24. Sep 08:43 dm-name-xenstore-win_xp -> ../../dm-0
lrwxrwxrwx 1 root root 10 24. Sep 08:43 dm-name-xenstore-win_xp.2 -> ../../dm-2

lrwxrwxrwx 1 root root 10 24. Sep 08:43 dm-uuid-LVM-GuSArOQTDgBhLMWKqsgUsjKFUHcfcqzME6PKNJ9YXjMcUQ0wIhWH3tLEzXBy6h0b -> ../../dm-1
lrwxrwxrwx 1 root root 10 24. Sep 08:43 dm-uuid-LVM-GuSArOQTDgBhLMWKqsgUsjKFUHcfcqzMsr9kytKu0NAosP0bmBv0xOhXwqnkCHGP -> ../../dm-0
lrwxrwxrwx 1 root root 10 24. Sep 08:43 dm-uuid-LVM-GuSArOQTDgBhLMWKqsgUsjKFUHcfcqzMwfkarNvd5ZhQKW6Ahp2eiQNdMWjQ5pQH -> ../../dm-2

lrwxrwxrwx 1 root root  9 24. Sep 2008  scsi-SATA_ST3750640NS_5QD3Y2ZT -> ../../sdd
lrwxrwxrwx 1 root root 10 24. Sep 2008  scsi-SATA_ST3750640NS_5QD3Y2ZT-part1 -> ../../sdd1

lrwxrwxrwx 1 root root  9 24. Sep 2008  scsi-SATA_ST3750640NS_5QD423Y2 -> ../../sdc
lrwxrwxrwx 1 root root 10 24. Sep 2008  scsi-SATA_ST3750640NS_5QD423Y2-part1 -> ../../sdc1
lrwxrwxrwx 1 root root 10 24. Sep 2008  scsi-SATA_ST3750640NS_5QD423Y2-part2 -> ../../sdc2
lrwxrwxrwx 1 root root 10 24. Sep 2008  scsi-SATA_ST3750640NS_5QD423Y2-part3 -> ../../sdc3
lrwxrwxrwx 1 root root 10 24. Sep 2008  scsi-SATA_ST3750640NS_5QD423Y2-part4 -> ../../sdc4

lrwxrwxrwx 1 root root  9 24. Sep 2008  scsi-SATA_ST3750640NS_5QD4WJ4R -> ../../sde
lrwxrwxrwx 1 root root 10 24. Sep 2008  scsi-SATA_ST3750640NS_5QD4WJ4R-part1 -> ../../sde1
lrwxrwxrwx 1 root root 10 24. Sep 2008  scsi-SATA_ST3750640NS_5QD4WJ4R-part2 -> ../../sde2
lrwxrwxrwx 1 root root 10 24. Sep 2008  scsi-SATA_ST3750640NS_5QD4WJ4R-part5 -> ../../sde5
lrwxrwxrwx 1 root root 10 24. Sep 2008  scsi-SATA_ST3750640NS_5QD4WJ4R-part6 -> ../../sde6

lrwxrwxrwx 1 root root  9 24. Sep 2008  usb-Generic_STORAGE_DEVICE_000000318562-0:0 -> ../../sda
lrwxrwxrwx 1 root root  9 24. Sep 2008  usb-Generic_STORAGE_DEVICE_000000318562-0:1 -> ../../sdb

Code: Alles auswählen

Cosmos:~# cat /boot/grub/menu.lst

# kopt=root=/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD4WJ4R-part1 ro
# groot=(hd0,0)

## ## End Default Options ##

title           Xen 3.3 / Debian GNU/Linux, kernel 2.6.18.8-xen
root            (hd0,0)
kernel          /boot/xen-3.3.0.gz
module          /boot/vmlinuz-2.6.18.8-xen root=/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD4WJ4R-part1 ro pciback.hide=(07:01.0) (07:01.1)
module          /boot/initrd.img-2.6.18.8-xen

title           Debian GNU/Linux, kernel 2.6.26-1-amd64
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.26-1-amd64 root=/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD4WJ4R-part1 ro
initrd          /boot/initrd.img-2.6.26-1-amd64

title           Debian GNU/Linux, kernel 2.6.26-1-amd64 (single-user mode)
root            (hd0,0)
kernel          /boot/vmlinuz-2.6.26-1-amd64 root=/dev/disk/by-id/scsi-SATA_ST3750640NS_5QD4WJ4R-part1 ro single
initrd          /boot/initrd.img-2.6.26-1-amd64

### END DEBIAN AUTOMAGIC KERNELS LIST

title           system utilities
title           Memtest86+
root            (hd0,0)
kernel          /boot/memtest/memtest86+.bin
quiet

title           GHOST (DOS)
root            (hd0,0)
kernel          /boot/dos/memdisk floppy
initrd          /boot/dos/dos_ghost.dd
boot

title           Other operating systems:
title           Microsoft Windows XP Profressional
root            (hd2,0)
map             (hd0) (hd2)
map             (hd2) (hd0)
rootnoverify    (hd2,0)
makeactive
chainloader     +1

Code: Alles auswählen

Cosmos:/# cat /boot/grub/device.map

(hd0)   /dev/disk/by-id/scsi-SATA_ST3750640NS_5QD4WJ4R
(hd1)   /dev/disk/by-id/scsi-SATA_ST3750640NS_5QD3Y2ZT
(hd2)   /dev/disk/by-id/scsi-SATA_ST3750640NS_5QD423Y2
Das Problem tritt äquivalent ebenfalls auf, wenn ich den aktuellen Lenny Kernel 2.6.26-1-amd64 boote. Hierbei ist allerdings die / root Partition /dev/sda1, wobei es sich bei /dev/sda1 laut fdisk -l um meine Windows XP Partition handelt. Wenn ich sda1 mounte, sehe ich auch die Win XP Partition.
Zuletzt geändert von ElNino am 24.09.2008 13:00:26, insgesamt 1-mal geändert.

ElNino
Beiträge: 6
Registriert: 07.02.2008 22:12:54
Wohnort: Karlsruhe

Re: Probleme mit Disk Bezeichner, mount u. fdisk

Beitrag von ElNino » 24.09.2008 13:00:12

Entschuldigung, ich blinde Kuh...
hatte in der fstab einen c/p Fehler. Das Thema kann also als erledigt betrachtet werden.

MfG Tom

Antworten