LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-04-2005, 07:31 PM   #1
MaTrIx709
Member
 
Registered: May 2004
Location: UK
Distribution: Debian Testing
Posts: 70

Rep: Reputation: 15
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

Last edited by MaTrIx709; 08-05-2005 at 05:59 AM.
 
Old 08-05-2005, 06:17 AM   #2
MaTrIx709
Member
 
Registered: May 2004
Location: UK
Distribution: Debian Testing
Posts: 70

Original Poster
Rep: Reputation: 15
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?
 
Old 08-06-2005, 02:46 PM   #3
MaTrIx709
Member
 
Registered: May 2004
Location: UK
Distribution: Debian Testing
Posts: 70

Original Poster
Rep: Reputation: 15
bump

I'd really appreciate someone helping me out.




Thanks
 
Old 08-06-2005, 07:02 PM   #4
Noth
Member
 
Registered: Jun 2005
Distribution: Debian
Posts: 356

Rep: Reputation: 30
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.
 
Old 08-08-2005, 03:10 AM   #5
MaTrIx709
Member
 
Registered: May 2004
Location: UK
Distribution: Debian Testing
Posts: 70

Original Poster
Rep: Reputation: 15
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
fsck in ext3, resierfs? name_in_use450 Linux - General 4 06-08-2004 03:09 PM
fsck and ext3 perry Linux - Hardware 1 05-13-2004 02:04 PM
fsck on ext3 hemanth_13 Linux - General 1 07-24-2003 09:44 AM
fsck in ext3? recurrente Linux - Newbie 3 03-21-2002 05:15 AM
fsck in ext3?? recurrente Linux - Newbie 0 03-18-2002 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration