LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-29-2011, 03:46 PM   #1
soplin
Member
 
Registered: Apr 2007
Distribution: Mostly Debian
Posts: 114

Rep: Reputation: 19
Question Installation Partition with Grub


I've been trying to setup some installation partitions made with Debian and Windows Installation CDs/Images and everything works well with the Debian, but not Windows. This is a similar setup as some Laptop companies do by putting a hidden "recovery" partition.

How do I get grub to boot say WinXp/Win9x or what have you?
Is there a better alternative?

/dev/sda1 Win9x/WinXp Installation CD files

The chainloader doesn't work either.

thanks
 
Old 01-29-2011, 04:08 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
If you can boot the debian machine, open a terminal try
"os-prober"
"update-grub"
If windows isn't detected you'll need to mount the wins partition and issue commands again.
 
1 members found this post helpful.
Old 02-20-2011, 06:50 PM   #3
soplin
Member
 
Registered: Apr 2007
Distribution: Mostly Debian
Posts: 114

Original Poster
Rep: Reputation: 19
That didn't help at all. This is a Windows only machine and the sole purpose of grub is to provide a means of reinstalling or recovering the following partitions. This will use grub4dos. The only way to install an OS on this machine is either by hard disk or by using another computer to install on this hard disk by physically moving it around.

/dev/sda1: Win98 installation partition
/dev/sda2: Windows 98 partition

Last edited by soplin; 02-20-2011 at 07:11 PM.
 
Old 02-20-2011, 07:02 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Hiren's boot cd has pxe boot and other options including miniwinsxp, you can boot from another computer.
 
1 members found this post helpful.
Old 02-20-2011, 07:23 PM   #5
soplin
Member
 
Registered: Apr 2007
Distribution: Mostly Debian
Posts: 114

Original Poster
Rep: Reputation: 19
That is a very useful site.

Once a solution is found I will share.
 
Old 02-20-2011, 07:32 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
It's hard to find disk or iso
http://www.9down.com/Hiren-s-BootCD-13-1-389558/

In middle of page
http://www.hirensbootcd.org/download/

Last edited by EDDY1; 02-20-2011 at 07:33 PM.
 
1 members found this post helpful.
Old 03-16-2011, 07:57 PM   #7
soplin
Member
 
Registered: Apr 2007
Distribution: Mostly Debian
Posts: 114

Original Poster
Rep: Reputation: 19
Created a primary partition Fat32 and formatted it with command format /s or you can use the sys command if available. Created extended and logical partitions for Windows. On the primary partition copy Windows CDs and grub4dos so that after the installation is done you can replace the MBR with grub.
 
  


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
[SOLVED] Grub : Lost my windows partition, can't find menu.lst in /boot/grub.Someone can help? lucid_dino Ubuntu 9 11-01-2010 02:51 PM
GRUB question. I want to delete the partition of the distro that installed GRUB... brjoon1021 Linux - General 2 09-29-2009 12:14 PM
Grub Installation and Partition Errors during OpenSuse Linux 11.1 Install mrukjames SUSE / openSUSE 4 08-14-2009 05:36 PM
GRUB won't load windows partition - root (hd0,0), Filesystem type unknown partition.. cillm527 Linux - Software 4 04-27-2008 07:44 AM
grub failed to load linux (grub think ext3 partition as fat) khairilthegreat Linux - Newbie 7 08-09-2007 01:12 PM


All times are GMT -5. The time now is 08:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration