Results 1 to 7 of 7

Thread: ext2 doesn't mount

Hybrid View

  1. #1
    Junior Member registered user
    Join Date
    May 2003
    Posts
    23

    ext2 doesn't mount

    Hallo Everyone

    I have a problem with mounting partition with ext2 fs on additional drive.
    I have 3 disks all are IDE disks :
    hda (hda1 vfat, hda2 ext2 /), hdc1, hdd (hdd1 vfat, hdd2 ext3, hdd4 vfat, hdd5 ext2)

    when I try to mount hdd5 when running knoppix from cd it is ok, but when I added line to fstab autogenerated by knoppix it doesn't work
    I get a message like this:
    mount: wrong fs type, bad option, bad superblock on /dev/hdd5,
    or too many mounted file systems
    (could this be the IDE device where you in fact use
    ide-scsi so that sr0 or sda or so is needed?)

    I added line to fstab like this (autogenerated works when running from cd)
    /dev/hdd5 /mnt/hdd5 ext2 noauto,users,exec 0 0
    but it doesn't work

    this is an output from dmesg

    hdd5: bad access: block=2, count=2
    end_request: I/O error, dev 16:45 (hdd), sector 2
    EXT2-fs: unable to read superblock
    hdd5: bad access: block=2, count=2
    end_request: I/O error, dev 16:45 (hdd), sector 2
    EXT2-fs: unable to read superblock

    Can it be something with kernel? I compiled a new one maybe something is not enabled, but I don't know what.

    thanks for interest.

  2. #2
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    do a
    Code:
    dmesg|grep hd
    folow that with a
    Code:
    dmesg|grep sd
    post utput here.
    it would also be nice to see your entire fstab. there might be a clue there

  3. #3
    Junior Member registered user
    Join Date
    May 2003
    Posts
    23
    from dmesg|grep hd

    Code:
    Kernel command line: BOOT_IMAGE=Linux ro root=302 hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi apm=power-off nomce
    ide_setup: hda=scsi
    ide_setup: hdb=scsi
    ide_setup: hdc=scsi
    ide_setup: hdd=scsi
    ide_setup: hde=scsi
    ide_setup: hdf=scsi
    ide_setup: hdg=scsi
    ide_setup: hdh=scsi
    hda: ST34321A, ATA DISK drive
    hdb: CD-ROM CDU511, ATAPI CD/DVD-ROM drive
    hdc: QUANTUM BIGFOOT1280A, ATA DISK drive
    hdd: Maxtor 6E040L0, ATA DISK drive
    hda: attached ide-disk driver.
    hda: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
    hda: task_no_data_intr: error=0x04 { DriveStatusError }
    hda: 8405775 sectors (4304 MB) w/128KiB Cache, CHS=523/255/63
    hdc: attached ide-disk driver.
    hdc: task_no_data_intr: status=0x51 { DriveReady SeekComplete Error }
    hdc: task_no_data_intr: error=0x04 { DriveStatusError }
    hdc: 2511936 sectors (1286 MB) w/87KiB Cache, CHS=2492/16/63
    hdd: attached ide-disk driver.
    hdd: host protected area => 1
    hdd: setmax LBA 80293248, native  66055244
    hdd: 66055244 sectors (33820 MB) w/2048KiB Cache, CHS=65530/16/63
    ide-cd: passing drive hdb to ide-scsi emulation.
    hdb: attached ide-scsi driver.
     hda: hda1 hda2 hda3
     hdc: [PTBL] [623/64/63] hdc1
     hdd: [PTBL] [4111/255/63] hdd1 hdd2 hdd3 < > hdd4
    hdd5: bad access: block=2, count=2
    end_request: I/O error, dev 16:45 (hdd), sector 2
    hdd5: bad access: block=2, count=2
    My fstab
    Code:
    /dev/hda2  /  ext2  defaults,errors=remount-ro  0  1
    proc  /proc  proc  defaults  0  0
    /dev/fd0  /mnt/fdd  vfat  defaults,user,noauto,showexec,umask=022  0  0
    /dev/cdrom /cdrom  iso9660  defaults,ro,user,noexec,noauto  0  0
    /dev/hdc1 /mnt/big vfat auto,users,exec,umask=000 0 0
    /dev/hda1 /mnt/win98 vfat auto,users,exec,umask=000 0 0
    none /cdrom/cd supermount fs=iso9660,dev=/dev/cdrom,--,defaults,ro,user,noexec 0 0
    
    /dev/hdd1 /mnt/hdd1 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
    /dev/hdd2 /mnt/hdd2 ext3 noauto,users,exec 0 0
    /dev/hdd4 /mnt/hdd4 vfat noauto,users,exec,umask=000,uid=knoppix,gid=knoppix 0 0
    /dev/hdd5 /mnt/hdd5 ext2 noauto,users,exec 0 0

  4. #4
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    what does fdisk -l say?
    it seems weirdly partitioned, normally you have 3 primary and 1extended, then further partitions IN that extended. OR 4 primary partitions.
    that should work in your case. the 4 partitions, that is if you are willing to repartition the drive (wiping data if anythng is stored in that extended partition).

  5. #5
    Junior Member registered user
    Join Date
    May 2003
    Posts
    23
    Code:
    Disk /dev/hdc: 1286 MB, 1286111232 bytes
    64 heads, 63 sectors/track, 623 cylinders
    Units = cylinders of 4032 * 512 = 2064384 bytes
    
       Device Boot    Start       End    Blocks   Id  System
    /dev/hdc1   *         1       623   1255936+   b  Win95 FAT32
    
    Unable to seek on /dev/hdd
    Wow quite interesting, isn't it? however, the most weird is fact that when I run knoppix from cd this partition works excellent!

  6. #6
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    copy the /etc/fstab from knoppix onto a floppy and post that here then. and fdisk -l in knoppix aswell please. something is not quite right. your disk seems to be broken oe have a bad partition table (i have seen similar erors caused by partition magic messing up)

  7. #7
    Junior Member registered user
    Join Date
    May 2003
    Posts
    23
    OK. I've found out that this error is about kernel. I noticed that on default knoppix kernel /dev/hdd5 mounts as well as /dev/hdd6 (swap). Both are extended partitions so I thik than my new kernel doesn't support extended partitions or something like that. I will try to recompile kernel, maybe I will find this option

    Great thanks for interest.

