LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-03-2009, 09:51 AM   #1
originalmoose
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Rep: Reputation: 0
Bootable linux script on CD


I need to make a disc that when you boot from it it loads up Linux (or some version) and runs a simple script to create a partition and copy a file to it. I need the disc to have DAR on it since the file that will be copied is too large to fit on one disc. I also need to footprint to be as small as possible. Any help on this would be great, Thanks!
 
Old 11-04-2009, 06:15 AM   #2
JohnGraham
Member
 
Registered: Oct 2009
Posts: 467

Rep: Reputation: 139Reputation: 139
Quote:
Originally Posted by originalmoose View Post
I need to make a disc that when you boot from it it loads up Linux (or some version) and runs a simple script to create a partition and copy a file to it. I need the disc to have DAR on it since the file that will be copied is too large to fit on one disc. I also need to footprint to be as small as possible. Any help on this would be great, Thanks!
Have a look at (i) Puppy Linux, which is quite user-friendly and, I think, has a live CD image available (it's also USB-bootable, which I find easier to handle, but older computers don't support booting from USB) or (ii) Linux From Scratch, which definitely has a live CD you can modify.

As for running a script at start-up, that depends on which of the above you use - Puppy Linux (and most other distros which use SysV-style system initialisation) has an rc.local file which is run (as root) first thing after initialisation, so just put the commands you want to run in that. It's usually /etc/rc.local.

John G
 
Old 11-04-2009, 09:06 AM   #3
originalmoose
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
thanks ill give that a try, how would I go about adding DAR to the live CD?
 
Old 11-04-2009, 09:11 AM   #4
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
any normal live-cd/ dvd/ usb/ sd would allow you to change the ~/.bash_profile of the live user (or better yet the /etc/rc.d/rc.local of the system) to run any miscellaneous commands you want.

by and by, what is dar

Last edited by schneidz; 11-04-2009 at 09:12 AM.
 
Old 11-04-2009, 09:21 AM   #5
originalmoose
LQ Newbie
 
Registered: Nov 2009
Posts: 7

Original Poster
Rep: Reputation: 0
DAR is backup software, I used it to split a large file so it will fit on two DVD's the software im assuming will need to be installed in order for me to be able to execute the commands i need to restore the data.

here is the website for the software
http://dar.linux.free.fr/
 
Old 11-04-2009, 01:20 PM   #6
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 5,027

Rep: Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845Reputation: 845
ok, consider dsl to be a small footprint distribution.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a USB stick bootable from a bootable cdrom cwwilson721 Slackware 2 10-23-2009 10:18 PM
How do you copy a bootable floppy to a bootable CD ? OralDeckard Linux - Software 9 10-28-2008 08:52 AM
Diagnostics on bootable CD to bootable thumb drive IsItFridayYet Linux - Newbie 15 10-12-2007 07:24 AM
Script to create a bootable DVD from CD isos courtrrb Mandriva 2 08-26-2006 09:22 AM
Installing Slackware with non-bootable CD or bootable floppy (but not both) TiddlyPom Slackware 2 03-22-2004 05:15 PM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration