I am creating a linux live-cd and I want to have it autogenerate /etc/fstab on boot. How would I go about this. The Live CD will be based on Debian Sid, and the live linux scripts.
Printable View
I am creating a linux live-cd and I want to have it autogenerate /etc/fstab on boot. How would I go about this. The Live CD will be based on Debian Sid, and the live linux scripts.
Copy and modify your current /etc/fstab to suit the diskless setup.
If your asking how to do so i.e.: what it should contain, then you need to do a lot more reading via "man fstab -k".
The live cd will be used on multiple machines. I need it to create the correct fstab on each machine so I can mount the hard drive partitions. I need a program that will query the hardware and write the fstab when the live cd boots.
I don't quite know how to implement that, but knoppix is known to be able to do that. Knoppix is based on debian, I think, so perhaps there would be compatibility between... whatever does that.
But there's the debian live project as well, which very likely does that, but I'm not really sure.
(I think it probably has it, as I personaly consider it a must have for any live distribution/CD, but I think that some lack it for some reason, like (k)ubuntu 5-6 at least)