LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   booting problem (https://www.linuxquestions.org/questions/linux-newbie-8/booting-problem-4175428918/)

mmjaboor 09-25-2012 03:35 AM

booting problem
 
hi every one
i had restored a linux image to hard disk but a booting problem exist

an error occur during the file system check 0-15000
give password for the maintenance



i know the problem is in two existing logical volumes since when issuing :

#lvs or vgs (any lvm command) this output produced .
locking type -1 initialization failed

i can e2fsck the first lvm but the other donnot

nijinashok00 09-25-2012 01:04 PM

It may be the error with the /etc/fstab file. Give your root password and enter into the maintenance mode. Since the / mounts by default loads a read only you cannot edit the file. So you have to remount it to write using this command

mount -o remount,rw /

Then enter into the fstab file using vim editor and look at the last column. You can see different numbers in it. It is the order at which system checks file system during booting. Most probably /boot will be having a number 1 which means that the partition corresponds to /boot checks first during booting. Find your logic volumes entry in this file and change the last column to 0 so that system will not checks file system during booting.


All times are GMT -5. The time now is 01:42 PM.