dumb question about dual booting debian and Windows 7 on separate drives.....

2010-12-08 Thread Michael Fothergill
Dear Debian folks,

I an running Lenny on an AMD64 box.  I have 8GB of RAM on the
machine in anticipation of putting Windows 7 on the machine.  I know
many Debian folks don't bother with Windows but I need it for certain
things I do..

I bought an extra SATA drive and hooked it up so now I have two one
with Debian on it.   My plan is to install Windows on the new
drive..  If you installed Windows on the new drive and then
installed Debian grub would see the Windows on the other drive and
create a boot option for you to fire it up if you wanted to when you
boot the PC up.

But if you installed debian first as I have on one disk and then add
Windows on the other one then if you boot up the machine it will load
Windows and you won't get a choice to fire up Linux (at least I don't
expect it).

I had a piece of software for Windows called Partition Magic which I
seem to have lost.   If I still had it I could install it on Windows
(after installed that OS) and it would see the Linux on the other
drive...  I could set up its bootloading program and then when the
machine rebooted it would give me choice to boot either Linux or the
Windows..

That would be a way to load Linux first and Windows second on two
separate drives and still be able to get a choice to load either OS on
boot up of the PC..

Except of course there would be other ways because I have sent you
this email and if you were kind you might point out some of them.
I could cheat and install the Windows and then reinstall Debian and
grub would see it but I don't want to do that.   I want to keep the
old installation.

How would you modify grub to see a Windows OS that hasn't been
installed yet?  Could I use the installer in Debian to make Windows
partition on the new drive and then install the Windows on it and then
grub would see it and boot up seeing both OSes?

It is possible I think to modify the bootloader in Windows (without
using e.g. Partition Magic) to sniff out the Linux and allow you to
choice of booting it when you boot up the PC..

Suggestions welcome.

Regards

Michael Fothergill


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinudw4mndadtr7xvplyp9=findx_vizzhex=...@mail.gmail.com



Re: dumb question about dual booting debian and Windows 7 on separate drives.....

2010-12-08 Thread Eduardo M KALINOWSKI
There's nothing amd64 specific in this question, debian-user would  
have been better.


On Qua, 08 Dez 2010, Michael Fothergill wrote:

I bought an extra SATA drive and hooked it up so now I have two one
with Debian on it.   My plan is to install Windows on the new
drive..  If you installed Windows on the new drive and then
installed Debian grub would see the Windows on the other drive and
create a boot option for you to fire it up if you wanted to when you
boot the PC up.

But if you installed debian first as I have on one disk and then add
Windows on the other one then if you boot up the machine it will load
Windows and you won't get a choice to fire up Linux (at least I don't
expect it).


Yeah, installing Windows will probably overwrite you MBR and make you  
linux unbootable.


But that's easy to recover. Just boot any linux CD (the debian  
installer CD will probably work, or use some live distro) and recover  
grub:


http://www.cyberciti.biz/tips/restore-debian-linux-grub-boot-loader.html

There are many other similar guides.


It is possible I think to modify the bootloader in Windows (without
using e.g. Partition Magic) to sniff out the Linux and allow you to
choice of booting it when you boot up the PC..


That is possible, but I have never tried. I personally don't like that  
solution much, I'd rather trust grub to boot Windows that trust  
Windows to boot anything that is not Windows.



--
I don't get no respect.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br


--
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20101208095843.829477nnfbmrx...@mail.kalinowski.com.br



Re: dumb question about dual booting debian and Windows 7 on separate drives.....

2010-12-08 Thread id id


trust grub to boot Windows that trust  
Windows to boot anything that is not Windows.


-- 
I don't get no respect.

Eduardo M KALINOWSKI

(
The crux of the matter -- trust
)





Is debian-lenny open source?  Windoze obfuscated?  Best to have two
separate boxes interconnected by ether-net.   At the very least have
debian drive turned off when using Windoze of dual-boot-box.  Power to
drive switch can be obtained from WWW.COOLERGUYS.COM .  

cables

cable adapters and extensions

Molex 4 Pin on/off Power Switch 12V and 5V DC

cable adapters and extensions

Serial ATA Power Adapter UV blue

Short of all that precaution, 

connect the new drive:
with both drives powered up install debian onto new drive:
from old drive which will show up as media on new installation, copy all
files from /home to new installation /home;
disconnect new debian drive;
install doze onto old drive;
reconnect new drive;
configure BIOS to always boot up from new drive grub from which you can
easily choose doze or debian.

Never let doze see the linux.  Always let linux see everything

Good luck
!

☻☺


---BeginMessage---
Dear Debian folks,

I an running Lenny on an AMD64 box.  I have 8GB of RAM on the
machine in anticipation of putting Windows 7 on the machine.  I know
many Debian folks don't bother with Windows but I need it for certain
things I do..

I bought an extra SATA drive and hooked it up so now I have two one
with Debian on it.   My plan is to install Windows on the new
drive..  If you installed Windows on the new drive and then
installed Debian grub would see the Windows on the other drive and
create a boot option for you to fire it up if you wanted to when you
boot the PC up.

But if you installed debian first as I have on one disk and then add
Windows on the other one then if you boot up the machine it will load
Windows and you won't get a choice to fire up Linux (at least I don't
expect it).

I had a piece of software for Windows called Partition Magic which I
seem to have lost.   If I still had it I could install it on Windows
(after installed that OS) and it would see the Linux on the other
drive...  I could set up its bootloading program and then when the
machine rebooted it would give me choice to boot either Linux or the
Windows..

That would be a way to load Linux first and Windows second on two
separate drives and still be able to get a choice to load either OS on
boot up of the PC..

Except of course there would be other ways because I have sent you
this email and if you were kind you might point out some of them.
I could cheat and install the Windows and then reinstall Debian and
grub would see it but I don't want to do that.   I want to keep the
old installation.

How would you modify grub to see a Windows OS that hasn't been
installed yet?  Could I use the installer in Debian to make Windows
partition on the new drive and then install the Windows on it and then
grub would see it and boot up seeing both OSes?

It is possible I think to modify the bootloader in Windows (without
using e.g. Partition Magic) to sniff out the Linux and allow you to
choice of booting it when you boot up the PC..

Suggestions welcome.

Regards

Michael Fothergill


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinudw4mndadtr7xvplyp9=findx_vizzhex=...@mail.gmail.com

---End Message---


Re: dumb question about dual booting debian and Windows 7 on separate drives.....

2010-12-08 Thread Lennart Sorensen
On Wed, Dec 08, 2010 at 11:43:02AM +, Michael Fothergill wrote:
 Dear Debian folks,
 
 I an running Lenny on an AMD64 box.  I have 8GB of RAM on the
 machine in anticipation of putting Windows 7 on the machine.  I know
 many Debian folks don't bother with Windows but I need it for certain
 things I do..
 
 I bought an extra SATA drive and hooked it up so now I have two one
 with Debian on it.   My plan is to install Windows on the new
 drive..  If you installed Windows on the new drive and then
 installed Debian grub would see the Windows on the other drive and
 create a boot option for you to fire it up if you wanted to when you
 boot the PC up.

I believe windows won't boot unless it is on the primary harddisk.
Linux is much less picky.  This is why people usualyl say to install
windows first, then install linux.  linux knows how to share a machine,
windows does not believe in sharing.

Making your current debian install move from being the first harddisk
to being the second might break things (although all fixable, it is all
fstab and bootloader related, unless you happen to be using UUID based
fstab and grub in which case everything might just work anyhow).
Unfortunately Lenny does NOT use UUIDs normally, while Squeeze appears
to default to it.  You will want to switch to that first to make the
fstab much more flexible about rearranging drives.

 But if you installed debian first as I have on one disk and then add
 Windows on the other one then if you boot up the machine it will load
 Windows and you won't get a choice to fire up Linux (at least I don't
 expect it).

You can certainly have grub know about windows, it tends to detect that
automaticly in most cases.

 I had a piece of software for Windows called Partition Magic which I
 seem to have lost.   If I still had it I could install it on Windows
 (after installed that OS) and it would see the Linux on the other
 drive...  I could set up its bootloading program and then when the
 machine rebooted it would give me choice to boot either Linux or the
 Windows..

Partition magic really isn't worth it anymore.  It rarely works with
modern large disks.

 That would be a way to load Linux first and Windows second on two
 separate drives and still be able to get a choice to load either OS on
 boot up of the PC..

Just have grub in the MBR of the primary disk with an option for both.
Simple and reliable.

 Except of course there would be other ways because I have sent you
 this email and if you were kind you might point out some of them.
 I could cheat and install the Windows and then reinstall Debian and
 grub would see it but I don't want to do that.   I want to keep the
 old installation.

Well without fixing the config to have debian work from what would be
the second disk after adding a new one, I don't believe you can get
windows to work.

 How would you modify grub to see a Windows OS that hasn't been
 installed yet?  Could I use the installer in Debian to make Windows
 partition on the new drive and then install the Windows on it and then
 grub would see it and boot up seeing both OSes?
 
 It is possible I think to modify the bootloader in Windows (without
 using e.g. Partition Magic) to sniff out the Linux and allow you to
 choice of booting it when you boot up the PC..

Yes, but it's fragile and not worth doing that way.

-- 
Len Sorensen


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20101208160609.gp12...@caffeine.csclub.uwaterloo.ca



Re: dumb question about dual booting debian and Windows 7 on separate drives.....

2010-12-08 Thread Robert Goley


  
  


  
Partition magic really isn't worth it anymore.  It rarely works with
modern large disks.



I agree. A similar open source solution that works better is
GParted. They have a bootable iso that gives you the same type of
functionality. 

  
  
That would be a way to load Linux first and Windows second on two
separate drives and still be able to get a choice to load either OS on
boot up of the PC..
  
  
How would you modify grub to see a Windows OS that hasn't been
installed yet?  Could I use the installer in Debian to make Windows
partition on the new drive and then install the Windows on it and then
grub would see it and boot up seeing both OSes?

It is possible I think to modify the bootloader in Windows (without
using e.g. Partition Magic) to sniff out the Linux and allow you to
choice of booting it when you boot up the PC..

  
  
Yes, but it's fragile and not worth doing that way.



I believe he is trying to get similar functionality as the BootMagic
software that was distributed with Partition Magic. It was
essentially a boot loader that booted other bootloaders (lilo, grub,
NT loader etc). Would recommend using Grub myself instead. Works
better overall. It is simple enough to restore Grub to the MBR when
Windows overwrites it by using a boot/rescue disc. Although, it is
possible to add a Grub4DOS entry to the NT loader that would provide
a failsafe to allow booting into Linux from Windows in the event
Windows overwrites the bootloader on the MBR.



-- 
  Robert Goley

FOSS
  Implementation Specialist
  Toll Free: (800) 338-4984
  Local: (770) 479-7933
  Fax: (770) 479-4076
  www.openrda.com

America's only Free  Open Source
fund accounting software company. 

  



Re: dumb question about dual booting debian and Windows 7 on separate drives.....

2010-12-08 Thread Robert Isaac
http://www.debian.org/MailingLists/#codeofconduct

* Never send your messages in HTML; use plain text instead.


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlktinbehgcakjdebsz8htvonnx-v-3o7uyes5c9...@mail.gmail.com



Re: dumb question about dual booting debian and Windows 7 on separate drives.....

2010-12-08 Thread Robert Isaac
 It is possible I think to modify the bootloader in Windows (without
 using e.g. Partition Magic) to sniff out the Linux and allow you to
 choice of booting it when you boot up the PC..

 Yes, but it's fragile and not worth doing that way.


Depends on the version of grub:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550702

Grub in squeeze is 1.98 that bug is fixed in 1.99


-- 
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/aanlkti=-ef8=vpufumqtkh14hwthy0d-+fy5=hnqy...@mail.gmail.com



