Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Linux, Unix › Formatted Windows in dual-boot setup... need to get back ubuntu...
New Posts  All Forums:Forum Nav:

Formatted Windows in dual-boot setup... need to get back ubuntu...

post #1 of 6
Thread Starter 
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!
Red Fireball
(13 items)
 
Asus G55
(6 items)
 
 
CPUMotherboardGraphicsRAM
E8400 ASUS Maximus Formula HD4890 2GB (2x1GB) OCZ Titanium PC2-6400 
Hard DriveOptical DriveOSMonitor
2TB(7200.12)+ 2 x 1TB(7200.12) LG Windows 7 Ultimate 64-Bit Dell E228WFP 22" LCD 
KeyboardPowerCaseMouse
Logitech G-15 Corsair 650TX Lian Li V2000 Painted Black Logitech G9x 
Mouse Pad
fUNC Industries Surface 1030 
CPUGraphicsHard DriveHard Drive
i7 3630QM Nvidia GTX660M 128GB Samsung 840 Pro 500GB Hitachi 
OSMonitor
Windows 8 1080P Matte  
  hide details  
Reply
Red Fireball
(13 items)
 
Asus G55
(6 items)
 
 
CPUMotherboardGraphicsRAM
E8400 ASUS Maximus Formula HD4890 2GB (2x1GB) OCZ Titanium PC2-6400 
Hard DriveOptical DriveOSMonitor
2TB(7200.12)+ 2 x 1TB(7200.12) LG Windows 7 Ultimate 64-Bit Dell E228WFP 22" LCD 
KeyboardPowerCaseMouse
Logitech G-15 Corsair 650TX Lian Li V2000 Painted Black Logitech G9x 
Mouse Pad
fUNC Industries Surface 1030 
CPUGraphicsHard DriveHard Drive
i7 3630QM Nvidia GTX660M 128GB Samsung 840 Pro 500GB Hitachi 
OSMonitor
Windows 8 1080P Matte  
  hide details  
Reply
post #2 of 6
give super grub disk a try, always works for me
Rena
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II x6 1055T Asus M4A88TD-M/USB3 XFX 8800gt 512mb 2x2GB 1333MHz 
Hard DriveOptical DriveOSMonitor
250gb WD + 1tb WD + 2tb WD LG GSA-H55L Aptosid amd64 Samsung Syncmaster 216BW 
KeyboardPowerMouse
Genius Thermaltake TR2 W0379RU 500W Generic Microsoft Mouse 
  hide details  
Reply
Rena
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II x6 1055T Asus M4A88TD-M/USB3 XFX 8800gt 512mb 2x2GB 1333MHz 
Hard DriveOptical DriveOSMonitor
250gb WD + 1tb WD + 2tb WD LG GSA-H55L Aptosid amd64 Samsung Syncmaster 216BW 
KeyboardPowerMouse
Genius Thermaltake TR2 W0379RU 500W Generic Microsoft Mouse 
  hide details  
Reply
post #3 of 6
Thread Starter 
I'll give that a try, thanks..
Red Fireball
(13 items)
 
Asus G55
(6 items)
 
 
CPUMotherboardGraphicsRAM
E8400 ASUS Maximus Formula HD4890 2GB (2x1GB) OCZ Titanium PC2-6400 
Hard DriveOptical DriveOSMonitor
2TB(7200.12)+ 2 x 1TB(7200.12) LG Windows 7 Ultimate 64-Bit Dell E228WFP 22" LCD 
KeyboardPowerCaseMouse
Logitech G-15 Corsair 650TX Lian Li V2000 Painted Black Logitech G9x 
Mouse Pad
fUNC Industries Surface 1030 
CPUGraphicsHard DriveHard Drive
i7 3630QM Nvidia GTX660M 128GB Samsung 840 Pro 500GB Hitachi 
OSMonitor
Windows 8 1080P Matte  
  hide details  
Reply
Red Fireball
(13 items)
 
Asus G55
(6 items)
 
 
CPUMotherboardGraphicsRAM
E8400 ASUS Maximus Formula HD4890 2GB (2x1GB) OCZ Titanium PC2-6400 
Hard DriveOptical DriveOSMonitor
2TB(7200.12)+ 2 x 1TB(7200.12) LG Windows 7 Ultimate 64-Bit Dell E228WFP 22" LCD 
KeyboardPowerCaseMouse
Logitech G-15 Corsair 650TX Lian Li V2000 Painted Black Logitech G9x 
Mouse Pad
fUNC Industries Surface 1030 
CPUGraphicsHard DriveHard Drive
i7 3630QM Nvidia GTX660M 128GB Samsung 840 Pro 500GB Hitachi 
OSMonitor
Windows 8 1080P Matte  
  hide details  
Reply
post #4 of 6
Do you still have your Ubuntu LiveCD? Boot from it and follow this guide:

http://ubuntuforums.org/showthread.php?t=224351
Magicbox
(17 items)
 
