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

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

Post by Phil Reynol » Sun, 31 Dec 1899 09:00:00



I know that LILO can boot Linux from a second hard drive, but can it boot
Windows from one? I ask because I currently have a drive bootable with each
operating system, and would like, if possible, to keep Windows entirely on
the slave (/dev/hdb1). All attempts so far have given "Invalid system disk"
when trying to boot Windows.

--
Phil Reynolds

|L_ \  / Web: http://www.hedgford.demon.co.uk/phil/
(_)- \/  Waltham 67, Emley Moor 69, Windows 95

 
 
 

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

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



>I know that LILO can boot Linux from a second hard drive, but can it boot
>Windows from one? I ask because I currently have a drive bootable with each
>operating system, and would like, if possible, to keep Windows entirely on
>the slave (/dev/hdb1). All attempts so far have given "Invalid system disk"
>when trying to boot Windows.

If no FAT partitions are on hda, you can copy the bootsector from
/dev/hdb1 to the file /boot/bootsect.b1 with dd, change the embedded
disk number from 0x80 to 0x81 and add to lilo.conf:

other=/boot/bootsect.b1
        label=win

For FAT16 the disk number is at offset 36, for FAT32 it is at offset
64.

Or copy http://inet.uni2.dk/~svolaf/bootdos.bin to /boot/bootdos.bin
and add to lilo.conf:

other=/boot/bootdos.bin
        label=win

Still if no FAT partitions are on hda. This will boot the first
primary FAT partition found.

Another solution which I did not test recently is this:

other=/dev/hdb1
        label=win
        map-drive = 0x81
        to = 0x80
        map-drive = 0x80
        to = 0x81
        table=/dev/hdb
--
Svend Olaf

 
 
 

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. Oracle db_shut

3. Moving Linux from /dev/hdc to /dev/hdb - possible?

4. Installing Linux using USB CDRW?

5. LILO Boot of /dev/hdb

6. ALSA vs OSS Commercial drivers

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

8. getcwd gives 'permission denied' error on second drive only

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

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

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

12. Booting LILO off /dev/hdb

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