Go Back   nV News Forums > Linux Support Forums > General Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-07-07, 01:48 PM   #1
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default LILO: Need help adding SATA based Win XP Drive

i have slackware 11 installed on an IDE drive and windows xp installed on a SATA drive. i have LILO installed to the MBR on the IDE drive.

i want to add win xp to my lilo menu. i can mount the win xp device in linux, and i know that it is /dev/sda1. if i want to boot the win xp drive, would the following be acceptable?

Code:
# Windows bootable partition config begins
other = /dev/sda1
label = Windows-XP-Pro
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends
or would i need...

Code:
# Windows bootable partition config begins
other = /dev/sda1
label = Windows-XP-Pro
map-drive = 0x80
to = 0x81
map-drive = 0x81
to = 0x80
table = /dev/sda
# Windows bootable partition config ends
if someone could shed some light on what exactly the 0x80 and 0x81 mean, that would be great
ViN86 is offline   Reply With Quote
Old 06-07-07, 02:23 PM   #2
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: LILO: Need help adding SATA based Win XP Drive

They are hex SCSI ID of the drive. I'd try it without them first.

http://tldp.org/HOWTO/LILO-6.html
evilghost is offline   Reply With Quote
Old 06-07-07, 02:38 PM   #3
chunkey
#!/?*
 
Join Date: Oct 2004
Posts: 662
Default Re: LILO: Need help adding SATA based Win XP Drive

AFAIK not really,
It's a BIOS thing (for Int 13h )

everything with a 0x8X is a HDD! (0x80 is the first hdd, 0x81 the second ... )
(note: 0x0X is for floppies)
chunkey is offline   Reply With Quote
Old 06-07-07, 02:41 PM   #4
evilghost
Registered User
 
Join Date: Jul 2005
Posts: 3,606
Default Re: LILO: Need help adding SATA based Win XP Drive

Quote:
Originally Posted by chunkey
AFAIK not really,
It's a BIOS

everything with a 0x8X is a HDD! (0x80 is the first hdd, 0x81 the second ... )
(note: 0x0X is for floppies)
BIOS ID, gotcha, thanks for correcting my misinformation.
evilghost is offline   Reply With Quote
Old 06-07-07, 03:24 PM   #5
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: LILO: Need help adding SATA based Win XP Drive

so according to the article, if i set the boot order as follows:

1. IDE w/ Linux and LILO
2. SATA w/ Windows
3. SATA w/ Data

then the drives are as follows

1. 0x80
2. 0x81
3. 0x82

then i would have to issue the map-drive...to...map-drive...to cmd.

this seem correct?
ViN86 is offline   Reply With Quote
Old 06-07-07, 03:44 PM   #6
chunkey
#!/?*
 
Join Date: Oct 2004
Posts: 662
Default Re: LILO: Need help adding SATA based Win XP Drive

yes, sounds good... (of course there's a small change that the bios puts
the sata drives after 0x83, you have to try!)
chunkey is offline   Reply With Quote
Old 06-07-07, 10:27 PM   #7
ViN86
 
Join Date: Mar 2004
Posts: 15,486
Default Re: LILO: Need help adding SATA based Win XP Drive

got it workin.

xp boots pretty slow, but i dont really care as long as it runs full speed (which it does) once it's loaded.

i had to use the map-drive feature and the second block of code in the OP worked for me. thx ghost and chunkey
ViN86 is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
$49.99 - OCZ Petrol PTL1-25SAT3-64G 2.5" 64GB SATA III MLC Internal Solid State Drive News Archived News Items 0 06-21-12 08:30 AM
(PR) Silicon Power Announces the T10 SATA II Solid State Drive News Archived News Items 0 05-22-12 07:10 AM
New Western Digital drive performance Nemesis General Hardware 6 08-15-02 07:29 AM

All times are GMT -5. The time now is 02:43 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.