Linux - NewbieThis 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

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.

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.

Introduction to Linux - A Hands on Guide

This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.

Hello from Belgium -and please forgive my mistakes in English!-
I do not have Linux, I am a pure Dos/Windows product but...I work with old machines that cannot boot from CD, only from floppy. On these old PC's (pentium2), sometimes without USB ports, I have added PCI/USB cards so that I can plug USB keys and even external HDD (IDE>USB). All the devices work properly. The problems are the backups and ..the crashes. In those situations it is always interesting to have access to 'everything (i.e. : usb keys, HDD, external hdd etc)' from a boot floppy (and so be able to copy files/directories etc). Dos cannot do that (USB support in DOS is minimal). Syslinux can do that, I have seen it (even USB keys hotplugged were recognized). But I cannot build this bootable syslinux floppy.
I have downloaded the syslinux3.36 zip file (from: syslinux.zytor.com). There is a Win32 directory inside. If I run the syslinux -s a: command then ldlinux.sys is copied on the floppy (and the floppy becomes bootable), and that is all !! And after?? on the site I can read "Copy one or more Linux kernel files ": what does that mean??!!Then some Dos commands are given: "copy vmlinux a: ,copy initrd.gz a: " : where do I find these files? On a French forum somebody told me that it was not vmlinux but vmlinuz. True ?? what about the initrd file? Well, you have understood, I do not understand anything.. But if I could have this marvelous boot floppy having the ability to access all the (USB) drives, this would be great. Thanks everybody.
Chantal/Brussels/Belgium

Hi Chantal in Belgium!
I'll try and give a bit of info here about what you describe, though I may definitely miss some details. Hopefully you will be able to fill in the blanks
OK, so you have got a bootable floppy, that's a good start!
Based on your post, it looks like the next thing to do is to copy a linux kernel onto the floppy, as well as the initrd (Initial Ram-disk info) onto the floppy. Also, where you say 'copy one or more linux files to the floppy' I *guess* if you have space on the floppy, you could copy some other tools you might need, but you will definitely need kernel modules to go with the kernel you use, unless the kernel is entirely compiled as one unit, with the modules built in.
Where to find this stuff: I haven't ever used Syslinux, however, on MOST if not ALL distributions, you will find the vmlinuz and initrd.gz files in the /boot directory of the linux system.
The kernel is typically named vmlinux, vmlinuz, zimage, or bzimage, and is located in /boot.
As for kernel modules, they are *usually* located in /lib/modules/<kernel-name> so for example, if your kernel is 2.6.13, then the modules, if any, will be in /lib/modules/linux-2.6.13/<HERE>.
You will especially want the modules for USB devices, by the sounds of things, as well as maybe a few more, depending on what exactly you need to do with the boot disk.

I hope this gets you started but please ask for more info if you run into problems.
Best of luck!

Hello and thanks for answering,
I am afraid you have forgotten that I am in the newbie department and that I do not have Linux at all I have two so-called "live CD": Damn small Linux and Slax. Shall I find what is needed inside these cd's?? I really do not know. I will have a look tomorrow. Thks again, Chantal

OK, I am going to leave this to someone far more expert than I am for the time being, as I really don't know how to go about advising you on making this disk from what you have available for Live-CD's. I see a few others here checking into your situation, and hope that one of them will have better information for you about making this diskette
I will check back and offer assistance if I can though

I work with old machines that cannot boot from CD, only from floppy. On these old PC's (pentium2), sometimes without USB ports, I have added PCI/USB cards so that I can plug USB keys and even external HDD (IDE>USB). All the devices work properly. The problems are the backups and ..the crashes. In those situations it is always interesting to have access to 'everything (i.e. : usb keys, HDD, external hdd etc)' from a boot floppy (and so be able to copy files/directories etc). Dos cannot do that (USB support in DOS is minimal). Syslinux can do that, I have seen it (even USB keys hotplugged were recognized). But I cannot build this bootable syslinux floppy.

I think you may be on a wild goose chase.
Was it with one of the live-CDs that you were able to access your USB devices? And you want to be able to do that on PCs without bootable CD drives?
Syslinux is a bootloader. You probably saw the name when starting Linux.

EDIT: Slax has instructions for booting from a DOS floppy.
You can also run it from DOS (in the case your bios cannot boot from CD), just start X:\dos\linux.bat from the DOS prompt.

I think you may be on a wild goose chase.
Was it with one of the live-CDs that you were able to access your USB devices? And you want to be able to do that on PCs without bootable CD drives?
Syslinux is a bootloader. You probably saw the name when starting Linux.

Well, do not you believe me ?! Right, I saw Syslinux while the floppy was booting (and it was a floppy, not a CD). And yes, with this floppy (and without CD at all) I was able to access all the USB drives present on the machine (and I could copy files and directories from one drive to another). Do I need syslinux or not ??, it is not the real problem for me! I need the floppy !
I will, of course have a look at the Slack and DSL floppies, but I would like more than boot floppies..as I said in my first post.
Thanks everybody
C.

Well, do not you believe me ?! Right, I saw Syslinux while the floppy was booting (and it was a floppy, not a CD). And yes, with this floppy (and without CD at all) I was able to access all the USB drives present on the machine (and I could copy files and directories from one drive to another). Do I need syslinux or not ??, it is not the real problem for me! I need the floppy !
I will, of course have a look at the Slack and DSL floppies, but I would like more than boot floppies..as I said in my first post.
Thanks everybody
C.

Creating a boot floppy with a Linux kernel is not necessarily going to give you what you want. To be useful you would need a command shell and utilities. Since the kernel is so large now it is quite a trick to get it all on one floppy. Creating your own is not so simple and I was not sure this is a route you really want to take.
I do not know if the Linux utility floppy I know about does USB.