crapbox
(13 items)
 
 
CPUMotherboardGraphicsRAM
FX 8320 Sabertooth 990FX Nitro+ RX480 Kingston HyperX Fury 
Hard DriveHard DriveHard DriveCooling
Samsung 850 EVO  Kingston HyperX 3K Seagate Barracuda 7200.14 Noctua NH-D15 
OSOSMonitorKeyboard
Kubuntu  Windows 10 Pro Dell U2515H CM Quickfire TK (Cherry Blue) 
PowerCaseMouseMouse Pad
Cooler Master Silent Pro M 850W Enthoo Pro Logitech G502 Logitech G440 
Audio
Xonar DX 
CPUMotherboardGraphicsRAM
Sempron 3300+ HP stock mobo (laptop) 200M (IGP) 2x1GB PC3200 
Hard DriveOptical DriveOSMonitor
100GB ATA133 DVD/CDRW Kubuntu 32 bit 14.1" (1280x768) 
Power
6 cell 
  hide details  
Reply
Magicbox
(17 items)
 
crapbox
(13 items)
 
 
CPUMotherboardGraphicsRAM
FX 8320 Sabertooth 990FX Nitro+ RX480 Kingston HyperX Fury 
Hard DriveHard DriveHard DriveCooling
Samsung 850 EVO  Kingston HyperX 3K Seagate Barracuda 7200.14 Noctua NH-D15 
OSOSMonitorKeyboard
Kubuntu  Windows 10 Pro Dell U2515H CM Quickfire TK (Cherry Blue) 
PowerCaseMouseMouse Pad
Cooler Master Silent Pro M 850W Enthoo Pro Logitech G502 Logitech G440 
Audio
Xonar DX 
CPUMotherboardGraphicsRAM
Sempron 3300+ HP stock mobo (laptop) 200M (IGP) 2x1GB PC3200 
Hard DriveOptical DriveOSMonitor
100GB ATA133 DVD/CDRW Kubuntu 32 bit 14.1" (1280x768) 
Power
6 cell 
  hide details  
Reply
post #5 of 6
Thread Starter 
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.
Red Fireball
(13 items)
 
Asus G55
(6 items)
 
 
CPUMotherboardGraphicsRAM
E8400 ASUS Maximus Formula HD4890 2GB (2x1GB) OCZ Titanium PC2-6400 
Hard DriveOptical DriveOSMonitor
2TB(7200.12)+ 2 x 1TB(7200.12) LG Windows 7 Ultimate 64-Bit Dell E228WFP 22" LCD 
KeyboardPowerCaseMouse
Logitech G-15 Corsair 650TX Lian Li V2000 Painted Black Logitech G9x 
Mouse Pad
fUNC Industries Surface 1030 
CPUGraphicsHard DriveHard Drive
i7 3630QM Nvidia GTX660M 128GB Samsung 840 Pro 500GB Hitachi 
OSMonitor
Windows 8 1080P Matte  
  hide details  
Reply
Red Fireball
(13 items)
 
Asus G55
(6 items)
 
 
CPUMotherboardGraphicsRAM
E8400 ASUS Maximus Formula HD4890 2GB (2x1GB) OCZ Titanium PC2-6400 
Hard DriveOptical DriveOSMonitor
2TB(7200.12)+ 2 x 1TB(7200.12) LG Windows 7 Ultimate 64-Bit Dell E228WFP 22" LCD 
KeyboardPowerCaseMouse
Logitech G-15 Corsair 650TX Lian Li V2000 Painted Black Logitech G9x 
Mouse Pad
fUNC Industries Surface 1030 
CPUGraphicsHard DriveHard Drive
i7 3630QM Nvidia GTX660M 128GB Samsung 840 Pro 500GB Hitachi 
OSMonitor
Windows 8 1080P Matte  
  hide details  
Reply
post #6 of 6
try using an alternate bootloader until you get back into Ubuntu...give Acronis a try or something that is free and installs under windows.
    
CPUMotherboardGraphicsRAM
Intel Core-i5 6500 ASRock H110M-DGS XFX RX480 8GB Corsair Vengeance LPX 2x4GB DDR4 
Hard DriveHard DriveOptical DriveCooling
Sandisk SSD Plus 240GB Seagate Barracuda 3TB HP Blu-ray Corsair H55 
OSMonitorKeyboardPower
Windows 10 Pro x64 LG 24MP55HQ Razer BlackWidow Ultimate Corsair CX550M 
CaseMouse
Rosewill SRM-01 Corsair M45 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Intel Core-i5 6500 ASRock H110M-DGS XFX RX480 8GB Corsair Vengeance LPX 2x4GB DDR4 
Hard DriveHard DriveOptical DriveCooling
Sandisk SSD Plus 240GB Seagate Barracuda 3TB HP Blu-ray Corsair H55 
OSMonitorKeyboardPower
Windows 10 Pro x64 LG 24MP55HQ Razer BlackWidow Ultimate Corsair CX550M 
CaseMouse
Rosewill SRM-01 Corsair M45 
  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 › Formatted Windows in dual-boot setup... need to get back ubuntu...