Ubuntu Servers :: No Boot Up With Added Lines To Fstab

May 11, 2010

I recently formatted my HDD and installed Ubuntu Server 10.04 x64. This is actually the 4th install in the past week because I was testing some things. But I had this problem on at least the previous install which made me want to start fresh again. The problem I'm having is Ubuntu will not boot if I add any of my drives to fstab. If I leave it with the standard proc, /, and swap lines it works fine. As soon as I add a line for one of my RAID arrays or an NTFS formatted partition the system hangs on bootup. It doesn't matter if I have the extra drives operating or not.

The last thing I see before it hangs is:
Code:
/dev/sda1: clean, 69351/4358144 files, 583945/17401600 blocks
Here is what the fstab currently looks like:

Code:
proc /proc proc nodev,noexec,nosuid 0 0
UUID=c62ac627-46a6-4fd5-87e8-4ae0d9185d53 / ext4 errors=remount-ro 0 1
UUID=c1cee1e4-f8ac-4555-a88b-f237afdedd27 none swap sw 0 0
/dev/md0 /mnt/raid5 ext4 defaults 0 0

The other two lines which also made it hang included one which was almost exactly the same as the /dev/md0 line except it was md1 with a different mount point and another which used a UUID and was ntfs-3g. I know they work because all 3 of them were mounted by "mount -a" after putting them into fstab and they're pretty much the same as what I was using with 9.04 server.

View 3 Replies


ADVERTISEMENT

Debian Installation :: Installed Vmlinuz And Initrd.gz (squeeze) In /boot/newinstallation And Added To Grub The Lines?

Sep 17, 2010

I have installed vmlinuz and initrd.gz (squeeze) in /boot/newinstallation and added to Grub the lines:titleNova Instalaçãoroot(hd0,0)kernel/boot/newinstall/vmlinuzinitrd/newinstall/initrd.gzNevertheless, when I choose this option at the grub, it begins to start the kernel vmlinuz and thus restart the system. The installed Debian Lenny boots in a normal way.

View 10 Replies View Related

Ubuntu :: HD Not Mounting Once Added To Fstab

Sep 29, 2010

I recently added myself a harddisk with one big ext4 partition on it. I tried to add it to my fstab file like so:

Code:
UUID=c41b529d-77ee-427c-82b3-dff16f2123a2 /media ext4 rw,user,noexec 0 2

But it is not doing what I intended, which was the partition showing up in my Places menu. It also doesn't appear in my /media folder. How to alter the command above so I could have the harddisk open and writable in my Places folder just like my system harddisk?

View 6 Replies View Related

Ubuntu :: Added HDD Corrupts Fstab?

Jan 31, 2011

I have added a new sata HDD and this caused my fstab to becoming corrupted. I opened the fstab within a live cd and I changed it to the new setup. But I am still getting an error.

My old setup:
sda on PATA
Windows 7
Linux /root
Linux swap

[Code].....

View 9 Replies View Related

Ubuntu Servers :: Stuck At Boot With Raid (non Boot) In Fstab = Useless?

Nov 1, 2010

Forgive the terseness. I'm frazzled with this issue, perhaps I should have asked earlier. Every weekend for the past 2 months has been an endless cycle of 'repair broken system' off the install disk.

Installed from Ubuntu server 10.04LTS x86_64, + xfce-desktop Here is uname -a Linux ournas 2.6.32-25-server #45-Ubuntu SMP Sat Oct 16 20:06:58 UTC 2010 x86_64 GNU/Linux If I add my raid + lvm to the fstab file, the boot stalls, (no error it, just hangs waiting, forever). So that's a not very user friendly to start with.

I've tried the suggestions about UUID in fstab tried using LABEL instead, or even /dev/xxx. Every time it hangs. I've googled this endlessly and not found a solution. So don't ask why... since I seem to have tried every odd suggestion to fix this, I've lost track. There seems to be some consensus that whoever gave us plymouth laid an egg. Forgive me if I'm wrong, but did we need a better graphical boot if it breaks everything else?

[Code]...

