LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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-18-2001, 02:57 PM   #1
rtalwani
LQ Newbie
 
Registered: Nov 2001
Posts: 4

Rep: Reputation: 0
How to create LILO boot floppy with SuSE 7.3?


I am a newbie and know nothing about Linux. I have 2 hard drives and my plan was to install Linux (SuSE 7.3) on drive D, leaving the C drive for Windows 98.

I installed Linux with the C drive disconnected because I was paranoid about deleting Win 98. This resulted in Linux being properly installed on the D drive but the LILO boot floppy won't work when I reattach the C drive. However, I can boot into Linux by using SuSE CD1. The only problem is that takes a long time to boot up as I have to go part way through the installation process before I get prompted to boot to the existing system.

I would like to create a LILO boot disk now that Linux is installed and both the C and D drives are where they are going to be. Using the regular function in YAST2 (I think) for creating a boot floppy has only succeeded in creating a floppy that will boot up to the point where I get instructed to insert the CD. The instructions in SuSE for creating a LILO boot disk are over my head. Does anyone have a simple way to instruct me how to create a LILO boot floppy or at least a suggestion of a resource to use so I can get up to speed and follow the SuSE instructions?

Thanks.
 
Old 11-18-2001, 03:33 PM   #2
tchet
LQ Newbie
 
Registered: Oct 2001
Location: Belgium / L!ège
Distribution: SuSE 7.3 (soon)
Posts: 9

Rep: Reputation: 0
LILO & multiple disks

I had the same problem

your /boot
partition has to be on the disk that boots...

you can either:

- tell your bios to boot from
/dev/hdc (you call it D)
and put lilo on /dev/hdc 's MBR

- OR create a /boot partition on C... (using partition magic-style tools).. but that will be much pain

(remember that LILO boot record and /boot partition as to be on the same disk)
 
Old 11-18-2001, 03:46 PM   #3
rtalwani
LQ Newbie
 
Registered: Nov 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your reply. What I would like to do though, is to create a boot floppy with LILO using the already-installed Linux. Is that possible?
 
Old 11-18-2001, 03:58 PM   #4
tchet
LQ Newbie
 
Registered: Oct 2001
Location: Belgium / L!ège
Distribution: SuSE 7.3 (soon)
Posts: 9

Rep: Reputation: 0
so...swap the disks

then you could just (physically) swap the two disks...
but you'd have to check
/etc/lilo.conf
/etc/fstab
and replace all the /dev/hda
with /dev/hdc and vice-versa...

or you could give a try to GRUB, it is told to be much smarter than LILO...
 
Old 11-18-2001, 04:27 PM   #5
rtalwani
LQ Newbie
 
Registered: Nov 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Sorry, but I don't understand your reply, being a complete newbie. I've got both harddrives in place. Using the SuSE CD, I am able to boot up into Linux, even though I've added a hard drive that wasn't there when Linux was installed (I call it Drive C even though I guess Linux doesn't use that term).

Can't I boot into Linux using the CD, and then use Linux to create a LILO boot floppy that will recognize where everything is so that I can use it rather than the CD to boot up into Linux?

I get the feeling that I am missing something as to how a LILO boot floppy works.
 
Old 11-18-2001, 04:39 PM   #6
tchet
LQ Newbie
 
Registered: Oct 2001
Location: Belgium / L!ège
Distribution: SuSE 7.3 (soon)
Posts: 9

Rep: Reputation: 0
hu ho..

hu ho...

I understand...you want to boot linux only from the floppy and not the HD... sot his /etc/lilo.conf would be enough :-)
getting to bed...I won't reply anymore today... I hope it will fit for you

1) log as root
2) insert blank diskette

3) type in /etc/lilo.conf
#-------------------------------------------
boot = /dev/fd0
# notice the fd0

read-only
message = /boot/message

image = /boot/vmlinuz
#put your kernal image .. it might be also /vmlinuz
label = linux
root = /dev/hdcx
# replace x with root dir
initrd = /boot/initrd
4) run ' lilo ' to apply changes
(it will write on the floppy normally)
5) type 'sync'
6) type 'reboot' and see
 
Old 11-18-2001, 04:51 PM   #7
rtalwani
LQ Newbie
 
Registered: Nov 2001
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your help.
 
  


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
How do I create a new boot floppy? walterbyrd Slackware - Installation 1 04-01-2004 12:31 PM
cannot create boot floppy marlowe Linux - General 2 03-11-2004 05:52 AM
cant create boot floppy divali Linux - Software 1 11-29-2003 10:48 AM
How to create a linux 6 boot floppy? Anth3m Linux - Newbie 2 11-17-2003 07:10 AM
Floppy disk fail to boot when install suse 8 with boot from floppy ffang Linux - Newbie 0 08-18-2003 08:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:47 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