LinuxQuestions.org
Visit Jeremy's Blog.
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 07-07-2003, 12:03 PM   #1
lunglungphat
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Rep: Reputation: 0
booting linux from floppy ONLY


hi i'm pretty sure this is a pretty trivial question.

i'm running win98 most of the time and has recently decided to try linux instead. most of the time i would liek to run win98 so the bootloader (GRUB or LILO) is starting to become very irritating.

is there anyway i can remove the linux bootloader and make it start win98 like any ordinary win98 machine and only start linux when i put the linux bootdisk into the drive?

thanks in advance.
 
Old 07-07-2003, 12:17 PM   #2
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Make a windows boot floppy (make it from the Add/Remove programs app for some strange reason) and after booting, type

fdisk /mbr
 
Old 07-07-2003, 06:32 PM   #3
lunglungphat
LQ Newbie
 
Registered: Jul 2003
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for the prompt reply.

i have done the fdisk /mbr and it worked. still not sure what it does although i've read the info on the MS website.

just for reference is there anyway to disable the bootloader from within linux itself? i've gone into the boot configuration in control center and it seems i have to select either grub or LILO. what can you do to make linux start from floppy only from within linux?
 
Old 07-07-2003, 09:09 PM   #4
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Quote:
what can you do to make linux start from floppy only from within linux?
If you remove the bootloader, only windows loads from the hard drive.

Set your bios to boot from floppy first, then put the Linux boot floppy in drive and boot to boot Linux.

# How do I uninstall Linux completely and keep/use Windows only?
How to Remove Linux and Install Windows 2000
How to Remove Linux and Install Windows XP
You can remove lilo from the mbr with
/sbin/lilo -u
You can remove grub or lilo from the mbr by booting with a Windows 98 boot floppy (at the prompt, type fdisk /mbr), or by using the Windows XP Recovery Console or the Windows 2000 Recovery Console
 
Old 07-07-2003, 09:40 PM   #5
fsbooks
Member
 
Registered: Jan 2002
Location: Missoula. Montana, USA
Distribution: Slackware (various)
Posts: 464

Rep: Reputation: 52
An alternative solution is to put lilo (or probably grub, but I use lilo) on the floppy (/dev/fd0), and if you usually use windows, set it as your default. There is nothing sacred about having to have lilo on the harddrive. The line is "boot=/dev/fd0" for the floppy, and then "default=windows", assuming that is the label for the windows bootup. Since it only has to read the mbr of the floppy, bootup is just about as quick as with lilo on the harddrive. Then again, you could make windows the default even without a floppy, then unless you catch it before your timeout (set in 10ths of a second) the machine will boot to windows.
 
Old 07-08-2003, 02:47 AM   #6
yenonn
Member
 
Registered: Feb 2003
Location: Malaysia
Distribution: Redhat 8.0, 9, Slackware 9.1
Posts: 511

Rep: Reputation: 30
what if the reverse case! i have a hd, which i 've loaded two os. initially it was win98 and RH9 and GRUB was switching between these two oses. yesterday, i upgraded my win98 to winXP and it rewrite my MBR (previously i had GRUB on it). i have lost my GRUB. so, everytime, i need to boot to my linux, i have to insert the linux boot disk. troublesome!!!! now, i want back my GRUB. then, how to make it appear during the booting time.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install bootloader after floppy-booting Linux? sb73542 Red Hat 3 06-01-2007 10:17 AM
floppy booting linux cd? System_Phreak Linux - Newbie 2 08-23-2004 09:20 AM
Booting Linux from a Floppy? testforechozero Linux - General 4 08-20-2004 11:34 PM
Installing Linux by Booting from Floppy? agee220 Linux - Newbie 4 07-18-2004 06:08 PM
Booting Linux With Floppy and install concern nbn792 Linux - Software 2 01-06-2004 06:34 PM

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

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