Read only fs

2003-03-17 Thread Kris
I am trying to boot my / fs as read only.  Currently the file system is all
/dev/hda1 and this is mounted as root but when I try to boot it in read
only.  I get so many errors I just don't know where to start.  Any advice
would be appreciated.  Kris


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Read only fs

2003-03-17 Thread Vineet Kumar
* Kris [EMAIL PROTECTED] [20030317 13:19 PST]:
 I am trying to boot my / fs as read only.  Currently the file system is all
 /dev/hda1 and this is mounted as root but when I try to boot it in read
 only.  I get so many errors I just don't know where to start.  Any advice
 would be appreciated.  Kris

What other filesystems do you have?  I ask because, for example, /var
needs to be writable.  So if you don't have /var on a separate, writable
partition, you can't use a readonly / (which contains var).

What kinds of errors?  Start at the beginning.  Read the error, find out
why it happens, and fix it.  That's the best advice I can give to I
get errors.

good times,
Vineet
-- 
http://www.doorstop.net/
-- 
http://www.digitalconsumer.org/


signature.asc
Description: Digital signature


read only FS

2002-09-16 Thread Carlos
Me esta tirando un error al arrancar la pc, que dice que el sistema se
montara en solo lectura por un error al querer cargar unix.o, cuando veo
el log en /var/log/ksymoops/añomesdia.log me tira:
/sbin/modprobe -s -k net-pf-10 safemode=1
/sbin/modprobe -s -k block-major-34 safemode=1
/sbin/modprobe -s -k block-major-33 safemode=1
/sbin/modprobe -s -k block-major-8 safemode=1
Y se repite esto en todo el log, me fije en /etc/modules.conf y la unica
referencia similar es  #alias net-pf-10 off# IPv6 pero esta
comentada, en el archivo /etc/modules tengo esto:
-
unix
af_packet
3c59x
hfs
nls_cp850
nls_iso8859-1
hpfs
nfs
nfsd
vfat
sysv
smbfs
umsdos
sound
matroxfb
es1371
sound
ntfs
-
Si hago un moun me tira :/dev/hda4 on / type ext2 (rw,errors=remount-ro)
el hda4 es donde esta el /

Si alguno me orienta se los agradecere!


Saludos
Carlos
-- 
 _
   /   \   Carlos Mazzera
  |  () |  [EMAIL PROTECTED]
  |  \_/   Linux User : #280068
   \   pub  1024D/1745EC43 2002-08-22
\  Key fingerprint= 32A0 E687 F14C B490 16FD CDEB 5747 91F9 1745
EC43 
   Debian


signature.asc
Description: Esta parte del mensaje esta firmada digitalmente


SOLVED! Re: Letting users look at a read-only FS

2002-06-19 Thread Steve Juranich
Thanks Travis and Dale.  The umask argument did the trick.  I changed it to
000 instead of 007, because I didn't want to have to fiddle around with group 
ownerships as well.

Now to get wine working. I'd like to play Magic: The Gathering online without 
having to boot windoze. ;)

--
Stephen W. Juranich [EMAIL PROTECTED]
Electrical Engineering http://students.washington.edu/sjuranic
University of Washingtonhttp://ssli.ee.washington.edu/ssli




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: SOLVED! Re: Letting users look at a read-only FS

2002-06-19 Thread Pollywog
On Wed, 19 Jun 2002 10:00:21 -0700
Steve Juranich [EMAIL PROTECTED] wrote:

 Thanks Travis and Dale.  The umask argument did the trick.  I changed it to
 000 instead of 007, because I didn't want to have to fiddle around with group 
 ownerships as well.
 
 Now to get wine working. I'd like to play Magic: The Gathering online without 
 having to boot windoze. ;)

You might check these out, in order to find out how to run stuff on WINE:

http://www.winecentric.com/

http://www.winecentric.com/wiki/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Letting users look at a read-only FS

2002-06-18 Thread Steve Juranich
I have the following /etc/fstab:

# /etc/fstab: static file system information.
#
# file system mount point   type  options   dump  
pass
/dev/hda2   /   ext3defaults,errors=remount-ro  0   
1
/dev/hda3   noneswapsw  0   0
proc/proc   procdefaults0   0
/dev/fd0/floppy autodefaults,user,noauto0   0
/dev/sr0/dvdiso9660 defaults,ro,user,noauto 0   0
/dev/sr0/cdrom  iso9660 defaults,ro,user,noauto 0   0
/dev/sr1/cdrw   iso9660 defaults,ro,user,noauto 0   0
/dev/hda1   /windowsntfsdefaults,ro,user,noauto 0   0

For my user accounts, I am able to mount /cdrom and /cdrw just fine.  However, 
I can't get my user accounts to read the /windows directory, even if I mount 
it as a user.  I've tried several different options in the fstab for /dev/
hda1, but I still can't let my user account read the device.

Once the device is mounted, I get the following: 

coffee (steve)$ ll -d /windows/
dr-x--1 root root 8192 Jun 17 09:03 /windows/

but mounted under the same options in /etc/fstab, /cdrom looks like this:

coffee (steve)$ ll -d /cdrom/
dr-xr-xr-x2 root root 2048 Apr 12 23:28 /cdrom/

Can somebody please tell me what's going on, and better yet, how to fix it?

Thanks.

--
Stephen W. Juranich [EMAIL PROTECTED]
Electrical Engineering http://students.washington.edu/sjuranic
University of Washingtonhttp://ssli.ee.washington.edu/ssli



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Letting users look at a read-only FS

2002-06-18 Thread Dale Hair
I use this line but there may be a better way.

/dev/sda1/win2k ntfsdefaults,users,ro,umask=0,gid=6  0 0


On Tue, 2002-06-18 at 16:39, Steve Juranich wrote:
 I have the following /etc/fstab:
 
 # /etc/fstab: static file system information.
 #
 # file system   mount point   type  options   
 dump  pass
 /dev/hda2 /   ext3defaults,errors=remount-ro  0   
 1
 /dev/hda3 noneswapsw  0   0
 proc  /proc   procdefaults00
 /dev/fd0  /floppy autodefaults,user,noauto00
 /dev/sr0  /dvdiso9660 defaults,ro,user,noauto 00
 /dev/sr0  /cdrom  iso9660 defaults,ro,user,noauto 00
 /dev/sr1  /cdrw   iso9660 defaults,ro,user,noauto 00
 /dev/hda1 /windowsntfsdefaults,ro,user,noauto 00
 
 For my user accounts, I am able to mount /cdrom and /cdrw just fine.  
 However, 
 I can't get my user accounts to read the /windows directory, even if I mount 
 it as a user.  I've tried several different options in the fstab for /dev/
 hda1, but I still can't let my user account read the device.
 
 Once the device is mounted, I get the following: 
 
 coffee (steve)$ ll -d /windows/
 dr-x--1 root root 8192 Jun 17 09:03 /windows/
 
 but mounted under the same options in /etc/fstab, /cdrom looks like this:
 
 coffee (steve)$ ll -d /cdrom/
 dr-xr-xr-x2 root root 2048 Apr 12 23:28 /cdrom/
 
 Can somebody please tell me what's going on, and better yet, how to fix it?
 
 Thanks.
 
 --
 Stephen W. Juranich [EMAIL PROTECTED]
 Electrical Engineering http://students.washington.edu/sjuranic
 University of Washingtonhttp://ssli.ee.washington.edu/ssli
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Letting users look at a read-only FS

2002-06-18 Thread Travis Crump

Dale Hair wrote:

I use this line but there may be a better way.

/dev/sda1/win2k ntfsdefaults,users,ro,umask=0,gid=6  0 0




Wouldn't umask=007 be better?  Otherwise the gid part is redundant since 
the group really doesn't matter if other has the same permissions as 
group...



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: Letting users look at a read-only FS

2002-06-18 Thread Dale Hair
 Wouldn't umask=007 be better?  Otherwise the gid part is redundant since 
 the group really doesn't matter if other has the same permissions as 
 group...

I don't remember how I came up with this line, it was several months
ago, looking at it now what you say makes sense.  I think I tried
umask=0 without gid=6 without luck, I will try umask=007 gid=6.

I'm learning this with the help of debian-user, man pages, and google
searches.  I've been using OS/2 since '93, tried various rpm distros for
a few years and fell for debian about 8 months ago, I'm hooked.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]