Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

linux and windows 98 (fat 32)

Posted on 1998-11-20
4
Medium Priority
?
244 Views
Last Modified: 2013-12-15
i'm not very good with my english... there is the question:

i tried to install red hat linux on my computer, but i have a problem with lilo and the master boot record (or something).
i have 2 disks:
disk 1= boot master= windows 98 (fat 32)
disk 2= red hat linux

(i can install the swap and the root partitions, but i have the trouble with lilo)

can lilo boot win98 or there is other multi-boot program that can?



0
Comment
Question by:xeonmaster
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 5

Accepted Solution

by:
laeuchli earned 300 total points
ID: 1631686
try puting this into your lilo.config file.
# DOS bootable partition config begins
other = /dev/hda1
  label = DOS
  table = /dev/hda
# DOS bootable partition config ends

0
 

Expert Comment

by:olvo
ID: 1631687
First you need some sort of linux kernel to install it. A floppy that can boot linux, a CDrom that autoboots or CDROM with dosutils that boot a kernell and starts the installation process. LILO only works once you install linux. The swap and root partition are very easy  to define once you start the installation process.


0
 

Expert Comment

by:singlep2
ID: 1631688
I think the previous answers are missing something here. I have put in a question myself which describes the same difficulties that xeonmaster had. I have elaborated a little further in my question though. I did what laeuchli suggested and it doesn't work. Like xeonmaster my hunch was that lilo does not like booting to a FAT32 partition or something
0
 

Expert Comment

by:olvo
ID: 1631689
Looks like there is a misunderstaing about partition going on.
1. Linux can mount (make the files "visible") msdos, umsdos, FAT-16, FAT-32.
2. LILO can reside in any form of boot sector. The boot sector is the fisrt sector of the HD.
3. Normally, the Linux file system will reside in a linux partition. This days the fashion is ext2.
4. LILO is not the only way to boot linux. LILO will boot "any other OS", but it will write to the first sector of the disk. In the past, some people were concern that lilo was overwriting the dos info. Thi means that DOS could not boot any more, but needed lilo to come first, and then boot DOS. The MS family need to read some info in the first sector.
5. Until the kernel release .34 (now .35) linux needs a patch to be able to mount FAT-32, but it could always boot from.
6. Note how linux doesn't require defrag as DOS does. The FAT-32 is an attempt to come closer to UNIX file systems; more efficient in keeping the HD space.
7. lilo is not the only way to boot linux, although is the preferred for it's versatility. It can reside in any part of the HD, accept command to the kernell at boot time, can boot other OS..., but there is also loadlin (boot linux from dos) that does not use the HD first sector, and also any software that sets a HD partition active, like BOOTACT, which is an interactive boot partition selector.
8. The problems with lilo seems to come from big HD, or some mismatch in the HD properies, although some complain that could not boot Win95 after lilo.
9. A very good procedure was suggested by Werner Almesberger in his exellent Mini Howto:
  a. before installing lilo, make a copy of you HD 1st sector
  a.1    boot linux from a floopy
  a.2    make a backup copy of your MBR ( Master Boot Sector - 1st sector)
           dd if=/dev/hdX of=/dev/fdX/MBR bs=512 count=1
Now you can install lilo, and if later you decide to remove it you can restore your old MBR.
  b. boot linux
  b.1 restore the old MBR
        dd if=/dev/fdX/MBR of=/dev/hdX bs=446 count=1
  Some could never understand the need to remove lilo, but ...
Again linux can boot a lot of different ways, my fevorities are:
from the MBR -> lilo, bootact, fdisk
from DOS      -> loadlin
FAT-32 can be mounted and lilo can boot from it.
                                                               from DOS       -> loadlin


0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I am a long time windows user and for me it is normal to have spaces in directory and file names. Changing to Linux I found myself frustrated when I moved my windows data over to my new Linux computer. The problem occurs when at the command line.…
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

610 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question