Ubuntu QA:
BlogBrainstormPackage status
Log in
Ubuntu QA
The Ubuntu community has contributed 17459 ideas, 107690 comments, 2263278 votes
Idea sandbox Idea sandbox
Popular ideas Popular ideas
Ideas in development Ideas in development
Implemented ideas Implemented ideas
Idea #1242: Restoring the bootloader by Ubuntu installation CD

Written by vinlos the 29 Feb 08 at 10:46. Category: Installation. Related project: Nothing/Others. Status: New
Rationale
If I install Windows after Ubuntu, it's impossible to boot Ubuntu until I install again GRUB following several instructions.
My idea is adding the option "Restore bootloader" in the list which appears when Ubuntu installation CD start. The aim is to offer a simple way to restore GRUB without loading a live distribution, opening a terminal and following a long series of instructions

[Edit 06/03/2008]
In my opinion, the user SHOULDN'T boot the Ubuntu Live Distro. It would be an unuseful waste of time.
Instead, it should be possible to select a new option among those ones of the startup menu of the CD.
Tags: grub mbr windows

4321
votes
up equal down
Solution #1: Auto-generated solution of idea #1242
Written by vinlos the 29 Feb 08 at 10:46.
Ubuntu Brainstorm was updated in January 2009. Since the idea #1242 was submitted before this update, its rationale and solution are not separated. Please vote accordingly, and if you have the necessary rights, please separate the rationale from the solution. Thanks!
331
votes
up equal down
Solution #2: Create a "Reinstall boot menu" option for installation disk
Written by Hetor the 31 Mar 09 at 12:57.
Create an option for installation disk that will install just Ubuntu's boot menu to make Ubuntu accessible after Windows installation.
136
votes
up equal down
Solution #3: Create a "Restore Ubuntu after Windows installation" option
Written by stoffel the 31 Mar 09 at 21:39.
So, similar as the first solution, but with these differences:
* people do not understand "boot menu"
* it puts focus on the fact that the Windows installer is crap that can break the user's system, whilst at the same time pointing out Ubuntu has the tools to fix this crap
145
votes
up equal down
Solution #4: LiveCD should autodetect grub vs. MBR
Written by cheesehead the 31 Mar 09 at 21:50.
LiveCD should check for an existing MBR or grub, and offer to reinstall grub only if the LiveCD finds an MBR or broken grub
17
votes
up equal down
Solution #5: Make a DUPLICATE of the mbr and place an option in boot.ini and vista bootmgr
Written by supermorph the 3 Apr 09 at 18:26.
as an option as WELL as placing grub into mbr , i would suggest Making a DUPLICATE of the mbr and place the mbr file in windows boot.ini and the vista bootmgr menu's (should windows be located in the install)

i had to re-do somebodys system, they was very dubious on linux (they had another distro and it didnt do wireless, so they over generalised and thought gnu/linux as a whole was not good) and i suggested to fix thier pc,
they left it with me, so i put thier media-centre xp first, all thier apps how they liked, installed a hidden user for me, and installed jaunty 9.04 at the end of the hdd, and made the users exactly like the xp, (both with firefox, and wine 4 ubuntu) i also took the liberty of extracting the installed mbr of ubuntu to a file "ubuntu.mbr" i called it, and placed it into thier xp partition (hidded,system applied) and added a menu "Ubuntu Linux" to thier boot.ini as the second option, i then proceeded to make a recovery image of this setup and put it to four dvd's with all of the dvd's bootable to a registered acronis 8 personal of myne, so if they restore it will ALWAYS work, and if they need whats on there they can remove the mbr and STILL use ubuntu (or put it back if they ask how to do it)

mabye this could be done, and add an option to restore this mbr file to the hdd in recovery mode on the live/alt disks?

sorry for the long post, but i think it will actually help because of the way i done things, theres no way ubuntu cannot be run in that configuration.

kind regards
supermorph
-10
votes
up equal down
Solution #6: Create Downloadable Recovery CD
Written by jamesisin the 7 Apr 09 at 06:38.
Create an ISO available to Ubuntu users (linked probably in the Help menu &c) which has been set up specifically for repairing version x.y of Ubuntu.

(Part of my "Keep the installer trim" philosophy.)
199
votes
up equal down
Solution #7: Add an option to restore GRUB in GParted
Written by codeslicer the 27 Feb 09 at 20:33.
One of the options for a bootable partition in GParted would be to Reinstall Boot Manager, after which an option to install either GRUB or LILO on to the hard partition.
45
votes
up equal down
Solution #8: add how-to on LiveCD
Written by TheLions the 1 Mar 09 at 20:41.
instead making repairing tool why not include a easy-to-understeand-do-it-yourself guide how to repair GRUB?
15
votes
up equal down
Solution #9: Super grub disk
Written by josinalvo the 7 Mar 09 at 04:08.
There is a windows app called super grub disk that is able to solve the problem (The odd name comes from a live cd that does the same job)

