Find the answer to your Linux question:
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just 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.

  2. #2
    Just Joined! wildpossum's Avatar
    Join Date
    Apr 2008
    Location
    Sydney/Australia
    Posts
    92
    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".

  3. #3
    Just 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.

  4. #4
    Linux Newbie
    Join Date
    Apr 2007
    Posts
    214
    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)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •