LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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

Reply
 
Search this Thread
Old 09-27-2010, 03:54 PM   #1
macman31
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Rep: Reputation: 0
Creating a minimalist boot USB stick


English :

Hello,

I come to you after a few fruitless searches on google.
My problem is:
I'd like to create a bootable USB drive containing a Linux minimalist:
In fact I want to do is boot from the USB (compatible BIOS), as a minimalist Linux starts, and runs a file Shell, then at the end of this execution, displaying a root prompt (command line) to the execution of some commands summary.
So:
- No GUI
- Network access required
- Minimal Linux system (the minimum necessary to boot and run a file Shell), with selection of preloaded commands (grep, pico, cat, ...)

I saw on the net that is doable with DOS on Windows, but nothing on Linux.
So I need help, because everything I find is related to an existing system (Ubuntu, Debian, ...), I want a gold basis the most minimalist and lightweight as possible.
What I presented is feasible or not?
If yes, how to achieve it?

I do not ask for a ready-made solution, however, I would just like some guidance.
I have a Debian Lenny with me, and a Windows Seven.

Thank you in advance,

macman31

-------------------------------------
French :

Bonjour,

Je viens à vous après quelques recherches infructueuses sur google.
Mon problème est le suivant :
J'aimerais créer une clé USB bootable, contenant un système Linux très minimaliste :
En fait je veut que le boot se fasse depuis la clé (BIOS compatible), que un Linux minimaliste démarre, et exécute un fichier Shell, puis à la fin de cette exécution, affichage d'un prompt root (ligne de commande), pour l'exécution de quelques commandes sommaires.
Donc :
- Pas de GUI
- Accès réseau souhaité
- Système Linux minimaliste (Le strict nécessaire pour boot, et exécuter un fichier Shell), avec sélection des commandes pré installées (grep, pico, cat, ...)

J'ai vu sur le net que c'est faisable avec DOS sous Windows, mais rien sur Linux.
J'aurais donc besoin d'aide, car tout ce que je trouve a un rapport avec un système existant (Ubuntu, Debian, ...), or je veut une base la plus minimaliste et légère possible.
Ce que j'ai présenté est réalisable ou non ?
Si oui, comment le réaliser ?

Je ne demande pas une solution toute faite, au contraire, je voudrais juste quelques indications.
Je dispose d'un Debian Lenny chez moi, ainsi que d'un Windows Seven.

Merci d'avance,

macman31

Last edited by macman31; 09-28-2010 at 08:47 AM. Reason: Adding English traduction
 
Old 09-27-2010, 03:57 PM   #2
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
I dont understand french (is it?)

seems like you want a non-X minimalist usb distro?
 
Old 09-27-2010, 04:28 PM   #3
macman31
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Yes, It's french.
And yeah, I wanna build my own minimalist distro :
- having network support (if possible)
- Can just boot, (My BIOS is compatible), exec a shell script, and prompt a root console
- No GUI, it must be the lightweight possible
- I can put basic utility like grep, cat, pico ... in this distro

Sorry for my (very) bad English,

Thanks,

macman31
 
Old 09-27-2010, 04:29 PM   #4
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 11,102
Blog Entries: 3

Rep: Reputation: 1401Reputation: 1401Reputation: 1401Reputation: 1401Reputation: 1401Reputation: 1401Reputation: 1401Reputation: 1401Reputation: 1401Reputation: 1401
Hi,

Welcome to LQ!

As per the LQ Rules:
Quote:
All member-created content should be in English. This allows our moderators to ensure all content complies with all LQ rules.
Quote:
Tous les membres du contenu créé doit être en anglais. Cela permet à nos modérateurs pour assurer l'ensemble du contenu est conforme à toutes les règles de LQ.
Quote:
http://translate.google.com/French to English translation
Hello,

I come to you after a few fruitless searches on google.
My problem is:
I'd like to create a bootable USB drive containing a Linux minimalist:
In fact I want to do is boot from the USB (compatible BIOS), as a minimalist Linux starts, and runs a file Shell, then at the end of this execution, displaying a root prompt (command line) to the execution of some commands summary.
So:
- No GUI
- Network access required
- Minimal Linux system (the minimum necessary to boot and run a file Shell), with selection of preloaded commands (grep, pico, cat, ...)

I saw on the net that is doable with DOS on Windows, but nothing on Linux.
So I need help, because everything I find is related to an existing system (Ubuntu, Debian, ...), I want a gold basis the most minimalist and lightweight as possible.
What I presented is feasible or not?
If yes, how to achieve it?

I do not ask for a ready-made solution, however, I would just like some guidance.
I have a Debian Lenny with me, and a Windows Seven.

Thank you in advance
Live USB_Wiki could be of some help. You could look at 'Get Your ISO, LiveCD & Pocket OS'
for other links that may help you.

The above links and others can be found at 'Slackware-Links'. More than just Slackware® links!

Last edited by onebuck; 09-27-2010 at 04:31 PM. Reason: clarify
 
Old 09-27-2010, 04:53 PM   #5
linus72
Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: PocketWriter/MinimalX
Posts: 5,057

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
ttylinux
http://minimalinux.org/ttylinux/

pipsqueak linux
http://geekinsnthings.homelinux.com:4444/pipsqueak

tinycore/microcore
http://tinycorelinux.com/

finnix
http://www.finnix.org/

grml-small
http://grml.org/

also a minimal hdd install of ARCH linux to USB is great
http://www.archlinux.org/

install from usb
http://wiki.archlinux.org/index.php/...a_on_a_USB_key

install to usb
http://wiki.archlinux.org/index.php/...x_on_a_USB_key

francais

ttylinux
http://minimalinux.org/ttylinux/

p'tit linux
http://geekinsnthings.homelinux.com:4444/pipsqueak

TinyCore / microcore
http://tinycorelinux.com/

finnix
http://www.finnix.org/

grml-petits
http://grml.org/

également une installation minimale hdd de Arch Linux à l'USB est grand
http://www.archlinux.org/

installer à partir d'usb
http://wiki.archlinux.org/index.php/...a_on_a_USB_key

installer sur usb
http://wiki.archlinux.org/index.php/...x_on_a_USB_key

Last edited by linus72; 09-27-2010 at 04:55 PM.
 
Old 09-28-2010, 08:36 AM   #6
macman31
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks for your interesting links, but it's not exactly what I want.

All of these links are "pre made" distro, or I wana build my own, from nothing.
The result would be similar that ttylinux (http://minimalinux.org/ttylinux/), but customised for my needs.

In facts, I'm more interested in building from nothing my distro than take a pre made, like ttylinux, and modify it.

Thanks for your fast answer, and sorry for my bad english,

macman31

@onebuck : Sorry, I didn't reed the rules ... But It's done now, and I have added English translation in my 1st message, and in the title.
 
Old 09-28-2010, 08:42 AM   #7
healyma
Member
 
Registered: Feb 2009
Location: Mayo, Ireland
Distribution: LFS 6.4; Debian 5.4; Mythbuntu & Kubuntu 10.04
Posts: 49

Rep: Reputation: 18
Hi,

Have you looked at http://www.linuxfromscratch.org.

There's quite a bit of work involved in getting it up and running, but you should be able to add to it to suit your needs

Mark
 
Old 09-28-2010, 08:44 AM   #8
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
In the case of wanting to start from nothing. I think you need LFS: http://www.linuxfromscratch.org/

Many thanks.
 
Old 09-28-2010, 08:47 AM   #9
macman31
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
OK, thanks you two, it's exactly what I want.

Bye,

macman31
 
Old 09-28-2010, 09:25 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Main: Gentoo Others: What fits the task
Posts: 15,504
Blog Entries: 2

Rep: Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018Reputation: 4018
Maybe you should also have a look at the T2 SDE and Rock Linux Distribution Build Kit. Both are frameworks for building your own distribution, which you can fit to your needs.
 
Old 09-28-2010, 10:06 AM   #11
macman31
LQ Newbie
 
Registered: Sep 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks, I will take a look at them.

macman31
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
bootable kernel image creation aloktiagi Linux - Newbie 1 05-20-2010 10:17 PM
Bootable cd creation in linux peddip Linux - Software 7 01-19-2009 06:07 AM
Regarding Creation of Bootable ISO of hard disk image having multiple partitions.. nagamohan_p Linux - Newbie 1 08-26-2006 10:52 PM
Regarding Creation of Bootable ISO of hard disk image having multiple partitions.. nagamohan_p Programming 1 08-25-2006 09:11 AM
Partimage bootable cd creation lolmc Linux - General 1 04-22-2002 05:39 PM


All times are GMT -5. The time now is 11:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration