LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 03-14-2011, 10:38 PM   #1
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Rep: Reputation: 30
Crunchbang, Grub2


I just installed CrunchBang Linux and it's great!

But I can't boot into windows anymore.

I'm sure it didn't delete my Windows partition-it's mounted.

My linux partition is /dev/sda1
Windows is /dev/sda2

Code:
sudo update-grub
Found linux image: ....
Found initrd image: ....
Found linux image: ....
Found initrd image: ....
done
Anyone have any idea of how I can get Windows to reappear? I've had bad luck with Grub in the past and I don't want to fight it on my own...
 
Old 03-14-2011, 10:53 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,025

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
Did you install windows 1st?
Post output of
Quote:
fdisk -l
 
Old 03-14-2011, 11:11 PM   #3
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
Code:
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x76692ca8

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1        2167    17405403+  83  Linux
/dev/sda2   *        2168       60801   470977541+   7  HPFS/NTFS
gary@simba:~$
 
Old 03-14-2011, 11:13 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,025

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
Was windows already installed.
 
Old 03-14-2011, 11:14 PM   #5
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by EDDY1 View Post
Was windows already installed.

Yes.

I did startup repair on a Windows 7 CD and could boot into it.

Then I reinstalled Linux and now I can't again.
 
Old 03-14-2011, 11:20 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,025

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
Was linux always on 1st partition or was wins the original os?
Are you using grub or grub2?
http://www.dedoimedo.com/computers/grub.html
http://www.dedoimedo.com/computers/grub-2.html

Last edited by EDDY1; 03-14-2011 at 11:23 PM.
 
Old 03-14-2011, 11:22 PM   #7
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
grub2
 
Old 03-15-2011, 12:17 AM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,025

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
try
Quote:
update-grub
or
Quote:
sudo update-grub
 
Old 03-15-2011, 07:27 AM   #9
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by EDDY1 View Post
try

Code:
sudo update-grub
That worked beautifully, but I swear it didn't work until the second time I installed #! after doing startup repair.

Thank you kind sir, you are a gentleman and a scholar.


Gary
 
Old 03-15-2011, 07:30 AM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,025

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
You're welcome.
 
  


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
What is the configuration file used by Crunchbang? just.srad Debian 1 03-09-2011 07:02 PM
LXer: CrunchBang Linux 10 review LXer Syndicated Linux News 0 02-18-2011 04:20 AM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 03:39 PM
LXer: Distro Review: Crunchbang 9.04.01 LXer Syndicated Linux News 0 08-10-2009 12:00 PM
Crunchbang + Firefox = Blurry fonts? BlackSheep024 Ubuntu 1 04-15-2009 06:52 AM


All times are GMT -5. The time now is 08:37 AM.

Main Menu
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