Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-13-2009, 07:36 AM
|
#1
|
|
LQ Newbie
Registered: Jan 2008
Posts: 20
Rep:
|
Help creating a tiny custom distro
Hi peeps.
I was wondering if anybody had some info on creating a custom boot disk.
At work we need to shred our drives on our PC's before we send them back, we were using Autoclave ( http://staff.washington.edu/jdlarios...-discontinued/) which is just a boot disk, shred and some scripts.
It's very old and doesn't support SATA drives, I managed to bodge an updated kernel on it but the shell scripts, fdisk and hdparm still don't support SATA, so it's not as easy as it used to be for my non Linux friendly co-workers.
I would like to create myself a small USB based Linux OS that I can customise myself, one that after it has been booted you can remove the USB key, I am guessing this will be some sort of cross compiling and initramfs based system.
If you have any ideas or even better know of any guides on the internet I would really appreciate it.
I've tried to use uClibc and Buildroot but it seems to be out of date and keeps failing, anyway it would be nice to know how to do it myself, I think LFS is going to be too much but if you think it is the right starting point let me know.
Thanks in advance.
Matt.
|
|
|
|
01-13-2009, 08:53 AM
|
#2
|
|
Member
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448
Rep:
|
Things like that actually exist - and most of them come with all tools needed to customise them further. One of my favourites in this respect is Finnix, but for your purpose SystemRescueCD might work even better. Finnix doesn't offer a GUI like SysRescCD, but it comes with all the tools necessary for system maintenance and is (IMHO) easier to customise (but I'm biased). Both distributions offer methods for USB installation.
If you need something "bigger" (that can still be very small, given the right ingredients), try Ubuntu Customization Kit. You may want to start from a server version with that...
And then, of course, there's DBAN, but that's for shredding exclusively - an older version is still available as a bootable floppy (don't know if that one does SATA, though). And if you're really into boot discs (floppy!), try TOMSRTBT (but that won't work with SATA...).
It'd be also interesting to see how far Puppy Linux or DamnSmallLinux could take you. DSL's more compact, but Puppy offers a lot in terms of system maintenance.
M.
Last edited by MoonMind; 01-13-2009 at 09:00 AM.
Reason: Added information...
|
|
|
|
01-13-2009, 09:12 AM
|
#3
|
|
LQ Newbie
Registered: Jan 2008
Posts: 20
Original Poster
Rep:
|
Thanks for the reply, very helpful. I tried using the mini cd version of Ubuntu to just put the base operating system on, however after I removed "login" it threw a wobbly and still asked to login. I've done that with Debian in the past and it went straight to bash as root.
I will probably check the customisation kit out anyway as I have just built a MythTV box that could be better.
I will give Finnix a go, my plan is to write a shell script to enumerate the drives give some details of each and then just get people to press 1,2,3... etc so it should do the job I think.
I was looking at DBAN but a home grown solution would be nice as it would be easier to update the Kernel for new hardware as and when required or add different features.
|
|
|
|
01-13-2009, 09:25 AM
|
#4
|
|
Member
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448
Rep:
|
You're right about home grown - Debris Linux has a custom installer that works the way you intend to go (a sort of ancient, but efficient "press 1" menu - still an all times favourite, and still in use - like smxi in sidux. That said, I think you'll like Finnix - it's straight to the point, everything you need is there and it's pretty compact - not as small as the mini distros, but it packs more punch in terms of admin tools; it beats Debian proper in that respect, some say it's what a minimal Debian (sid) really should be (but I think Ryan would disagree  ).
Oh, and another Debian based distro that invites further customisation is grml - it's not as compact as Finnix, but it's very adaptable and packs a real punch. It's a true geek tool, though - which isn't any kind of judgement, just a hint at what awaits you. There are also core versions without much fat available.
M.
|
|
|
|
01-13-2009, 09:38 AM
|
#5
|
|
LQ Newbie
Registered: Feb 2007
Posts: 14
Rep:
|
PClinux Minime or Puppy Linux can be easily remastered. They're small, easy to use, can start from USB and work with SATA drives. Just try them with actual systems to be sure, add the tools you need, change the look to make easy to find the shred tools, and remaster.
Last edited by oposit; 01-13-2009 at 09:47 AM.
|
|
|
|
01-14-2009, 05:55 AM
|
#6
|
|
LQ Newbie
Registered: Jan 2008
Posts: 20
Original Poster
Rep:
|
Finnix looks good and I like the tutorial on remastering, I may use it for some other stuff I want to do, but you need to keep the CD/USB in whilst using it, when we have 100+ machines to wipe in a weekend that's a lot of CD's to be burnt. I might try and make a Citrix Thin Client boot disk from it  however.
I think in the mean time I am going to read this http://www.linuxjournal.com/article/4395 and and use this http://www.mythi.cx/blog/bimages/bui...box_initrd.txt to build a busybox based setup and compile shred manually and copy it over.
Puppy & PClinux are too bloated for what I want (seems funny writing that) but I really don't need to have an Xserver running, maybe a Framebuffer (I think that's what it's called) of 1024*768.
I've heard of grml before and will download the ISO and take a look, it might be that I can create a generic recovery tool for my co-workers as well as a specific shredding tool.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:26 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|