PCLinuxOS-Forums
News: ...FLASH!!! ...New PCLinuxOS Testing board now open. Register today! Be an active contributor to the PCLinuxOS future! ... Read all about it now, on THIS forum!!!..
 
*
Welcome, Guest. Please login or register. May 27, 2012, 04:19:04 AM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Cannot find operating system  (Read 650 times)
utopoo
New Friend
*
Offline Offline

Posts: 3



« on: January 04, 2011, 11:48:45 PM »

Sorry if this is in the wrong section. 

I've been running PCLOS for the last while and decided I need to have dual boot as an option.  I had a section of my drive already partitioned from when I first set up PCLOS and thought I would just be able to install Windows 7 onto that partition.  Well that's what I tried but Windows wouldn't install on the partition and now I can't boot back into PCLOS, I get cannot find operating system and have to restart.

I've been trying to figure this out myself using the LiveCD.  It seems trying to install Windows has messed up my partitions, they are still there but no longer say /, /root and /home on them, I'm guessing this is the issue as to why it can't find the OS?

Is there anyway to fix this or do I need to re-install everything (installing Windows first this time...) and lose all my files?  I don't have much on the HDD but there are a few files I would like to recover.
Logged
BJF
Hero Member
*****
Offline Offline

Posts: 519


« Reply #1 on: January 05, 2011, 12:58:42 AM »

First thing I reckon would be to use the LiveCD to copy those files you want kept out onto media. Before it all gets any worse.
Logged

J.G. Gone but never forgotten.


Monsters are real. Ghosts are real too. They live inside us, and sometimes they win.  -Stephen King.

To activate container, saturate contents with cider or single malt.
uncleV
Guest
« Reply #2 on: January 05, 2011, 04:25:23 AM »

First thing I reckon would be to use the LiveCD to copy those files you want kept out onto media. Before it all gets any worse.
+1

Further: When you are running LiveCD you don't see /, /home, /root on the HD because those are assigned now by LiveCD and sit in the RAM. They are different Wink

If you didn't succeed to overwrite your HD PCLOS partitions Grin with the Windows installing attempt then I suppose you've lost your MBR only.
Try to fix that from LiveCD session running Menu-->More Applications-->Configuration-->Redo MBR (Restore MBR)

Add: Please also run in Terminal command fdisk -l as root in order to see your HD partitions and post the output here.
Logged
utopoo
New Friend
*
Offline Offline

Posts: 3



« Reply #3 on: January 05, 2011, 11:25:59 PM »

Okay went ahead and restored MBR it gave me this:

timeout 3
color black/cyan yellow/cyan
gfxmenu (hd0,0)/boot/gfxmenu
default 0

title linux
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux root=UUID=d994d370-d656-438f-b935-5492627beec6 resume=UUID=769d7fb4-794c-456b-970d-a6ac0c7cb21c splash=silent vga=788
initrd (hd0,0)/boot/initrd.img

title linux-nonfb
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=linux-nonfb root=UUID=d994d370-d656-438f-b935-5492627beec6 resume=UUID=769d7fb4-794c-456b-970d-a6ac0c7cb21c
initrd (hd0,0)/boot/initrd.img

title failsafe
kernel (hd0,0)/boot/vmlinuz BOOT_IMAGE=failsafe root=UUID=d994d370-d656-438f-b935-5492627beec6 failsafe
initrd (hd0,0)/boot/initrd.img

title windows
root (hd0,6)
chainloader +1

Then I ran fdisk -l and got this:

Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x88688d43

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *          63    43054199    21527068+  83  Linux
/dev/sda2        43054200   976768064   466856932+   5  Extended
/dev/sda5        43054263    61063064     9004401   82  Linux swap / Solaris
/dev/sda6        61063128   943963334   441450103+  83  Linux

According to above it doesn't look like windows killed anything...  Will do a reboot now and see what happens. 
Logged
uncleV
Guest
« Reply #4 on: January 06, 2011, 03:14:37 AM »

No joy? Wink
Logged
utopoo
New Friend
*
Offline Offline

Posts: 3



« Reply #5 on: January 08, 2011, 01:10:06 PM »

Thanks for the help everyone.  I got everything back up, running dual boot now.

Cheers!
Logged
horusfalcon
Sr. Member
****
Offline Offline

Posts: 471


Wayfarer of The Western Wastes


« Reply #6 on: January 19, 2011, 06:39:20 PM »

Thanks for the help everyone.  I got everything back up, running dual boot now.

Cheers!

Now would be a good time to modify the first post's subject line to add {SOLVED}?

Logged

"The Way is not a matter of knowing or not knowing.  One word to a wise man; one lash to a bright horse."
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM