LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   fstab problem (https://www.linuxquestions.org/questions/linux-software-2/fstab-problem-575831/)

unkie888 08-09-2007 03:23 AM

fstab problem
 
Hi,

I am using FC6

I installed an additional hard drive /dev/sdb

I formatted it to ext3 using mkfs.ext3

I added it to the fstab file like this;


/dev/VolGroup00/LogVol00 / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
devpts /dev/pts devpts gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
/dev/VolGroup00/LogVol01 swap swap defaults 0 0
/dev/sdb1 /SDB1 ext3 defaults 1 2

When I do mount it works.

[root@bk508035508 ~]# mount /dev/sdb1
[root@bk508035508 ~]# mount
/dev/mapper/VolGroup00-LogVol00 on / type ext3 (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw,gid=5,mode=620)
/dev/sda1 on /boot type ext3 (rw)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
/dev/sdb1 on /SDB1 type ext3 (rw)

But when I boot it does not mount. On the boot up messages I see it complaining that /dev/sdb1 is read-only file system

"Unable to mount block device /dev/sdb1 is a read only file system"

:cry:

farslayer 08-09-2007 11:48 AM

Take a look at this thread.. http://forums.fedoraforum.org/showth...833#post581833

that looks like the same issue you are having..

shadowsnipes 08-09-2007 05:44 PM

goofy stuff like that is just another reason why I'm glad I don't use any Red Hat derivative distro anymore...

farslayer 08-09-2007 09:18 PM

Has nothing to do with Red Hat specifically as a distro, and everything to do with SELinux.
Security Enhanced Linux can work with any Distro..

for instance here's the selinux packages for Slackware.. http://projects.dimensionalstorm.net/selinux/

For more info you can check out the main selinux page over at the NSA (National Security Agency) Government website http://www.nsa.gov/selinux/

shadowsnipes 08-09-2007 09:32 PM

thanks for the info.

unkie888 08-10-2007 12:16 PM

thanks guys.


All times are GMT -5. The time now is 08:01 AM.