1. This forum section is a read-only archive which contains old newsgroup posts. If you wish to post a query, please do so in one of our main forum sections (here). This way you will get a faster, better response from the members on Motherboard Point.

Linux boot drive issue

Discussion in 'Embedded' started by edward.ming.lee, Apr 19, 2014.

  1. That attitude is downright un-American! Next you'll be claiming you
    don't have to get a new smartphone every 6 months.
    Bah. That initramfs stuff is nonsense. If you build the kernel right
    in first place, you don't need an initial ramdisk or any of that fancy
    "module" stuff. ;)

    I'm only half joking -- none of my Linux machines have initial
    ramdisks, and the only ones with modules loaded are the ones using the
    closed-source nvidia drivers.

    But, I supose, if you want to build something that boots on any random
    PC, then yes, you will need an initial ramdisk and a _lot_ of modules
    that never get loaded for any particular machine.
     
    Grant Edwards, Apr 22, 2014
    #21
    1. Advertisements

  2. Pointless to argue about this. Perhaps someone else can verify it. Download the kernel, "make menuconfig", exit without changing anyway. "make" and come back a few hours later to check it.
    There is no option to decide whether to place a module in initrd or rootfs.
    I want to build minimum initrd, but much more in rootfs.
    Until i figure out where to spit the process, it is the same single "make install" to build modules for both initrd and rootfs.

    If we have this new option, we don't have to do it manually.
    Again, we need independent verifications. I'll tried it on two different
    notebooks (no CD/DVD): Fujisu T2010 and HP mini 311.
     
    edward.ming.lee, Apr 22, 2014
    #22
    1. Advertisements

  3. edward.ming.lee

    David Brown Guest

    Well I'm not American, and I don't know what planet edward.ming.lee
    lives on, so I guess that's okay!
    Initramfs is useful if you've got stuff like root on raid, crypto or
    lvm. But if you've just got a "normal" setup then you typically don't
    need it. And modules are handy to have around for hotplug devices - if
    you are compiling your own kernel, it makes sense to compile the stuff
    you normally need directly into the kernel rather than as a module. But
    having modules there is really handy when you want to plug in a new
    USB-to-Ethernet adaptor and find it just works out of the box.
     
    David Brown, Apr 23, 2014
    #23
  4. edward.ming.lee

    Tim Wescott Guest

    OH! This explains my high grocery bill and all the uneaten food I throw
    out every month!

    Thanks!
     
    Tim Wescott, Apr 23, 2014
    #24
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.