LILO won't boot dos on secondary ide /dev/hdc

LILO won't boot dos on secondary ide /dev/hdc

Post by Jon Wojkowsk » Mon, 10 Jun 1996 04:00:00



I have the LILO on the MBR of the first IDE drive
and it boots Linux straight away.
This part is OK.

During the boot-up it does the partition check and
seems to recognize /dev/hdc /dev/hdc1 (which is the second IDE drive.)

When I run fdisk /dev/hdc it says: can't open /dev/hdc.

If I boot up from the Linux install disks, I can run the fdisk
and it will find either drive.

Ultimately, I want to boot from LILO
            Linux on /dev/hda (OK)
            DOS 6 on /dev/hdc

Thanks for the help.

Thanks to all the people who helped me out last time.

Jon

 
 
 

LILO won't boot dos on secondary ide /dev/hdc

Post by Roger Pittma » Mon, 10 Jun 1996 04:00:00



> (skipped)

> During the boot-up it does the partition check and
> seems to recognize /dev/hdc /dev/hdc1 (which is the second IDE drive.)

> When I run fdisk /dev/hdc it says: can't open /dev/hdc.

> If I boot up from the Linux install disks, I can run the fdisk
> and it will find either drive.

> Ultimately, I want to boot from LILO
>             Linux on /dev/hda (OK)
>             DOS 6 on /dev/hdc

> (skipped)

Er, where's hdb ?

hda - ide 0 master
hdb - ide 0 slave
hdc - ide 1 master
hdd - ide 1 slave

Personal experience, ide didn't like 2 masters and 0 slaves. Vaguely
recall reading this violated the ide spec, ie. "holes" not allowed.
After moving hdc to hdb (jumper & cable), trouble went away. Also had
trouble with hda/b/c as hd/cd/hd. CD had to be last. Don't know why.

FWIW, also had "weird things happen" with dos on hdb (well, weirder
than usual :). Seems some apps were bypassing lilo's "tsr". Suggest
leave dos on hda. Linux on hdb works fine.

--
Regards,
Roger

 
 
 

LILO won't boot dos on secondary ide /dev/hdc

Post by Simon Bon » Tue, 11 Jun 1996 04:00:00




> > (skipped)

> > During the boot-up it does the partition check and
> > seems to recognize /dev/hdc /dev/hdc1 (which is the second IDE drive.)
> Er, where's hdb ?

> hda - ide 0 master
> hdb - ide 0 slave
> hdc - ide 1 master
> hdd - ide 1 slave

> Personal experience, ide didn't like 2 masters and 0 slaves.

I agree, I have had trouble with setups with 2 masters and no slave.  I
would definately recommend setting the second hard disk as a slave and
putting on the first EIDE controller.

Simon

 
 
 

LILO won't boot dos on secondary ide /dev/hdc

Post by Jon Wojkowsk » Tue, 11 Jun 1996 04:00:00


