View Full Version : LiveCD with Repair Options
TheForkOfJustice
November 6th, 2008, 11:11 PM
Ever Lose GRUB or mess up your xorg and had to re-install Ubuntu because you didn't know how to fix it from the CLI?
How about including a bunch of scripts in the Jaunty LiveCD that will do just this automagically so newbies won't freak when one of these common problems arises.
Make them available before starting X on Casper's install menu under a 'Repair Previous Installation' option.
ronacc
November 6th, 2008, 11:14 PM
they can't tell us its impossible because some other distro's have had that for a long time .
plun
November 7th, 2008, 03:09 AM
Yup... really good idea.
Just remove Ekiga which nearly noone uses and add repair functions.
A backup tool for broken PCs would also be nice within a Live CD, GUI based.
lisati
November 7th, 2008, 03:15 AM
The alternate CDs have a "rescue a broken system" option that has been there for a while.
ronacc
November 7th, 2008, 07:17 AM
the people most likely to need a repair function are the ones least likely to use the alternate install cd . I would guess that there is better than a 90% probability that what they will have onhand is the live cd .
Gina
November 7th, 2008, 09:54 AM
the people most likely to need a repair function are the ones least likely to use the alternate install cd . I would guess that there is better than a 90% probability that what they will have onhand is the live cd .+1
Gourgi
November 7th, 2008, 11:04 PM
Ever Lose GRUB or mess up your xorg and had to re-install Ubuntu because you didn't know how to fix it from the CLI?
How about including a bunch of scripts in the Jaunty LiveCD that will do just this automagically so newbies won't freak when one of these common problems arises.
Make them available before starting X on Casper's install menu under a 'Repair Previous Installation' option.
i agree that would be nice :D
posting an idea in brainstorm and linking back here would be a nice idea ;)
p.s. search if your idea is already in brainstorm
ssam
November 8th, 2008, 07:53 AM
a mode that reinstalled all installed packages might be useful.
pulpo69
November 8th, 2008, 08:18 AM
i agree ssam.
hellion0
November 8th, 2008, 09:26 AM
This is a good idea.
RATM_Owns
November 8th, 2008, 09:32 AM
Great idea.
Because really, just about say 10 minutes ago, I broke my GRUB.
I did have to boot into 8.10 CD and reinstall GRUB from the command line, which I'm sure the average new user wouldn't know how to do.
bash
November 8th, 2008, 10:37 AM
I would second an idea like this as well. I don't know how Blueprints submission exactly works, but is it possibly that we users submits blueprints, so the Devs get a hint what we users want? If so I would say we should submit this as a Blueprint.
TheForkOfJustice
November 8th, 2008, 08:33 PM
i agree that would be nice :D
posting an idea in brainstorm and linking back here would be a nice idea ;)
p.s. search if your idea is already in brainstorm
Yeah, it kind of is:
http://brainstorm.ubuntu.com/idea/9463/
http://brainstorm.ubuntu.com/idea/15402/
and there are likely others that suggest a way to fix common OS problems on the liveCD.
TheForkOfJustice
November 8th, 2008, 08:56 PM
Bah. I added the idea to Brainstorm anyway:
http://brainstorm.ubuntu.com/idea/15422/
handydan918
November 8th, 2008, 11:40 PM
a mode that reinstalled all installed packages might be useful.
The package manager already does that. Search for dpkg set-selections
handydan918
November 8th, 2008, 11:42 PM
This really is an amazing feature not to have. A little distro called mepis has had it for years.
Maybe Shuttleworth could hire the mepis dev...
nah. mepis uses root.
:)
cariboo907
November 9th, 2008, 02:27 AM
Here's a link to the same topic in the Intrepid forum:
http://ubuntuforums.org/showthread.php?t=851897&highlight=livecd+repair
Jim
Lucretius
November 9th, 2008, 04:28 AM
I 100% agree this is a great idea
ssam
November 9th, 2008, 11:18 AM
The package manager already does that. Search for dpkg set-selections
yes. but the point of the rescue cd would that you just select 'fix packages' and it does all the fiddly stuff.
1) mount the disk
2) chroot into broken system
3) figure out whats installed (assume that the apt database might be corrupted)
4) reinstall all packages
TheForkOfJustice
November 9th, 2008, 12:45 PM
I personally don't see how it could be any more than 400kb of extra space. Just add the option in Casper and add a script that will fix GRUB via command line from mounting the partitions under root and extracting deb packages. There should definitely be no reason to have to load X to fix this problem.
The alternate cd has functions other than rescue functions so that's probably behind its larger size. Besides, we only need to be able to fix GRUB to test its viability. Fixing other problems (including xorg) can be done in 'recovery mode' available from GRUB once it has been fixed.
amano
November 9th, 2008, 06:40 PM
And please cover the most likely case:
That you have to reinstall your dual-boot windows, which will remove grub and thus makes Ubuntu inaccessible.
I have a paper under my printer that describes the commands to restore grub (find /boot/grub/stage1, root (hd0,1), setup (hd0) etc.) but that should be done rather on the software side...
TheForkOfJustice
November 9th, 2008, 06:53 PM
And please cover the most likely case:
That you have to reinstall your dual-boot windows, which will remove grub and thus makes Ubuntu inaccessible.
I have a paper under my printer that describes the commands to restore grub (find /boot/grub/stage1, root (hd0,1), setup (hd0) etc.) but that should be done rather on the software side...
All you would have to do is reinstall GRUB after Windows is installed and that problem is fixed (and that is exactly what this thread is proposing: a simple way to restore GRUB from LiveCD). GRUB automatically adds Windows partitions.
Gina
November 9th, 2008, 07:00 PM
Yes, a simple way to reinstall GRUB - finding all the installed operating systems - would be good.
ronacc
November 9th, 2008, 08:08 PM
Yes, a simple way to reinstall GRUB - finding all the installed operating systems - would be good.
I would love just to get ubuntu's grub to find all my other installs , in many years of using Ubuntu this has never worked , I always backup my menu.list to a pendrive before I let ubuntu install grub so I can edit whatever it writes so I can access the rest of my installs .
Gourgi
November 9th, 2008, 09:24 PM
Yeah, it kind of is:
http://brainstorm.ubuntu.com/idea/9463/
http://brainstorm.ubuntu.com/idea/15402/
and there are likely others that suggest a way to fix common OS problems on the liveCD.
voted all of them :lolflag:
autocrosser
November 9th, 2008, 10:36 PM
Move all the "junk" screensavers to an after install "extra_screensavers.deb" & there would be MORE than enough room ;)
BTW--voted all of them.....
Gina
November 10th, 2008, 05:52 AM
I would love just to get ubuntu's grub to find all my other installs , in many years of using Ubuntu this has never worked , I always backup my menu.list to a pendrive before I let ubuntu install grub so I can edit whatever it writes so I can access the rest of my installs .+1 Yes, I often do it that way or just install another Ubuntu in a minimally sized partition then edit menu.lst using the Grub configfile to point to the other Uuntu menu.lst's.
I'm sure there must be a way to install GRUB without the rest of the distro but I haven't found one yet that works properly. I thought I was missing something but perhaps not.
of_darkness
November 11th, 2008, 08:11 PM
and a permissions restorer for system critical files..
i have borked upp my system by doing a sudo chmod 0 * in a dir not in the /usr or /bin tree that borked upp things in those trees:P
so in the light of how esay it is to bork upp a linux system by misstake..
so a good repeir cd to repair functions to the most common stuff would bo realy gold worth
ShirishAg75
November 12th, 2008, 01:54 AM
Makes for interesting read
https://fedorahosted.org/firstaidkit/attachment/wiki/WikiStart/firstaidkit-fudcon-en.pdf?format=raw
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.