LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-26-2002, 12:04 PM   #1
ameksa
LQ Newbie
 
Registered: Feb 2002
Location: Kabylie
Distribution: Redhat
Posts: 13

Rep: Reputation: 0
floppy disk limitations?


I always boot from a floppy disk, but recently I recompiled the kernel, and saved it to /boot .

what changes do I need to make so that the new kernel will be booted from the floppy? (editing lilo.conf has no effect)

Nothing happens when I press [tab] key at linux boot: prompt
(when booting off a floopy). Is this normal?


Thankz
 
Old 02-26-2002, 01:32 PM   #2
taz.devil
Senior Member
 
Registered: Nov 2001
Location: Wa. State
Distribution: Slackware
Posts: 1,261

Rep: Reputation: 45
You should just be able to edit the lilo.conf file and change the location lilo looks for the kernel. So if you are booting (for example...) image=/vmlinuz you would change it to image=/boot/vmlinuz. Obviously using your own kernel name if it's not vmlinuz.
 
Old 02-26-2002, 01:57 PM   #3
ameksa
LQ Newbie
 
Registered: Feb 2002
Location: Kabylie
Distribution: Redhat
Posts: 13

Original Poster
Rep: Reputation: 0
Have the impression lilo does not participate in the boot process when booting from a floppy disk.
Every changes I have done to lilo.conf did not work at all.

However I have noticed a file in floppy boot disk very similar to lilo.conf but uses different syntax, the file name is syslinux.cfg and seems to point to available linux kernel images (actually to only one).

My system is Redhat 7.1 out ot the box

Thanks agian
 
Old 02-26-2002, 02:06 PM   #4
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
Did you re-run lilo?
/sbin/lilo
 
Old 02-27-2002, 12:39 AM   #5
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
I have an installation disk for TurboLinux that has the same file on it ( syslinux.cfg ). It has a line that says kernel vmlinuz . On the floppy disk is a file named vmlinuz . So, the kernel appears to be on the floppy disk. Do you see any file on your floppy disk that appears to be a kernel image? You might have to copy your new image to the floppy over the old one. If it will fit on the floppy. Could you post a copy of your syslinux.cfg file?
 
Old 02-27-2002, 05:34 PM   #6
ameksa
LQ Newbie
 
Registered: Feb 2002
Location: Kabylie
Distribution: Redhat
Posts: 13

Original Poster
Rep: Reputation: 0
Thank you for the tip.
No doubt, vmlinuz file on the floppy refers to the kernel image. And to be able to boot the new image I had to overwite vmlinuz file on the floppy disk with the new kernel image. And that worked for me. The image size jumped from 7xx kb to 9xx kb !

The next issue I would need more clarifications about is the boot loader used on the boot disk.

If lilo is used when booting normally from the hard disk, then what about the floppy?

Is it possible to install lilo on floppy disks?
 
Old 02-28-2002, 12:02 AM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
The boot loader that is used on your floppy is called Syslinux. I think that's right.

lilo can be installed on a floppy. There are two ways I know of. One is to install lilo into the boot sector of the floppy and nothing else on the floppy. The other is install not only lilo in the boot sector, but also to create a file structure on the floppy. Directories like /etc and /boot and others are created. In the /etc directory, there is even an lilo.conf file. The program that creates this kind of disk is mkbootdisk.


There is also a kernel disk. The compressed kernel is copied onto the floppy using the ' dd ' command. This type of disk is very inflexible because it won't allow you to enter any parameters if something goes wrong.

Last edited by linuxcool; 02-28-2002 at 12:03 AM.
 
  


Reply



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
Disk Limitations ? - Help with fdisk Subliminal_2 Linux - General 22 07-01-2008 11:11 AM
Using a floppy disk to load a USB disk. joeyjwc Linux - General 2 03-21-2004 06:05 PM
Floppy disk fail to boot when install suse 8 with boot from floppy ffang Linux - Newbie 0 08-18-2003 08:44 PM
How do I use a floppy disk? soup Slackware 4 07-01-2003 01:17 PM
floppy disk athenerx Linux - Newbie 3 10-15-2001 08:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:05 PM.

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
Open Source Consulting | Domain Registration