system crashes at boot

Post Reply
mister_v
Posts: 143
Joined: Sat Jun 20, 2009 5:42 pm

system crashes at boot

Post by mister_v »

I have a virtual Linux server,
that failed to boot because a disk is not connected.
But it is just for the backups, so nothing critical on it.
Why can't it boot and just warn me.
Problem is, because it doesn't do a full boot. I can't ssh to it.
Chris
Site Admin
Posts: 132
Joined: Mon Jul 21, 2008 9:45 am
Location: Leuven, Belgium
Contact:

Re: system crashes at boot

Post by Chris »

Sure it is crashing because of disk ?

You can disable mounting the disk in /etc/fstab
Just comment it out with #
or you can add noauto, so it doesn't mount at boot.
like for a cd-rom

Code: Select all

# Device        Mountpoint      FStype  Options         Dump    Pass#
/dev/cd0        /cdrom          cd9660  ro,noauto       0       0
Or you can add nofail, so it does not report errors for this device if it does not exist.

Code: Select all

# Device        Mountpoint      FStype  Options         Dump    Pass#
UUID=1234fd-54d2-4890-84b-da4efd72 /media/Data1 ext4 defaults,nofail 0 0
Post Reply