Debian :: Can't Read Fstab / Why Is So?
Aug 16, 2010Debian 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?
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?
I was unable to boot into Ubuntu 9.1 today because the file system is now read only. When I check fstab, it shows "ro" but I can't change it because it's on a read only file system. I tried umounting the root then remounting with read/write access, but I was unable to umount the root. I also tried booting with a live CD, but all I can find is the root.disk file, I can't see any of the file structure. That's probably just how it is supposed to be, but I'm new to Linux so I found it strange. method to either change the disk to read/write besides this?sudo umount /mount -o remount,rw /The other option would be to somehow mount the disk image while using a live CD so that I can get to the fstab file and edit it.
View 9 Replies View RelatedI have a bad entry in /etc/fstab I have tried to tried to change in boot but it says read only. It will not take su. I have a livecd but I can't seem to get to my filesystem from a terminal where I can specify su
View 2 Replies View RelatedI am trying to mount a smb share on an ubuntu machine and for the life of me I can't figure out the fstab entry. The server is running fine and the windows machines can map their shares fine, I just cant figure out the fstab entry for an ubuntu box.at this point the fstab looks like this(although I have tried many variations)
Code:
//server/path/share /path/mount/point smbfs credentials=/root/.credentials, uid=1000, gid=1000 0 0
[code]....
when i starting the server..it is coming to maintenence mode and saying repair file system...because /home1 was not found in /etc/fstab.. when i tried to remove the entry from fstab for /home..it is read only!!
View 5 Replies View RelatedAnybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?
View 1 Replies View RelatedI have dual boot: Ubuntu 10.04 and Opensuse 11.2.Howto mount Read Only ext4 partition from Opensuse in /etc/fstab under Ubuntu?
View 3 Replies View RelatedI have installed a cable that connects from the CPU's SATA motherboard connection to a removable drives' ESATA connection.I would like to be able to swap drives on the ESATA connection and have all users be able to read and write to these drives.I have created the directory /archive/ where I would like the drive(s) to mount.The drives are all formatted Fat 32 - but in the future I may use HFS for formatting.When I used the command (as root):mount /dev/sdc1 /archivethe drive was mounted (but read only)What can I use in my /etc/fstab file that will allow drives to be mounted and unmounted by all users on the system? (both reading and writing)Also, will I be able to mount and unmount these drives without shutting down? or will I need to reboot every time I want to change drives?
View 2 Replies View RelatedWhat would be the best way list disk and partitions in the fstab file?
View 1 Replies View RelatedI'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.
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 RelatedOn 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?
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 ?
/dev/sda1: UUID="1ABC9F967605D379" TYPE="ntfs"
View 2 Replies View RelatedI 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.
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).
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 RelatedBefore 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?
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 Relatedhow do I save an amendment that I have made to the /etc/fstab file?
View 6 Replies View Relatedmounting 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]...
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.
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]....
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 RelatedI 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?
I down loaded Debian 5.0.4 and burned it to CD (several times I might add till it was right) and now the computer I'm putting it on wont acknowledge it as a boot disk and load. It does not have a problem with my windows cd, which has a crack and the start of all my problems, But not the Debian CD-1 disk. what now? The computer is an IBM thinkpad a22p. Everything works as far as I can tell. But I was going to reinstall Windows and failed in that because of a small crack on the edge of the disk that stopped the install and any hope of accessing the file on the laptop. Microsoft does not support windows xp any longer, you must buy windows 7, but the ibm will not run it due to processor speed and ram limitations. But it will run linux and I'm willing to try it just to get out of microsoft control.
Idon't know what else to do. This is the link to where I downloaded the software ( [URL] ). The others five that i downloaded were on the same page that I got this one. Are there bad files here? Is there a missing file in the disc?
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]..
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 RelatedI'm having trouble umounting partitions.
This is the entry I have in /etc/fstab for backup:
I can mount it ok:
But can't umount it:
My brand new DVD+RW disc can't be read by debian (6.0) after trying to erase and burn a new iso into it. I used brasero for this but it failed to burn it and left it in this bad state. It could be detected before the failed brasero session though.
However, whenever I introduce the dvd into the drive after the brasero session, the dvd drive makes the same noises all the time as if it can't read something on it and is going back to the beginning and doing this all the time over and over again. The data on the dvd is not important but what I want to know is if it is possible to stop the OS from trying to read what's in it so I can use some erasing software to make the dvd useful again.