MBR on HDB? LILO booting from HDB?

MBR on HDB? LILO booting from HDB?

Post by BobBill » Sun, 31 Dec 1899 09:00:00



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?.
 
 
 

MBR on HDB? LILO booting from HDB?

Post by Patrick Lamber » Sun, 31 Dec 1899 09:00:00


The BIOS decides what gets loaded first. The MBR of the first drive
found on the first IDE controller (IDE-0) will be loaded first. This
means that you must put LILO on the MBR for that drive, or on the boot
sector of the Linux partition. Be careful when you change things after
the installation. LILO needs to know what sector of what disk the kernel
image is in. A path is not enough to find it. Also make sure /etc/fstab
is pointing to the right devices. If you move a drive physically then
the device name where Linux is changes.



Quote:> 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

Quote:> the solution...so anyone know what is going on?.

--

Patrick Lambert - Linux Systems Expert

Phone: (714) 908-8265 - FAX: (425) 740-0422

Sent via Deja.com http://www.deja.com/
Before you buy.

 
 
 

MBR on HDB? LILO booting from HDB?

Post by Neil Kooze » Sun, 31 Dec 1899 09:00:00



> 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?.

It's easier than all that.  Just install LILO in the MBR of hda even if
it's loading linux from another drive.

If you don't have any drive connected as hda, then it would be best to
move the other drive to this position in order to use the MBR.

Neil.

 
 
 

MBR on HDB? LILO booting from HDB?

Post by Svend Olaf Mikkels » Sun, 31 Dec 1899 09:00:00



>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?.

This should work. There must be a simple explanation it does not. You
forgot to run lilo or something like that.
--
Svend Olaf