Debian :: Save An Amendment That Have Made To The /etc/fstab File?

Mar 2, 2010

how do I save an amendment that I have made to the /etc/fstab file?

View 6 Replies


ADVERTISEMENT

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

Debian :: Execute Command Mactime In Order To Control Changes Made To The File System?

Apr 23, 2011

I am trying to execute command mactime in order to control changes made to the file system, but I am getting an error. I am running the shell as root, and it is the first time I run the command in this system - Debian Squeeze up to date. The I/O is as follows:

# mactime 3/1/2011
cannot exec /bin/date: No such file or directory
cannot exec /bin/hostname: No such file or directory
cannot exec /bin/uname -n: No such file or directory
Cannot open /var/cache/tct/data/Amnesiac/body: No such file or directory

The first three lines of output are the ones that are worrying at the moment; I am not concerned with the last. Although error messages suggest the programs date, hostname and uname do not exist in /bin directory, they are available as shown by

[Code]...

View 3 Replies View Related

Ubuntu :: Save Current Settings To Fstab

Sep 30, 2010

Is there any (command line) utility that can just take current mounted disk settings and write that to fstab?

View 2 Replies View Related

Debian :: How To Save GNU Nano 2.0.7 Sources.list File

Apr 5, 2010

How do you save the GNU nano 2.0.7 sources.list file after you have edited it?

View 5 Replies View Related

Debian :: Mount An ISO File And Change Some Files And Save It After Changes?

Feb 1, 2011

How to mount an ISO file, change some files and save it after changes?

View 4 Replies View Related

Debian :: Save Session File From Xfce Menu When Shutdown

Nov 14, 2015

I'v installed wmctrl to have a terminal on desktop and I'v configure it with a script I'v found online.I'v add the script to startup menu interface from xfce (I don't know the us name cause I'v it version on system language), when I shutdown I'v save the session, and on the next log in seems that it is run twice, so if I disable the save session button when I log of but in that case it run in the previous status (dir/position)and I want that it run from startup menu from script file....so when I save the session where it save the status??...how can I skip that it run twice with the script running at startup???

#! /bin/bash

xfce4-terminal --hide-menubar --hide-borders --hide-toolbars --title=descon && wmctrl -r descon -e 0,90,10,500,500 && wmctrl -r descon -b add,sticky,below && wmctrl -r descon -b add,skip_pager,skip_taskbarFirst xfce4-terminal

View 0 Replies View Related

Debian Multimedia :: Save Image From Clipboard Into File Using Command Line?

Apr 28, 2011

Can save an image from clipboard into file using command line?
may be image magic?

View 3 Replies View Related

Debian Configuration :: Fstab Configuration - Failed To Open /proc/filesystems: No Such File Or Directory

Aug 23, 2011

I have some errors when run the mount -all command: mount: wrong fs type, bad option, bad superblock on /dev/sdc5, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail  or so Failed to open /proc/filesystems: No such file or directory

[Code]..

View 14 Replies View Related

Ubuntu :: Force Gedit To Be Aware Of Changes Made To File Permissions?

Nov 26, 2010

Is there anyway to force gedit to be aware of changes made to file permissions? The thing is, sometimes I open a readonly file and I just go back to the terminal and set write permissions on that file, but I have to close and open the file again so that gedit saves it. Is there anyway we can make gedit aware of changes to file permissions?

View 2 Replies View Related

General :: Made A File Named * In My Home Directory / Remove It?

Oct 19, 2009

how do i remove it?

View 4 Replies View Related

Debian Installation :: Alterations Have Been Made To System?

Jul 16, 2010

Greetings to all from a 60-year-old computer hobbyist and Linux rookie making his first post here. Yesterday I completed a successful installation of Debian 5, lenny, and right now I want to learn what alterations or modifications have been made to my system. I have no complaint about anything at all, I just want to become prepared for any problems I might encounter later on.

1) At one point near the end of my Debian installation, I was asked whether the installer could add something into memory and I (hesitantly) let it do so without knowing what was actually being done. I have a multi-boot system with four versions of Windows installed prior to Debian ... and now my Windows 98 is able to see and access my third drive, a SATA.

Question: How did installing Debian make it possible for my Windows 98 OS to now see and access my SATA hard drive? It is my assumption Debian's installer has somewhere placed one or more drivers my BIOS/DOS now passes along at system startup. How can I make a backup of whatever Debian's installer has done there?

2) After installing Debian and my Windows 98 had begun seeing my SATA drive, I had to eventually re-install Windows 98 because the drive letter for its partition had been changed by the insertion of the SATA drive. At that same time, and while just leaving Windows 98 alone for a while, I had used NeoSmart's EasyBCD to add Debian to Windows 7's BCD ... but then my re-installation of Windows 98 over-wrote that and Windows 7's "startup repair" could never again make its own BCD work. After that, however, and after getting XP's "boot.ini" (including 98 and 2k) working again, a re-installation of Debian resulted in GRUB making a startup menu that now includes *all* systems.

