Results 1 to 7 of 7

Thread: ext2 doesn't mount

  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
  •  


Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" x Xeon E5-2680 v2 2.8GHz 20-Cores 128gb 4x Trays

$349.99



Dell PowerEdge R420 Rack Server Intel Xeon 1.90GHz Six-Core 8GB DDR3 RAM picture

Dell PowerEdge R420 Rack Server Intel Xeon 1.90GHz Six-Core 8GB DDR3 RAM

$95.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping picture

Microsoft Windows Server 2022 Standard 64-bit License & DVD 16 Core US Shipping

$34.99



Dell Poweredge R720 8SFF 2.5

Dell Poweredge R720 8SFF 2.5" 2x Xeon E5-2680 v2 2.8GHz 20-Cores 64gb 4x Trays

$259.99



Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5

Dell PowerEdge R620 2x Xeon E5-2630 v2 3.1GHz 2.5" 4-BAY 32GB RAM No OS 2x 495w

$174.95



Dell PoweEdge R650 10 Bay 2.5

Dell PoweEdge R650 10 Bay 2.5" 2x Platinum 8358 512GB 3200 H755 No HDDs 2x PSU

$12450.00



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



Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003 picture

Broadcom 9600-24i Tri-Mode RAID Controller 4.0 NVMe SAS SATA NEW 05-50111-01003

$639.69



WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER  RDS CAL SEALED picture

WINDOWS SERVER 2025 [REMOTE DESKTOP SERVICES] 50 USER RDS CAL SEALED

$119.18