Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Debian/XP Dual boot

Posted on 2004-10-17
12
Medium Priority
?
443 Views
Last Modified: 2013-11-15
hello

i installed linux debian on my machine first and then i installed XP on top. i am now not being able to dual boot as the grub loader doesnt appear. it goes straight to XP. i would like to boot Debian Progeny 2.0 DE via XP's boot loader if possible.

id appreciate your help
0
Comment
Question by:fmh002
12 Comments
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 12334566
0
 
LVL 5

Expert Comment

by:Hammadian2
ID: 12334917
try to find the old "boot magic" somewhere and install it

if u cant get it
search for anything working as a "Boot Manager"

ur debian aint lost anyway
0
 
LVL 3

Expert Comment

by:TRobertson
ID: 12337688
Windows has replaced the bootloader in the master boot record.
You can boot from your debian install disk and re-install the boot loader (grub or lilo).  
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 2

Expert Comment

by:stokesj56
ID: 12338619
To use the NT boot loader from XP you will need to create a BOOTSECT.LNX file. Boot into Linux and run this command:

dd if=/dev/hdb# of=/bootsect.lnx bs=512 count=1

Replace the pount sign (#) with the value of your Linux /boot partition. If you did not create a separate /boot partition then use the value that points to the root (/) partition. Now copy the file bootsect.lnx to the root of your C: drive. Then create an entry in the boot.ini file under ther [operating systems] section like this:

C:\BOOTSECT.LNX="Debian Linux"

If you want Linux to be the OS loaded automatically then change the default line in the [boot loader] section to this:

default=C:\BOOTSECT.LNX

Note the boot.in file is normally hidden and read only. You will need to clear the read only attribute to save the edited file.
0
 

Author Comment

by:fmh002
ID: 12365146
i ended up re installing debian as i had no way to log on to debian os.

now the bootloader is that of debian.

strokesj56 let me try doing what you have suggested.
0
 

Author Comment

by:fmh002
ID: 12435467
i read the debian manual and i concluded that there is no way this can be done.
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 12436238
fmh002 - I disagree - My post had a link with instructions for doing this, instructions which were effectively quoted by Stokesj56.  There was no feedback on these suggestions, just fmh002's post saying he read the manual.  While that's always a good thing, there are clear instructions of how to do this.  If there was no way to boot into linux, that should have been posted, as there are several ways to get into linux using boot cds and telling the loader which install of linux to load.
0
 

Author Comment

by:fmh002
ID: 12436297
"i ended up re installing debian as i had no way to log on to debian os.
now the bootloader is that of debian.
strokesj56 let me try doing what you have suggested."

if you read my quote well you will realise that there is a sentence that says there was no way i could boot into linux. and the feedback was posted.

secondly your instructions did not work as debian has got a different version of grub that progeny ppl have customised.
0
 
LVL 96

Expert Comment

by:Lee W, MVP
ID: 12436439
You posted the comment of "no way to log on to debian" AND that you reinstalled it.  If you First said "How can boot debian now, because XP's taken over, someone would have told you how.  For example, one way would be to boot Knoppix and fix it from there.

Did you TRY the solution of making GRUB boot with the XP loader?  Did you POST the results of the attempt?  Did you try to upgrade GRUB to a newer/different version?

There were several suggestions of what to do and no feedback from you on the results.  The next posting was three lines of a less than detailed response of what'd been going on.  Followed a week later by a comment that the manual says it can't be done.  I don't feel the options for doing this were adaquately explored by you and that the question in and of itself has been answered, well enough to be PAQ'd and not Deleted.
0
 

Author Comment

by:fmh002
ID: 12436905
well, whatever the case, the point is that i am no longer interested in this post and my problem is not existing anymore. i have got over it and now im trying to figure out whom to give the points. i do not want to waste my time and i have clearly mentioned that i could not log on to debian. if you want to discuss and justify this and that please go ahead. i will simply split the points equally between the others.
0
 
LVL 2

Accepted Solution

by:
Lunchy earned 0 total points
ID: 12438181
Closed, 100 points refunded.
Lunchy
Friendly Neighbourhood Community Support Admin
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question