LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices



Reply
 
Search this Thread
Old 01-08-2013, 09:42 PM   #1
PeteWieland
LQ Newbie
 
Registered: Mar 2005
Location: North Wales UK
Distribution: Debian Squeeze
Posts: 15

Rep: Reputation: 0
Debian 6 with Windows 7


I know this has been asked and answered a million times before, but after 10+ attempts I can't get it working, despite following several guides to the letter. All the guides seem to suggest it 'just works, simple!'

I have 3 physical SATA hard drives; Disk 0 has 2 partitions, Win 7 and XP, disk 1 is completely blank ready to accept Debian and disk 2 is a data drive (NTFS).

I have used EasyBCD to set up a dual boot for Win 7 and XP. All works fine.

Downloaded Debian 6.0.6 iso1 and burnt it to DVD, booted PC with it to install Debian.

I used the 'use whole disk option' and separate partitions for everything, sticking to the assisted method rather than manual. The partitions all installed on sda.

When it came to installing Grub I went for sda1, NOT the Win 7 partition.

All seemed to go OK, the DVD ejected and I rebooted to Win 7. I then ran EasyBCD, followed the instructions to set up a Linux entry, and despite trying many different combinations of settings, nothing worked. If I examine the Debian drive from Win 7 using ext2explore everything seems to be in place, including the /boot/grub directory.

I booted from the Super Grub Disk and got to a grub prompt, but 'find /boot/grub/stage1' does not find the file. What does seem strange is that the Super Grub Disk installs the Debian disk to sdb (which seems more logical than sda that the Debian installer uses), but even trying to boot from that directly it just hangs, although ctrl-alt-del will reboot so it hasn't crashed.

This is the first time I have installed Linux on SATA; I am more used to IDE where you could jumper the drives to be sure what port of the controller they were connected to. I am sure I must be missing something really simple here, but I can't for the life of me work out what, and none of the questions I have found have my set-up; most refer to a single partitioned drive.

Please help!
 
Old 01-08-2013, 10:29 PM   #2
yancek
Guru
 
Registered: Apr 2008
Distribution: PCLinux, Slackware
Posts: 5,098

Rep: Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811Reputation: 811
It would help someone to help you if you posted your drive/partition information. Since you can't boot Debian, boot the Debian CD and open a terminal and type the following: sudo fdisk -l(Lower case Letter L in the command). Post the output here.

Quote:
I booted from the Super Grub Disk and got to a grub prompt, but 'find /boot/grub/stage1' does not find the file
Debian has been using Grub2 for several releases and there is not stage1 file. You should have an option with supergrubdisk to use Grub2, if not you have the wrong Supergrubdisk.

If you were installing Debian on its own disk, you should have installed Grub to the mbr of the drive rather than a partition.


Quote:
I then ran EasyBCD, followed the instructions to set up a Linux entry, and despite trying many different combinations of settings, nothing worked.
That a failure of EasyBCD which is windows software. Have you posted at the neosmart forums? Post the partition information above and while you are logged in to the Debian CD, go to the site below and download and run the bootinfoscript and post the output here, a results.txt file. This will give detailed information on your drives/partitions and boot files.
 
Old 01-09-2013, 02:28 AM   #3
propofol
Member
 
Registered: Nov 2007
Location: Seattle
Distribution: Debian Wheezy & Jessie; Ubuntu
Posts: 298

Rep: Reputation: 55
Just a suggestion, but how about using grub to boot linux or windows? Set the drive where you have installed Debian & grub (/dev/sda) as your primary boot device in BIOS.

I have in the past been able to get EasyBCD working to boot Ubuntu but is was painful. Grub was much easier. I currently have a dual booting setup with Win 7 & Debian Squeeze: each on a separate drive. I have installed grub on both drives. You can easily do install grub with any recent live cd. I can post the instructions to do this if the above step does not work.

Regards,
Stefan
 
Old 01-09-2013, 12:45 PM   #4
PeteWieland
LQ Newbie
 
Registered: Mar 2005
Location: North Wales UK
Distribution: Debian Squeeze
Posts: 15

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by yancek View Post
If you were installing Debian on its own disk, you should have installed Grub to the mbr of the drive rather than a partition.
Thanks, yancek, that was the problem.

I re-installed, this time entering '/dev/sda' instead of '/dev/sda1' for GRUB. I knew it would be something simple!
 
  


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, Ubuntu, Debian, Windows, Oh my!! Grub can't find Windows partitions crs17 Linux - General 3 05-22-2012 09:13 AM
Reboot of Debian Lenny now Windows PCs cannot see Debian. sr_25 Debian 3 02-14-2009 03:03 PM
Logging into a debian primary domain controller via windows xp pro via windows VPN dr5419 Linux - Newbie 15 12-11-2008 05:48 PM
LXer: Installing Debian Etch From A Windows System With "Debian-Installer Loader" LXer Syndicated Linux News 0 09-28-2007 01:41 AM


All times are GMT -5. The time now is 12:46 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration