Skip to content

ram boot method fails #16

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. Create a CentOS 6 x86_64 chroot
2. Install nfsroot
3. Attempt to boot using method ram

What is the expected output? What do you see instead?
I expect to see nfsroot boot succesfully. Instead the init process fails with 
"copy failed, giving up - please fix the world and reboot me".

What version of the product are you using? On what operating system?
nfsroot-3.17-1.x86_64.rpm with CentOS 6 x86_64

Please provide any additional information below.
This appears to be because rc.nfsroot-ram is rsyncing all of / without 
excluding /proc and /sys, and rsync is returning a non-zero exit code (errors 
while attempting to copy these files). Excluding the rsync of /proc and /sys, 
and mounting /proc and /sys under /writeable instead seem to resolve this 
issue. Attached is a patch for this issue, though you may want to tweak it.

Original issue reported on code.google.com by preston....@gmail.com on 13 Feb 2013 at 1:42

Attachments:

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions