Look for interspersed comments. :-)
On Mon, 14 Jun 1999 [EMAIL PROTECTED] wrote:
> Hi
>
> I just installed RH 6.0 and I have big problems. The install itself
went OK.
> I installed linux as a second operating system with Win98 as follows
>
> /dev/hda1 = FAT16 (win 98)
> /dev/hda2 = Linux Native
> /dev/hda3 = Linux Swap
>
> /dev/hdb1 = fat 16
> /dev/hdb2 = Linux Native
>
> When I completed the install & rebooted. My machine booted staight to
Win98
> without giving me a LILO prompt. I rebooted with a boot disk and from
in
> linux, mucked around with "lilo.conf". As a result, I could boot to
linux but
> not win98
>
> I mucked around some more, but eventually got tired of it and
reinstalled
> RH6.0 I still can't boot to win98 and it doesn't look good. I get the
LILO
> prompt, but when I choose "dos" I get the message "Loading dos" for
about 5
> seconds and the the LILO prompt again. Following are the particulars
>
> >From DOS fdisk:
> C: UNKNOWN SYSTEM
> A LINUX
> LINUX
>
> I tried fdisk /mbr & got no result
>
> I tried booting from a win98 boot disk and when I try to get a
directory from
> C: I get a "invalid media type" error
>
> Scandisk says it cannot examine drive C
>
> from Linux FDISK
>
> hda1 1-520 6 FAT16
> hda2 521-825 * 83 LINUX
> hda3 826-851 82 LINUX SWAP
>
> I tried toggling the bootable flag for hda1 but got a "invalid
partition
> table" error & had to reboot from floppy
The mbr you get from fdisk /mbr requires one and only one partition to
be bbootable. 2 or no bootable partitions will provoke this error.
>
> next I tried to mount the dos partition from linux using the following
> command (I include this because I might be doing it wrong):
>
> mount -t msdos /dev/hda1 /mnt/dosc
>
> this generates the following errors
>
> VFS: Can't find a validMSDOS filesystem on dev 03:01
> mount: wrong fs type, bad option, bad superblock on /dev/hda1
or too
> many mounted file systems
>
> For the sake of completeness, here is my LILO.CONF file:
>
> boot=/dev/hda1
^^^^ You have installed lilo as the partition boot record for
your dos partition. Since the dos filesystem relies on parameters
recorded only in the partition boot record, this rendoers the dos fs
temporarily unusable. This is not what you want: selecting dos
just starts lilo again.
Boot linux, and fix this.
boot=/dev/hda2
Rerun lilo. When lilo installed itself into /dev/hda1, it made a backup
in /boot/boot.0301 Unless you have forced it to overwrite this, it
should be right to copy back to where it came from:
dd if=/boot/boot.0301 of=/dev/hda1 bs=512 count=1
Now you should be able to mount your dos partition with linux. I
recommend you use filesystem type vfat in case you want long filename
support. msdos will work, but tthe long filenames will look a little
funky. And lilo should be able to boot either linux or dos.
> map=/boot/map
> install=/boot/boot.b
> prompt
> timeout=50
> image=/boot/vmlinuz-2.2.5-15
> label=linux
> root=dev/hda2
> initrd=/boot/initrd-2.2.5-15.img
> read-only
> other=/dev/hda1
> label=dos
> table=/dev/hda
>
>
> I did a backup before installing RH. so If I lost the win98 data, its
not a
> big disaster (although I'd prefer not to have to go that far). Does
anyone
> have a clue on how to restore my windows partition? Or, if that's not
> possible, how to put windows back on & make it a boot option, etc
>
> Thanks
>
> Chuck Rouse
>
Lawson
>< Microsoft free environment
This mail client runs on Wine. Your mileage may vary.
___________________________________________________________________
Get the Internet just the way you want it.
Free software, free e-mail, and free Internet access for a month!
Try Juno Web: http://dl.www.juno.com/dynoget/tagj.