Sorry- I went back and re-read your first post.
Is this what your still getting? Code:
dracut-initqueue[257]: Warning: Could not boot. |
Quote:
I'm pondering on this: https://www.centos.org/docs/5/html/5...etup-info.html |
Quote:
http://i.imgur.com/nh5V3rc.jpg Quote:
http://i.imgur.com/9VyjSl6.jpg EDIT: As a reminder, I did follow a few steps in the tutorial I linked. Perhaps that may have something to do with it? In the tutorial I linked (https://www.digitalocean.com/communi...ap-on-centos-7), I was unable to move past the following step: "Our swap file is now ready to be used as a swap space. We can begin using it by typing: Code:
sudo swapon /swapfile Code:
swapon: /swapfile: swapon failed: Invalid argument |
ASAIK the swap holds the tmp memory pages.
A server can boot w/o a swap partition as long as there is enough RAM.-:) If you continue to have this problem you may want to consider using gparted live and create a swap partition. I can walk you through that if need be. Did you do all of these steps? Code:
- mkdir /swapfile I'm not sure why the swap file/partition is in a suspended state and I don't know how to get it out of the suspended state that it's in; sorry. http://www.linux.com/community/forum...argument/22674 Maybe our Guru; jefro will know. |
Ztcoracat finds things that I can never figure out.
These are the thoughts I have however. Cloning was always a non-useful way to make a new system. It really still has a number of drawbacks. The general statement is you need to make things generic before you move otherwise you will have to fix any specific reference later. An issue here seems to be that you cloned a raid of some kind. Is that right? (or LVM I mean) No, most people don't need a swap file/partition just to get it running. Current notion is that it can't hurt to have it. Be sure you understand file and partition in the use of swap by the way. Look at it more with dmsetup. https://access.redhat.com/documentat...n/dmsetup.html Keep reading each page and next 10 or so. |
Quote:
Quote:
No, no RAID. Just one lonely 200GB drive. Will do. I'll keep looking into a solution, and if all else fails, I'll be relying on Ztcoracat's help in using gparted. Thanks to all 3 of you for all the effort you've put in thus far. |
Your Welcome.
Gparted is a pretty easy partition manager to work with. -::-If you find that it comes to a last resort I'd be happy to give you the details and help you make a swap partition.-::- |
Quote:
I've installed gparted, and was about to go through the steps of creating a swap partition, but was greeted with this beauty upon firing it up: http://i.imgur.com/2cts72M.png EDIT: Ran a parted -l command, and this is the output: Code:
sudo parted -l |
It's the ugly side of clones. :)
You used dd command to clone it didn't you? Still a mapper issue. Must be a newish install if it had xfs. At this point you could have performed a clean install. |
No, your right the math does not make sense.
If 232 GB is unallocated than that would imply that you have a 18 GB file system of some sort. 245 GB = (85.9 allocated to xfs fs and 160 GB to the centos root) would; based on your 250 GB HDD would indicate that there is 5 GB of unallocated space. This misconfiguration is most likely (I'm suspicious/suspecting) that's why you couldn't create a swap. Quote:
The only way to manipulate that partition and create a swap partition is to use gparted live. -::::-Unless you have another os on that HDD that you can use gparted in to manipulate the CentOS partitions.-::::- |
Quote:
Ugly indeed:- I have always performed fresh installations and had complete success.-:) |
It doesn't look like the way thing have gone that the cloning process worked.
-::-Had the cloning process been successful than gparted would reflect what parted -l is showing.-::- To avoid frustration and more possible errors and boot failure a fresh installation is the best way to go.-:) |
Quote:
Quote:
So what is done in situations where drives need to be cloned as they are? Say, for example, you are working with multiple machines and want to clone them from a single machine? Or you want a physical backup of a drive? Or simply can't be asked to install every package, codec, etc. every time? Do you guys have any readings in regards to cloning in linux? I'd like to attempt to reclone this drive from the original, and get a handle on that process. |
There might be some articles about cloning in our "Tutorials" section take a look there when you have the time.
https://www.linux.com/learn/tutorial...ith-clonezilla http://www.tecmint.com/linux-disk-cloning-tools/ https://wiki.archlinux.org/index.php/Disk_cloning Read here where it says Falls Short so you can be aware of what Clonezilla does. (doesn't have a partition mgr) http://lifehacker.com/5891933/the-be...-app-for-linux Hope that helps. |
I'm back - stubborn as ever.
So I attempted to clone the disk once more using gparted, and it worked fine. Code:
sudo dd if=/dev/sda of=/dev/sdc bs=4K conv=sync,noerror Code:
lvs -a So now, the logical next step would be looking into trying to activate the swap. I've already attempted to activate it with the following command. and got the consequent output: Code:
lvchange -a y centos |
All times are GMT -5. The time now is 06:55 PM. |