View 3 Replies View Related

General :: Fstab Added To RAID 0 - Server Cannot Restart

May 5, 2011

I made a software RAID 0. It works fine, but when I add it to fstab and reboot the server, I can't restart the server.
Code:
# cat /etc/fstab
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
tmpfs /dev/shm tmpfs defaults 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
sysfs /sys sysfs defaults 0 0
proc /proc proc defaults 0 0
LABEL=SWAP-sda5 swap swap defaults 0 0
/dev/md0 /vz ext3 defaults 0 0

When I go to rescue mode and delete /dev/md0 from fstab, I can restart, but I get this when I try to mount it again:
Code:
mount: you must specify the filesystem type

So I try to make it to a ext3
Code:
# mkfs.ext3 /dev/md0
mke2fs 1.39 (29-May-2006)
mkfs.ext3: Device size reported to be zero. Invalid partition specified, or partition table wasn't reread after running fdisk, due to a modified partition being busy and in use. You may need to reboot to re-read your partition table.
#fdisk /dev/md0
Unable to read /dev/md0

View 4 Replies View Related

Ubuntu Servers :: Unreachable /etc/fstab Cifs/smbfs Mount Halts Boot?

Jan 16, 2011

I have the following two lines at the bottom of my /etc/fstab

Quote:
//172.16.6.15/e /tmp/e cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
//172.16.6.15/e/Public /var/www/index/pub cifs _netdev,iocharset=utf8,credentials=/root/.smbcredentials,gid=0 0 0
My server address is 172.16.6.1.

If the destination (which is my workstation desktop) 172.16.6.15 is offline when the server tries to boot, the entire boot procedure halts with the following message: Unable to find suitable address. mountall: mount <destination> terminated with status 2 The problem is that my server runs headlessly, and every time something silly like this happens where you'd normally expect the OS to continue regardless, I'm forced to plug a monitor in and diagnose on console

So my question: Is there any way to make it proceed with the boot normally despite the host being unreachable? I could probably chuck a mount command into crontab or /etc/rc.local or a /etc/network/if-up.d script, but isn't this the way it really should be done (/etc/fstab)? If so, then we shouldn't expect the entire boot to halt just because a network share can't be mounted, right? While on the topic of a headless ubuntu server 10.10 not booting without some kind of intervention, I have yet another issue: If the server goes down without proper shutdown (power failure, for example) the grub menu displays the kernel choices and there's no countdown timer. Instead, I have to manually press enter to continue the boot. Is there any way around this? Clearly this should not be the case for a server distribution

View 3 Replies View Related

Slackware :: Cant Shutdown Or Reboot / After Copied The Rc Script To Rc.d & Added Lines In Rc.local To Start The Script?

Oct 10, 2010

I just happen to have a glitch with my newly rebuild slackware server. This morning everything was working fine. Then having recently setup raid arrays, I decided to try MrGoblin's rc.mdadm script to monitor the raid arrays.

I copied the rc script to rc.d & added lines in rc.local to start the script, and a line in rc.6 to stop the script when shutdown or reboot.

Now, I cant reboot neither I can shutdown...

If I issue the command "shutdown -r now", Slack execute the normal shutdown or reboot steps, unmount the local FS, turn off swap, remount the rootdev as readonly, and then I see:

Code:

Mdadm monitor not running:INIT: no more processes left in this runlevel & it stalls at this point forever...

Before the machine would have rebooted after this line. What could explain this? Now I have to hard power down or reset the machine, and of course, upon rebooting I get a REISERFS warning of unclean shutdown...

Content of the rc.local:

Code:

#!/bin/sh
#
# /etc/rc.d/rc.local: Local system initialization script.
#
# Put any local startup commands in here. Also, if you have
code....

View 2 Replies View Related

Ubuntu Servers :: Added New Secondary Hard Drive

Apr 25, 2010

I am running Ubuntu Server and I recently added a new hard drive to the mix. Not replacing the old one, but adding a second one.What I want to know is how to I access that hard drive? I know in the desktop version it auto adds it, but not in the server version I checked my media folder.I installed it to be my new Samba share hard drive. So how to I get at it to use it?

View 2 Replies View Related

Ubuntu Servers :: Aptitude Wanting To Remove Packages Added With Apt-get?

Jan 6, 2011

Seems like always if I add a package with apt-get, next time I use aptitude to update packages on a server, the packages I added with apt-get are automatically marked for removal.

I must, in aptitude, "forget new packages" and "cancel pending actions" then update the package list, remark packages needing updating, THEN aptitude has forgotten it wanted to remove packages.

Why can aptitude and apt-get NOT get along!?

Currently I have 10.04 on all servers, thus where it still is a problem.

View 2 Replies View Related

Fedora Servers :: Backing-store Does Not Get Added

Jul 22, 2011

I just started playing with iscsi and have some issues.

This below works great (I can connect to this new device from my clients):

Code:
tgtadm --lld iscsi --op new --mode target --tid 1 -T iqn.2011-07.home.joma:jomamgmt01.data
tgtadm --lld iscsi --op new --mode logicalunit --tid 1 --lun 1 -b /dev/sdb
tgtadm --lld iscsi --op bind --mode target --tid 1 -I ALL

[Code].....

The backing-store does not get added.

View 3 Replies View Related

Ubuntu Servers :: Allow Deluge To Access Torrents Added To Samba Share

Jun 22, 2010

I'm trying to set up the following "server" system. (I say "server" because I'm really running ubuntu-desktop 10.04 LTS):

I have set up Samba and allowed guest access to my /media/Share/data using Windows 7. Everything works great, I can create folders, add files, etc. However I noticed that when I add files or folders via my mapped drive in Windows 7, it defaults to permissions that do not allow Deluge to access them. I realized that if I go back to the server and give it

Code:
sudo chmod 0777 /media/Share/data/(folder or file)

Deluge can now access the files. I don't want to have to modify permissions every time I add a new torrent to Deluge's watch folder which is /media/Share/data/Torrents.