I propose this app should be on the livecd, on that part that is acessible from windows (a.k.a. outside squashfs)
119
votes
up equal down
Solution #10: Grub install from Windows
Written by pengo the 9 Mar 09 at 02:25.
This will probably get voted down for mentioning MICROSOFT, but as this problem is generally a problem with Windows rudely taking over from Grub, why not make a Windows application that installs or restores GRUB?
0
votes
up equal down
Solution #11: Rescue option for both Ubuntu and Windows
Written by jekristiansen the 10 Jan 10 at 01:45.
It would be nice if there was an option to re-install boot loaders for both Ubuntu and Windows. Remove Ubuntu + Grub, and the Windows boot is missing.
Install Windows, and there's no Grub
I installed windows again because of that...
1
votes
up equal down
Solution #12: App to install OS from inside of Ubuntu. . .
Written by LordHawke13 the 8 Feb 10 at 04:34.
I suggest an application that will run the contents of a boot disk either to an internal guest display (as in a Virtual Machine) or to an attached external display (like a second monitor) to install an operating system for dual booting. Since it can be done from inside the host OS, it can suppress the secondary OS' process of overwriting the MBR, preserving the primary bootloader, and optionally writing entries to the bootloader's boot menu for chainloading the secondary OS. Such an app would eliminate the need of a bootable LiveCD as the bootloader will be intact and in no need of restoration.

Propose your solution

Attachments
No attachments.


Duplicates


Comments
darius.damalakas wrote on the 29 Feb 08 at 11:33
That is very needed.


fabioamd87 wrote on the 29 Feb 08 at 14:51
Really useful!

bakalegum wrote on the 29 Feb 08 at 14:57
really usefuul and it already exist
http://linux.softpedia.com/progDownload/Super-Grub-Disk-Download-8071.html

it's super grub disk..
I think it's possible to combine both disk ..

Laptop_Max wrote on the 29 Feb 08 at 18:58
I've tried to use super grub disk and I can tell you its far from user friendly!

bradbrownjr wrote on the 29 Feb 08 at 19:01
It's already doable, but you need to know the command line. I had to look it up after Norton Ghost didn't copy the boot sector of computers I was trying to clone. A GUI or option before the GUI pops up on the LiveCD would be very beneficial.

pejeno wrote on the 29 Feb 08 at 23:22
Its doable under the terminal, but hell yeah, it should exist an easy way to do this using Ubuntu Install CD.

vinlos wrote on the 1 Mar 08 at 10:25
I know there are ways to restore GRUB without LiveCD but I'd like to do this without booting the entire live distribution

Stevi wrote on the 2 Mar 08 at 20:32
Great idea!! Would be really usefull.

lechtitseb wrote on the 3 Mar 08 at 11:53
I agree, this would be a useful feature to have on the install cd.

benjavalero wrote on the 4 Mar 08 at 15:33
This would be very useful. Forums are plenty of tricks to recover the grub boot with the console of the LiveCD. This action "Recover Grub" should go in the boot menu of the LiveCD.

arito wrote on the 4 Mar 08 at 19:11
Hi vinlos, sorry for posting a later duplicate of your idea:
http://brainstorm.ubuntu.com/idea/2796/
I searched for similar ideas before posting, but for some reason this one didn't come up. A bug report has already been made of this feature request and I attached it to your idea too.


vinlos wrote on the 5 Mar 08 at 09:39
no matter, arito ;)

mpathy wrote on the 5 Mar 08 at 22:32
That is really needed for newbies.
It should be a icon on the desktop of the live cd, so also a newbie can fix that without problems.

The implementation should be very easy, just provide a desktop starter for a small script doing that, perhaps show the output with zenity or sth. like that.

Code can be reused from the installer - windows recognition, automated recreation of the grub menu and grub itself.

+10 from our LUG :)

vinlos wrote on the 6 Mar 08 at 21:58
In my opinion, the user SHOULDN'T boot the Ubuntu Live Distro. It would be an unuseful waste of time.
Instead, it should be possible to select a new option among those ones of the startup menu of the CD.

jimmux wrote on the 7 Mar 08 at 00:24
Supremely useful and easy to implement without being intrusive. Definitely a good idea.

sedra wrote on the 7 Mar 08 at 11:20
i agree other linux distros do this task like OpenSUSE so why not copying the code from Yast(GPLed)

Steve413z wrote on the 9 Mar 08 at 17:22
amen

jorgejhms wrote on the 10 Mar 08 at 05:48
Great idea and super necesary for those who have dual-boot instalation. I have many friends who are newbies and they reinstalled the whole system after install windows. I think this would be a very usefull aplication.

PS. Forgive my bad English. I'm from PerĂº. =D

dry_carton wrote on the 10 Mar 08 at 08:41
I completely agree with this. +1!

