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
ADVERTISEMENT
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
Aug 3, 2011
I have a PC104 running debian. I have 3 hard drives (in addition to the one booting) mounted in fstab by UUID. I use the options defaults,error=remount-ro. However, this means that when I boot with the hard drives not attached, I have to press Ctrl-D to bypass when the boot discovers the drives are missing. Is there a timeout commandoption I can add to fstab so that it automatically continues booting even if the hard drives are not attached? I could not find anything on a timeout command. (I tried adding timeout=1000 but no-random guess)
View 5 Replies
View Related
Jan 21, 2016
On my system nearly all subfolders of my home-directory are on another hard drive. I included them via /etc/fstab as shown in the example below:
UUID=12c12565-ece4-4a22-b5c5-275aba1a3fd4 /media/data ext4 defaults 0 2
/media/data/archive /home/XXX/archive none bind 0 0
etc.
View 1 Replies
View Related
Feb 2, 2010
I run a mediaserver on Archlinux, working perfectly (or almost). I have set up NFS v3 and that worked for me on these clients:
- Debian Lenny
- Archlinux 64bit
Now I've upgraded my Lenny-box to squeeze and I see that 2 of my 3 shared folders (tdone and twatch) are mounted like they should and the third one (media) doesn't come up. A 'mount -a' as root gives this error: mount.nfs4: access denied by server while mounting (null) My relevant fstab-lines:
[Code]....
how I can go about debugging this?
View 1 Replies
View Related
Jan 16, 2011
I edited fstab so that my Windows disk partition will be automatically mounted when I log on. However, when I delete a file from said partition, I am told that the item(s) cannot be moved to trash - I can only permanently delete files from the Windows partition. Here is how I configured in fstab: Code: /dev/sda1 /media/Vista ntfs nls=iso8859-1,umask=000 0 0 I suspect I mis-configured the options. Can anyone see an issue?
View 1 Replies
View Related
Jan 5, 2010
What would be the best way list disk and partitions in the fstab file?
View 1 Replies
View Related
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
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
Feb 2, 2016
On my debian jessie "testing" I have set in fstab some line to mount folder located on my pc server...
When pc boot up the error is
Code:
Select allFailed to mount /mnt/Web
See 'systemctl status mnt-web.mount' for details...
CIFS VFS: cifs_mount failed w/return code = -101
Then, after logging in, if I run mount -a all works correctly...
Maybe error was LAN that is not started? In this case how to resolve?
View 11 Replies
View Related
May 31, 2010
I plan to:
- replace my hard drive with a 32GB SSD (solid state drive) SATA-II
- copy my entire old drive to the new one
- Both my drives will be Ext3 and have no swap (I have lots of RAM)
1. Can a Debian lenny desktop boot from an SSD ?
2. Do I have to modify /etc/fstab with SSD-specific options ?
3. How about grub, any modifications ?
View 6 Replies
View Related
Mar 13, 2011
/dev/sda1: UUID="1ABC9F967605D379" TYPE="ntfs"
View 2 Replies
View Related
Jun 19, 2015
I used a clonezilla live cd to clone a working updated install to another SSD of the exact make and model. Something went terribly wrong, and the new system booted to emergency mode. I then went back to my working laptop I cloned from and it did the exact same thing when booted, into emergency mode. After a couple of days trying to figure out how to rebuild the FSTAB on the once working machine, I finally figured out how to mount the root partition and copied all my important stuff off. WHEW!
Before I was able to mount the root partition, I had a heck of a time trying to mount it, getting errors about unable to read superblock, etc. I used testdisk that I installed on a debian live cd (on a flash drive) and it did something, not sure, but after that, and rebooting, I no longer had sda1,sda2, and sda5. I only had 1 and 5. sda2 was the root partition (extended, ext2) and I thought all was lost. But after running fdisk -l, I noticed two other devices... dm-0 and dm-1. I noticed that dm-0 was my root partition and read that it has something to do with LVM. I mounted it, and grabbed all my important stuff.
Now I am stuck at rebuilding my fstab so my boot, root, and swap partitions are properly mounted. Again, I do not have anything to copy and paste yet. I guess I got lazy since a lot of my work on this system is via Putty and SSH from a windows machine. It certainly looks like the partitions are there and ok, just not sure where to go from here.
I read that I need to get the UUID's from the partitions, then rebuild the fstab using those. I figured out pretty quickly that using /dev/sda1, 2, and 5 did not work. And the UUID's are pretty long. Without copy and paste, I am not sure how to use those without manually keying them in. I tried shelling into my laptop via putty while it is in emergency mode but failed.
View 7 Replies
View Related
Jun 29, 2010
Using: Debian Lenny. I want to mount 2 NTFS partitions in my /etc/fstab file, so that I needn't manually mount them when I want to use them. One of the partitions is the primary partition on the same hard disk as my Debian /, /home, and /swap partitions. The other is a 2nd internal hard disk.
a) Should I use ntfs-3g instead of ntfs as the /etc/fstab filesystem? I want to be able to read and write to the partitions as a user and not just as root.
b) I have read on the forum that "mounting NTFS partitions through fstab is not a great idea" - I thought that any dangers of doing so were ancient history. Why would it not be a good idea?
c) Which options should I use?
d) If I use 'user' instead of 'users' so that one specific user (me) can use the partitions, how do I specify which user name? (The man page is annoyingly unclear about this).
View 5 Replies
View Related
Jan 19, 2010
I've apparently changed my fstab file and now my boot drive fails to mount. The original file is still there "fstab.BAK". How do I rename the current fstab to another name and rename the fstab.BAK to fstab? Since this is read only in the /etc directory I have not been able to make this happen from a command prompt.
View 9 Replies
View Related
Apr 11, 2010
Before I leave with a bad taste in my mouth forever from the linux communities here, I'd like to ask one more question. I've been snooping around a bit about this issue of how to automount USB Drives, have them show on the desktop in file managers like PCManFM and not have to touch fstab at all.
How do I do this? Without touching Fstab, GNOME, any other DE. I only want openbox around.Another question I also hope to answer: How do I make shortcuts in PCManFM?
View 3 Replies
View Related
Aug 12, 2011
I've accidentaly corrupted my fstab and cut the ends of lines. There are now disk uid, mount point, filesystem for root and swap, but the mount parameters are missing.The system boots as readonly. What are default fstab mount parameters in Debian for ext4 root and swap?
View 1 Replies
View Related
Mar 2, 2010
how do I save an amendment that I have made to the /etc/fstab file?
View 6 Replies
View Related
Jan 27, 2010
mounting my windows partition.. I've got it set up under /etc/fstab, but anytime I try and open it (as local user) I get permission denied.
[Code]...
View 1 Replies
View Related
Jan 4, 2010
Trying to set my fstab so I can mount an external USB HD as a normal (non-root) user. Here's the relevant fstab line:
Code:
UUID=b122b277-e085-4f50-9ddf-051efd89e
/media/usbhdext3noauto,user,rw,exec,noatime,nodiratime00
[code]....
View 5 Replies
View Related
Dec 15, 2010
UUIDs make fstab hard to read, so.. Is it possible to use udev rules to prevent HDs to change device, instead of using UUID in /etc/fstab?
View 2 Replies
View Related
Nov 18, 2010
I am having no luck configuring ProFTPd on a Debian Lenny production server we use to host our MySQL databases and a few websites. I had originally set it up so I could login and manage our internal sites, but I have the need to allow a few clients in to access their sites that we host. I am trying to root the users in their site directory, which would be "/sites/www.whatever.com/".
It just hit me while typing this. Is it possible to create a user without a shell to prevent login via SSH and set the home folder to /sites/whatever instead of /home/username? That would allow me to continue operating with my current configuration and root them in their site while preventing SSH logins.
View 6 Replies
View Related
Jul 20, 2011
i have a HP MSA 2312fc SAN with 2 LUNs configured. The first LUN (LUN ID 1) is correctly connected to the system, but when i connect the second LUN (LUN ID 30), i find in the syslog this message: multipathd: 8:64: size 6835937472, expected 5267578112. Discard
Here is the multipath.conf
[Code]....
So I correctly see the two luns, but multipath doesn't create the relative devices. Under /dev/mapper I see: control mpath0 mpath0-part1 mpath0-part1 is the first lun, the one I mounted in a directory under filesystem. I can't find the device for the second lun
View 1 Replies
View Related
Apr 5, 2010
I am *finally* getting around to rebuilding my file-sharing computer. I'll be sharing files with both Linux and Windoze machines. It's a home network, so there's nothing fancy needed. I know I have to tweak my smb.conf file until I'm satisfied with the features and security. I'm using SWAT and I'm starting with a bare-bones conf file. It's not secure but I can see the server and selected files/directories from my other Linux box.
My really dumb question is, do I have to reboot both the server and the client machines every time I change the SAMBA configuration? I thought I just had to stop and restart the SAMBA service in the SWAT software - but then the server disappears from my client. It looks like I need to reboot both machines for the client to see the server.
View 1 Replies
View Related
Mar 19, 2011
A week ago I opened this thread viewtopic.php?f=17&t=61580 in "Board index ‹ Help ‹ Installation" and asked for a moderator to move this to here. Because it hasnt happened up to know, I am reopening the thread here. It would be reeeeally great if somebody could help me with my problem!
I own two computers, one netbook and one laptop. I want to boot my netbook as a diskless client via PXE.I set up a dhcp-, tftp and nfs-server on my laptop but when i boot my netbook, the follwoing messages are displayed:(to make it more clear, i uploaded the whole output and shortened the output below)
[Code]...
View 1 Replies
View Related
Jul 31, 2011
I am using Squessze and Gnome. When I try to use the gui System>Administration>Network or Users and Groups I get the error The configuration could not be loaded. You are not allowed to access the system configuration.Everything was working before. I read around a bit. In some cases,it was caused by mismatching group and password files after using the gui. I do not know how to check if they are matching. Of course I do not know for sure that is the problem in my case.
View 14 Replies
View Related
Mar 5, 2010
I use apache2 with virtual host and I 've a solution of Webftp who run on it. This solution send automatically email when a new client register himself. In the header of the mail I look this "Content-type: text/html". But when I look this mail with Outlook 2007 the accents are bad coding.It's a script who generate this Html content email.
View 1 Replies
View Related
Jun 17, 2010
I am working on a Debian 2.6.26-19 Distribution with exim4 as MTA. After a system restart a problem occurred with delivering emails to local addresses. These local addresses use a 1and1 mailserver for email. The MX records for the local domain are set correctly but exim does not use a DNS lookup for these addresses because it identifies them as local addresses. I figured this out by executing the exim4 -d -bt command. The dns lookup part of the result looks like this (I replaced the actual address with placeholders):
[Code]....
The eventual result of the exim4 -d -bt command is: [user]@[domain.ext] is undeliverable: Unrouteable address How can I make sure, that exim4 makes a DNS lookup for the local addresses instead of skipping it? I know that I have to edit a exim4 configuration file, but I could not figure out which and how.
View 1 Replies
View Related
Jul 6, 2010
I have a set of vm's with stable, testing, and sid to keep track of how things are going. When I did an apt-get dist-upgrade with squeeze last week, things seemed to OK (350 package updates) until the end. It didn't seem to like and / or was confused by a kernel dependency.
I am not too concerned yet. Because these are in vm's, I do a snapshot before any significant change. I can futz around with impunity because I have that backup.
I re-booted, and tried the apt-get dist-upgrade again with same results. I think I also tried apt-get -f install.
So I reverted to the snapshot, and will simply try again in the future. I recall that with lenny as testing, the font-desktop was really screwed up for about a period of 6 weeks.
However, just in case someone else runs into this:
1) a re-boot worked, but the failure of apt-get made me nervous enough to revert.
2) waiting for corrections has seemed to work in the past (with a single exception with a 4-disk SCSI software RAID10 update that failed to re-boot lenny successfully after what seemed to be a minor update -- that was on a real system, not a vm. I haven't gotten back to look at that.)
View 14 Replies
View Related
Oct 3, 2010
I was trying to get the Windows one working again. Here's what fdisk -l reads:
[Code]...
I'll change these or do some grub configurations, if anyone knows what ones can work.
View 1 Replies
View Related