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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
01-14-2009, 11:13 PM
|
#1
|
LQ Newbie
Registered: Jan 2009
Posts: 6
Rep:
|
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?
|
|
|
01-15-2009, 01:31 AM
|
#2
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,636
|
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
|
|
|
01-15-2009, 10:47 AM
|
#3
|
Member
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195
Rep:
|
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
|
|
|
01-15-2009, 03:25 PM
|
#4
|
LQ Newbie
Registered: Jan 2009
Posts: 6
Original Poster
Rep:
|
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?
|
|
|
01-15-2009, 03:25 PM
|
#5
|
LQ Newbie
Registered: Jan 2009
Posts: 6
Original Poster
Rep:
|
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?
|
|
|
01-15-2009, 03:32 PM
|
#6
|
Member
Registered: Feb 2004
Location: Chaska, MN
Distribution: Fedora
Posts: 195
Rep:
|
Is it just a normal windows CD? Why don't you just boot from it and install?
--scott
|
|
|
01-15-2009, 03:50 PM
|
#7
|
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,636
|
FAT16 this is xp we are talking about ,not win 95 or 3.31
xp WILL not work on a 16 bit file system
|
|
|
01-15-2009, 04:27 PM
|
#8
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
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."
|
|
|
01-15-2009, 09:59 PM
|
#9
|
LQ Newbie
Registered: Jan 2009
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
01-16-2009, 03:08 PM
|
#10
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
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.
|
|
|
01-16-2009, 03:28 PM
|
#11
|
LQ Newbie
Registered: Jan 2009
Posts: 6
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 07:41 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|