LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-14-2009, 11:13 PM   #1
RoxFox64
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Rep: Reputation: 0
Windows in grub.


I wanted to know if it is possible to have grub boot windows without me installing windows on the Hard drive(From CD)?
The thing is I have two windows CD's. One blue screens(Yet another flaw of Win...) when I try to run it. The other just doesn't run.
I have windows on my laptop so what I did was I made a crossover cable, booted into puppy linux, and sent the windows directory over using PureFTP(I figure that because linux doesn't hide windows specific files it should copy everything.) I also copied over the windows bootloader, and other files needed.
How could I have grub load the windows boot loader without it checking the boot sector?
 
Old 01-15-2009, 01:31 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,636

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
Quote:
without me installing windows on the Hard drive(From CD)?
no

so you coped the windows files ( from a ntfs drive) on to a ?? ext3 ?? drive . windows will never boot
 
Old 01-15-2009, 10:47 AM   #3
Cottsay
Member
 
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195

Rep: Reputation: 31
Grub can't boot windows directly. It has to chainload to the windows bootloader. So no, you can't do that. Windows will need its own NTFS or FAT32 partition with its own bootloader.

--scott
 
Old 01-15-2009, 03:25 PM   #4
RoxFox64
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
The partition it was copied to is FAT16. This is a usable file system right?
Is it possible for me to mount an ISO of a Win CD on a partition of my hard drive and have it install Windows to a new partition?
 
Old 01-15-2009, 03:25 PM   #5
RoxFox64
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
The partition it was copied to is FAT16. This is a usable file system right?
Is it possible for me to mount an ISO of a Win CD on a partition of my hard drive and have it install Windows to a new partition?
 
Old 01-15-2009, 03:32 PM   #6
Cottsay
Member
 
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195

Rep: Reputation: 31
Is it just a normal windows CD? Why don't you just boot from it and install?

--scott
 
Old 01-15-2009, 03:50 PM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,636

Rep: Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652Reputation: 2652
FAT16 this is xp we are talking about ,not win 95 or 3.31

xp WILL not work on a 16 bit file system
 
Old 01-15-2009, 04:27 PM   #8
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
But if you can reformat that partition as FAT32 or NTFS and do the copy again, you can have GRUB boot the partition. All you need to do is identify the name GRUB will use for the partition. If it's, say, (hd1,3), you can add a stanza in grub.conf like this:
Code:
title XP from copy
  root (hd1,3)
  makeactive
  chainloader +1
Note that you can use the built-in GRUB editor to experiment with changes.

If you really have your heart set on using a DVD, you might be able to do it with a DVD-RW and the newest GRUB available from gnu.org. I think (but have never tried it) that the latest test code supports booting from DVDs. (On the other hand, XP will probably not be able to deal with a DVD-RW file system, so the exercise is, mot likely, futile.)

As a DVD alternative, putting XP on a USB drive or memory stick should work with no problem. I bought a cheap HP desktop last year that came with "Vista" pre-installed. The box only had space for three drives inside it, so I yanked the Vista drive and filled the box with Linux stuff. Then I bought a cheap USB box, put the "Vista" drive in it, and it's been booting fine in that configuration - when I have any need for "Vista."
 
Old 01-15-2009, 09:59 PM   #9
RoxFox64
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Is it just a normal windows CD? Why don't you just boot from it and install?

--scott
No, I have a TinyXP ISO. I can't burn it because I don't have a Burner to use(The desktop only has a reader, and my laptop's a Compaq...)

Quote:
But if you can reformat that partition as FAT32 or NTFS and do the copy again, you can have GRUB boot the partition. All you need to do is identify the name GRUB will use for the partition. If it's, say, (hd1,3), you can add a stanza in grub.conf like this:
Code:
title XP from copy
  root (hd1,3)
  makeactive
  chainloader +1
Note that you can use the built-in GRUB editor to experiment with changes.
Thanks! I'll be trying this now. I've already reformatted, so I just gotta re-transfer.
 
Old 01-16-2009, 03:08 PM   #10
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Just a thought: Rather than a simple copy, you could use the XP backup/restore package to back up the whole XP system (making sure that you include the registry and system files, since they're excluded by default). That way any problems should be laid to Windows door instead of Linux or GRUB. I think a simple copy should work, but Microsoft may include "special features" in their system, with which the backup application can deal, to "adjust things" for a "different" environment.

Of course, by the time you've read this, you will, presumably, know if the straight copy worked.
 
Old 01-16-2009, 03:28 PM   #11
RoxFox64
LQ Newbie
 
Registered: Jan 2009
Posts: 6

Original Poster
Rep: Reputation: 0
IT wouldn't matter much anyway. I'm using TinyXP Rather than a traditional copy of windows. If there were some "Special Features" They were removed by experience to save space and RAM.
 
  


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
Help of GRUB, How to Linux, Windows XP and Windows 200 ERBRMN Linux - General 4 04-25-2006 08:26 PM
GRUB dual boot problem: Boot "other" (windows) just restarts GRUB! stevod333 Linux - Software 13 04-06-2006 05:26 AM
windows and grub marioV Linux - General 1 11-28-2005 01:36 PM
SuSE 9.1 and Windows Xp refuse to live in harmony: error loading windows through GRUB sanctumtacete Linux - Newbie 3 10-19-2004 07:47 AM
Boot windows 98,windows XP and linux by GRUB Swift&Smart Linux - General 6 02-22-2003 09:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:41 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