Read-only file system error


 
Thread Tools Search this Thread
Operating Systems OS X (Apple) Read-only file system error
# 1  
Old 02-12-2011
Error Read-only file system error

My first post Smilie
I deleted all the files within /system/library/startupitems to the trash bin. Now my mac snow leopard won't boot at all. All I got is the gray screen, apple logo and the spinning wheel...just spinning forever. I was able to boot in single-user mode. I'm trying to copy cp command whatever in the trash back to startupitems folder.

Input:
bash-3.2# cp -r /users/dali/.trash/* /system/library/startupitems
Output:
cp: /system/library/startupitems/tftp.plist: Read-only file system
and the list continue with the same error .....for each file

Thank you guys Smilie
# 2  
Old 02-12-2011
Are you the "root" user?
Code:
who am i

# 3  
Old 02-12-2011
Try

Code:
mount -u -w /

(/system/library/StartupItems is mounted on / (usually))
# 4  
Old 02-12-2011
"who am i" output is "root console feb 12 15:26

thx for your quick reply Methyl

---------- Post updated at 03:35 PM ---------- Previous update was at 03:29 PM ----------

ok a new break through. I tried mount -u -w / and the cp command and it worked. I see all the files in the startupitems. I tried to boot and still does the same thing Smilie gray screen with a spinning wheel. Should I empty the trash bin ? is that what causing the confusion maybe ? thx Scottn
# 5  
Old 02-12-2011
Have you tried doing a Safe Boot?
# 6  
Old 02-12-2011
yes. I tried safe boot but it does the same thing ...gray screen and the spinning wheel. successful CD boot " didn't really help" and single-user mode boot. I'm using the Single-user boot for UNIX command input.
# 7  
Old 02-12-2011
Suggest you review what is in startupitems. If you have copied the entire contents of trash to this folder there may well be some items which are inappropriate. The timestamp on the files will be a clue depending on how old your system is.
Don't empty the trash bin - it is not involved in booting the system and may contain files which you need.

---------- Post updated at 23:54 ---------- Previous update was at 23:51 ----------

Btw.
Shouldn't we be using "cp -rp" not just "cp -r".
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

Getting read only propmt when opening /etc/system file

root@atrcx146:/# vi /etc/system "/var/tmp/Exv9a4Rb" Read-only file system Please let me know the reason (1 Reply)
Discussion started by: Marty11
1 Replies

2. UNIX for Dummies Questions & Answers

chown: Read-only file system

Hi, I am logged in as super use and want to set owner of a root folder to a specific user. #chown -R user1:group1 /u01 This gives the message: chown: /u01: Read-only file system chown: lost+found: Read-only file system #ls -l drwxr-xr-x 3 root system 256 Mar 21 16:42... (2 Replies)
Discussion started by: shoefiend
2 Replies

3. UNIX for Dummies Questions & Answers

rm: cannot remove file: Read-only file system

I have a file on a usb stick which I cannot remove and the following error message shows: rm: cannot remove `file-name': Read-only file system The usb stick is mounted as read-only on an Ubuntu system: $ mount /dev/sda1 on / type ext4 (rw,errors=remount-ro) proc on /proc type proc (rw) none... (4 Replies)
Discussion started by: figaro
4 Replies

4. Infrastructure Monitoring

Nagios: How to read the Linux system file?

hi 2 all i installed nagios in my linux srvr . check_ftp file is in format of system format . i wants to see the syntax for that script how can i read that file .. ??? please help me ! (4 Replies)
Discussion started by: ponmuthu
4 Replies

5. SCO

Read and write into file system from SCO

hi Knows someone what kind of file system uses SCO Unix 5.0.6? Which linux or unix LIVE CD can read and write into file system from SCO Unix? I've tried to boot SCO using Knoppix 6.2.1 LIVE CD, but cannot mount. # mount -t sysv /dev/sda1 /mnt mount: wrong fs type, bad option, bad superblock... (2 Replies)
Discussion started by: ccc
2 Replies

6. SCO

file system not getting mounted in read write mode after system power failure

After System power get failed File system is not getting mounted in read- write mode (1 Reply)
Discussion started by: gtkpmbpl
1 Replies

7. UNIX for Dummies Questions & Answers

/ file system mounts as read only

I have a Netra T1 server running Solaris 8, It was installed by jump start, it does not have a cdrom drive. Recetly it crashed so I rebooted it from >LOM poweron and it came to run level 3, all file systems listed in /etc/vfstab are mounted, but /dev and / root are not writeable though in... (3 Replies)
Discussion started by: Tirmazi
3 Replies

8. UNIX for Dummies Questions & Answers

read only file system

Hi, Has any one worked on IPSO operating system. I have a to add a file to /etc directory. When I create a file it comes up with read only file system. Is there any way of adding a file to this directory, without changing the etc directory parameters. Br, Eugene (1 Reply)
Discussion started by: eugene777
1 Replies

9. Solaris

WARNING: filename <not present on Read Only file system>+pkgadd error

Hi when trying to install the package initially that i have created on to the target host, i am getting error as below for all the files/directories during pkgadd. WARNING: filename <not present on Read Only file system> ........... ........... and so on. When i do the second attempt to... (1 Reply)
Discussion started by: kiran.zamre
1 Replies

10. Shell Programming and Scripting

Read through a file and Pass system commands

Hi, I have a file xyz.txt, which contains several "tar.gz" package names Eg :- Now i need to execute an rpm - ivh against all those packages in this file through a script one by one. I need a script to read through the file "xyz.txt", pick up each package name and execute rpm -ivh... (7 Replies)
Discussion started by: systemali
7 Replies
Login or Register to Ask a Question