[Buildroot] Udev on a live CD system does not appear to populate /dev
Stefan Fröberg
stefan.froberg at petroprogram.com
Sat Nov 17 22:54:17 UTC 2012
Arnout, has there been some changes to grub 0.97 (aka legacy version) or
the way grub is compiled
since buildroot 2012.05 ?
Today I copied my old, 2012.05 buildroot .config to latest git-version
and tried to build live cd the buildroot way.
Building went mostly smoothly with just few errors in using custom
busybox config (that i have always been using),
it's login applet and the linux-pam. And dbus was complaining about
missing /var/lib/ directory in target).
These were not a big deal to fix.
But the real problem now is that grub refuses to load. It just shows
Loading stage2 .... and hangs there.
If I copy my old grub stuff (namely, the stage2_eltorito file) from
2012.05 build to inside the boot/grub/ of the
new buildroot generated livecd (of course, first mounted throught
loopback and copied to some other dir for modifying)
and then build the livecd from that manually, it will work and show grub
menu normally.
I did a quick *md5sum* and *ls* and there indeed is a difference with
the git-version and 2012.05 version of
stage2_eltorito file, git-version of stage2_eltorito being very large
(258 KB vs. working 103 KB)
Even tought I have not changed anything in my working 2012.05 buildroot
.config when I copied it
to newer git-version.
(same gcc version, same optimizations, same binutils etc...)
Regards
Stefan
13.11.2012 8:53, Arnout Vandecappelle kirjoitti:
> On 08/11/12 17:29, Stefan Fröberg wrote:
>> If you ever want to use the maximum compression method supported by
>> modern kernels (XZ compression)
>> then change that initramfs generation command to this:
>>
>> find . -not \( -path "./boot" -prune \) -print0 | cpio --null -ov
>> --format=newc
>> | xz --check=crc32> /livecd/initramfs.xz
>>
>> Without that --check=crc32 parameter you won't be able to boot
>> XZ-compressed initramfs.
>
> It would be good to have this in buildroot. Care to add a config option
> BR2_TARGET_ROOTFS_CPIO_XZ? Using host-xz, of course, since not all
> systems
> have xz installed.
>
>
> Regards,
> Arnout
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121118/443c2576/attachment.html>
More information about the buildroot
mailing list