Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Grub deleted :( Help!
New Posts  All Forums:Forum Nav:

Grub deleted :( Help!

post #1 of 26
Thread Starter 
So I was cleaning out my computer and accidentally deleted my buntu partition, so i decided to back up my windows partition and work from there, but midway through backing up I crashed, now i can't boot into anything and all I get is the grub rescue window. I don't know anything about linux really, can someone help me rebuild grub or something to reclaim the windows partition?
    
CPUMotherboardGraphicsRAM
Phenom II X6 1090T@ 4.0GHZ 1.416v Asus Crosshair IV Formula Radeon HD5850 G.SKILL PI Series 4GB (2 x 2GB) 240-Pin DDR3 2000 
Hard DriveOptical DriveOSPower
WD Caviar Black 640 GB 6.0 Gb/s LG 22X DVD Burner Windows 7, Ubuntu 10.10 CORSAIR HX Series 1000W 
Case
Antec 1200 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X6 1090T@ 4.0GHZ 1.416v Asus Crosshair IV Formula Radeon HD5850 G.SKILL PI Series 4GB (2 x 2GB) 240-Pin DDR3 2000 
Hard DriveOptical DriveOSPower
WD Caviar Black 640 GB 6.0 Gb/s LG 22X DVD Burner Windows 7, Ubuntu 10.10 CORSAIR HX Series 1000W 
Case
Antec 1200 
  hide details  
Reply
post #2 of 26
Install a live disc and install grub again.
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Q9550 Gigabyte EP45-UD3P EVGA GTX 465 4x2GB G.Skill 1066 
Hard DriveOSMonitorPower
750GB WD Caviar Black Windows 7 ASUS VW224U Dual Screens Corsair 750w HX 
Case
CM Storm Sniper Black 
  hide details  
Reply
post #3 of 26
Thread Starter 
Last time i did that I lost the windows partition in grub
    
CPUMotherboardGraphicsRAM
Phenom II X6 1090T@ 4.0GHZ 1.416v Asus Crosshair IV Formula Radeon HD5850 G.SKILL PI Series 4GB (2 x 2GB) 240-Pin DDR3 2000 
Hard DriveOptical DriveOSPower
WD Caviar Black 640 GB 6.0 Gb/s LG 22X DVD Burner Windows 7, Ubuntu 10.10 CORSAIR HX Series 1000W 
Case
Antec 1200 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X6 1090T@ 4.0GHZ 1.416v Asus Crosshair IV Formula Radeon HD5850 G.SKILL PI Series 4GB (2 x 2GB) 240-Pin DDR3 2000 
Hard DriveOptical DriveOSPower
WD Caviar Black 640 GB 6.0 Gb/s LG 22X DVD Burner Windows 7, Ubuntu 10.10 CORSAIR HX Series 1000W 
Case
Antec 1200 
  hide details  
Reply
post #4 of 26
Do what TFb typed...
then edit fstab to include your Win* partition(s)
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 Asus Lappy GeForce GT520M 4096 
Hard DriveOptical DriveOSMonitor
500GB LG W7=64 ult + Slackware13.1_64 + MineOS HP w2207h 
KeyboardCaseMouse
logitech G11 Fugly, lol logitech mx518 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 Asus Lappy GeForce GT520M 4096 
Hard DriveOptical DriveOSMonitor
500GB LG W7=64 ult + Slackware13.1_64 + MineOS HP w2207h 
KeyboardCaseMouse
logitech G11 Fugly, lol logitech mx518 
  hide details  
Reply
post #5 of 26
Thread Starter 
ok, how do i edit fstab? and I need to install the live distro onto the hdd?
    
CPUMotherboardGraphicsRAM
Phenom II X6 1090T@ 4.0GHZ 1.416v Asus Crosshair IV Formula Radeon HD5850 G.SKILL PI Series 4GB (2 x 2GB) 240-Pin DDR3 2000 
Hard DriveOptical DriveOSPower
WD Caviar Black 640 GB 6.0 Gb/s LG 22X DVD Burner Windows 7, Ubuntu 10.10 CORSAIR HX Series 1000W 
Case
Antec 1200 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X6 1090T@ 4.0GHZ 1.416v Asus Crosshair IV Formula Radeon HD5850 G.SKILL PI Series 4GB (2 x 2GB) 240-Pin DDR3 2000 
Hard DriveOptical DriveOSPower
WD Caviar Black 640 GB 6.0 Gb/s LG 22X DVD Burner Windows 7, Ubuntu 10.10 CORSAIR HX Series 1000W 
Case
Antec 1200 
  hide details  
Reply
post #6 of 26
You should be able to use the live-distro to do your maintenance w/o installing


nano (or pico or gedit or vi or vim or emacs WHATEVER! lol) /etc/fstab

then follow This
Obviously substituting your drives and Os's for those in the link
Edited by newphase - 1/9/11 at 11:42am
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 Asus Lappy GeForce GT520M 4096 
Hard DriveOptical DriveOSMonitor
500GB LG W7=64 ult + Slackware13.1_64 + MineOS HP w2207h 
KeyboardCaseMouse
logitech G11 Fugly, lol logitech mx518 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 Asus Lappy GeForce GT520M 4096 
Hard DriveOptical DriveOSMonitor
500GB LG W7=64 ult + Slackware13.1_64 + MineOS HP w2207h 
KeyboardCaseMouse
logitech G11 Fugly, lol logitech mx518 
  hide details  
Reply
post #7 of 26
Thread Starter 
do i just edit fstab from a usb live disk or from installing it to the hdd and then trying?

edit: nvm, answered above, thanks
Edited by daltontechnogeek - 1/9/11 at 11:45am
    
CPUMotherboardGraphicsRAM
Phenom II X6 1090T@ 4.0GHZ 1.416v Asus Crosshair IV Formula Radeon HD5850 G.SKILL PI Series 4GB (2 x 2GB) 240-Pin DDR3 2000 
Hard DriveOptical DriveOSPower
WD Caviar Black 640 GB 6.0 Gb/s LG 22X DVD Burner Windows 7, Ubuntu 10.10 CORSAIR HX Series 1000W 
Case
Antec 1200 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X6 1090T@ 4.0GHZ 1.416v Asus Crosshair IV Formula Radeon HD5850 G.SKILL PI Series 4GB (2 x 2GB) 240-Pin DDR3 2000 
Hard DriveOptical DriveOSPower
WD Caviar Black 640 GB 6.0 Gb/s LG 22X DVD Burner Windows 7, Ubuntu 10.10 CORSAIR HX Series 1000W 
Case
Antec 1200 
  hide details  
Reply
post #8 of 26
Repair GRUB first, then...
If you don't get the OS menu when you have repaired... that is when you need to edit fstab.

HOPEFULLY! The grub re-install will see all your OS's and give them an fstab entry



AFK 20 mins!
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 Asus Lappy GeForce GT520M 4096 
Hard DriveOptical DriveOSMonitor
500GB LG W7=64 ult + Slackware13.1_64 + MineOS HP w2207h 
KeyboardCaseMouse
logitech G11 Fugly, lol logitech mx518 
  hide details  
Reply
My System
(13 items)
 
  
CPUMotherboardGraphicsRAM
i7 Asus Lappy GeForce GT520M 4096 
Hard DriveOptical DriveOSMonitor
500GB LG W7=64 ult + Slackware13.1_64 + MineOS HP w2207h 
KeyboardCaseMouse
logitech G11 Fugly, lol logitech mx518 
  hide details  
Reply
post #9 of 26
restore the windows mbr
put the 7 install disk in
boot to it
go to command promt and do
bootrec /fixmbr
press enter
bootrec /fixboot
press enter
restart

I had to do this a few days ago because deleted my grub and lunix partition too
since you deleted your ubuntu partition might as well just get rid of grub all together untill you reinstall ubuntu again which is what this method does
Edited by AK-47 - 1/9/11 at 12:04pm
post #10 of 26
Thread Starter 
how does this sound, i'll try AK-47's idea because I have a win 7 reinstall disk handy, if that doesn't work, i'll move to grub. This sound ok?
    
CPUMotherboardGraphicsRAM
Phenom II X6 1090T@ 4.0GHZ 1.416v Asus Crosshair IV Formula Radeon HD5850 G.SKILL PI Series 4GB (2 x 2GB) 240-Pin DDR3 2000 
Hard DriveOptical DriveOSPower
WD Caviar Black 640 GB 6.0 Gb/s LG 22X DVD Burner Windows 7, Ubuntu 10.10 CORSAIR HX Series 1000W 
Case
Antec 1200 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X6 1090T@ 4.0GHZ 1.416v Asus Crosshair IV Formula Radeon HD5850 G.SKILL PI Series 4GB (2 x 2GB) 240-Pin DDR3 2000 
Hard DriveOptical DriveOSPower
WD Caviar Black 640 GB 6.0 Gb/s LG 22X DVD Burner Windows 7, Ubuntu 10.10 CORSAIR HX Series 1000W 
Case
Antec 1200 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Grub deleted :( Help!