How do I configure Samba (or linux, or windows) to give rwx permissions when I add a file or torrent via windows? And vice versa, if deluge downloads a file and moves it to completed downloads (which I haven't been able to get this far yet) will I be able to access it via Windows 7?

View 3 Replies View Related

Ubuntu Installation :: U64 And Win64 - Boot From Added SSD

Jan 23, 2011

I have been using Ubuntu since 8.04. I am about to receive a new PC made with the new Intel i7-2600 processor. I want to use it for video editing in Ubuntu but would like to keep the Win install also. The PC has a 1TB drive with Win7 installed. I want to add an 32GB SDD drive as my boot drive with Ubuntu 10.10-64. I want to add a 3rd drive - 1 TB for data store of large video files.

Questions:
1. do U64 and W64 play well together?
2. Can U64 boot from the SSD drive?
3. Should I install Grub on the ssd?

View 3 Replies View Related

Fedora Servers :: Junk Added To HTML Files (HTTPD / VSFTPD)

Feb 16, 2011

I've just upgraded my serv from fedora8 to fedora12 and got a problem. The httpd and vsftpd add a junk in the beginning of html files. Png, tar and other files are ok. When I make a request to localhost everything is ok.

Code:
#telnet localhost 80
GET /1.html
<html>
</html>
but from any other computer.

Code: .....
But this is not an apache problem. When I dl html files from ftp I got the same problem. Iptables is swithed off.

View 6 Replies View Related

Ubuntu Installation :: 8.10 Added As Dual/boot To 9.10 - Killed 9.10?

Mar 23, 2010

Have amd64 with 8.10 upgraded twice to 9.10 that hangs at "mountall:job failed to start, could not access PID files---ect,ect,starting timidity--alsa midi emulation" after installing ultimate 2.0 (8.10) as the secound OS. still will boot to ultimate 2.0, but booting to any version of original install results in above crash.Anyone know what is broken? Boot seems to start but then crashes at the above mentioned line.

View 4 Replies View Related

Ubuntu Servers :: VirtualBox - Partitions In Fstab Hosed

Jun 23, 2010

Every time my kernel is upgraded (happens often), I reboot and forget to reinstall the VirtualBox guest additions, so my partitions in fstab that use vboxsf (for shared folders) are hosed.

View 1 Replies View Related

Debian Hardware :: Workstation Does Not Boot When Added RAM

Dec 11, 2015

I have an hp z420 workstation. I bought 8x4Gb of 1600MhZ, ECC unbuffered memory.

Something weird happens now: I tested each individual RAM module by booting my machine with only that module inserted. They are all fine.

However, when I insert all of them, my machine does not boot (and the fan goes crazy).. In particular, the problem happens when I insert any RAM module into a specific slot.

Right now I am using my machine with 7x4Gb of ram, and it is fine. Does it mean I have a hardware problem with one of the sockets?

View 8 Replies View Related

OpenSUSE Install :: Can Swap Space Added After Boot Be Used?

Apr 15, 2010

I found what I believe to be odd behavior on an OpenSuSE 11.0 computer today. I needed to add some disk space on one of our computers and here is what I did: This computer had a separate disk for swap space so I deactivated swap (swapoff -a) and then removed the swap entry from /etc/fstab. I then shut down the computer and replaced what was a single disk used only for swap with a RAID1 hardware mirror.

I then booted the system and added a swap partition and another file system on the new RAID1 volume. Even after activating the new swap space with swap on, no swap ever seems to be actually allocated. The swap space shows up in top, free, "swap -s" and vmstat, but never gets used. I realize that a reboot will result in the swap being used, but is there anyway to get the kernel to use the swap without a reboot.

It's probably worth noting that I verified this behavior on a second computer. That is I turned off swap, removed the swap entry in /etc/fstab and then rebooted. Swap is never actually allocated until a second reboot. By the way, this was discovered when some of our users attempted to run java on the system where I did the first work and they got:

prompt> java -version
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

Yesterday, java was working fine and I got the same results on my test computer. Is this a kernel bug or just odd behavior?

View 4 Replies View Related

Ubuntu :: Won't Boot When Add Hd To Fstab

Apr 23, 2010

I have an external hdd that I have added to the fstab so it will mount when I boot. But every time I add the line to fstab and reboot, it hangs during the boot process and says something about ureadahead-other status 4. here is my line in fstab..

/dev/sdc1 /NAS ext3 defaults 0 0

Is there anything wrong with that? I couldn't remember what fs I chose when I formatted it so I did "sudo parted /dev/sdc print" and it said it was ext3.

View 2 Replies View Related

Ubuntu Servers :: Mount Works But Fstab Entry For Same Server Doesn't?

Jul 28, 2011

Code:
192.168.0.133:/openils /openils nfs4 rw,_netdev,auto 0 0
fails to mount the nfs4 share, however

[code]...

View 6 Replies View Related

Fedora Servers :: Mount Errors From Fstab - Used To Work?

Aug 19, 2011

I have two mount points that used to work. I have them defined as cifs shares in fstab, and they map to a Windows machine, which I am able to ping from my Fedora machine, but for some reason I get a mount error 2, and the destination is not accessible. The man page doesn't really give any troubleshooting steps. Since I am mounting by IP address (which as I said has worked before), nothing has changed, although the IP address did change, which I updated in the fstab file to the new IP address (and since I have reserved this new IP address so it can't change again!)

I ran a test and shared a folder from another one of my computers, and added a line in fstab to auto-mount that, and I get a "permission denied" error 13, which is different than the error 2 I get on the other 2 shares. What should I be looking for as far as actual connectivity between the machines? I have verified that the windows machine is on and I can access the same shares from another computer.

Update: Added the host and IP address to my hosts file, and replaced the IP address with the name, and still get the same error. Also, the share name has a space in it, so I replace that with a "�40" space character (which worked in the past). I tried replacing that with an actual space, and putting quotes around the URL, but then I get a "bad URL" error.

[Code]..

View 5 Replies View Related

Debian Installation :: Boot DVD Don't Work - Jessie With Added Firmware

Jul 10, 2015

