One click reinstall of grub / grub2 on live cd.

pokemoncatdog
  9 years ago
  208
  Selected

A one click reinstall of grub would be nice. Just boot live cd, click reinstall grub, grub will find the version you have, then if you have grub2 it will automatically reinstall but if you have grub it will udate grub to grub2 for you, then find all partitions, os's, and setup the menu for you and DONE. Came on GRBU /grub2 is not even on the live cd for Linux Mint 8.

I mean how does the Ubuntu/ Linux Mint installer install grub? I am thinking of an installer that only excuses the grub install part of the Linux Mint full install.

1. load live cd
2. click icon on decktop (re)install GRUB
3. one page form for user to input user chosen defaults
4. click (re)install Grub
5. Restart pc, tack out cd

The following dose not work when using the Linux Mint 8 cd.

sudo grub -----> I get error grub not installed try apt install grub or someting like that.
find /boot/grub/stage1 ----> after apt install stage1 can not be found.
root (hd?,?) ------> must know what partition to use.
setup (hd0) -----> must know what drive to use.
quit ----> no error just exits/quits the terminal

A one click reinstall were be way better for the past windows user.
Also this would give a past windows user one LESS reason the go back to windows.

A one click reinstall of grub would only add like a max of 4mb to the live cd.

(Always capitalize Linux.)
Latest comments
luisbraganca 4 years ago

That'd be really useful since every time I install windows (dual-boot), grub totally crashes.


jahid_0903014 4 years ago

This is a necessity...


FLOWXP 5 years ago

a 100 star !!
how can Linux Mint not have this ?!?!?! YET


prignitzerlandei 6 years ago

A pre-installed "boot-repair" may be a solution?


user213 6 years ago

Since the live CD also doubles as a rescue cd, (or at least, it does for me), I really like this idea. Though I do not think it should go on the desktop, perhaps under the System Tools menu.


ElHaj 7 years ago

this is a maintenance procedure not one that should be in a general distro
to fix grub you may use rescatux or super-grub-disk-2
as said in the comments


sajukktheeternal 7 years ago

A five star idea.
I've been using mint for 2 years and until now, I've never been able to fix any grub-related problems at all. Grub legacy was more easy to setup and adjust.

When my grub collapses, the solution I have found is to install a new distro or new version of mint, which detects all partitions and installs a new grub correctly.

I couldn't support the idea more


sunewbie 7 years ago

very useful idea. I have already promoted it but did not leave a comment


mank_in 7 years ago

good choise, usually when windows partition got corrupt and you must reinstalling windows.


blueXrider 7 years ago

Things like this are usually an afterthought when a disaster has happened.

The GRUB Boot-Loader can be reinstalled using super-grub-disk found here>
> www.supergrubdisk.org <

Follow these instructions for dual boot machines> https://help.ubuntu.com/community/WindowsDualBoot <


greg84pl 8 years ago

It have to be on live cd in start text menu :)


robbrown 8 years ago

I hate the fact that windows snobs my grub and I can only boot into windows after a windows install on a Linux Mint machine. Piss's me off that windows but need it for work. I had a bloody hard time the first time it happen.
~~~ AWESOME IDEA 5 Stars ~~


Anubis 8 years ago

You can always burn this to a cd for emergencies: http://www.supergrubdisk.org/super-grub2-disk/

Though i think it would be better to have an option in the boot sequence to "boot directly" into existing partitions (in a similar way to supergrubdisk), rather than having to load up the whole livecd/desktop.


LMUCS 8 years ago

Great for me too.
That often usefull if you had some problems during installion.


sayan_acharjee 8 years ago

Great idea. That would be really useful.


marnix 8 years ago

Nice idea. Of course, make sure the invoker is really made aware of what is going to be done and how it might affect his ability to boot and select an OS. You might want to offer to save the existing boot block(s) on a USB flash drive and allow for restoral from that drive if need be.


Boringbytes 8 years ago

Putting A simple re-install/repair utility for grub on the live/install CD would be very useful, and wouldn't make the ISO a significantly larger download. Good idea


grim 8 years ago

I agree, this would be amazingly useful!


bunty-arnab 8 years ago

This necessary. In fact i feel there must be a booting option to reset all settings or repair computer during booting.


ibm450 8 years ago

great idea!!!