Similar Threads

  1. NTFS -> ext2
    By jtvision in forum MS Windows & New to Linux
    Replies: 2
    Last Post: 02-24-2005, 05:57 AM
  2. ext3 as ext2 HELP!!!
    By Forcemaster in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 09-06-2004, 01:27 PM
  3. ext3-FS mounted as ext2
    By hamatoma in forum Hdd Install / Debian / Apt
    Replies: 1
    Last Post: 05-26-2004, 05:11 PM
  4. pendisk - vfat or ext2?
    By Alexxx in forum Customising & Remastering
    Replies: 7
    Last Post: 03-09-2004, 02:08 PM
  5. Problems mounting ext2 r/w
    By jamesraykenney in forum General Support
    Replies: 5
    Last Post: 08-21-2003, 06:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS picture

HP PROLIANT MICROSERVER GEN8 E3-1220LV2 @ 2.30GHz, 8GB RAM, NO HDD/OS

$164.97



Super Micro 113M-3 Server Intel Xeon 5Tb HDD used great condition picture

Super Micro 113M-3 Server Intel Xeon 5Tb HDD used great condition

$70.00



Dual Xeon E5-2698 Server-Supermicro X10DRL-i - Noctua SilverStone RM41-506 picture

Dual Xeon E5-2698 Server-Supermicro X10DRL-i - Noctua SilverStone RM41-506

$449.99



HPE ProLiant MicroServer Gen10 Plus Xeon E-2224 3.4GHz 16GB RAM 2TB HDD NO OS picture

HPE ProLiant MicroServer Gen10 Plus Xeon E-2224 3.4GHz 16GB RAM 2TB HDD NO OS

$949.99



HPE ProLiant MicroServer Gen 10 - Opteron x3421 - 16GB DDR4 - 120GB SATA SSD picture

HPE ProLiant MicroServer Gen 10 - Opteron x3421 - 16GB DDR4 - 120GB SATA SSD

$350.00



HP ProLiant MicroServer Gen8 Xeon E3-1265L v2 16GB ECC RAM 4-Bay NAS, NO Drives picture

HP ProLiant MicroServer Gen8 Xeon E3-1265L v2 16GB ECC RAM 4-Bay NAS, NO Drives

$300.00



SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays picture

SuperMicro 4U CSE 847 36 Bay LFF Barebone 2x 1280W w/ 2x Bays 2.5 Rear w/Trays

$499.99



Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3 picture

Supermicro 1027GR-TSF 1U Rackmount Server 2x Xeon 2.3GHz 128GB DDR3

$219.99



Supermicro 721-2 Mini Tower Black Computer Server NO Hdd picture

Supermicro 721-2 Mini Tower Black Computer Server NO Hdd

$375.00



BOXX B157552 SuperMicro X10DRT-L 2x Intel 2630V4 NO RAM & SSD Server picture

BOXX B157552 SuperMicro X10DRT-L 2x Intel 2630V4 NO RAM & SSD Server

$160.99