nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   LILO: Need help adding SATA based Win XP Drive (http://www.nvnews.net/vbulletin/showthread.php?t=92872)

ViN86 06-07-07 01:48 PM

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 :o

evilghost 06-07-07 02:23 PM

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

chunkey 06-07-07 02:38 PM

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)

evilghost 06-07-07 02:41 PM

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.

ViN86 06-07-07 03:24 PM

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?

chunkey 06-07-07 03:44 PM

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!)

ViN86 06-07-07 10:27 PM

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 :D


All times are GMT -5. The time now is 12:49 AM.

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