LinuxQuestions.org
Help answer threads with 0 replies.
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, 09: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, 09:53 PM   #2
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Did you install windows 1st?
Post output of
Quote:
fdisk -l
 
Old 03-14-2011, 10: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, 10:13 PM   #4
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Was windows already installed.
 
Old 03-14-2011, 10: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, 10:20 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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 10:23 PM.
 
Old 03-14-2011, 10:22 PM   #7
garyozzy
Member
 
Registered: Jun 2005
Distribution: RHEL, CentOS, Debian, Ubuntu, Arch
Posts: 181

Original Poster
Rep: Reputation: 30
grub2
 
Old 03-14-2011, 11:17 PM   #8
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
try
Quote:
update-grub
or
Quote:
sudo update-grub
 
Old 03-15-2011, 06: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, 06:30 AM   #10
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
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 06:02 PM
LXer: CrunchBang Linux 10 review LXer Syndicated Linux News 0 02-18-2011 03:20 AM
[SOLVED] GRUB2 after a minor update of GRUB2 /boot prefix no longer needed?? wikapuki Linux - Software 1 10-24-2010 02:39 PM
LXer: Distro Review: Crunchbang 9.04.01 LXer Syndicated Linux News 0 08-10-2009 11:00 AM
Crunchbang + Firefox = Blurry fonts? BlackSheep024 Ubuntu 1 04-15-2009 05:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:41 AM.

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
Open Source Consulting | Domain Registration