adityakavoor wrote on the 14 Mar 08 at 02:55
this feature must be there in hardy. +100000 for this

Eldmannen wrote on the 15 Mar 08 at 23:33
Interesting idea.

tesla wrote on the 22 Mar 08 at 16:12
Perfect idea! +1

steve196 wrote on the 25 Mar 08 at 13:40
You can do that by booting from cd into terminal, chroot-ing into your ubuntu partition and reinstalling grub from there, but i agree, there has to be a newbie-compatible way to do this.

oybon wrote on the 27 Mar 08 at 18:05
A ubuntu version of supergrub, on the install cd would be wonderful. The current supergrub is excelent *, and small.



*currently my only way to reliably boot as ubuntu keeps altering grub to point to the wrong hdd partition each time I upgrade, and even odder, XP won't boot at all via normal grub if bios based USB-Keyboard support is enabled. A level of boot problems an ordinary user would be befuddled by.

gutterballk7 wrote on the 1 Apr 08 at 18:13
Isn't' this a feature under "repair a broken system" on the alternate install CD? I say they should add it to the boot menu for the desktop CD.

I love some of the features of the alternate CD, but I also like the ability to start the live CD..... so I end up having both CDs. I need the alternate CD to fix my grub or have more flexibility when partitioning.

nitro182 wrote on the 10 Apr 08 at 21:50
A repair function with more utilities. Maybe a repair icon under the install icon in Live Ubuntu.

Also view this similar idea

http://brainstorm.ubuntu.com/idea/6766/

http://brainstorm.ubuntu.com/idea/6776/

wearzeep wrote on the 13 Apr 08 at 15:30
This is a MUST! Pleeease Ubuntu dev team, DO THIS! :)

frederyk wrote on the 15 Apr 08 at 17:07
I think the best idea would be the integration of the "Super Grub Boot Disk" as point in the CD-Bootloader, then the Ubuntu-CD gets one more functionality.

maxgomes wrote on the 25 Apr 08 at 23:14
yes, thats urgent! many guys format theirs disks because dont know how to manage or even restore mbr partition.

HermanChess wrote on the 28 Apr 08 at 05:11
SOMEONE PLEASE DO THIS.

SOMEONE PLEASE DO THIS.


Especially if you are sharing the pc with windows users, since everytime windows is installed poor little grub is gone, and it is a pain to install it through the live cd ... I've probably done it like 20 times ...

Super Grub for some reason never works, I put restore grub, but it never gets restored. There should be an option in the liveCD initial menu to restore grub, maybe in some kind of "advanced menu" to not confuse new users.

SOMEONE PLEASE DO THIS.

Also, put some ubuntu background image in grub by default!! Come on these two are actually pretty simple requests, and very very useful.

korin43 wrote on the 17 May 08 at 08:50
Isn't this implemented? Maybe it's only on the Alternate CD or something but I'm sure I've seen this option.

amdlintuxos wrote on the 18 May 08 at 18:09
as for me compiz without compiz-manager isn't useable.
So, or both of them in BOX or nothing

+1

lbgrowl wrote on the 24 Jul 08 at 19:09
Almost everyone I know that has installed Ubuntu has needed to reinstall or fix their bootloader at least once and adding it to the install cd would make Ubuntu even more user friendly. Letting people do this slightly more complicated task without the hassle of using the terminal would really help.

nitrofurano wrote on the 6 Sep 08 at 17:49
+1!
Bootloader, Grub, Lilo, rEFIt, everything! =)

gigasoft wrote on the 12 Sep 08 at 09:56
80% of support request are made by users who have ereased their GRUB bootloader by a windows installation.

An option directly on the first menu is really needed!!

PLEASE! :)

Sky.Walker wrote on the 24 Sep 08 at 03:20
+1

Please developers :-)

pjvandehaar wrote on the 23 Dec 08 at 02:01
It's completely possible that I'm clueless, but isn't this just "sudo grub""root ()""setup ()"?
This could be added to a livecd very easily as a program.

nethad wrote on the 8 Feb 09 at 13:04
I just wanted to post this idea :)
This is very needed!

jamesisin wrote on the 7 Apr 09 at 06:34
Related: http://brainstorm.ubuntu.com/idea/19067/

tumaru wrote on the 23 Apr 09 at 05:14
i want it to be easy for me to edit the boot loader, i tried and i cant even make it wait a little longer for me to decide what os to load, the broken ubuntu or the working xp. but your not the only one, i can't get windows 7 to make itself the second option even though its a beta but at least it isn't broken, i just haven't done anything with it yet, past the one day of play i had with it. its vista plus a couple toys.

azrael wrote on the 13 Nov 09 at 14:27
The Ubuntu alternate CD and Live/Alt combo DVD has an option to recover a broken system.

Also see https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

Also see bug 133012: There's no easy way to recover Grub from livecd
https://bugs.edge.launchpad.net/ubuntu/+source/casper/+bug/133012



Post your comment