LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 04-13-2011, 04:07 PM   #1
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 720

Rep: Reputation: 32
Tried to repair - lost Linux


I recently went to dual boot Oracle Linux 5/ Windows Vista.

Windows is now working so from the repair boot I tried
Code:
bootrec.exe /fixmbr
bootrec.exe /fixboot
This did not solve.

However now when I log in I only get the choice of vista.

Using a live CD I found that Linux is still there

Code:
fdisk -l

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x70000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1           8       64228+   6  FAT16
/dev/sda2               9        1314    10485760    7  HPFS/NTFS
/dev/sda3   *        1314       30965   238176090+   7  HPFS/NTFS
/dev/sda4           30966       60801   239657670    5  Extended
/dev/sda5           30966       30978      104391   83  Linux
/dev/sda6           30979       60801   239553216   8e  Linux LVM

Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x75e28ca9

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1           8       64228+   6  FAT16
/dev/sdb2               9        1314    10490445    7  HPFS/NTFS
/dev/sdb3   *        1315       30966   238179690    7  HPFS/NTFS
/dev/sdb4           30967      121601   728025637+   5  Extended
/dev/sdb5           30967      121601   728025606   8e  Linux LVM
However I can not fix it. Any ideas?
 
Old 04-13-2011, 04:16 PM   #2
dudeman41465
Member
 
Registered: Jun 2005
Location: Kentucky
Distribution: Ubuntu
Posts: 794

Rep: Reputation: 56
You have to reinstall grub on your computer. These instructions may help you out. I've never had this problem myself so I have no personal experience with it, although I can tell you that if you install the Windows bootloader, which is what you do when you do fixmbr and fixboot, it will not detect anything except a Windows operating system. Linux picks up other stuff, but Windows refuses to.
 
Old 04-13-2011, 04:28 PM   #3
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,838

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Assuming that you've just repaired windows boot issues, if you want linux to boot you'll have to restore grub,
http://ubuntuguide.net/how-to-restor...ws-xpvistawin7
https://help.ubuntu.com/community/Re...0Boot%20Record
 
Old 04-14-2011, 05:25 AM   #4
davholla
Member
 
Registered: Jun 2003
Location: London
Distribution: Linux Mint 13 Maya
Posts: 720

Original Poster
Rep: Reputation: 32
Thanks for that.
Following the instructions here
http://microdotsagamedev.wordpress.c...r-grub-loader/

I can boot into Linux. I can't face trying to fix Windows today - will try again tomorrow.
 
Old 08-24-2011, 04:15 AM   #5
ecoelectric
LQ Newbie
 
Registered: Aug 2011
Posts: 2

Rep: Reputation: Disabled
I had similar problem before and never a chance to repair it myself so I've got to bring the laptop to the pc repair shop thinking it was a big problem. if I had known that by joining some forums you really can get help.
 
Old 08-24-2011, 06:51 AM   #6
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,994

Rep: Reputation: 2218Reputation: 2218Reputation: 2218Reputation: 2218Reputation: 2218Reputation: 2218Reputation: 2218Reputation: 2218Reputation: 2218Reputation: 2218Reputation: 2218
Quote:
Originally Posted by davholla View Post
Following the instructions here

I can boot into Linux. I can't face trying to fix Windows today - will try again tomorrow.
O.K., that means you have grub classic - ignore any references above to grub2, that's an entirely different animal.
Also, don't go running the Windoze recovery again - much easier to get grub working for both. Run the following commands from a terminal, and post the output
Code:
sudo fdisk -l
grep -vE "^#|^$" /boot/grub/menu.lst
The "sudo" will require your password - and that's a lower case ell.

BTW - @ecoelectric, you'll find plenty of experienced Linux people from Brissy post here

Last edited by syg00; 08-24-2011 at 06:53 AM.
 
  


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
Lost connection to MySQL server during query when executing 'REPAIR TABLE ... '? Ujjain Linux - Server 3 03-20-2009 10:05 AM
I need a Linux OS other than Ubuntu which has a repair disk or repair software jhmac77 Linux - Newbie 1 03-17-2008 08:04 AM
how to repair linux o/s amit.mitu Linux - Newbie 2 12-19-2007 09:29 AM
Repair NTFS partition from linux nyk Linux - Software 3 10-27-2004 04:27 PM
bootable repair linux distribution ViralHex Linux - General 2 08-06-2004 05:53 PM

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

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