LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-11-2006, 12:45 PM   #1
PixelMassacre
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Rep: Reputation: 0
FSTAB SDA1 and Bootup


The following is more of an annoyance as opposed to hinderance in functionality.

Upon bootup, I receive an error stating that sda1 and sda2 are invalid block devices.

/etc/fstab on Trustix 3 reads as follows:

Code:
/dev/hde3               swap                    swap    defaults        0 0
/dev/hde1               /boot                   ext3    defaults        0 0
/dev/hde2               /                       ext3    defaults        1 1
/dev/sda1               /ORIONUSB               ext3    defaults        0 0
/dev/sda2               /IMAGES                 vfat    defaults        0 0
none                    /proc                   proc    defaults        0 0
none                    /dev/pts                devpts  gid=5,mode=620  0 0
none                    /sys                    sysfs   defaults        0 0
/dev/hdb                /mnt/cdrom              udf,iso9660 noauto,user     0 0
#/dev/sda1  /ORIONUSB  ext3  suid,dev,exec  0  0
#/dev/sda2  /IMAGES  vfat  suid,dev,exec  0  0
After the boot process is complete, my mounts all show up and function correctly.

Code:
root@ORION /etc# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hde2              73G  5.4G   64G   8% /
/dev/hde1              99M   50M   45M  53% /boot
/dev/sda1             119G  5.5G  107G   5% /ORIONUSB
/dev/sda2              33G  8.0G   25G  25% /IMAGES
I've uncommented the alternative boot options in fstab at the bottom and tried both ways and I still receive the same error. I've commented out all sda1 and sda2 entries from fstab and the devices do not load at all at bootup so I'm assuming it's not a "double entry" somewhere that is causing the error, moreso, the syntax of fstab.

So, although everything appears to be functional, I'd like to find out why I'm receiving the error at bootup if at all possible. Any comments would be greatly appreciated.

Last edited by PixelMassacre; 04-11-2006 at 12:46 PM.
 
Old 04-11-2006, 01:20 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,198

Rep: Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089Reputation: 6089
What type of devices are sda1 and sda2?
If these are USB drives then typically the modules do not load prior mounting devices via fstab. So you can add the USB & SCSI modules to the initrd.

I assume that once the modules are loaded udev is automatically mounting the drives. Adding the noauto option in the fstab file should fix the invalid device error.
 
Old 04-12-2006, 02:22 AM   #3
PixelMassacre
LQ Newbie
 
Registered: Jun 2004
Posts: 4

Original Poster
Rep: Reputation: 0
Sda1 and sda2 are a vfat windows and an ext3 partition on an external USB drive.

The "noauto" option resolved the device failure, however, it didn't mount them either which is why, I presume, I didn't get no error. ;-)
 
  


Reply

Tags
fstab


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
fstab doesn't mount win share on bootup aldar Slackware 2 12-14-2005 08:15 PM
gnome fails to load on login after bootup - unless bootup first in win xp doubletruncation Fedora 6 12-07-2005 08:32 AM
How to convert a bootup floppy to a bootup CD ? wlaw Linux - Newbie 2 07-15-2004 03:28 AM
/dev/sda1?? alaios Linux - Hardware 1 05-24-2004 05:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:18 PM.

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