Question: Why or how can/did GRUB find Windows 7 and add it in when Windows 7's "startup repair" could not make a working BCD (or could not make a BCD work) on its own? I have more questions ahead, but like I said: For now I just want to know what I have going on here so I can prepare for any problems I might encounter later. I have a lot of time invested in finally getting this multi-boot system running perfectly with Debian as its default OS and I do not want to have to go back to the beginning and do it all over again because something broke and I had no idea how to fix it!

View 10 Replies View Related

Debian :: Mount The Partitions On A Made Image With Dd (/dev/sdb)?

May 15, 2010

my /dev/sdb contains 2 partitions with fat 32 2 partitions with NTFS 1 partition with LINUX ext3 and a swap linux. I did :

Code:

dd if=/dev/sdb of=image_disk_sdb.img

How can I mount those several partitions

View 1 Replies View Related

Hardware :: Changes To Fstab (UUID's) / Revert Fstab's Listings Back To The Old /dev/hd Settings?

Jan 15, 2010

I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.

My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.

So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?

And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.

I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.

View 4 Replies View Related

Programming :: Sed - Save Output To File With Filename From Content Of Another File?

Feb 28, 2011

My employer issues pdf files with everyones work schedules. I copy the content and save it as plain text in a file called unformatted (hope to be able to automate this step someday). Im working on a SED script that reduces unformatted to only display what I want to see and saves the result in a file Iïve named formatted. After that I have to manually copy formatted and save it with that days date as a filename e.g. 2011-02-25 or whatever day is scheduled in the pdf, for use on a mobile device (Nokia N900). I noticed that the date occurs on certain lines in the file so I added a line like:

sed -n 's/^Date: (201[1-9])/([0-1][0-9])/([0-3][0-9]).*/1-2-3/p' < unformatted >theDate
That creates a file theDate with the date in it that I wish to use as the filename for this particular instance. So I would like to skip the file formatted all together and have the sed- script write to a new file using the content of the Date as a filename, but how do I make that happen? And of course it would be more elegant if I could skip the intermediate theDate file as well.

View 4 Replies View Related

General :: Fstab File And Backup Products

Aug 18, 2010

The fifth field in the /etc/fstab file specifies dump frequency isn't it ?now this value can be theoretically used by backup products isn't it ?

View 2 Replies View Related

General :: Add Flash Drive To Fstab File?

Mar 30, 2011

I have Debian 5 XFCE currently installed on my old desktop. I cant open my flash drive, it doesnt pop up on the desktop, nor is it in the file manager. I read that you can add it to the fstab list but I dont know how to do it.

My flash drive shows up as sda1 in lsusb.

get my flash drives working, thats how I install packages.

View 11 Replies View Related

CentOS 5 :: Restore Fstab Deleted File?

Feb 19, 2011

I accidentally deleted the file called "fstab,v" not "fstab" The files location was /etc/fstab,v if it is very important file and what its used for & how to restore?, as my server seems to be running fine, but I don't want to get into any problems later down the line.

View 5 Replies View Related

Ubuntu :: Copy The File Via SSH \ Save The File Via SSH To This Server?

Mar 22, 2011

Now i install the Ubuntu 10.4 64 bit on Sunfire X4170I want to save the file via SSH to this server.But i m not sure how to configure.

View 4 Replies View Related

Debian Configuration :: Squeeze Grub2 Made Console Font Green

Apr 1, 2010

After an update on squeeze about a week or two ago, my console font turned green. I'm not exactly sure of the timing, because I switch between lenny and squeeze, and some time passed between the update and the reboot in squeeze.

During the update, I was asked if I wanted to keep my altered /etc/grub.d/00_header or take the package maintainer's version. I took the PM's version, knowing I'd lose my edit (set gfxpayload=1024x768x16). When I add that line to the new 00_header, run update-grub and reboot, the console font is the size I want, but it's a dull green. Reminds me of my first computer. How do I get it back to white and keep the 1024x768 resolution?

Currently booting with grub-legacy and chainloading grub2. If I boot entirely with grub-legacy, and pass vga=791, the console font will be white. It doesn't matter which kernel I use. Currently, I'm running 2.6.32-3-686. Same behavior exists if I use 2.6.30-2-686. If I use 1024x768x8 I get a dull gray instead of dull green.

View 4 Replies View Related

Ubuntu Networking :: Put Proper Information Into Fstab File?

Feb 24, 2011

I have a working network Ubuntu 10 Win7 (thanks to you guys on this site).

My last hurdle is how to mount folders or disks from Win7 onto Ubuntu.

I used a tutorial, and got fstab installed I think...

Where do I get the information to PUT IN fstab and WHERE to put it?

Here is my fstab file code...

View 2 Replies View Related

Ubuntu :: Can't Boot My System It Does Not Allow Me To Change Anything In Fstab File

May 16, 2011

I have ntfs partition installed bran new ubuntu system. I have some problem with unrar utf8 character zip files.Then i change my fstab file that uses files in D:ubuntudisks oot.disk and i added with out no fearless Code: ,utf8 and after all now i can't boot my linux system it does not allow me to change anything in fstab file. Although i use as a prefix sudo or as a root "sudo -i" commands I dont have any right to change it.

View 6 Replies View Related

Software :: Cannot Write To /etc/fstab Under File Recovery Mode?

Jul 17, 2009

Because I forgot to bring a portable hard drive, I cannot boot to a linux OS.

The reason is that the /etc/fstab has a line that is

Quote:

And ext3-datadisk is on the portable hard drive.

The booting process stopped when it prompts for a root passwd or Ctl-D to reboot.

I keyed in the root passwd, and a (File Recovery) prompt appeared.

I tried to vi /etc/fstab but I cannot save the edited /etc/fstab.

How can I boot successfully in this case ?

View 3 Replies View Related

CentOS 5 :: Automount Cifs Filesystem Using The Fstab File

Aug 3, 2010

I have been running a server for 3-4 years now, and my shares have been mounting just fine. Well, the network admin looked at a backup and seen that the last date backed up was june. I got to looking around and seen that the share is not mounting. I can mount it with sudo mount -a, which tells me my syntax is correct. I get an error about IPv4 socket not opened and it is aborting the operation when I run dmesg | tail, since I can use the above command to mount later, it sounds to me like it is trying to mount before the network connection is ready.

I have done some looking over some init scripts and found that in the /etc/rc.d/init.r/netfs script it has a line that states that it is checking to see if the network is up before it starts to mount the filesystems and the such. This is set to no, my question is, can I change this option to yes and get my desired results, waiting for the network to be up before it mounts the filesystems.

View 6 Replies View Related

Debian Configuration :: How To Fix FSTAB

Jan 18, 2010

How can I fix fstab? at each boot, my partitions switch alternatly from sda to sdb and vice versa. Go to past: On my desktop, I've got 2 hdd, 1 ide and 1sata. (Bios priority boot sata) first, I've installed Seven on the hdd ide and diconnected it. Second, I've installed Sid under hdd sata. So after, sda is SID (sata) and sdb is Seven (ide). Since I've reconnected ide hdd, as say above, my partitions switch alternatly from sda to sdb and vice versa. I use Grub2 and UUID, there no move inside these files Is there another file to configure to avoid this?

View 8 Replies View Related

Debian :: Can't Read Fstab / Why Is So?

Aug 16, 2010

Debian 5.0.5 lenny; Kernal Linux 2.6.26-2-686; GNOME 2.22.3

Trying to read the fstab file using code...

So why can't I read the fstab file?

View 5 Replies View Related

Ubuntu :: What's The Effect Of Uhelper=udisks Option In Fstab File Is

Jun 25, 2010

what's the effect of uhelper=udisks option in fstab file is? Except udisks what can i use?

View 4 Replies View Related

Ubuntu Installation :: How Makes Larger 'file Systems' Using /etc/fstab

Mar 12, 2011

I have noticed the (understandable) tendency of new Linux users to think about disk drives in the 'Windows way'; their first thought is to exchange a new drive for an existing one, rather than combine both drives for a larger 'file system'.

There are times when replacing one drive with another is indeed the correct action (aging drive, failing drive, slow drive, etc). But in other cases it may be preferable to use the inherent strength of the fstab (file system table) file to combine physical drives to become a larger 'file system'.

Lets first look at a user with an 8 gig netbook who is running out of space. Rather than replace the 8 gig flash drive with a 32 gig device, the old and new devices can be combined to yield a 40 gig 'file system':

This same principle can be applied to a user with a computer using an 80 gig hard drive, and who 'adds' a new 320 gig drive instead of replacing the 80 gig drive with the 320 gig drive:

This same principle can also be applied to building a massive 'file system' without the requirement of using RAID:

The above 12 terabyte system can be built using a basic motherboard with four open SATA ports and four 3tb hard drives. No server based equipment is needed; no raid hardware or software is required. This is just something that Linux does (and does very well).

View 2 Replies View Related

Networking :: Not Accepting The Encryped File In Fstab To Mount Win Share Through Cifs?

Jun 24, 2010

I'm using cifs to mount windows share.I have created one credentials file and given the path in fstab to mount at boot time. Now i want to encrypt the credentials file and place that in the fstab file.But it is not accepting.. how to use encrypted file to use in fstab,so that normal users can not watch the credentials inside the file.

View 3 Replies View Related

General :: Mount NTFS Partition Deeper In File System With Fstab?

Mar 15, 2010

I'm dual booting with Windows 7 and would like to have my windows 7 user folder mount when I boot.

After some looking around I edited /etc/fstab to add the following line:

This works. But it mounts the windows partition from the root level. I'd like to just mount C:UsersFHSM (/Users/FSHM) to /mnt/windows.

I'm trying to get it so that when I click on the windows drive I get my windows user folder instead of having to click through from C: to get to it.

I'm the only user on this system but if I created a second windows user would my home folder mount for that person too or does setting the user ID prevent that from happening?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved