Welcome to Linux Forums!

With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.

Linux Forum ArticlesLinux ForumsLinux Forum DownloadsLinux Hosts
Home|Register|FAQ|Member List|Calendar|Unanswered Posts|Forum Rules|Today's Posts|Advanced Search|
SEARCH FOR IN
Go Back   Linux Forums > GNU Linux Zone > Installation
Reload this Page Installing Windows post Linux install.
Linux Forums
Linux Forums
Welcome To The Linux Forums!
Welcome to Linux Forums. We pride ourselves in being one of the largest Linux communities on the web, we encourage you to REGISTER on our forums and participate in the community. There are over 150,000 members ready to answer your questions. JOINING US today will allow you to make new posts, get support, send messages to other members and submit downloads to our downloads directory and many other great features!

Installation Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Reply
 
Thread Tools Display Modes
Old 08-31-2005   #1 (permalink)
LoafOfBread34
Just Joined!
 
Join Date: Aug 2004
Posts: 62
Installing Windows post Linux install.

I have been runing Ubuntu for a little bit now, but I need to install Windows so I can run a few things. So I went ahed and install Windows on a 30 GB hard drive, and everything went OK, but now I need to edit my boot-loader so I can boot into Windows if I need to. I have grub right now, and I added a Windows entry, but I dont know which drive to label it as. (E.G. hda, hdc...)

Heres my setup

IDE Cable One:
DVD-RW Drive (M)
CD-RW Drive (S)

IDE Cable Two:
IDE HD 80 GB (EMPTY)(M)
IDE HD 30 GB (WINDOWS)(S)

SATA Channel 3
HD 160 GB (LINUX)

Which one should I use to boot my Windows hard disk?
LoafOfBread34 is offline   Reply With Quote
Old 08-31-2005   #2 (permalink)
Vergil83
Linux Guru
 
Vergil83's Avatar
 
Join Date: Mar 2004
Posts: 2,409
it should be hdd (a = master cable one, b = slave cable one, etc...)
__________________
Brilliant Mediocrity - Making Failure Look Good
Vergil83 is offline   Reply With Quote
Old 08-31-2005   #3 (permalink)
LoafOfBread34
Just Joined!
 
Join Date: Aug 2004
Posts: 62
HUmm, ok, Ill give it a try.

EDIT: Ok I tried it and it didnt work. Grub returned: Partition type unknown!? Whats going on?
LoafOfBread34 is offline   Reply With Quote
Old 08-31-2005   #4 (permalink)
Vergil83
Linux Guru
 
Vergil83's Avatar
 
Join Date: Mar 2004
Posts: 2,409
can you post your
Code:
/boot/grub/menu.lst
__________________
Brilliant Mediocrity - Making Failure Look Good
Vergil83 is offline   Reply With Quote
Old 08-31-2005   #5 (permalink)
drakebasher
Linux Guru
 
Join Date: May 2004
Location: forums.gentoo.org
Posts: 1,813
I'd use Grub's command line completion feature for this. When you boot, as soon as the OS menu appears, you should have the chance to enter 'c' to get a Grub command line ('grub>'). At that command line, enter 'root (hd <tab>' and Grub will show a list of valid drives. If hd1 is one of the choices, you can do: 'root (hd1, <tab>' and get a list of valid partitions. You can then do:
Code:
root (hd1,0)
bogus /   <tab>
and get a listing of files and directories in the top level of partition (hd1,0). If it's Windows, you'll recognise it and you can write your Grub script based on that. You may need to use the "map" commands to let Windows think it is on the first hard drive.

You may not see your 2 IDE drives as described above. I had a similar setup, with Linux booting from a drive connected to an ATA/133 PCI card. Linux would boot fine and once up, I had all of my drives, but Grub could not see them: the kernel needed to be loaded for it all to work. My solution was to put a /boot partition on one of my IDE drives which would load the kernel from the IDE /boot partition and then get the root partition from the ATA/133-connected drive.
__________________
/IMHO
//got nothin'
///this use to look better
drakebasher is offline   Reply With Quote
Old 09-06-2005   #6 (permalink)
LoafOfBread34
Just Joined!
 
Join Date: Aug 2004
Posts: 62
Ugh, sorry for the late reply. I fixed it by simply mapping my windows partition as the master drive. Otherwise it wouldnt boot.
LoafOfBread34 is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off




All times are GMT. The time now is 12:35 PM.




© 2000 - 2008 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.0.0