Server wont boot

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
BawkLeo
New to forums
New to forums
Posts: 4
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Tue Nov 19, 2013 5:08 pm

Server wont boot

Post by BawkLeo »

I cant get my server to boot up and i get this error in console...

Image
User avatar
Edge100x
Founder
Founder
Posts: 13109
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Server wont boot

Post by Edge100x »

CentOS is very picky about the contents of /etc/fstab and checks for the existence of all partitions listed there. From your error, it looks as though /dev/sdb1 is in /etc/fstab but isn't valid in the system (/dev/xvdb1 is probably what should be listed, instead).

I've seen this happen when SSD space is added or removed and the file isn't edited at the same time.

I recommend entering the root password, then remounting rw and editing /etc/fstab to change any line starting with /dev/sdb1 to /dev/xvdb1. If that doesn't work (after another boot), then try removing it completely.

remount -o remount,rw /
vi /etc/fstab
BawkLeo
New to forums
New to forums
Posts: 4
Joined: Tue Nov 19, 2013 5:08 pm

Re: Server wont boot

Post by BawkLeo »

how exactly am i suppose to edit it, It says error writing fstab: read only file system
User avatar
hiimcody1
Former staff
Former staff
Posts: 1616
Joined: Wed Dec 28, 2011 4:59 pm

Re: Server wont boot

Post by hiimcody1 »

I recommend entering the root password, then remounting rw and editing /etc/fstab to change any line starting with /dev/sdb1 to /dev/xvdb1. If that doesn't work (after another boot), then try removing it completely.

remount -o remount,rw /
vi /etc/fstab
Jamy
A semi-regular
A semi-regular
Posts: 17
Joined: Thu Nov 14, 2013 3:36 am

Re: Server wont boot

Post by Jamy »

Instead of

Code: Select all

remount -o remount,rw /
vi /etc/fstab
try this:

Code: Select all

mount -o remount,rw /
vi /etc/fstab
BawkLeo
New to forums
New to forums
Posts: 4
Joined: Tue Nov 19, 2013 5:08 pm

Re: Server wont boot

Post by BawkLeo »

Jamy wrote:Instead of

Code: Select all

remount -o remount,rw /
vi /etc/fstab
try this:

Code: Select all

mount -o remount,rw /
vi /etc/fstab


the last one worked thank you!
Jamy
A semi-regular
A semi-regular
Posts: 17
Joined: Thu Nov 14, 2013 3:36 am

Re: Server wont boot

Post by Jamy »

Happy to help.
User avatar
Edge100x
Founder
Founder
Posts: 13109
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Server wont boot

Post by Edge100x »

Shoot, I did mistype that. Thanks, Jamy.

That's what I get for typing from memory when I'm tired, without double-checking!
Jamy
A semi-regular
A semi-regular
Posts: 17
Joined: Thu Nov 14, 2013 3:36 am

Re: Server wont boot

Post by Jamy »

I cant blame you, you are helpful enough as it is.
User avatar
hiimcody1
Former staff
Former staff
Posts: 1616
Joined: Wed Dec 28, 2011 4:59 pm

Re: Server wont boot

Post by hiimcody1 »

Edge100x wrote:Shoot, I did mistype that. Thanks, Jamy.

That's what I get for typing from memory when I'm tired, without double-checking!
Least you weren't the guy that quoted it, bolded it, and STILL missed it.
Jamy
A semi-regular
A semi-regular
Posts: 17
Joined: Thu Nov 14, 2013 3:36 am

Re: Server wont boot

Post by Jamy »

hiimcody1 wrote:
Edge100x wrote:Shoot, I did mistype that. Thanks, Jamy.

That's what I get for typing from memory when I'm tired, without double-checking!
Least you weren't the guy that quoted it, bolded it, and STILL missed it.
Where's the +1 button?


PS: Least he wasn't the guy that requoted something wrong

(Just playing)
Post Reply