LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-05-2004, 08:03 PM   #1
Quickdraw
Member
 
Registered: Dec 2003
Location: NY
Distribution: Slackware
Posts: 41

Rep: Reputation: 16
lilo won't boot windows


hi all, i just finished installing a dual boot of windows 2k, and slackware 9.1 (finally got around to switchin from red hat), and at first everything was working great, but i quickly found out the it was only running off of one CPU (dual XP 2000's computer) so i re-compiled the kernal with SMP support, and i also changed from i686 to athlon based, and after i did that everything was working fine within linux, but when i tried to swith to windows all i get is loading windows and after that it goes no futher..

IDE 1 CD-Rom
IDE 2 Windows HD /dev/hdb1
IDE 3 Slackware /dev/hdc1 = /
/dev/hdc2 = /swap
/dev/hdc5 = /usr
/dev/hdc6 = /opt
/dev/hdc7 = /home

IDE 4 Shared HD between windows and Linux (vFat)

here is the last part of my lilo.conf
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda2
label = Linux
read-only
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/hdb1
label = Windows
tabel = /dev/hdb
# Windows bootable partition config ends

lilo is installed in the MBR of the first hd (/dev/hdb)
and i've tried re-installing lilo a couple time and no go both time.......i can mount the windows drive from within linux, but cannot boot to it for some reason....anybody have any ideas ????
 
Old 02-05-2004, 08:05 PM   #2
Kovacs
Member
 
Registered: Jul 2003
Distribution: FreeBSD 8.2 RELEASE
Posts: 607

Rep: Reputation: 31
What error message do you get? What happens?
 
Old 02-05-2004, 08:10 PM   #3
synaptical
Senior Member
 
Registered: Jun 2003
Distribution: Mint 13/15, CentOS 6.4
Posts: 2,020

Rep: Reputation: 47
Re: lilo won't boot windows

Quote:
Originally posted by Quickdraw
# Windows bootable partition config begins
other = /dev/hdb1
label = Windows
tabel = /dev/hdb
# Windows bootable partition config ends
i don't know whether it's a typo in your post or in your config file, but table is spelled "table," not as it's listed in your post: tabel. maybe that would mess something up. ?

Last edited by synaptical; 02-05-2004 at 08:11 PM.
 
Old 02-05-2004, 08:23 PM   #4
Quickdraw
Member
 
Registered: Dec 2003
Location: NY
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 16
oops, that was my mistake it is a typo......guess i should have used spell check before i sent that. :-)
 
Old 02-05-2004, 09:25 PM   #5
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Was this the order of the drives before? I just installed Mepis and to get Lilo past the bootmanager program embedded in my old fujitsu's firmware, I had to swap the drives. So, mt WinXP drive is /dev/hdb1 like yours is. I inserted the new line in my /etc/lilo.conf that told WIndows it was on the first drive:

boot-as=0x80

You may need to do that if it still doesn't boot after the typo is corrected. Good luck
 
Old 02-05-2004, 09:43 PM   #6
Quickdraw
Member
 
Registered: Dec 2003
Location: NY
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 16
yup, this is the same drive order from when i had red hat installed, the only diffidence is when i had red hat i used grub as my boot loader, and now i'm using lilo, and also when i first installed slackware, and windows....i could boot to each of them no problem......it just started after i re-compiled the kernel......so i'm wondering if something went wrong.....also i remember reading somewhere that lilo has to be in the MBR of a HD on the master of the primary IDE channel (could be wrong)......if i can't get it working i might just move the drive order so the CD-rom is last on the secondary channel and three drives are first, and then re-install everything....don't have anything on the system as of yet....so it's not big loss.
 
Old 02-05-2004, 09:58 PM   #7
kiko
Member
 
Registered: Dec 2003
Posts: 47

Rep: Reputation: 15
I think if u don't let cdrom as master n HD as slave it won't be problem, when u run lilo.
It is problem that can not be decribed easily .. bcoz once HD is installed as slave the channel is controlled by CDROM, n the speed of CD is of kbps rather than mbps, throughput is not the problem bcoz when HD got the channel reserved, it just strobes the datas, that will not be many handshaking cycles between cpu <-> cdrom mechanic, then cpu <-> HD delays ..
 
Old 02-05-2004, 10:45 PM   #8
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
You can just remove the table = /dev/hdb.
That always cripple lilo from booting windoze for me.
 
Old 02-06-2004, 07:26 PM   #9
CoolAJ86
Member
 
Registered: Jan 2004
Location: VT, USA
Distribution: Gentoo, Ubuntu - t3h 1337 & the easy, respectively
Posts: 125

Rep: Reputation: 15
I second the motion kiko set forth.
Windows usually wants HD to be master - and that actually makes sense.
 
Old 02-06-2004, 07:46 PM   #10
vectordrake
Senior Member
 
Registered: Nov 2003
Location: NB,Canada
Distribution: Something alpha or beta, binary or source...
Posts: 2,280
Blog Entries: 4

Rep: Reputation: 47
Quote:
Originally posted by CoolAJ86
I second the motion kiko set forth.
Windows usually wants HD to be master - and that actually makes sense.
That's why you fool it into thinking its first with the boot-as=0x80 parameter in your /etc/lilo.conf (just did it 2 days ago - it works)

This command tells Lilo to boot Windows as if its mon the first drive in the BIOS ---> "0x80". This used to be accomplished with the table=/dev/hda and the map=hda-hdb and the other way around, or something. I got it screwed up before and had to google for the answer for about 1/2 a day.

I must say that kiko does have that as a point, as do you, but there is a workaround that is useful and efficient (remember if you do it that way, you don't have to rewrite the MBR of your Windows drive. LILO won't be pointing to it anyways

The other point kiko touched on is valid as well, but for different reasons (Linux will find a way to work around OS's selfishness.LOL). The drives do make a difference as to what controllers they are on as far as I/O. If your cdrom is PIO only and you put it on the same cable as your spanky new ATA133 drive that can do UDMA5, then you're not gonna get your 50-100k transfers, you'll get 2 or 3 like te cdrom is capable of. The controller goes only as fast as the slowest device, so you'd have good luck matching the fastest drives to the same controller. You'll get better I/O that way.
 
Old 02-06-2004, 08:26 PM   #11
Quickdraw
Member
 
Registered: Dec 2003
Location: NY
Distribution: Slackware
Posts: 41

Original Poster
Rep: Reputation: 16
vectordrake you are a GOD! i went ahead and tried you advice and added in the map-drive=0x80 to the windows part of my lilo.conf, and SUCCESS windoze is booting up normal.

Thank you all for you all for replying so quickly, this is why i love the linux community
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help! LILO can't boot windows! i.of.the.storm Slackware 1 09-03-2005 06:27 PM
Lilo won't boot into windows intuxicator Debian 1 03-18-2005 08:59 PM
lilo won't boot windows. dustfinger Linux - Newbie 18 09-12-2004 01:55 PM
lilo boot screen wont show windows to boot into!! please help Fear58 Linux - General 3 07-10-2004 10:55 PM
Lilo won't boot windows Reno Linux - Newbie 1 05-10-2001 10:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration