Click to See Complete Forum and Search --> : Dual boot problem with slackware on second hdd


Drail
11-08-2002, 04:54 AM
So I've got 2 HDDs
The first has Win2k and the second has a fat32 partition taking up the first 30 gig and 10 gigs unused.

From the unused space on the second hdd I create 2 ext2 partitions and a swap parition (all logical).

I install Slackware 8.1 on the first ext2 partition /hdd5, and install lilo to the root partition. I then reset and log back into root from a boot disk.
I decide I want to put lilo in the MBR so I edit the lilo.conf as follows

boot = /dev/hda
map = /boot/map
install = /boot/boot.b

other=/dev/hda1
label=win2k

now comes the problem.
When I save and type /sbin/lilo I get some warning messages saying something like "bios device ext2 may not be accessible"
and when I reboot instead of coming up with boot options it prints a few screens of 01's and freezes.

What is the problem here? I thought it might be happening because Slackware is installed on the second hdd (and towards the end of it too) but I checked around and found this is only a problem for older BIOS's.

Anyone got any ideas?



p.s.
I also tried copying the linux boot sector to floppy with
dd if=/dev/hda5 bs=512 count=1 of=/mnt/floppy/linux.bin
and copying it to win2k's c:\ and adding it to the nt boot loader but when I selected it from the boot prompt it printed the same 01's as my lilo attempt did.

Whats going on?

Drail
11-08-2002, 05:09 AM
I'm trying to dual boot Win2k and Slackware 8.1 but have had some trouble
(complete prob here http://linuxnewbie.org/forum/showthread.php?s=&threadid=73664)

I'm basically trying to dual boot with Slackware on a second HDD (configured as secondary slave listed as /hdd) and its been giving me trouble when I try to boot (print's 01's).

Is it possible to dual boot with linux on a second hdd? And if so is there anything extra I have to do?



p.s.
I'm using a fairly new mobo so I don't think the problem is my BIOS being too old.

Drail
11-08-2002, 05:55 AM
thanks, I'll try it right away but I'm certain its set as /dev/hdd.
I think because its set as secondary slave.


edit:
checked it and its definatly /dev/hdd
I tried adding 'ro' to
boot = /dev/hda
but when I ran /sbin/lilo it wouldn't accept it
did you mean after specifying image? It had "read-only" there by default.

gritseater
11-08-2002, 07:37 AM
Since your slackware is on second harddrive, second partition, it would be "hdb2".
I think you need an entry in lilo pointing to "root" as being in "hdb2". What does the NHF say?

ianc
11-08-2002, 09:23 AM
See my post in this thread:

http://www.linuxnewbie.org/forum/showthread.php?s=&threadid=73546

for a complete how-to.

ianc

mdwatts
11-08-2002, 10:15 AM
If Windows is hda1 and Linux on hdd5 with Lilo installed in the mbr of hda, then the following should work

boot = /dev/hda
map = /boot/map
install = /boot/boot.b
label = linux
root = /dev/hdd5

other=/dev/hda1
label=win2k

Of course run /sbin/lilo (as root) after any changes to /etc/lilo.conf.

If that doesn't work, try adding bios=0x83

boot = /dev/hda
map = /boot/map
install = /boot/boot.b
label = linux
bios=0x83
root = /dev/hdd5

other=/dev/hda1
label=win2k

mdwatts
11-08-2002, 04:09 PM
Please do not post the same question twice.

I have merged the other thread (and my response) into this one.