Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Peripherals / Hardware
Reload this Page How can I autogenerate /etc/fstab
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Peripherals / Hardware Is your hardware supported? Having trouble getting some hardware working? Post here!

Reply
 
Thread Tools Display Modes
Old 06-09-2008   #1 (permalink)
beojan
Just Joined!
 
Join Date: Jun 2008
Location: London/UK
Posts: 23
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.
__________________
Beejex Linux - My Linux Distribution for New Users.
beojan is offline   Reply With Quote
Old 06-09-2008   #2 (permalink)
wildpossum
Just Joined!
 
wildpossum's Avatar
 
Join Date: Apr 2008
Location: Sydney/Australia
Posts: 74
Send a message via Skype™ to wildpossum
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".
__________________
Grahame
AMD Phenom(QuadCore), 8GB, 3ware RAID6 1.8TB, HD3850(512MB) ..etc.
wildpossum is offline   Reply With Quote
Old 06-10-2008   #3 (permalink)
beojan
Just Joined!
 
Join Date: Jun 2008
Location: London/UK
Posts: 23
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.
__________________
Beejex Linux - My Linux Distribution for New Users.
beojan is offline   Reply With Quote
Old 06-13-2008   #4 (permalink)
the dsc
Linux Newbie
 
Join Date: Apr 2007
Posts: 133
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)
the dsc is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 02:05 AM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0