In building a live persistent Kubuntu flash drive, one method calls for this boot stanza entry:
title Kubuntu 8.10 LIVE Persistent
root (hd0,0)
kernel /casper/vmlinuz boot=casper ramdisk_size=1048576 root=/dev/ram rw quiet splash persistent
initrd /casper/initrd.gz
If you google, you'll find that the above kernel statement is widely used in all sorts of live USB applications.
My main question is about the root = /dev/ram. Obviously, /dev/ram does not correspond to the standard 16 ram*'s under the normal OS /dev nodes. And, I'm guessing that in this use of it, /dev/ram is not meant to correspond to anything in a normal hard disk installed Kubuntu OS, that the designation /dev is only conventional.
But, anyway, how does this work? Do the newer kernels recognize this generic designation /dev/ram in the kernel (option) statement as something special to be setup in RAM and set it up thusly (with max size specified by ramdisk_size), into which is then loaded the kernel & OS?
Incidental Q: I assume that the ramdisk_size set to 1 GB here is simply an upper limit within which the kernel and OS are loaded to run for the live session. Not sure why 1048576 was picked (= * 1024 = 1GB), but it is also a popular number popping up in every google but not explained anywhere that I can find.
Anyone able to explain this in general, layman, conversational terms?
And/or, have a link that's readable (I've spent 3 hours googling, and came close, but fell shy of an answer to either of the above.)
title Kubuntu 8.10 LIVE Persistent
root (hd0,0)
kernel /casper/vmlinuz boot=casper ramdisk_size=1048576 root=/dev/ram rw quiet splash persistent
initrd /casper/initrd.gz
If you google, you'll find that the above kernel statement is widely used in all sorts of live USB applications.
My main question is about the root = /dev/ram. Obviously, /dev/ram does not correspond to the standard 16 ram*'s under the normal OS /dev nodes. And, I'm guessing that in this use of it, /dev/ram is not meant to correspond to anything in a normal hard disk installed Kubuntu OS, that the designation /dev is only conventional.
But, anyway, how does this work? Do the newer kernels recognize this generic designation /dev/ram in the kernel (option) statement as something special to be setup in RAM and set it up thusly (with max size specified by ramdisk_size), into which is then loaded the kernel & OS?
Incidental Q: I assume that the ramdisk_size set to 1 GB here is simply an upper limit within which the kernel and OS are loaded to run for the live session. Not sure why 1048576 was picked (= * 1024 = 1GB), but it is also a popular number popping up in every google but not explained anywhere that I can find.
Anyone able to explain this in general, layman, conversational terms?
And/or, have a link that's readable (I've spent 3 hours googling, and came close, but fell shy of an answer to either of the above.)
Comment