[lkml]   [2003]   [Oct]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: initrd help -- umounts root after pivot_root
    On Thu, 2003-10-30 at 19:18, John R Moser wrote: 
    > Been trying with 2.4.20, 2.4.22, 2.6.0-test9, how the heck do I get this
    > to work?
    > I set everthing up on /dev/shm type tmpfs, then
    > cd /dev/shm
    > mkdir initrd
    > pivot_root . initrd

    It does not appear that the kernel(s) will support the root fs on
    tmpfs. Looking through the init kernel code: It boils down to a block
    device with real major and minor number or NFS.

    Could you set up a ramdisk to do the same thing as /dev/shm? Also,
    you'll have to tell the kernel where root is, either a boot parameter
    (root=xxx) or with the rdev command.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:58    [W:0.045 / U:0.228 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site