LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   fsck.ext3: No such file or dir (https://www.linuxquestions.org/questions/linux-hardware-18/fsck-ext3-no-such-file-or-dir-350076/)

MaTrIx709 08-04-2005 07:31 PM

fsck.ext3: No such file or dir
 
Hey,

This is what I did with my 2 pata and 2 sata drives

1) move all my data to 2 sata drives and then installed debian

2) moved all sata data to new ext3 file structure.

3) hopefully you get the idea of what I was trying to do. when I used fdisk, it showed 4 partitions on my NTFS sata drives that held the data I just copied. I dont understand why 4 showed up, is this an ntfs thing?

using fdisk I deleted the NTFS partitions, and created one new partition in each drive. I used
Code:

mkfs -t ext3 /dev/sda1
and sdb1

to format the drives

Now when debian is booting, it seems to try and run some ext2 fsck tools and fail. it then asks me to login as root or press ctr-d to continue.

after booting, the sata drives are not mounted. So i do this

Code:

mount -a
and they mount fine, since I've already edited fstab.
running fdisk on any of my drives fails to pick up any partitions (when I press p to list partitions)

here is my fstab file
Code:

GNU nano 1.2.4                    File: /etc/fstab

# /etc/fstab: static file system information.
#
# <file system> <mount point>  <type>  <options>      <dump>  <pass>
proc            /proc          proc    defaults        0      0
/dev/hda4      /              ext3    defaults,errors=remount-ro 0      1
/dev/hda3      /backups        ext3    defaults        0      2
/dev/hdb1      /store/film    ext3    defaults        0      2
/dev/hda2      /store/misc    ext3    defaults        0      2
/dev/hda1      none            swap    sw              0      0
/dev/hdc        /media/cdrom0  iso9660 ro,user,noauto  0      0
/dev/hdd        /media/cdrom1  iso9660 ro,user,noauto  0      0
/dev/fd0        /media/floppy0  auto    rw,user,noauto  0      0

#manually added after formatting 200gig drives
/dev/sda1      /store/tv1    ext3    defaults        0      2
/dev/sdb1      /store/tv2    ext3    defaults        0      2


#windows partitions    no longer required after formatting to ext2
#/dev/sda1      /mnt/windows/one        ntfs    ro,user,noauto  0      0            $
#/dev/sdb1      /mnt/windows/two        ntfs    ro,user,noauto  0      0

If anyone has any insight, I would be very grateful

MaTrIx709 08-05-2005 06:17 AM

some more details
 
here is the exact error.

Code:

fsck.ext3: No such file or directory while trying to open /dev/sda1
/dev/sda1:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really does contain an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt and you might try running e2fsck with an alternate superblock:
      e2fsck -b 8193 <device>

is this related to the drive being sata?

MaTrIx709 08-06-2005 02:46 PM

bump
 
I'd really appreciate someone helping me out.




Thanks

Noth 08-06-2005 07:02 PM

Most likely the driver for the SATA controller is being loaded later in the boot process, after the fsck is attempted. Hotplug is probably what's currently loading the driver, so that would make sense. To work around that, you can put the driver name in /etc/modules and it'll load earlier.

MaTrIx709 08-08-2005 03:10 AM

Is this the right module for sata support?

Code:


libata

I found a post with those listed
http://linuxmafia.com/faq/Hardware/sata.html#intel-ich5


All times are GMT -5. The time now is 10:40 AM.