Re: Having a hard time copying root filesystem to new drive...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel B. Thurman wrote:
Sigh... I pulled an all-nighter trying to copy my existing root filesystem
onto a new drive due to running out of filesystem space.  Seems that
I was able to cp -a the existing drive to my new filesystem partition,
was able to properly setup the fstab, relabel, and so on, was able
to see grub working but when it came to starting up the new drive,
I get the following errors:

....blah....blah
Uncompressing Linux... Ok, booting the kernel.
Red Hat nash version 6.0.19 starting
Unable to access resume device (LABEL=SWAP-sda3)  <- have to rebuild the initrd file....
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory
setuproot: error mounting /proc
setuproot: error mounting /sys: No such file or directory
switchroot: mount failed: No such file or directory
[hang]

What am I doing wrong?
More importantly, what is the proper procedure in making a copy of your
existing root filesystem onto a new drive partition?

Thanks!
Dan



If you used LVM partitions, you only need to add another partition to that partition. Then grow the file system.

If you have not used LVM, then look at splitting your partitions around and going from there. How much space and what partitions do you have.

I normally put my home on a separate drive and then put the OS on it's own drive.

Can you supply a df -h of your system?



--
Robin Laing

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux