That media or usb-storage is not mounted actually on the wheezy machine. If so, it appears in the file-manager, but it remains the error. While booting that laptop the GRUB loader tells me he is expecting that device, because I changed the fstab-file to that content as follows
As far as I know these values defaults 0 and 2 are for checking the media and the number of boots or not. But anyway it is still there on the wheezy-laptop, while shutting down the same message appears that there has been a failure to that specific device. So I still will find out how to recover, but....with little hope, 'cause on the squeeze system there appears just nothing plugging it in. Anyway it has been a backup for some data, that does not mean for me to make a backup for a backup or even going for any cloud service.
---------- Post updated 02-04-15 at 07:51 AM ---------- Previous update was 02-03-15 at 09:29 PM ----------
After re-writing the /etc/fstab-file changing
to
and saving it, it is overwritten to the first line, (re-writing as root) somehow, and appears at wheezy, but the media itself appears empty and doesn't show up as or at usb0, although changing to /etc
typing ls there shoud be. As root I got no permission to make this changes. So first chmod. To be continued.
But
or
just tells me that I got no permission, as root, to change this file. This remembers me of sudo. rrrubbish. sorry
Last edited by 1in10; 02-04-2015 at 05:57 AM..
Reason: learning?
If you had done this without -type d, the effects on your system would have been absolutely ruinous.
As is, you should still probably reinstall from scratch. Strange things are likely to happen from here on out. You have tampered with the permissions of many important folders. 777 is not the magic sledgehammer to fix all permissions problems.
What folder did it tell you you didn't have permission to change, by the way...?
The fstab isn't magic. All it does is mount. If mount doesn't work, fstab isn't going to help.
At this point I would recommend sending your USB drive to a specialist data recovery service to see if they can undo your destructive changes.
Last edited by Corona688; 02-04-2015 at 12:09 PM..
Sure, you are right, I should improve the original, this specific line I used to handle the archive themself, just for using this media on several machines, so it would be e.g., sorry for the misunderstanding.
to get this straight.
Last edited by 1in10; 02-04-2015 at 02:42 PM..
Reason: typing grammar
I hope you realize that completely compromises your machine.
Anyone who can access the box can now replace files such as /etc/passwd or /etc/shadow, change out SSH keys, have init and services run arbitrary code, and a slew of other things.
Anything and everything under /etc can be replaced. By anyone.
Hello,
I am running ubuntu 16.04 .
Below script gives: "unknown command '\;'
counter=105
while read COL1 COL2 COL3
do
let counter++
url="http://localhost/test/$COL1.$COL2.$COL3";
mysql -uroot -D mydatabase -pmypasswd -e "SELECT video_id FROM video_series_files WHERE id IN \
(SELECT... (12 Replies)
Dear all I have formatted/labeled/partitioned my new disk but when trying to mount it is returning 'unknown fstype' .Can you please let me know how to solve this problem? Thank you (37 Replies)
Is there an easy way to setup a cross-over cable (USB-USB) between a linux box and a windows PC? My 2 machines are next to each other but I really do not want to keep transfering my files using my USB drive.
Thanks! (4 Replies)
Hi Guys,
I found on one of the server there are 2 VG's which I dont have any Idea of who created .. as below
bash-3.00$ lsvg
old_rootvg
rootvg
datavg
altinst_rootvg
altinst_rootvg under is meant for alternate disk installation.. But I'm not sure for which version of OS it was... (5 Replies)
Hi, I am facing an issue with HP-UX box.
-bash-4.0$ uname -a
HP-UX ctsintco B.11.31 U ia64 2795347624 unlimited-user license
When ever iam doing a su - root, it is showing the below error
-bash-4.0$ su - root
Password:
su: Unknown id: root
Can you pls. let me know how to over come... (2 Replies)
Hello,
I have a problem - I created a chrooted jail for one user. When I'm logged in as root, everything work fine, but when I'm logged in as a chrooted user - I have many problems:
1. When I execute the command ping, I get weird results:
bash-3.00$ usr/sbin/ping localhost ... (4 Replies)
Hello Experts,
I am facing a problem with ldap account, Some systems account running properly, but some systems it returns as "su: Unknown id: username". Please let me know how to start troubleshooting the same.
Thanks in Advance.
Reagrds,
Awadhesh (1 Reply)
Hi everyone,
I am a beginner in Linux and Shell scripting.I am migrating a couple of shell scripts from Solaris platform to Linux platform.In one script i saw a usage as :
/base/article/ocilib/lobfile $username/$password $filename $filepath
I didn't understand what this represents.The... (2 Replies)
Hello all
I'm new to this site and I have to say that ,it is just awesome. I was able to get most of my questions answered by reading the archives.
I've been a UNIX programmer for a while now but new to administration.
I just installed SunOS 5.9 on my desktop ( i86pc) . Everything... (3 Replies)