There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware missing monitor network networking outlook outlook 2003 outlook 2007 outlook express password popups problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
UNIX/Linux
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Operating Systems > UNIX/Linux >
lilo help please


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
24-Jan-2004, 11:49 AM #1
lilo help please
I had a winxp partition set up and running. I installed Debian with the drive set up like this:

/boot - 50mb start of drive
windows XP - 60gig
/swap - 1 gig
/ - rest of drive

Now the XP was working and once I installed debian it works fine, but I can't seem to get lilo to boot my XP drive. I tried using this mod to my lilo.conf
boot=/dev/hda
root=/dev/hda4
install=/boot/boot.b
map=/boot/map
prompt
timeout=20

default=Linux
image=/vmlinuz
label=Linux
initrd=/initrd.img

other=/dev/hda5
label=WinXP

I think the XP partition might be a extended off of the hda2. Does anyone know how I can tell what I should be putting in here to get my XP as an option?

Thanks a ton for the help.
__________________
www.ricksweb.info
www.2webheads.com
Quote:
Techies just think a little differently...at least that's what they keep telling me.
Shadow2531's Avatar
Distinguished Member with 2,629 posts.
 
Join Date: Apr 2001
24-Jan-2004, 12:21 PM #2
I barely know what I am talking about, but I would assume hda2 and that's what I would probably try.

If you load up kde control center and look at the block devices, it should show

hda1
hda4

and possilby hda2.

It will probably just tell you what you already know, but if it lists hda2 and shows a size of 60GB, then that's it probably, but it probably won't show it unless you can mount it etc.

I'm running debian 3.0r2 (woody).

searching on the net,

other=/dev/hda2
label=WinXP
table=/dev/hda

would be the correct entry , but if it's on an extended partitoin, then I'm not sure, but it would probably be hda5 like you said. 4 primaries and the first extended would be 5 I think. If I was in charge of setting up a partition scheme, the first extended partition on hda2 would be hda2a , but I don't think it works that way.
__________________
10 ? "a line as the unending horizon"
20 ? "a curve as the rolling hillside"
30 ? "a point as a distant bird"
40 ? "a ray as the rising sun"
run

Last edited by Shadow2531 : 24-Jan-2004 12:56 PM.
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
24-Jan-2004, 03:24 PM #3
no dice. Actually added the table line broke lilo. I might be in for a reinstall of everything here in a bit if I can't get XP back up.
tnik's Avatar
Senior Member with 730 posts.
 
Join Date: Aug 2003
24-Jan-2004, 08:48 PM #4
When your in linux, what partition does fdisk say that your XP partition is?

if you created your partitions like your list:

/boot - 50mb start of drive
windows XP - 60gig
/swap - 1 gig
/ - rest of drive

your windows entry should be /dev/hda2

if your not sure, just try /dev/hda1 through 5, see which one works..

also make sure that you still have a boot.ini file in your windows partiton..

hope this helps
__________________
There are only 10 types of people in the world: Those who understand binary, and those who don't...
Shadow2531's Avatar
Distinguished Member with 2,629 posts.
 
Join Date: Apr 2001
25-Jan-2004, 11:32 AM #5
I'm still searching to see what else I can find. I would like to know the answer too. I'll take note that table is not a good idea.

http://home.neo.rr.com/meffie/linux/PowerUp/PowerUp.txt

according to that page, it would be just like you were saying.

<hda>
<partition1 type="primary" path="/boot" id="/dev/hda1" />
<partition2 type="primary_with_extended(s)" id="/dev/hda2"><partition5 type="extended" id="/dev/hda5"/></partition2>
<partition3 type="primary" id="/dev/hda3"/ name="swap"/>
<partition4 type="primary" path="/" id="/dev/hda4"/>
</hda>



I guess it's best to have everything on primaries.

So consider that, but again, I'm just offering guesses.
__________________
10 ? "a line as the unending horizon"
20 ? "a curve as the rolling hillside"
30 ? "a point as a distant bird"
40 ? "a ray as the rising sun"
run

Last edited by Shadow2531 : 25-Jan-2004 12:12 PM.
deuce868's Avatar
Senior Member with 638 posts.
 
Join Date: Nov 2000
Location: MI
25-Jan-2004, 11:32 AM #6
Thanks for the help. I ended up formatting last night and once I get my windows back up and running I will try to find some info on the best way to set up a Debian/XP dual boot.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 11:52 PM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.