Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Slackware 13.1: Can't dual boot?

7 views
Skip to first unread message

isuy

unread,
Jun 13, 2010, 2:50:27 PM6/13/10
to
I have installed Slack-13.1 on a SATA drive ( /dev/sda ) and Windows on
IDE drive ( Slack-13.1 detects this ide drive as /dev/sdb instead of
/dev/hdb).

I have installed lilo on /dev/sda and added these lines in lilo.conf:

other = /dev/sdb1
label = Windows
table = /dev/sdb

It boots Linux fine, but when I try to boot Windows, all I get is
"Loading Windows" and nothing more.

Need some help here please.

Thank you in advance.

Henrik Carlqvist

unread,
Jun 14, 2010, 2:06:00 AM6/14/10
to
isuy <is...@socal.rr.com> wrote:
> I have installed lilo on /dev/sda and added these lines in lilo.conf:
>
> other = /dev/sdb1
> label = Windows
> table = /dev/sdb
>
> It boots Linux fine, but when I try to boot Windows, all I get is
> "Loading Windows" and nothing more.

Are you able to boot that disk without LILO if you disconnect the SATA
drive? If not I would first start to try to fix your Windows installation.
Once you know that you have a working bootablw Windows installation the
next step would be to read the man page of lilo.conf and play around with
options like bios, map-drive, master-boot and boot-as.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc3(at)poolhem.se Examples of addresses which go to spammers:
root@localhost postmaster@localhost

Grant

unread,
Jun 14, 2010, 3:55:48 AM6/14/10
to
On Mon, 14 Jun 2010 08:06:00 +0200, Henrik Carlqvist <Henrik.C...@deadspam.com> wrote:

>isuy <is...@socal.rr.com> wrote:
>> I have installed lilo on /dev/sda and added these lines in lilo.conf:
>>
>> other = /dev/sdb1
>> label = Windows
>> table = /dev/sdb
>>
>> It boots Linux fine, but when I try to boot Windows, all I get is
>> "Loading Windows" and nothing more.
>
>Are you able to boot that disk without LILO if you disconnect the SATA
>drive? If not I would first start to try to fix your Windows installation.
>Once you know that you have a working bootablw Windows installation the
>next step would be to read the man page of lilo.conf and play around with
>options like bios, map-drive, master-boot and boot-as.

Shouldn't need any of those old lilo options these days.

Something is wrong with the windows setup; that lilo stanza correctly
passes control to the windows loader, any issues after that are not
due to lilo as far as I can tell. Every windows box I build for over
a decade is dual boot with Linux, last six years with Slackware, only
with lilo here as it just works...

Of course, I may be wrong. :o)

Grant.
--
http://bugs.id.au/

stuart

unread,
Jun 14, 2010, 11:21:19 AM6/14/10
to
Henrik Carlqvist wrote:
> isuy <is...@socal.rr.com> wrote:
>> I have installed lilo on /dev/sda and added these lines in lilo.conf:
>>
>> other = /dev/sdb1
>> label = Windows
>> table = /dev/sdb
>>
>> It boots Linux fine, but when I try to boot Windows, all I get is
>> "Loading Windows" and nothing more.
>
> Are you able to boot that disk without LILO if you disconnect the SATA
> drive? If not I would first start to try to fix your Windows installation.
> Once you know that you have a working bootablw Windows installation the
> next step would be to read the man page of lilo.conf and play around with
> options like bios, map-drive, master-boot and boot-as.
>
> regards Henrik

I may be a little rusty, but I suspect you've got Windows on a drive it
won't like.

AFAIK Windows likes to be on the primary hdd. You've got it on sbd1 and
I think it should be on sda1

As I say, I'm a little rusty so may have this wrong, but what Windows
calls Drive C: is the first hdd and it will only work from that one.

Stuart

jim dorey

unread,
Jun 14, 2010, 2:32:59 PM6/14/10
to
stuart wrote:
> I may be a little rusty, but I suspect you've got Windows on a drive it
> won't like.
>
> AFAIK Windows likes to be on the primary hdd. You've got it on sbd1 and
> I think it should be on sda1
>
> As I say, I'm a little rusty so may have this wrong, but what Windows
> calls Drive C: is the first hdd and it will only work from that one.
>
> Stuart

yah, windows on sata is problematic, i dunno if any version supports
booting from sata natively yet. anyways, i have an sata, with it set as
primary boot device, lilo in the superblock instead of the mbr, windows
on ide, second in the list, all kinds of wrong stuff(just got up, not
gonna poop here when i gotta...). i use ntldr, nowhere near as pretty
as the lilo boot screen, which ain't that much to look at in the first
place, but as long as windows gets to use its own choice of boot loader,
and has the sata drivers installed at system install time, no big.

it may have been possible to install to ide and ghost over to sata...
considering how much fun i found streamlining the install disk(didn't
bother with that hell), it seems a better option.

isuy

unread,
Jun 14, 2010, 4:37:26 PM6/14/10
to
Henrik Carlqvist wrote:

> Are you able to boot that disk without LILO if you disconnect the SATA
> drive? If not I would first start to try to fix your Windows installation.
> Once you know that you have a working bootablw Windows installation the
> next step would be to read the man page of lilo.conf and play around with
> options like bios, map-drive, master-boot and boot-as.

I executed liloconfig and it added the following lines to lilo.conf.

other = /dev/sdb1
label = Windows

# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sdb

I uncommented all the lines above. It boots Windows fine now.

Thank you all for your time.


>
> regards Henrik

isuy

unread,
Jun 15, 2010, 2:36:51 AM6/15/10
to
isuy wrote:

>
> I executed liloconfig and it added the following lines to lilo.conf.
>
> other = /dev/sdb1
> label = Windows
> # map-drive = 0x80
> # to = 0x81
> # map-drive = 0x81
> # to = 0x80
> table = /dev/sdb
>
> I uncommented all the lines above. It boots Windows fine now.


Here is the explanation why this work.

Windows is expecting to be the first disk in your computer and does
not know what to do when you try to boot it as the second drive. In
order to work around this, /etc/lilo.conf has to be modified as above.
What this does is fool DOS/Windows into believing that it is the first
drive in your system.


http://www.redhat.com/support/resources/faqs/rhl_general_faq/s1-bootloader.html

0 new messages