LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-17-2006, 08:09 PM   #1
colorcopierguy
LQ Newbie
 
Registered: Oct 2005
Location: Texas
Distribution: Debian
Posts: 9

Rep: Reputation: 0
Debian netinstall


the install went fine, I chose to install grub to a floppy instead of the hdd. I also have win xp home on this hdd. i wanted to be able to start up and go into xp and only go into debian when the floppy was inserted. grub installed fine to the floppy and boots either xp or deb. but i get an os load error when booting from the hdd into xp. what happened? i did a net install with the 2.6 kernel, chose desktop only for the extra packages and i dont remember the ftp site i chose to download from.

thanks for any help. need more info just ask!

Last edited by colorcopierguy; 09-28-2006 at 10:10 PM. Reason: clarification
 
Old 09-18-2006, 02:07 AM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
What the exact error do you have? Or we should know it with our extasence abilities?
 
Old 09-22-2006, 09:43 PM   #3
colorcopierguy
LQ Newbie
 
Registered: Oct 2005
Location: Texas
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
No clues from anyone on this?
 
Old 09-22-2006, 10:37 PM   #4
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Did you install grub to the hard drive? As noted above, you should post the error you received.
 
Old 09-25-2006, 08:12 AM   #5
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Where in TX are you? Maybe there's a LUG nearby.

And please, answer the follow-up Q's or we may not [be able] to help you.
 
Old 09-28-2006, 10:07 PM   #6
colorcopierguy
LQ Newbie
 
Registered: Oct 2005
Location: Texas
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
excuse me for not being able to get back to this. I have been working like two jobs. umm I have answered the questions in my original post. so here it is again did a net install of debian to a single hard drive with a partition for xp at the begining and a partition for debian w/ a swap partition. when asked to install grub i installed to a floppy. then when removing the floppy and booting the computer it stops and says os load error. why?????

i have already come up with a solution fix the broken boot but i want to know why it screwed up the windows boot sector on the hdd it should not have even touched it. to resolve the prob. i installed grub to the boot sector on the hdd ( which i didnt want to do ) and set it to default to winxp


would appreciate any ideas why that happened

Last edited by colorcopierguy; 09-28-2006 at 10:08 PM.
 
Old 09-29-2006, 09:58 AM   #7
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
It sounds like the Debian installer tried to an MBR install (& a defective one at that) in addition to the floppy as you requested.

Was it an Etch install? I haven't done one of those yet. I don't recall any trouble like this w/ Sarge, but then I've never asked for a boot floppy.

See if your local LUG can help.
 
Old 09-30-2006, 09:01 AM   #8
colorcopierguy
LQ Newbie
 
Registered: Oct 2005
Location: Texas
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
yes that does appear to be what happened. but i fail to see why. and it was sarge. and for some reason not to be discussed here xp wont fix the MBR. oh well no worries.
 
Old 09-30-2006, 11:17 AM   #9
PingFloyd
Member
 
Registered: Jun 2006
Posts: 94

Rep: Reputation: 16
Usually grub shouldn't have a problem occupying the MBR. At least it didn't for me with NT way back when I used to run a dual-boot. Grub is pretty platform independant and flexible. For NT, and probably for XP as well, it's usually matter of having it chain load them.

You should probably reference the grub docs and any multi-boot how-tos on the net. They contain some good details that you need.

Your error message may be the result of not having the existance of a section for chain loading XP in your menu.lst. Or perhaps, for some reason, the section isn't setup right. I've never set it up to require floppy to boot(I don't like such an arrangement considering the failure rate of floppies). So it's only my guess that there isn't the need of a chainloading section in the menu.lst if your setup for floppy booting like how you were after.

My guess is that the mbr probably got overwritten somehow to contain grub, but that the installer didn't update the menu.lst to chainload XP due to being set up with the assumption that you'll be booting linux with floppy. The idea that you were going for was to have the floppy in when you boot Linux, and you don't have the floppy in when you want to boot XP so that XP's MBR code bootstraps XP and the floppy bootstraps Linux. Obviously something is off somewhere. My guess is that it is some how setup somewhere in between the two types of methods (floppy and chainloading setup) and it's just a matter of rectifying the menu.lst or overwriting the MBR with XP version of MBR code. In other words, if you have Grub's MBR code in the MBR, then you have to set up the menu.lst to chainload XP if you want to be able to boot it (technically you don't have to since you can use the grub shell to boot it, but that is impractical. However, it may be practical to type in all the grub commands to test out and see if you can get XP to bootstrap properly. Then you will know what you'll need to do to the menu.lst).

One thing I would check first and foremost just to rule it out as any sort of interference, is how you have your booting option in your BIOS.
 
Old 10-01-2006, 11:27 AM   #10
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
Quote:
Originally Posted by colorcopierguy
. . . have already come up with a solution fix the broken boot but i want to know why it screwed up the windows boot sector on the hdd it should not have even touched it.
. . .
would appreciate any ideas why that happened
So, in terms of my sig. block, we are untieing the knot for the fun or education of it. Unfortunately, in getting things to "just work" (tm), you have overwritten the MBR & can no longer re-create the original problem w/o re-installing Sarge -- something you probably don't want to do. FWIW, I think PingFloyd's diagnosis is right.


Quote:
Originally Posted by colorcopierguy
. . . to resolve the prob. i installed grub to the boot sector on the hdd ( which i didnt want to do ) and set it to default to winxp . . .
Do you still want the MBR to go direct to XP?
If so, does your Linux boot floppy still work?


Quote:
Originally Posted by colorcopierguy
. . . and for some reason not to be discussed here xp wont fix the MBR. . . .
Who says we can't discuss that here? I thought fixing M$PoSOS's is a favorite indoor sport around here.
 
Old 10-01-2006, 04:01 PM   #11
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
so you are saying the boot from XP CD to recovery console and using the fixmbr command doesn't work ?

http://www.microsoft.com/resources/d...ns_fixmbr.mspx
 
Old 11-03-2006, 10:52 PM   #12
colorcopierguy
LQ Newbie
 
Registered: Oct 2005
Location: Texas
Distribution: Debian
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks everyone who responded.
 
  


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
Debian NetInstall Help yourwar Debian 5 08-12-2005 12:54 AM
Debian k7 netinstall bladepdx Debian 12 03-03-2005 12:20 AM
Debian Netinstall - No X! djsmiley2k Linux - Newbie 4 02-20-2005 11:51 AM
Netinstall of debian unstable? f0rmula Linux - Software 4 12-03-2004 08:59 AM
debian netinstall@#$% crashmeister Linux - Distributions 2 02-27-2003 03:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 05:46 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
Open Source Consulting | Domain Registration