Re: dumb question about dual booting debian and Windows 7 on separate drives.....

2010-12-08 Thread Whit Hansell

Michael,
I've got a dual boot. Linux on one drive and WXP on another.  Very easy 
to set up.  But as I remember, when I installed Windows, I disconnected 
the Linux drive while doing the install, then put the WXP drive on 
middle connector of ATA cable when I had that situation.  But now I have 
two drives on SATA setup and WXP is on second SATA w. Linux on first 
SATA.  I know everyone says Windows wants to be first but. Hey it 
works.  When I boot up I have the Linux drive as first HD in boot up 
sequence.  Actually, in my boot up sequence the machine doesn't even 
show the second drive but it still works.


In /boot/grub/menu.lst add:

### END DEBIAN AUTOMAGIC KERNELS LIST  ,--this is last line in menu.lst 
file and I added the next below it so it would not be in the update area


title   Windows XP --- Type Windows 7That is 
only a title..

map (hd0)(hd1) --  no spaces between items in par.
map (hd1)(hd0) --   
root (hd1,0)
rootnoverify (hd1,0)
makeactive
chainloader +1

-Save your menu.lst file---


The above is the last item in menu.lst and it will allow your Windows 7 
item to show up after Linux so that when your boot process hits the menu 
list if nothing is done, it will start your linux setup first.



w...@greatstar:/boot/grub$ cat device.map
(hd0)/dev/sda
(hd1)/dev/sdb

Also in your /boot/grub directory is your device.map file.  Insert the 
above in it and save it too.


I have both drives attached to SATA connectors.  If you have a setup 
using ATA use hda and hdb instead of sda and sdb.


Anyway, as I said, Windows says it likes to be first on the hdw 
hookups.  I have my linux drive setup first and have the linux drive 
being the first in the bootup process in the BIOS.


Make sure your drives are hooked up again and then boot.  You should get 
the menu and you can downspace to the Windows drive and see if it will 
come up.  Mine has been working just fine w. this setup and I'm  using 
AMD64 on an ASUS mtb w. no problem.


HTH's
Whit


Michael Fothergill wrote:

Dear Debian folks,

I an running Lenny on an AMD64 box.  I have 8GB of RAM on the
machine in anticipation of putting Windows 7 on the machine.  I know
many Debian folks don't bother with Windows but I need it for certain
things I do..

I bought an extra SATA drive and hooked it up so now I have two one
with Debian on it.   My plan is to install Windows on the new
drive..  If you installed Windows on the new drive and then
installed Debian grub would see the Windows on the other drive and
create a boot option for you to fire it up if you wanted to when you
boot the PC up.

But if you installed debian first as I have on one disk and then add
Windows on the other one then if you boot up the machine it will load
Windows and you won't get a choice to fire up Linux (at least I don't
expect it).

I had a piece of software for Windows called Partition Magic which I
seem to have lost.   If I still had it I could install it on Windows
(after installed that OS) and it would see the Linux on the other
drive...  I could set up its bootloading program and then when the
machine rebooted it would give me choice to boot either Linux or the
Windows..

That would be a way to load Linux first and Windows second on two
separate drives and still be able to get a choice to load either OS on
boot up of the PC..

Except of course there would be other ways because I have sent you
this email and if you were kind you might point out some of them.
I could cheat and install the Windows and then reinstall Debian and
grub would see it but I don't want to do that.   I want to keep the
old installation.

How would you modify grub to see a Windows OS that hasn't been
installed yet?  Could I use the installer in Debian to make Windows
partition on the new drive and then install the Windows on it and then
grub would see it and boot up seeing both OSes?

It is possible I think to modify the bootloader in Windows (without
using e.g. Partition Magic) to sniff out the Linux and allow you to
choice of booting it when you boot up the PC..

Suggestions welcome.

Regards

Michael Fothergill


  



--
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cffd656.3070...@comcast.net



Re: dumb question about dual booting debian and Windows 7 on separate drives.....

2010-12-08 Thread Whit Hansell
Michael, I just re-checked my instructions I had for myself elsewhere 
and found I had made a mistake.  In the menu.lst file make sure there IS 
a space between the (hd0) and (hd1).  Sorry about that.


HTH's
Whit

Whit Hansell wrote:

Michael,
I've got a dual boot. Linux on one drive and WXP on another.  Very 
easy to set up.  But as I remember, when I installed Windows, I 
disconnected the Linux drive while doing the install, then put the WXP 
drive on middle connector of ATA cable when I had that situation.  But 
now I have two drives on SATA setup and WXP is on second SATA w. Linux 
on first SATA.  I know everyone says Windows wants to be first 
but. Hey it works.  When I boot up I have the Linux drive as first 
HD in boot up sequence.  Actually, in my boot up sequence the machine 
doesn't even show the second drive but it still works.


In /boot/grub/menu.lst add:

### END DEBIAN AUTOMAGIC KERNELS LIST  ,--this is last line in 
menu.lst file and I added the next below it so it would not be in the 
update area


title   Windows XP --- Type Windows 7That is 
only a title..

map (hd0)(hd1) --  no spaces between items in par.
map (hd1)(hd0) --   
root (hd1,0)
rootnoverify (hd1,0)
makeactive
chainloader +1

-Save your menu.lst file---


The above is the last item in menu.lst and it will allow your Windows 
7 item to show up after Linux so that when your boot process hits the 
menu list if nothing is done, it will start your linux setup first.



w...@greatstar:/boot/grub$ cat device.map
(hd0)/dev/sda
(hd1)/dev/sdb

Also in your /boot/grub directory is your device.map file.  Insert the 
above in it and save it too.


I have both drives attached to SATA connectors.  If you have a setup 
using ATA use hda and hdb instead of sda and sdb.


Anyway, as I said, Windows says it likes to be first on the hdw 
hookups.  I have my linux drive setup first and have the linux drive 
being the first in the bootup process in the BIOS.


Make sure your drives are hooked up again and then boot.  You should 
get the menu and you can downspace to the Windows drive and see if it 
will come up.  Mine has been working just fine w. this setup and I'm  
using AMD64 on an ASUS mtb w. no problem.


HTH's
Whit


Michael Fothergill wrote:

Dear Debian folks,

I an running Lenny on an AMD64 box.  I have 8GB of RAM on the
machine in anticipation of putting Windows 7 on the machine.  I know
many Debian folks don't bother with Windows but I need it for certain
things I do..

I bought an extra SATA drive and hooked it up so now I have two one
with Debian on it.   My plan is to install Windows on the new
drive..  If you installed Windows on the new drive and then
installed Debian grub would see the Windows on the other drive and
create a boot option for you to fire it up if you wanted to when you
boot the PC up.

But if you installed debian first as I have on one disk and then add
Windows on the other one then if you boot up the machine it will load
Windows and you won't get a choice to fire up Linux (at least I don't
expect it).

I had a piece of software for Windows called Partition Magic which I
seem to have lost.   If I still had it I could install it on Windows
(after installed that OS) and it would see the Linux on the other
drive...  I could set up its bootloading program and then when the
machine rebooted it would give me choice to boot either Linux or the
Windows..

That would be a way to load Linux first and Windows second on two
separate drives and still be able to get a choice to load either OS on
boot up of the PC..

Except of course there would be other ways because I have sent you
this email and if you were kind you might point out some of them.
I could cheat and install the Windows and then reinstall Debian and
grub would see it but I don't want to do that.   I want to keep the
old installation.

How would you modify grub to see a Windows OS that hasn't been
installed yet?  Could I use the installer in Debian to make Windows
partition on the new drive and then install the Windows on it and then
grub would see it and boot up seeing both OSes?

It is possible I think to modify the bootloader in Windows (without
using e.g. Partition Magic) to sniff out the Linux and allow you to
choice of booting it when you boot up the PC..

Suggestions welcome.

Regards

Michael Fothergill


  






--
To UNSUBSCRIBE, email to debian-amd64-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4cffe888.7040...@comcast.net