LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2017, 07:18 AM   #1
chambo
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Rep: Reputation: Disabled
Centos 7 fail to boot with message type control-d to continue


Hi,
My root directory was running out of space, after googling I learn that I could extend my root directory by using on of the unused partition. For my case i had /home which is not utilized and had enough space
Unfortunately the system fails to start with message
Give root password for maintenance or type control-d to continue

My questions
i) is it not recommended to use /home to extend root directory ?
ii) How can i solve booting problem ?

Regards
Chambo
 
Old 11-09-2017, 07:28 AM   #2
yancek
LQ Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 7,631

Rep: Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462Reputation: 1462
In order to extend a partition you would need to extend into contiguous space so post the output of either of these commands run as root:

Quote:
fdisk -l
parted -l
That should enable someone to offer a suggestion. You will need to do this from a Live CD or usb drive as you cannot modify mounted partitions.
 
Old 11-09-2017, 07:38 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 16,834

Rep: Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079Reputation: 2079
It depends on how your drive was partitioned and what filesystems you are using.

What steps did you take to increase the size of your / (root)?

By default CentOS7 creates 2 partitions i.e. /boot and a LVM that contains / (root) and swap. In addition they are formatted as xfs which can not be reduced.
 
Old 11-09-2017, 11:26 AM   #4
acescript
LQ Newbie
 
Registered: Jul 2017
Location: Lagos
Distribution: Red Hat
Posts: 12

Rep: Reputation: Disabled
Be careful when modifying your partition as you might lose your important data. If you're not the current user you would not be allowed to access another user's directory unless you have the permission. Only the 'root' user has permission to access any directory by default.

All users have /home directory, even, the root. At what point is the system requesting for root password? Is your system able to boot and load the OS into desktop environment?

If you've problem loading the OS, you might have tampered with the boot loader. Check and correct the grub.conf file with a live CD. Or use a live CD to get the content of the grub.conf file and display for more assistance.

Post the outputs of the commands from @yancek comment, then, you'd have further assistance.
 
1 members found this post helpful.
Old 11-11-2017, 04:46 AM   #5
chambo
LQ Newbie
 
Registered: Feb 2017
Posts: 2

Original Poster
Rep: Reputation: Disabled
I'm grateful for your response,
This one the servers in our office fortunately it was not in operation
therefore my colleagues decided to reinstall


I'm very sorry for this inconveniences

Thank you

Regards

Chambo
 
Old 11-11-2017, 05:22 PM   #6
acescript
LQ Newbie
 
Registered: Jul 2017
Location: Lagos
Distribution: Red Hat
Posts: 12

Rep: Reputation: Disabled
Hi Chambo,

Quote:
This one the servers in our office fortunately it was not in operation
therefore my colleagues decided to reinstall
Were you referring to the former system that you wanted to extend its partition?

However, if you've resolved the issue, that's fine which is the reason we are out here to help, so there's no need to say

Quote:
I'm very sorry for this inconveniences
As I always say, formatting is not always the solution but if you must format, make sure you backup your files properly.

Hope this helps.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Give root password for maintenance (or type control-D to continue) rutacele Linux - Newbie 3 12-04-2012 09:40 AM
Press enter for maintenance (or type Control-D to continue) scg03 Linux - Newbie 2 10-05-2008 12:24 AM
or type Control-D to continue knobby67 Linux - Hardware 4 06-23-2008 02:09 PM
Boot Fail Message patopatasfrias Linux - Software 6 03-12-2006 08:35 PM
remove "or type Control-D to continue"? regavoga Linux - General 4 01-03-2005 06:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:56 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration