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 > Linux Newbie
Reload this Page Installing Debian Linux on Virtual PC 2007
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!

Linux Newbie If you're new to the wonderful world of Linux, start here!

Reply
 
Thread Tools Display Modes
Old 12-04-2007   #1 (permalink)
randersontt
Just Joined!
 
Join Date: Dec 2007
Posts: 3
Installing Debian Linux on Virtual PC 2007

I'm running Vista as primary OS, and am installing Debian Linux as a Virtual PC under Microsoft Virtual PC 2007.

I have two physical drives in the PC and would like to know where to put the GRUB boot loader.

I'm guessing I don't want to install GRUB to the master boot record on the first physical drive, correct?

If I put it on the second physical drive by specifying "(hd1)", will that allow Vista to still boot properly off of the first drive, and Debian to boot off of the boot record on the second physical drive?

And since I'm fairly new to Linux I'm curious, why in a Virtual environment Linux needs to touch the boot record on any physical device?

And, in theory, could I have the install put GRUB on a flash drive by any chance?

Thanks for any help.
randersontt is offline   Reply With Quote
Old 12-04-2007   #2 (permalink)
techieMoe
Super Moderator
 
techieMoe's Avatar
 
Join Date: Aug 2004
Location: Texas
Posts: 8,603
Quote:
Originally Posted by randersontt View Post
I'm running Vista as primary OS, and am installing Debian Linux as a Virtual PC under Microsoft Virtual PC 2007.

I have two physical drives in the PC and would like to know where to put the GRUB boot loader.

I'm guessing I don't want to install GRUB to the master boot record on the first physical drive, correct?
WHOA! Back up there. If you're installing Debian in Virtual PC, you should not have to do anything at all with your physical harddrive. You should be installing it into a harddrive image within the Virtual PC program.

If you're messing with the Master Boot Record you are installing a physical copy of Debian in a dual-boot configuration. Directions will be very different depending on what you want to do. Which is it?

Quote:
And since I'm fairly new to Linux I'm curious, why in a Virtual environment Linux needs to touch the boot record on any physical device?
Exactly, it doesn't. If you're getting something about touching your physical drives something is wrong.
__________________
Registered Linux user #270181
TechieMoe's Tech Rants
techieMoe is offline   Reply With Quote
Old 12-04-2007   #3 (permalink)
coopstah13
Linux Enthusiast
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: MA, USA
Posts: 593
I've never used microsoft virtual PC, but I have used vmware and you can use physical disks for your virtual devices, so technically you could modify the boot sector of that disk
coopstah13 is offline   Reply With Quote
Old 12-04-2007   #4 (permalink)
randersontt
Just Joined!
 
Join Date: Dec 2007
Posts: 3
techiemoe...

yes..I am installing Linux in a virtual environment, so technically it is being installed to a file, but ...

when I get to the part in the installtion that says, "Install the GRUB boot loader on a hard disk" there is some wording and then the prompt says, "Install the GRUB boot loader to the master boot record?" y/n

This makes me think that it might actually access the PC hardware directly and actually install to the master boot record of the physical drive.

Am I wrong, and will it actually just modify something within that virtual file in which it is being installed? If that's the case then I can just select "Yes" and there will be no problem.

But I had a couple of guys here render an opinion and we all agreed that the wording was "scary" enough that I should research a bit futher before answering that prompt.
randersontt is offline   Reply With Quote
Old 12-04-2007   #5 (permalink)
techieMoe
Super Moderator
 
techieMoe's Avatar
 
Join Date: Aug 2004
Location: Texas
Posts: 8,603
Quote:
Originally Posted by randersontt View Post
yes..I am installing Linux in a virtual environment, so technically it is being installed to a file, but ...

when I get to the part in the installtion that says, "Install the GRUB boot loader on a hard disk" there is some wording and then the prompt says, "Install the GRUB boot loader to the master boot record?" y/n
Oh, okay. I see what you're talking about. Provided you're installing to a virtual harddrive image don't worry about that. Tell it to install to the MBR. It will only install to the MBR of your virtual disk.

Quote:
But I had a couple of guys here render an opinion and we all agreed that the wording was "scary" enough that I should research a bit futher before answering that prompt.
I totally understand, and it's better to be safe than sorry. I don't believe MS Virtual PC is capable of mapping physical drives, and even if it is you would have had to set that up manually yourself. I think you're safe.
__________________
Registered Linux user #270181
TechieMoe's Tech Rants
techieMoe is offline   Reply With Quote
Old 12-04-2007   #6 (permalink)
coopstah13
Linux Enthusiast
 
coopstah13's Avatar
 
Join Date: Nov 2007
Location: MA, USA
Posts: 593
i've installed a number of virtual machines to virtually made disks with vmware, and they've always asked "install to mbr" and I've done it and it installs it in the virtual machine's virtual MBR, if that makes sense
coopstah13 is offline   Reply With Quote
Old 12-04-2007   #7 (permalink)
randersontt
Just Joined!
 
Join Date: Dec 2007
Posts: 3
Thanks - works fine

Okay, I allowed it to write GRUB to the MRB, and in fact it does write it to somewhere within the Virtual disk, so it doesn't mess with the primary OS.

Thanks all.
randersontt 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto: Install Firefox 2 and various plugins on Debian Etch brokndodge Debian Linux Help 11 10-11-2007 07:33 PM
linux hangs network while running openvpn server,authentication is completed but .... ankur2410 Linux Networking 0 02-14-2007 08:54 AM
Running Linux Review jeremy1701 LinuxForums.org - Articles 0 10-26-2004 12:34 PM
Novell Preps For Major Battle With Red Hat jasonlambert LinuxForums.org - Articles 0 11-07-2003 12:20 PM




All times are GMT. The time now is 06:07 AM.




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

Content Relevant URLs by vBSEO 3.0.0