Results 1 to 4 of 4
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 ...
- 06-09-2008 #1Just Joined!
- Join Date
- Jun 2008
- Location
- London/UK
- Posts
- 32
How can I autogenerate /etc/fstab
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.
- 06-10-2008 #2
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".
- 06-10-2008 #3Just Joined!
- Join Date
- Jun 2008
- Location
- London/UK
- Posts
- 32
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.
- 06-13-2008 #4Linux Newbie
- Join Date
- Apr 2007
- Posts
- 210
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)


Reply With Quote