I would like to upgrade from Win8.1 to Debian 8. This post might require some Wind expertise as well. I have to deal with the dreaded UEFI interface.

I got the iso with the added firmware from here: [URL] ....

The i386 download and it appears to be 334 MB. I pretty got it because I don't want to mess with the wireless controller (been there done that.)

As far as the Wind side goes I disabled secure boot. Just whenever I get to the fancy blue screen, I select boot from EFI DVD. Then it just says it can't load it and asks if I want to continue loading the OS. This might be useful I used the default Desktop Burning Gadget to burn the disk image.

View 14 Replies View Related

CentOS 5 Hardware :: 5.3 - 4Gb RAM Added - Boot Fails - Can't See Login Screen

Jul 9, 2009

I have a Dell precision 380 (system specs can be found here: [URL]. My system is set-up in dual boot configuration with Windows Xp x64 on one side of my HD and CentOS 5.3 (64bit) on the other. My system came with 2Gb (2 x 1Gb) of RAM and I recently wanted to upgrade. I bought 2 x 2Gb ELIXER DDR2 667Mhz RAM. I carefully added the new sticks to my motherboard, booted up windows via bios which noticed the new RAM was present. All seemed well.

However, on rebooting the system and entering the CentOS boot phase, after the boot phase (eg starting program... [ok] etc) but before the login screen my screen goes black / blank. My system has an ATI FireGL v3100 graphics card, I checked out the technical info on this and it should be ok on 64 bit linux. (See: [URL])

[Code]....

View 8 Replies View Related

Ubuntu :: Fstab Not Mounting Fat At Boot?

May 5, 2010

I'm puzzled as to why this fstab isn't working:

Code:
# /etc/fstab: static file system information.
#

[code]...

View 3 Replies View Related

Ubuntu Installation :: Bad Fstab Will Not Boot

Sep 2, 2010

I made a mistake in my fstab. I know what the problem is and how the fstab needs to be changed. However, since the system will not boot I'm having diffeculty getting in to edit it.The system is running Ubuntu 10.4 64 Bit with LVM2.I have both 10.4 64Bit Server and 10.4 32Bit Desktop cds currently and could burn others if needed. With 32Bit Desktop I'm able to get to a live cd prompt but my hard disks are not mounted.if I try mounting /dev/sda5 to a dummy directory I created it tells me it doesn't know the type of 'LVM2_member'.

View 5 Replies View Related

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

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

Ubuntu :: Trying To Add RAM Disk But Fstab Fails To Boot

May 26, 2010

I was able to successfully create a small, fixed-size "ram disk" just for kicks, via:

Code:
sudo mkfs -t ext3 -q /dev/ram1 65536
sudo mkdir -p /media/ramdisk
sudo mount /dev/ram1 /media/ramdisk -o defaults,rw
However, I wanted it to auto-boot, so I added the line to fstab:

Code:
/dev/ram1 /media/ramdisk ext3 defaults 0 0

This, however, rendered Ubuntu unbootable and I had to repair the fstab by removing the line via a Live CD. I had enough patience to boot through the CD an extra time to see if just deleting "ext3" would work, but it did not. What would cause this to make the system unbootable and how I could make it work?

View 5 Replies View Related

Ubuntu :: Changed Fstab Now Can't Even Boot Into Recovery

Sep 1, 2010

[URL] and instead of a fat32 I added a ntfs 2 tb hd to my computer. But it doesnt like it, so now when I boot I get

init: ureadahead-other main process (1234) terminated with status 4

I searched and people are mentioning logging into the terminal and what not, but I cant get to a terminal so that kind of silly. People also talking about updating their video cards for this issue, which also is not my problem.

View 4 Replies View Related

Ubuntu :: Boot Fail 10.04 Wine Etc/fstab

Dec 29, 2010

No Boot started w/auto check of drives and it failed on my Virtual C: drive. I know,... but I edited /etc/fstab and now I have nothing available to get a command line. I have grub2 and don't know how or can't get to a boot menu either. Is this a reinstall?

View 9 Replies View Related







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