Problems with LILO: Can not boot from /dev/hdb

Problems with LILO: Can not boot from /dev/hdb

Post by norb.. » Wed, 27 Jul 1994 19:48:49



I have a problem with LILO: I can boot Linux only from floppy and
not from harddisk! Instead of Linux, which should be the default OS,
MS-DOS is loaded. Even pressing the SHIFT, ALT or CONTROL key has no
effect: No boot-menue is displayed and DOS is loaded stolidly!

I have Linux 1.0.9 running on a 486 DX 40. On my first harddisk I have
all the DOS-stuff; on the second Linux. On partition /dev/hdb2 my
root filesystem is installed. I have set the bootflag for this partition
with (Linux-) fdisk. Proof: fdisk /dev/hdb and command 'p' gives:

Device    Boot  Start  End  Blocks  Id  System
/dev/hdb1       1      40   16772   82  Linux swap
/dev/hdb2  *    41     80   16800   83  Linux native
   .
   .
...and so on.

My lilo.conf, residing in /etc (--> new hierarchy!), looks like this:

***********************************************************************
# LILO configuration file
# generated by 'liloconfig', modified by N.C.
#
# Start LILO global section
boot = /dev/hdb2
#compact                         # faster, but won't work on all systems.
message = /etc/lilo/bootmessage  # Modification of N.C.
prompt
vga = normal                     # force sane state
ramdisk = 0                      # paranoia setting
# End LILO global section
# Linux bootable partition config begins
image = /vmlinuz
  root = /dev/hdb2
  label = linux
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
  label = dos
  table = /dev/hda
# DOS bootable partition config ends
************************************************************************

While running /sbin/lilo, the following messages (and only these) are
displayed:

Quote:> Added linux
> Added dos.

Running /sbin/lilo with options -t -v gives:

Quote:> LILO version 0.14
> Written 1992-1994 by Werner Almesberger

> Reading boot sector from /dev/hdb2
> Merging with /boot/boot.b
> Mapping message file /etc/lilo/bootmessage
> Boot image: /vmlinuz
> Added linux
> Boot other: /dev/hda1, on /dev/hda, loader /boot/chain.b
> Added dos

What the hell is this?? LILO says it has "added linux" but it seems
it hasn't!! I tentatively suggest that LILO is not installed, but what
else can I do but run /sbin/lilo???

Thank you very much in advance for hints/comments.

Norbert Christlieb

 
 
 

Problems with LILO: Can not boot from /dev/hdb

Post by Nicola Pedroz » Thu, 28 Jul 1994 17:25:25


Hi Norbert,
LILO can be installed *ONLY* on the first drive, so if you don't have
a linux partition on /dev/hda you must install it in the MBR by
inserting 'boot=/dev/hda' in your /etc/lilo.conf instead of
'boot=/dev/hdb2', 'root=/dev/hdb2' is ok.

And more: *ONLY* partitions on the first drive can be made active
(one at a time); if you try to set active a partition of the second
drive with dos fdisk, it'll tell you that (I guess linux fdisk didn't
tell you that).
So, the active partition should be the dos one (/dev/hda1)
onto the first drive.

Hope to be helpful,
Ciao Nicky

 
 
 

Problems with LILO: Can not boot from /dev/hdb

Post by Mark Smi » Fri, 29 Jul 1994 03:13:56


: I have a problem with LILO: I can boot Linux only from floppy and
: not from harddisk! Instead of Linux, which should be the default OS,
: MS-DOS is loaded. Even pressing the SHIFT, ALT or CONTROL key has no
: effect: No boot-menue is displayed and DOS is loaded stolidly!

: I have Linux 1.0.9 running on a 486 DX 40. On my first harddisk I have
: all the DOS-stuff; on the second Linux. On partition /dev/hdb2 my
: root filesystem is installed. I have set the bootflag for this partition
: with (Linux-) fdisk. Proof: fdisk /dev/hdb and command 'p' gives:

    You can't boot from the second physical disk.. This is a BIOS
limitation... If you can put LILO on the first disk somehow, or
switch the disks...  

--
Mark Smith                      |         ___ O    

KD6JTS                          |      |/\___/        
--------------------------------+---------------------
"Why won't Windows work on my Macintosh?"
        - The ultimate DFO error

 
 
 

Problems with LILO: Can not boot from /dev/hdb

Post by Richard Wa » Mon, 08 Aug 1994 06:01:29



>Hi Norbert,
[Snip]
>And more: *ONLY* partitions on the first drive can be made active
>(one at a time); if you try to set active a partition of the second
>drive with dos fdisk, it'll tell you that (I guess linux fdisk didn't
>tell you that).
>So, the active partition should be the dos one (/dev/hda1)
>onto the first drive.

On top of that, if you set up an active partition on /dev/hdb and remove your
active partition on /dev/hda your system (unless it's an IBM (real thing) PC,
PC-XT, or PC-AT (none of which will even run Linux)) will boot with message
"ROM BASIC NOT FOUND, SYSTEM HALTED".

Your active partition (and any "boot managers") must be located on /dev/hda.

Richard

 
 
 

1. MBR on HDB? LILO booting from HDB?

RedHat 6.1
        I disconnected my hda (win 95) drive and connected hdb (linux) drive to
primary slave.........I installed linux to that drive and told it to install
LILO on the MBR of hdb.  (In bios i can choose what disk to boot) when i try to
boot from primary slave.........all I get is a bunch of 0101010101010101
scrolling thru my entire screen.  I went into linux.conf (via boot
disk........why do these always work? can't my HD work? ugh.) and changed the
following
 disk=/dev/hda
       bios=0x81
  disk=/dev/hdb
        bios=0x80
hoping to make lilo boot from Primary slave.............I've tried just about
everything..............there's gotta be a way to make LILO boot from primary
slave.....when i install LILO to first sector of hdb lilo loads....and that's
about it..I get a message error 0x01.
Now i'm willing to reinstall LINUX/LILO......but I *need* it to be able to be
booted from hdb (primary slave) and hda leave as it is, hence no interaction
between the two.....in bios i select what HD to boot from A,CDROM,C (prim.
mast.),D (prim slave) and so on.     I've read most everything....can't find
the solution...so anyone know what is going on?.

2. Lock the script

3. LILO Boot of /dev/hdb

4. All HAIL Bill GATES, Windows Forever, the GARBAGE TRUCK of all Operating systems.

5. LILO: booting DOS from /dev/hdb -- SOLVED!

6. keyboard configuration problem

7. Can LILO boot windows MBR on /dev/hdb?

8. S3 converter

9. LILO - possible to boot Win95 from /dev/hdb?

10. HELP wanted to boot dos6win3.1 from /dev/hdb with LILO RedHatLinux

11. Booting LILO off /dev/hdb

12. LILO that does linux at /dev/hda and BEos at /dev/hdb

13. Multi boot: Linux [/dev/hda] and NT [/dev/hdb]