
Server wont boot
-
- New to forums
- Posts: 4
- https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
- Joined: Tue Nov 19, 2013 5:08 pm
Server wont boot
I cant get my server to boot up and i get this error in console...


Re: Server wont boot
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
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
Re: Server wont boot
how exactly am i suppose to edit it, It says error writing fstab: read only file system
Re: Server wont boot
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
Re: Server wont boot
Instead of
try this:
Code: Select all
remount -o remount,rw /
vi /etc/fstab
Code: Select all
mount -o remount,rw /
vi /etc/fstab
Re: Server wont boot
Jamy wrote:Instead of
try this:Code: Select all
remount -o remount,rw / vi /etc/fstab
Code: Select all
mount -o remount,rw / vi /etc/fstab
the last one worked thank you!
Re: Server wont boot
Happy to help.
Re: Server wont boot
Shoot, I did mistype that. Thanks, Jamy.
That's what I get for typing from memory when I'm tired, without double-checking!
That's what I get for typing from memory when I'm tired, without double-checking!
Re: Server wont boot
I cant blame you, you are helpful enough as it is.
Re: Server wont boot
Least you weren't the guy that quoted it, bolded it, and STILL missed it.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!
Re: Server wont boot
Where's the +1 button?hiimcody1 wrote:Least you weren't the guy that quoted it, bolded it, and STILL missed it.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!
PS: Least he wasn't the guy that requoted something wrong
(Just playing)