I have a Seagate 125 MB as the master
(because I don't know the jumpers settings)
and a Quantum Maverick 540 MB (more than 1024 cylinders).

When I set the 540 to slave, the motherboard doesnt detect it?
AMI BIOS AMERICAN MEGA TRENDS.

Any suggestions?

Jon

Quote:

>> hda - ide 0 master
>> hdb - ide 0 slave
>> hdc - ide 1 master
>> hdd - ide 1 slave

>> Personal experience, ide didn't like 2 masters and 0 slaves.

>I agree, I have had trouble with setups with 2 masters and no slave.  I
>would definately recommend setting the second hard disk as a slave and
>putting on the first EIDE controller.

>Simon

 
 
 

LILO won't boot dos on secondary ide /dev/hdc

Post by Justin Pelleti » Tue, 11 Jun 1996 04:00:00



>I have the LILO on the MBR of the first IDE drive
>and it boots Linux straight away.
>This part is OK.
>During the boot-up it does the partition check and
>seems to recognize /dev/hdc /dev/hdc1 (which is the second IDE drive.)
>When I run fdisk /dev/hdc it says: can't open /dev/hdc.
>If I boot up from the Linux install disks, I can run the fdisk
>and it will find either drive.
>Ultimately, I want to boot from LILO
>            Linux on /dev/hda (OK)
>            DOS 6 on /dev/hdc
>Thanks for the help.
>Thanks to all the people who helped me out last time.
>Jon

Sorry, but you'll have to plain your partitioning differently since
DOS can only boot from the C: drive.  This means that it has to be the
first DOS partition on the hard disk (and normally the first of all).
My guess would be that the partition it lets you boot from is your
first one, right?

You should install Win 95 on your first partition, without choosing to
upgrade Win 3.11 (install in another directory).  When you see
Starting Windows 95, press F8 and you'll get a menu allowing you to
boot your old dos version and thus your old Win 3.11.  One thing to
consider though : Since both Windows versions executable is the same
name, it can bring to confusion, so I recommand you change win.com
from version 3.11's name.

If you have any more questions, reply via email.

Justin Pelletier
JP Programmation
Montreal, Canada

 
 
 

LILO won't boot dos on secondary ide /dev/hdc

Post by Filipe G. Magr » Tue, 11 Jun 1996 04:00:00


Quote:> FWIW, also had "weird things happen" with dos on hdb (well, weirder
> than usual :). Seems some apps were bypassing lilo's "tsr". Suggest
> leave dos on hda. Linux on hdb works fine.

> --
> Regards,
> Roger

In my Linux setup, I have linux installed on my master ide hard drive
(hda), while Win95 runs on my slave idehard drive (hdb). I use LILO and
have not had any problems whatsoever with this setup. Also, I had DOS 6.22
on hdb before installing Win95 there, and that too was without any
problems.

Also, I have never heard of a LILO "tsr",nor can I imagine how/why any dos
programs would bypass or conflict with LILO.

Win95 doesn't even recognize my master hdd, so there!

---

 
 
 

LILO won't boot dos on secondary ide /dev/hdc

Post by Roger Pittma » Thu, 13 Jun 1996 04:00:00



> [snip]

> Also, I have never heard of a LILO "tsr",nor can I imagine how/why any dos
> programs would bypass or conflict with LILO.

> Win95 doesn't even recognize my master hdd, so there!

> ---

I encountered this "way" back with Linux v1.2.8 on a then recent Slackware release
(last summer ?) Don't think v1.2.13 was on sunsite yet. Now using RedHat v3.0.3
release, modified w/Linux v2.0.0, etc. (Penquin hell, try peregrine. This thing
flies)

The "tsr" to which I refer is "/boot/any_d.b".I recall looking at the source file
(in the lilo tree, don't have source installed at moment), and also chasing thru it
w/messy-dos's debug. Curious as to how it worked. This "huge" file (I think then
was 512 bytes) hooked int 13h, the bios disk interrupt. It examined the drive
select byte, and maybe toggled the low bit, before chaining to the previous handler.
ie. dos thought it was on the 1st drive (0x80) when it was really on the second
(0x81). Maybe I should have referred to this file as a device driver ?

The "conflict", strictly guessing, was w/some program that accessed the hardware
directly. What it (and dos) considered drive c was physical device 0x81, not 0x80.
so going direct (instead of using int 13h) would access the wrong drive, which
was what I was seeing. No, don't recall which program(s).

Again, this was some time ago. File is now 204 bytes. Don't know what may have
changed. May be completely different now. SWAG, lilo v0.14 ???

Re Windoze 0.95 - after *34* re-install's on 4 different hardware platforms,
including one where it came "pre-installed", it out-stubborned me. I'm sticking
w/Linux. (Well, maybe a few dos games). Don't see why the company's software should

with itself.

Big "problem" using Linux tho. I can no longer justify taking un-scheduled break
time by claiming "the computer is busy". Drat, shux, and such.

So there back at ya' :-)

--
Cheers,
Roger

 
 
 

1. 2.5.46 won't boot with root=/dev/hda5, does with /dev/ide.../part5

2.5.44 booted fine with root=/dev/hda5 on my laptop (one ide disk, all
ext2).

2.5.46 stopped at VFS cannot blah blah "hda5", after reading the
partition table fine.

I got 2.5.47 to boot (gave up on 2.5.46) by using the
root=/dev/ide/../part5 param instead.

Yes, it took me a week to think of that.

There was no change between configs except what make oldconfig
threw up to make a decision on (and I always say no).

Choice selections from config ..

  ...
  # CONFIG_HPFS_FS is not set
  CONFIG_PROC_FS=y
  CONFIG_DEVFS_FS=y
  # CONFIG_DEVFS_MOUNT is not set
  # CONFIG_DEVFS_DEBUG is not set
  CONFIG_DEVPTS_FS=y
  # CONFIG_QNX4FS_FS is not set
  CONFIG_ROMFS_FS=m
  CONFIG_EXT2_FS=y
  CONFIG_EXT2_FS_XATTR=y
  # CONFIG_EXT2_FS_POSIX_ACL is not set
  CONFIG_SYSV_FS=m
  ...

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Newbie question

3. LILO won't boot second hard drive hdc

4. ppp always connects twice

5. Lilo boot won't allow DOS to boot

6. UNIX Partition w/ WARP?

7. Messed up and MAKEDEV -d 'd hdc and MAKEDEV hdc won't recreate

8. First Attempt to Install FreeBSD - Discouraging

9. An ide.c message, /sbin/lilo, and /dev/hdc

10. Help: ide: probable bad entry for /dev/hdc from LILO

11. Help: can't boot dos from /dev/hdb1 using lilo

12. How to boot DOS/Win95 on hdc from lilo

13. LILO Q: storing boot info on /dev/hdc