Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 04-03-2013, 07:59 AM   #1
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware, Xubuntu
Posts: 202

Rep: Reputation: 29
initrd.gz multilib vs pure 64 : 5.8 MB vs 4.8 MB

An initrd.gz generated under current64 with multilib is much bigger (5.8 MB vs 4.8 MB) than one generated under current64 without multilib. Some research shows that the "with" /lib contains some 32-bit libraries, whereas the "without" /lib does not. For the remainder "with" and "without" are identical. The 32-bit libraries have no meaning in the initrd.

/sbin/mkinitrd contains 2 "find /lib /lib64 ... | cp ... $SOURCE_TREE/" constructs. As i?86 and s390 have their libraries in /lib and x86_64 in /lib64 this is a clever way to not have to sense the machine type. But with x86_64/multilib things turn out to be too clever. The attached patch resolves the problem.
Attached Files
File Type: txt mkinitrd.diff.txt (1.2 KB, 32 views)

Last edited by burdi01; 04-03-2013 at 08:04 AM.
Old 04-03-2013, 02:56 PM   #2
Senior Member
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,366

Rep: Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835Reputation: 835
I noticed this as well and have a nearly identical patch working for me. My /boot partition is only so big and will hold 3 kernels+initrds, so when /boot became full (thus creating an incomplete initrd) after going multilib I had to patch it as well. Since multilib is unsupported though I don't know if it's considered a Slackware bug.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[ANN] mk-slack64-multilib : A tool to create slackware64+multilib tree/iso phenixia2003 Slackware 5 12-28-2012 06:42 AM
pure 64 versus multilib: issue with some software compilation tramni1980 Slackware 1 05-03-2012 03:52 AM
[SOLVED] Broffice not compile on Slack64(multilib or no multilib);SlackBuild afreitascs Slackware 4 06-14-2010 08:16 AM
Slackware64-13.0 multilib can not build valid initrd for kernels 2.6.30 sid77 Slackware 11 03-03-2010 04:32 AM
[SOLVED] CLFS 64 bit multilib and pure 64 bit pacthes wanted Openumerix Linux From Scratch 1 11-16-2009 01:23 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 04:41 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration