LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-15-2004, 12:23 AM   #1
thrice
Member
 
Registered: Apr 2003
Location: ft worth tx
Distribution: Gentoo 2005.0
Posts: 108

Rep: Reputation: 15
lilo not booting my SATA winxp drive


i recently got a sata 120 gig harddrive to add to the 80 gig and 6.4 gig(for backups) ide harddrives that i have. first off, my winxp cd couldn't recognize my sata drive when it was set to IDE3, so i had to unplug my other harddrives so that my sata drive could get IDE 1 Master. after getting windows installed, i deleted everything on my older 80 gig and reinstalled slackware over it (during install, i had to unplug my sata drive for hte cd to boot.....it kept trying to recognize the drive, but it wasn't able to). after installing slack, i recompiled the kernel with 2.8.1 and was then able to mount and recognize my sata drive. now that i was able to see the drive (sda1), i ran liloconfig, set up my Slackware boot option and then my Windows boot option (choosing sda1 to boot with) and installed it on the superblock of my linux (80 gig) harddrive. now when i boot up my computer, i get both options, but only booting into winxp works. when i choose windows, it just says "Loading WinXP...." (WinXP is my windows install identifier in Lilo) and nothing happens. What could be the problem? its been several months since i've been able to use linux, so i apologize if this is a newbie question. i don't have any experience with sata drives (especially in linux) so this is all very new to me. any help would be greatly appreciated.
 
Old 10-15-2004, 12:51 AM   #2
predator.hawk
Member
 
Registered: Aug 2004
Location: USA
Distribution: FreeBSD-5.4-STABLE
Posts: 252

Rep: Reputation: 30
SDA1 refers to the partition.......... Recheck the partition numbers and setup lilo by hand.
 
Old 10-15-2004, 01:08 AM   #3
thrice
Member
 
Registered: Apr 2003
Location: ft worth tx
Distribution: Gentoo 2005.0
Posts: 108

Original Poster
Rep: Reputation: 15
well this is what cfdisk says about my sata disk

Code:
]    sda1           Boot           Primary      NTFS                 [                  120031.52



and this is what is in my lilo.conf....

Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/hda2
label = Slack
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = WinXP
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends

that should work, right?
 
Old 10-15-2004, 01:56 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Try adding boot-as=0x80
IE:
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = WinXP
boot-as=0x80
 
Old 10-15-2004, 02:50 AM   #5
thrice
Member
 
Registered: Apr 2003
Location: ft worth tx
Distribution: Gentoo 2005.0
Posts: 108

Original Poster
Rep: Reputation: 15
wtf. that worked...why??
wtf is "boot-as=" and where'd you get the "0x80"? does that mean boot as IDE or something?
thanks a lot for the info though. never ever would have figured that out.
thanks again

Last edited by thrice; 10-15-2004 at 03:00 AM.
 
Old 10-15-2004, 03:02 AM   #6
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 51
Take a look at: man lilo.conf
That's where I first saw it and worked like a charm when the default (without it) didn't work.
 
  


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
FC 3 and booting from SATA drive aetiologic Linux - Software 2 10-05-2007 03:44 AM
booting wndows from SATA disk using lilo jackuess Linux - General 0 05-14-2005 06:19 PM
Dual Booting WinXP/MDK with Lilo and Grub StealthSpectar Mandriva 5 11-09-2004 02:02 PM
RH 9 ide + WinXP SATA + dual booting Ev D Linux - Hardware 0 07-21-2003 08:19 AM
LILO problem booting WinXP Stephanie_new Linux - General 15 06-19-2002 10:01 AM


All times are GMT -5. The time now is 06:58 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration