Unix Technical Forum

Dual booting XP, Linux with Grub, on Dell

This is a discussion on Dual booting XP, Linux with Grub, on Dell within the Linux Operating System forums, part of the Unix Operating Systems category; --> This is something that I have struggled with most of today. So, I will post it here, for anyone ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-17-2008, 04:48 PM
linuxquestion@yahoo.com
 
Posts: n/a
Default Dual booting XP, Linux with Grub, on Dell

This is something that I have struggled with most
of today. So, I will post it here, for anyone
else who might have a similar problem.

I bought another Dell, running XP, and then a second
hard drive. I installed RedHat on the second hard drive.
For the boot loader, I used GRUB, and put it on the main
hard drive with the MBR (master boot record).

Unlike lilo, GRUB did not make the dual booting easy.
It didn't ask me how to configure the boot and
When I went to reboot, I only had the choice for Linux.

I edited the file:

/boot/grub/grub.conf

and added the entry that the book said:

title Windows XP
rootnoverify (hd0,0)
chainloader +1


This did give me something. It gave me a choice for XP,
which brought up a Dell Diagnostics GUI. There was no
button to "proceed", and I clicked the x to close the
program/window. It only rebooted, and brought up GRUB
choices once again.

After much trial and error, the solution was to
have an entry:

title Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1


So, I hope this helps anyone who is struggling with
the same problem.


Note: be sure to use init 6 to reboot.

If you haven't noticed, the primary hard drive on XP
actually has two partitions. The first one is
only about 39 megs, is not given a drive letter
by Windows. In xp, use compmgmt.msc to see it.
It contains the master boot record (MBR), although I
couldn't figure out which it was. (mounted the
drive in linux). Does anyone know?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-17-2008, 04:48 PM
Jules Dubois
 
Posts: n/a
Default Re: Dual booting XP, Linux with Grub, on Dell

[newsgroups line trimmed of extraneous groups]

On 23 Nov 2003 20:49:52 -0800, in article
<672ceaed.0311232049.334d2474@posting.google.com >, linuxquestion@yahoo.com
wrote:

> If you haven't noticed, the primary hard drive on XP
> actually has two partitions. The first one is
> only about 39 megs, is not given a drive letter
> by Windows.


That's a manufacturer's thing, not an XP thing. Compaq, on at least some
of their systems, puts its setup code in a disk partition rather than in
NVRAM like the rest of the civilized world. Since it isn't formatted
suitable for Winders, it doesn't get a drive letter. Apparently Dell has
gotten the same stupid idea.

> It contains the master boot record (MBR), although I
> couldn't figure out which it was. (mounted the
> drive in linux). Does anyone know?


The MBR is stored in sector 0 of the drive. The setup partition isn't.

--
"[O]bviously Linux owes its heritage to Unix, but not its code.
We would not, nor will not, make such a claim."
-- Darl McBride. CEO, The SCO Group. August 2002.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-17-2008, 04:48 PM
Jules Dubois
 
Posts: n/a
Default Re: Dual booting XP, Linux with Grub, on Dell

[newsgroups line trimmed of extraneous groups]

On 23 Nov 2003 20:49:52 -0800, in article
<672ceaed.0311232049.334d2474@posting.google.com >, linuxquestion@yahoo.com
wrote:

> If you haven't noticed, the primary hard drive on XP
> actually has two partitions. The first one is
> only about 39 megs, is not given a drive letter
> by Windows.


That's a manufacturer's thing, not an XP thing. Compaq, on at least some
of their systems, puts its setup code in a disk partition rather than in
NVRAM like the rest of the civilized world. Since it isn't formatted
suitable for Winders, it doesn't get a drive letter. Apparently Dell has
gotten the same stupid idea.

> It contains the master boot record (MBR), although I
> couldn't figure out which it was. (mounted the
> drive in linux). Does anyone know?


The MBR is stored in sector 0 of the drive. The setup partition isn't.

--
"[O]bviously Linux owes its heritage to Unix, but not its code.
We would not, nor will not, make such a claim."
-- Darl McBride. CEO, The SCO Group. August 2002.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-17-2008, 04:48 PM
Bit Bucket
 
Posts: n/a
Default Re: Dual booting XP, Linux with Grub, on Dell

That little 39MB partition actually has nothing to do with Windows XP at
all. It's a dell diagnostic partition. Compaq/HP uses them too. They contain
a custom diagnostic that runs under a mini-version of windows (usually
Win98) that's why when you used (hd0,0) for your boot selection it booted to
the Dell diagnostics. Typically booting to this partition is triggered by
hitting F10 or some similar keystroke during the boot sequence.

<linuxquestion@yahoo.com> wrote in message
news:672ceaed.0311232049.334d2474@posting.google.c om...
> This is something that I have struggled with most
> of today. So, I will post it here, for anyone
> else who might have a similar problem.
>
> I bought another Dell, running XP, and then a second
> hard drive. I installed RedHat on the second hard drive.
> For the boot loader, I used GRUB, and put it on the main
> hard drive with the MBR (master boot record).
>
> Unlike lilo, GRUB did not make the dual booting easy.
> It didn't ask me how to configure the boot and
> When I went to reboot, I only had the choice for Linux.
>
> I edited the file:
>
> /boot/grub/grub.conf
>
> and added the entry that the book said:
>
> title Windows XP
> rootnoverify (hd0,0)
> chainloader +1
>
>
> This did give me something. It gave me a choice for XP,
> which brought up a Dell Diagnostics GUI. There was no
> button to "proceed", and I clicked the x to close the
> program/window. It only rebooted, and brought up GRUB
> choices once again.
>
> After much trial and error, the solution was to
> have an entry:
>
> title Windows XP
> rootnoverify (hd0,1)
> makeactive
> chainloader +1
>
>
> So, I hope this helps anyone who is struggling with
> the same problem.
>
>
> Note: be sure to use init 6 to reboot.
>
> If you haven't noticed, the primary hard drive on XP
> actually has two partitions. The first one is
> only about 39 megs, is not given a drive letter
> by Windows. In xp, use compmgmt.msc to see it.
> It contains the master boot record (MBR), although I
> couldn't figure out which it was. (mounted the
> drive in linux). Does anyone know?




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-17-2008, 04:48 PM
mjt
 
Posts: n/a
Default Re: Dual booting XP, Linux with Grub, on Dell

On 23 Nov 2003 20:49:52 -0800, linuxquestion@yahoo.com wrote:

> If you haven't noticed, the primary hard drive on XP
> actually has two partitions. The first one is
> only about 39 megs,


..... BZZZZZT!!! that first one doesnt belong to eXPensive!
it's a diagnostic partition provided by dell
..
--
/// Michael J. Tobler: motorcyclist, surfer, skydiver, \\\
\\\ and author: "Inside Linux", "C++ HowTo", "C++ Unleashed" ///
Due to a shortage of devoted followers, the production of
great leaders has been discontinued.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 01-17-2008, 04:48 PM
Kadaitcha Man
 
Posts: n/a
Default Re: Dual booting XP, Linux with Grub, on Dell

"mjt" <mjtobler@removethis_consultant.com> wrote in message
news:Tumwb.19732$Wy4.4334@newsread2.news.atl.earth link.net...

> .... BZZZZZT!!! that first one doesnt belong to eXPensive!


So what if Windows is eXPensive? Unlike you cheapskate linuxfux, we Windows
users can afford to pay for it, can afford a machine with sufficient grunt
to run it on, and CHOOSE to do so.


--
Your Free Insult: Thou individuating, girting, mushy profligate starring trainspotter.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 01-17-2008, 04:48 PM
Ed Murphy
 
Posts: n/a
Default Re: Dual booting XP, Linux with Grub, on Dell

On Mon, 24 Nov 2003 12:22:29 +0000, Kadaitcha Man wrote:

> "mjt" <mjtobler@removethis_consultant.com> wrote in message
> news:Tumwb.19732$Wy4.4334@newsread2.news.atl.earth link.net...
>
>> .... BZZZZZT!!! that first one doesnt belong to eXPensive!

>
> So what if Windows is eXPensive? Unlike you cheapskate linuxfux, we Windows
> users can afford to pay for it, can afford a machine with sufficient grunt
> to run it on, and CHOOSE to do so.


Go away, troll!

No, wait. On second thought, pay me $1 and I'll hit you over the head
with a frying pan. Being hit over the head with a frying pan *must* be
a good thing, because you can *afford* it!

Ass.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 01-17-2008, 04:48 PM
Diogenes
 
Posts: n/a
Default Re: Dual booting XP, Linux with Grub, on Dell

Ed Murphy wrote:

> --
> Ass.


Interesting sig. Very appropriate for you too.

--
Diogenes Laertius

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 01-17-2008, 04:49 PM
Sinister Midget
 
Posts: n/a
Default Re: Dual booting XP, Linux with Grub, on Dell

On Mon, 24 Nov 2003 21:10:49 +0000, Androgenous pranced about and farted:

> Ed Murphy wrote:
>
>> --
>> Ass.

>
> Interesting sig. Very appropriate for you too.
>
>> --
>> Androgenous
>> http://www.androgeny.com/
>> Hello, sailor!


Yours would probably be more appropriate in one of the t-girl groups,
though. But, I'm sure it fits you well.

--
They teach classes on using Front Page? That's like a cooking class
where they teach you how to order a pizza!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 01-17-2008, 04:49 PM
Diogenes
 
Posts: n/a
Default Re: Dual booting XP, Linux with Grub, on Dell

Sinister Midget wrote:
> On Mon, 24 Nov 2003 21:10:49 +0000, Androgenous pranced about and
> farted:
>
>> Ed Murphy wrote:
>>
>>> --
>>> Ass.

>>
>> Interesting sig. Very appropriate for you too.
>>
>>> --
>>> Androgenous
>>> http://www.androgeny.com/
>>> Hello, sailor!

>
> Yours would probably be more appropriate in one of the t-girl groups,
> though. But, I'm sure it fits you well.



Why do you assume others are gay like you? I don't even use linux.

--
Diogenes Laertius

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 01:37 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com