Re: Can't re-create initrd

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

 



And the machine pxeboots successfully with the original unmodified initrd?

You could get a serial crossover cable get enhanced console logging
that way, I have used serial before, just not on normal home type
machines.

You could also make only tiny modifications of the initird (ie adding
the sleeps to the linuxrc and/or init script so can see the output --
depending on which this initrd uses).

On Sat, Oct 11, 2014 at 4:48 PM, CLOSE Dave
<Dave.Close@xxxxxxxxxxxxxxxxxx> wrote:
> Roger Heflin wrote:
>
>> it is failing to find the root device.
>>
>> If the root device is initrd then that should be found, since you
>> are modifing the initrd you may add a few more commands to it.
>> ...
>> if the root device is elsewhere it is not finding that.
>
> Eventually, I want to modify the initrd. But first I want to find a
> working procedure to create the revised version. So, without changing
> anything, I'm trying to recreate the initrd. If I can't get an
> unmodified version to work, I probably have no hope for a modified one.
>
> My current command sequence is,
>
>    # mkdir newrd; cd newrd
>    # unxz <../initrd.img | cpio -im
>    # unxz <../initrd.img | cpio -it | cpio -oc | xz >../initrd2.img
>
> The result is slightly smaller than the original. lsinitrd shows both
> images to have exactly the same content in the same sequence but with
> different timestamps on directories and links.
>
> Without changing the PXE instructions, either the kernel or the append
> lines, I move the new file on top of the original and try to PXE boot.
> That's when it fails. It does appear to find the root as several screens
> worth of messages fly by. The last few I see make reference to sda and
> sdb (the target has two disks). But I can't read fast enough to see the
> last messages before the kernel panic (which fills the screen).
> --
> Dave Close
> --
> users mailing list
> users@xxxxxxxxxxxxxxxxxxxxxxx
> To unsubscribe or change subscription options:
> https://admin.fedoraproject.org/mailman/listinfo/users
> Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
> Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
> Have a question? Ask away: http://ask.fedoraproject.org
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux