Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Operating Systems > Linux, Unix

Reply
 
LinkBack Thread Tools
Old 06-28-08   #1 (permalink)
Case Modder
 
feltadox1337's Avatar
 
intel nvidia

Join Date: May 2008
Location: Bethesda, MD
Posts: 234

Rep: 19 feltadox1337 Unknown
Unique Rep: 0
Trader Rating: 0
Default Formatted Windows in dual-boot setup... need to get back ubuntu...

Hey, I need to get back grub so that I can get back into ubuntu.
I tired the following but to no avail..

Quote:
Restore GRUB quite simple in Ubuntu, instead going through all the "gain root access" and play with shell commands, you can use the Ubuntu installation CD to restore it without going through all kinds of hassles.

Here are the steps:

1. Boot your computer up with Ubunto CD
2. Go through all the process until you reech "[!!!] Disk Partition"
3. Select Manual Partition
4. Mount your appropriate linux partions

/
/boot
swap
.....

5. DO NOT FORMAT THEM.
6. Finish the manual partition
7. Say "Yes" when it asks you to save the changes
8. It will give you errors saying that "the system couldn't install ....." after that
9. Ignore them, keep select "continue" until you get back to the Ubuntu installation menu
10. Jump to "Install Grub ...."
11. Once it is finished, just restart your computer

Good luck!.
When I do this.. after choosing the partitions.. It wont let me proceed unless I select format. I selected my existing ubuntu partition as "/" and swap as "swap".

AND
Quote:
1. Pop in the Live CD, boot from it until you reach the desktop.
2. Open a terminal window or switch to a tty.
3. Type "grub"
4. Type "root (hd0,6)", or whatever your harddisk + boot partition numbers are (my /boot is at /dev/sda7, which translates to hd0,6 for grub).
5. Type "setup (hd0)", ot whatever your harddisk nr is.
6. Quit grub by typing "quit".
7. Reboot.
In this, no matter what sequence of partition number I try, I cant get through, I've tired the most obvious and most extreme...

AND
Quote:
1. Boot with any live CD (I've done it with Ubuntu Live DVD)
2. Get a root shell -> Applications / System Tools / Root Terminal
3. Make a folder -> mkdir /mnt/ubuntu
4. Check the Ubuntu partition -> fdisk -l (Mine is /dev/hda4)
5. Mount the root partition of Ubuntu -> mount -t ext3 /dev/hda4 /mnt/ubuntu (replace /dev/hda4 by your Ubuntu partition determined at the step 4)
6. Chroot the mounted partition -> chroot /mnt/ubuntu
7. Restore Grub / the initial MBR -> grub-install /dev/hda
8. Exit the shell
9. Reboot
When performing the "mkdir /mnt/ubuntu" command, it says access denied!


Can anyone recommend a simple and easy way.
Thanks a lot!
__________________
Quote:
"How do I get rid of a Trojan Horse?"
-"Leave it outside the gates of Troy overnight."
I am 75% addicted to Counterstrike. What about you?

System: aka-kaji bo-ru
CPU
E8400
Motherboard
ASUS Maximus Formula
Memory
2GB (2x1GB) OCZ Titanium PC2-6400
Graphics Card
7600GT
Hard Drive
500GB(7200.11) + 500GB(WD Caviar) + 80GB*3
Sound Card
ASUS Supreme FX II
Power Supply
FSP Everest 700W
Case
Lian Li V2000 PlusII
CPU cooling
Zalman 9500
OS
Vista Ultimate 64-Bit
Monitor
Dell E228WFP 22" LCD
feltadox1337 is offline   Reply With Quote
Old 06-28-08   #2 (permalink)
Linux Lobbyist
 
hybrid-kernel's Avatar
 
amd nvidia

Join Date: Jun 2008
Posts: 66

Rep: 11 hybrid-kernel Unknown
Unique Rep: 0
Trader Rating: 0
Default

give super grub disk a try, always works for me
__________________
~Linux Enthusiast
==> My first OC

System: Fission
CPU
Athlon 64 x2 4200+ @ 2.8Ghz (255 x 11)
Motherboard
Asus M2A-VM
Memory
4gb (Kingston 4x 1gb)
Graphics Card
XFX 8800gt 512mb (725/1900)
Hard Drive
250gb WD + 500gb ext
Power Supply
450w
CPU cooling
Stock
GPU cooling
Stock (Zalman)
OS
Sidux Ωυρεα amd64
Monitor
Samsung Syncmaster 216BW
hybrid-kernel is offline hybrid-kernel's Gallery   Reply With Quote
Old 06-29-08   #3 (permalink)
Case Modder
 
feltadox1337's Avatar
 
intel nvidia

Join Date: May 2008
Location: Bethesda, MD
Posts: 234

Rep: 19 feltadox1337 Unknown
Unique Rep: 0
Trader Rating: 0
Default

I'll give that a try, thanks..
__________________
Quote:
"How do I get rid of a Trojan Horse?"
-"Leave it outside the gates of Troy overnight."
I am 75% addicted to Counterstrike. What about you?

System: aka-kaji bo-ru
CPU
E8400
Motherboard
ASUS Maximus Formula
Memory
2GB (2x1GB) OCZ Titanium PC2-6400
Graphics Card
7600GT
Hard Drive
500GB(7200.11) + 500GB(WD Caviar) + 80GB*3
Sound Card
ASUS Supreme FX II
Power Supply
FSP Everest 700W
Case
Lian Li V2000 PlusII
CPU cooling
Zalman 9500
OS
Vista Ultimate 64-Bit
Monitor
Dell E228WFP 22" LCD
feltadox1337 is offline   Reply With Quote
Old 06-29-08   #4 (permalink)
Perfección
 
Melcar's Avatar
 
amd ati

Join Date: Sep 2005
Location: L.A.
Posts: 5,482

Rep: 400 Melcar is a proven memberMelcar is a proven memberMelcar is a proven memberMelcar is a proven memberMelcar is a proven member
Unique Rep: 0
Trader Rating: 0
Default

Do you still have your Ubuntu LiveCD? Boot from it and follow this guide:

http://ubuntuforums.org/showthread.php?t=224351
__________________
Honos et Potestas



System: Fun Box
CPU
Athlon X2 4000+ @ 3.0GHz
Motherboard
DFI DK 790FX-M2RS
Memory
2x2GB G.Skill DDR2 1000
Graphics Card
HD3850 512MB (800/1000)
Hard Drive
160 SATAII Barracuda
Sound Card
Audigy 2ZS
Power Supply
OCZ GameXStream 700W
Case
Chenming 602 server case
CPU cooling
Apogee
GPU cooling
MCW60
OS
Ubuntu
Monitor
Viewsonic Q20wb (20" WS)
Melcar is offline Overclocked Account   Reply With Quote
Old 06-29-08   #5 (permalink)
Case Modder
 
feltadox1337's Avatar
 
intel nvidia

Join Date: May 2008
Location: Bethesda, MD
Posts: 234

Rep: 19 feltadox1337 Unknown
Unique Rep: 0
Trader Rating: 0
Default

Quote:
Do you still have your Ubuntu LiveCD? Boot from it and follow this guide:

http://ubuntuforums.org/showthread.php?t=224351
I've tried that guide... it all goes well, says "ok" for everything, the I restart, and XP shows its ugly face... since I formatted the original partition on which the previous XP was installed, I think I lost the grub files... I'll have to find an alternate way.

Thanks though.
__________________
Quote:
"How do I get rid of a Trojan Horse?"
-"Leave it outside the gates of Troy overnight."
I am 75% addicted to Counterstrike. What about you?

System: aka-kaji bo-ru
CPU
E8400
Motherboard
ASUS Maximus Formula
Memory
2GB (2x1GB) OCZ Titanium PC2-6400
Graphics Card
7600GT
Hard Drive
500GB(7200.11) + 500GB(WD Caviar) + 80GB*3
Sound Card
ASUS Supreme FX II
Power Supply
FSP Everest 700W
Case
Lian Li V2000 PlusII
CPU cooling
Zalman 9500
OS
Vista Ultimate 64-Bit
Monitor
Dell E228WFP 22" LCD
feltadox1337 is offline   Reply With Quote
Old 07-03-08   #6 (permalink)
WaterCooler
 
Flatliner's Avatar
 
amd nvidia

Join Date: Apr 2006
Location: Prince Edward Island
Posts: 1,587

Rep: 60 Flatliner is acknowledged by some
Unique Rep: 0
Trader Rating: 2
Default

try using an alternate bootloader until you get back into Ubuntu...give Acronis a try or something that is free and installs under windows.
__________________

"theres always money in the banana stand"

System: insert name here
CPU
AMD Athlon 64 X2 5200+ 2.6ghz OC'd @ 2.95ghz
Motherboard
Gigabyte GA-M57SLI-S4
Memory
2x1GB Corsair XMS2 PC-6400 Twin2X
Graphics Card
BFG 8800GTS 640mb (G80)
Hard Drive
320GB WD
Sound Card
Realtek HD Audio (Integrated!)
Power Supply
Corsair VX550W
Case
Coolermaster CM690
CPU cooling
Apogee GT
OS
Vista32bit/Slackware12
Monitor
17" flat CRT..
Flatliner is offline   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 06:54 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.16604 seconds with 9 queries