General :: Creating Mounts And Having Them Stay On Boot Up
Feb 10, 2011How would i use LVM to add these mounts for example?
View 15 RepliesHow would i use LVM to add these mounts for example?
View 15 RepliesI have multiple ubuntu machines and I connect to one through an NFS share. I have done this for a few years without issue. However, since re-installing ubuntu and upgrading to 10.4 I have a problem with my system hanging when the remote shares are lost.
Basically, I can power down the machine downstairs, and my main machine then has a fit. I can not open any folders in ubuntu, nor can I shut down. If I try and shut down the system hangs, last time it hung for 8 hours before I had to kill the power.
These are the lines in my fstab
I don't know what I've done wrong, or how I can prevent this from hanging. I have googled the heck out of this as well and can't seem to find an answer either.
I can currently boot into a given Linux distro on my hard drive. Is there a generic way, for any given Linux distro, in which a boot CD can be created to boot that particular distribution to a login prompt ? The boot CD would need to bypass booting from the hard disk.
Before you say, use the installation CD ( or DVD ), I have repeatedly run into problems booting into a Linux distribution from the installation CD, for quite a number of distributions. These distributions have a so-called repair mode which quite often does not work, or has been gratuitously removed in some current release.
Before you can say, use SuperGrub ( or SuperGrub2 ), both have failed abysmally on my computer in a number of situations.
I am looking for a generalized cookbook solution for any given ( fairly modern/recent ) Linux distribution for creating such a boot CD for that distribution.
Searches on the Internet yield to me a bewildering series of conflicting info so I am asking here believing that there must be some surefire solution generic to Linux itself.
I need to mount tmpfs partitions to /etc & /var and unpack archieves of this folders there. This task is complete working on Gentoo with monolite kernel & handmade initramfs script. But on fedora this method is like hacking. And not pretty for later upgrades, etc... I think, may be it is need to create script in /etc/init.d/ with high run priority. But this method takes many errors on boot. It is need to mount two tmpfs partitions to /etc/ & /var & unpack archieves. All this processes are to be executet after switching init from initramfs to realinit. But before first system processes try to start. How to complete this task with fedora way?
View 1 Replies View RelatedHere is my entry in the fstab:
192.168.1.11:/mnt/array1/Our_NAS media/Our40NAS nfs auto,_ne
tdev,rw,hard,users,intr 0 0
Upon reboot, sometimes it would mount automatically and sometimes it would not. I have not discovered any specific pattern. It is very random. Sometimes it would go many reboots without mounting and on the next it would mount it. I tried putting timeo paramter, played with the parameters, but still have the same issue. My laptop is connected to a wireless network. When I do mount -a or if I go to Places everything mounts great. It just simply will not mount all the time automatically upon boot, and after wireless connection is established.
I have several NFS entries in my /etc/fstab file. Each entry generates an error during boot (from /var/log/boot.log):mount.nfs: DNS resolution failed for macpro.dpc: Name or service not known mountall: mount /mnt/BaseLines [656] terminated with status 32
This occurs even if I specify an IP address in fstab rather than a host name. I was really surprised by that. The odd thing is that by the time the system is up, not only is DNS working as expected, but the NFS shares are mounted as expected. I'd just ignore it for now, accept that it prevents Apache from starting since some of the server's files live on the NFS shares (this is a development system). It appears that the DNS resolver isn't running when the mounts are attempted and that they are attempted again later, after the resolver is running.
I did an
$ sudo apt-get update
$ sudo apt-get upgrade....
Right direction regarding the creation of a bootable Linux Image for PXE booting. I've already consulted google and the other obvious sources I could think of, but it seems that PXE is mostly used to install stuff, which isn't quite what I need.
The goal here is to have a pool of computers that boot from a central source so maintenance is less of a hassle. Installation of the individual PCs is not desired and I'm supposed to provide a functional Linux via PXE booting.
What I need is basically a way to turn a working Linux into an image that can be booted via network. Or to recreate that Linux as an image that I can boot.
I "upgraded" to Karmic and now my computer won't start. It shows the grub menu, I select the first Ubuntu option, and it shows the white logo. Underneath the logo these words appear, and it does nothing:Quote:One or more of the mounts listed in /etc/fstab cannot yet be mounted: /boot: waiting for UUID=338c820e..Press ESC to enter a recovery shell
View 9 Replies View RelatedMy Debian Lenny server crashed today for some inexplicable reason, and now one of my machines refuses to mount NFS shares on bootup. Manual mounting works fine. It's just one machine; the others are still mounting normally.
View 2 Replies View RelatedI'd like to create a bootable USB drive containing a Linux minimalist: In fact I want to do is boot from the USB (compatible BIOS), as a minimalist Linux starts, and runs a file Shell, then at the end of this execution, displaying a root prompt (command line) to the execution of some commands summary.
- No GUI
- Network access required
- Minimal Linux system (the minimum necessary to boot and run a file Shell), with selection of preloaded commands (grep, pico, cat, ...)
I saw on the net that is doable with DOS on Windows, but nothing on Linux. So I need help, because everything I find is related to an existing system (Ubuntu, Debian, ...), I want a gold basis the most minimalist and lightweight as possible. What I presented is feasible or not? If yes, how to achieve it?
[code]....
ubuntu 9.10. Won't boot. Not a new installation, no new hardware. When I boot it up into 2.5.31-22-generic safemode it says: One or more of the mounts listed in etc/fstab cannot yet be mounted: /home: wating for UUID...
Booted up w/ live CD, fsck says that /dev/sda3 is clean I have a 320 GB hard drive, 20 GB is the linux boot, 2 GB is swap, and the rest is /home. Palimpset Disk Utility can recognize the 20 & swap, but says the rest is unrecognized.
Here is how I created a Grub2 boot-cd with a (grub.cfg) menu:
mkdir /tmp/cdroot
mkdir /tmp/cdroot/boot
mkdir /tmp/cdroot/boot/grub
cp /boot/grub/grub.cfg /tmp/cdroot/boot/grub
cd /tmp
[code]....
NOTE: The above proceedure assumes you already have a grub.cfg file. If you don't, create one in the /tmp/cdroot/boot/grub directory
I have two hard drives in my desktop. One HD has a working Ubuntu system-hence the ability to post here- and the other contains Windows XP Pro. When the XP drive crashed I was able to re-install an image I had saved using Acronis. Unfortunately the dual-boot option at startup is no longer available. I can only boot to Ubuntu. Not so bad really but there are some programs on Windows that I need to use. Is there any way, using Grub perhaps, that I can reconfigure an MBR to include the second hard drive and the Windows system?
View 1 Replies View RelatedThis may be a strange request.
I would like to have the monitor say off during boot up until my everything loads including my firefox browser. This it turns on.
Is there a way to achieve this?
I'm using Linux in a large multi-user network. Let A be some group which I'm am member of, but which is not my primary group. According to chmod(2) I should be able to chgrp a file to group A. Trying to do so succeeds on a local as well as on a NFSv3 mount, but not on a NFSv4/Kerberos mount (EPERM). Are there any special considerations regarding chgrp when using NFSv4 mounts?
View 1 Replies View RelatedWhat is the best way to detect disk mounts?
I'm setting up a system to automatically detect disk mounts, so I'm looking for a file or something where disk mounting is recorded.
There are several files that look promising, but I am a LINUX novice, so I don't quite understand the exact roles each play:
Of the above files, etc/rmtab looks most promising.
How do i check if NFS mounts are still up and running?
when i do the command MOUNT , i get some result, but how can i see (or check) if they still up and running? I'm not so familiar with this command, so i hope that someone can guide me
I know that there must be some NFS links mounted, so if one fails, i need to see that with like an echo or something.
I just reinstalled my windows partition from a backup image. Following that the Grub2 needed repair. That was accomplished and the grub2 menu along with the changes I made (to the grub screen) come up just fine. I can select my Windows 2K installation and it boots okay.when I select the "Linux 2.6.31-17-generic" the boot process appears to begin normally with the Ubuntu symbol shown, but at some point the screen goes blank and the boot process stalls. recovery mode gives me a jumbled up recovery menu. Alt-Ctrl-Delete gets me out of either.If I boot from the previous "Linux 2.6.31-14-generic", I�m receiving this error during boot-Quote:"One or more of the mounts listed in etc/fstab cannot be mounted"
There are subsequent screens that warn I'm running in "low graphics mode", but I can boot to a somewhat functional system. I was able to boot it once, but get the same results with either kernelThere is a difficult to read message in the jumble of the recovery menu.Quote:"One or more of the mounts listed in etc/fstab cannot be mounted. Swap: waiting for UUID=35b77xxxxxx"Any ideas? I'm not sure how to troubleshoot the problem, or what steps to take to resolve it.
I have a directory, /root/backup, that I mount and run a bunch of rysnc scripts against to backup my box. I'm running into a very recent problem where when I run this command:
A directory that once looked like this:
Goes to this:
It changes from root to www (another user on my system) and I have no idea why.
When I look at the /mount/procs file, I see this:
So it looks like the uid is correct...
I believe this is what is causing my rsync scripts to fail (they only copy over directories and not the files in those directorys and I get a lot of permissions failed errors)
All of this is run as root in cron jobs
As a note, here is a sample rsync command:
I finally replaced my Windows with Linux.. However, I need to run applications and modify files that are on NTFS mounts. I am unable to change ownership, permissions, and groups on these files so I may modify them without having to copy. I have several times attempted to chmod, chgrp, chown, etc.. while logged-in as root user; however it is to no avail. The owner and permissions are still geared towards root. can I change ownership and permissions on NTFS files so I can modify them without having to convert/copy them over to ext4 or different file system?- Matbtw: I am using OpenSuse 11.4 and running Windows apps with VirtualBox (with Vista installation image). I still have Win7 on my computer (non-emulated) and I would like to keep some files on those NTFS partitions so when I occasionally need to boot into Win7 I can modify those files because Windows blows and doesn't support Linux.
View 5 Replies View RelatedMy laptop now has 8GB of memory, so I think mounting a tmpfs over /tmp is a reasonable thing to do. I also want to prepare for getting a SSD in the near future.The computer has a 1GB swap partition and I've set vm.swappiness=20
1) There is also a tmpfs mounted to /dev/shm. Both have the default size of 50%. Is there a way to get /dev/shm and /tmp to share the same capacity without doing a symlink or bind?
2) Is the swap partition a good size (is that swappiness value ok)? What happens if /tmp runs out of room? Should I increase the swap size to something really large like 15G (because I have swappiness so low...)?
I have these file systems mounted without the nosuid options set.
debugfs on /sys/kernel/debug type debugfs (rw)
/dev/mapper/KusuVolGroup00-DEPOT on /depot type ext3 (rw)
/dev/mapper/KusuVolGroup00-HOME on /home type ext3 (rw)
/dev/mapper/KusuVolGroup00-VAR on /var type ext3 (rw)
/dev/sdb1 on /home1 type ext3 (rw)
Do I set the option in the fstab files or set the files directly.
this is my first post and I am not sure if this belongs here or in hardware.Now for the main post!
setup:
Dell Demension 4400
Intel(R) Pentium(R) 4 CPU 1.60GHz, 1 cores
[code]...
I am trrying to use the SD card reader in my Acer 7736z. When I plug the card in I see this:
Code:
Oct 20 13:52:59 acer64 kernel: usb 2-8: new high speed USB device using ehci_hcd and address 5
Oct 20 13:52:59 acer64 kernel: usb 2-8: New USB device found, idVendor=0bda, idProduct=0159
Oct 20 13:52:59 acer64 kernel: usb 2-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Oct 20 13:52:59 acer64 kernel: usb 2-8: Product: USB2.0-CRW
Oct 20 13:52:59 acer64 kernel: usb 2-8: Manufacturer: Generic
code....
I have an old Acer laptop that I am trying to use as a server for Vortexbox (Fedora distro that turns computer into a media server for use with DLNAh Squeezeboxes).Randomly the laptop will go into standby mode and I cannot figure out why. It's very annoying since when the laptop goes to standby the server goes down and all my boxes disconnect. Everything reconnects when I simply press a key on the laptop and it wakes up and the screen turns back on.Here's what I've tried:I've tried checking the BIOS for power management settings and there are none.
I think my CMOS battery is fried since the time keeps drifting. I tried to replace it but could not get to the battery (either through the keyboard or the back of the laptop) so I put in a cron.hourly script that would fix the time every hour and it's keeping things on point in terms of the time but the sleep issues are still there (of note the script does not run when the laptop is sleeping). This is my first script eveo I'm a big newbie...The laptop battery is nonfunctional (I leave it plugged in all the time anyway). Not sure if that has anything to do with it.I installed FreeNX and NoMachine for remote desktop to Gnome. When I have a remote desktop session open on another computer it SEEMS to last longer between sleeping.I tried reading about ACPI and sleepstates and I'm totally lost. I downloaded some thing called ACPItool and ran it to get the following output:
[vortexbox.localdomain ~]# acpitool -e
Kernel version : 2.6.30.10-105.220090320 - ACPI version : 20090320
Battery #1 : present
[code]...
I am not new to linux, but brand new to wireless. I partined in Win 7, loaded Ubuntu 10.4 and seemingly on boot I am connected wireless as I am in Win 7. However the moment I open Firefox I am no longer on line. Its not important to discussion, but I am not a avid windows fan and at 80 Linux is my hobby having experienced 8-10 distros.So I hope someone out there has the patience to advise me. Thank you so much for reading my tale of woe
View 5 Replies View RelatedGNOME has an option "Spin down hard disks when possible"; is it ever possible? I'm using a netbook so I only have one drive and the operating system is on it. Is the operating system ever idle for more than a few seconds? If I spin down my SATA drive with sdparm it spins back up immediately. It's a 320GB 7200RPM drive; just wondering if I could save some battery life.
View 1 Replies View RelatedI am running OS 11.3 and I want to create a boot CD so that if my boot partition is moved I can still boot from the boot CD and re-initialize grub again. Is there some easy to use utility which will enable me to do this ?
View 3 Replies View RelatedI have a Dell Vostro 1400 with the Nvidia GPU running ubuntu 10.04. There is a problem with the GPU and dell has recommended that you upgrade your BIOS. I have the executable that can run from either dos or windows. The problem is, I can't boot the system long enough before the screen goes blank on me, my option is to boot from a USB disk to a dos command prompt and then execute the update. I have the file, I just need instructions on how to create a bootable dos disk using a USB pendrive.
View 1 Replies View RelatedI've spent the past several hours trying to determine how I can mount a Windows 7 ISO onto my USB drive using Ubuntu. I have followed this post, as it is the only thing that came up on Google after hours of searching (mostly it shows how to make a Ubuntu USB drive on Windows, not vice versa.)
Using the method in that post, it seems like I was successful. However, after a few seconds it gave me an error like this.
Code:
Load Driver
A required CD/DVD drive device driver is missing. If you have a floppy disk, CD, DVD, or USB flash drive, please insert it now.
Note: If the Windows installation media is in the CD/DVD dive, you can safely remove it for this step.