LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-20-2012, 11:16 PM   #1
SaveVM
LQ Newbie
 
Registered: Apr 2012
Posts: 11

Rep: Reputation: Disabled
Resized Filesystems & LV's via RescueCD Can't Boot OS


So, it all started when I had my root fs at 50GB and my /home fs at 15GB.
I needed more room on /home so I asked management to do it for me.
They made root 15GB and home 50GB.
My mistake was I didn't pay attention to when they were doing it and had 16GB of files on the root partion.
My CentOS server crashed and would not boot past the loading screen.

So now it's the weekend and won't hear a response for another few days.
I tried using system rescue cd combined with these two tutorials to try and fix things.
http://paulpodolny.blogspot.com/2011...artitions.html
http://www.howtoforge.com/logical-vo...a-volume-group

I made root 20GB and /home 40GB.

It all looked well from there, but when I try and restart my VM I get the same thing.
CentOS wont load past a full white bar loading screen.
No SSH, just vSphere and me.

Please help.
 
Old 05-15-2012, 11:37 AM   #2
djsoundfx
Member
 
Registered: May 2008
Distribution: Gentoo, Ubuntu, RHEL, CentOS, BSD, Solaris
Posts: 82

Rep: Reputation: 23
Quote:
Originally Posted by SaveVM View Post
So, it all started when I had my root fs at 50GB and my /home fs at 15GB.
I needed more room on /home so I asked management to do it for me.
They made root 15GB and home 50GB.
My mistake was I didn't pay attention to when they were doing it and had 16GB of files on the root partion.
My CentOS server crashed and would not boot past the loading screen.

So now it's the weekend and won't hear a response for another few days.
I tried using system rescue cd combined with these two tutorials to try and fix things.
http://paulpodolny.blogspot.com/2011...artitions.html
http://www.howtoforge.com/logical-vo...a-volume-group

I made root 20GB and /home 40GB.

It all looked well from there, but when I try and restart my VM I get the same thing.
CentOS wont load past a full white bar loading screen.
No SSH, just vSphere and me.

Please help.
My worry is that you lost some data when you resized... you did perform a backup before you started right?
But don't cry yet it is likely fixable with enough time and effort. We need logs can you post the contents of /var/log/boot.log and /var/log/dmesg. If you're having trouble accessing these either use a live cd or modify your grub loader by doing the following:
Code:
Boot to run level 3: interrupt GRUB by typing a character such as space (if necessary) Then appending to the kernel line by typing "a" and appending "3"(without "") press <enter>. If it worked this should give you a text login prompt. You can also backspace through "rhgb quiet" on the kernel line to get more verbose boot output as suggested above in conjunction with any of those (basically it shows you screen output of what would be in the boot.log)

If that doesn't, boot to single user mode by interrupting GRUB by typing a character such as "space" then appending to the kernel line by typing "a" and appending "1"(again without the "") press <enter>. Which will give you a root shell.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
openSUSE won't boot after I resized its partition - grub2 related Mountain Linux - General 18 11-09-2009 01:42 PM
Create a RescueCD for your Slackware installation! perry Slackware - Installation 6 09-22-2007 08:42 AM
Resized Linux Partition on Dual Boot - Lost Boot RationalRabbit Linux - Newbie 14 12-29-2005 01:02 AM
partitioning, RescueCD, SATA harddisk moonmoth Linux - Newbie 1 07-27-2005 08:37 PM
Using RescueCD to Transfer Data... BS Hall Linux - Newbie 2 07-18-2005 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 03:34 AM.

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
Open Source Consulting | Domain Registration