Solved

linux and windows 98 (fat 32)

Posted on 1998-11-20
4
222 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 150 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Linux script delete files 3 59
Impact of disabling SMB v1 on Mac and Linux clients 4 696
Redhat upgrade 1 48
IMAP copying tool 14 49
Network Interface Card (NIC) bonding, also known as link aggregation, NIC teaming and trunking, is an important concept to understand and implement in any environment where high availability is of concern. Using this feature, a server administrator …
rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
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.

726 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