Refracta Development, Scripts, etc.
Post a reply

Re: install grub to partition

Wed Oct 17, 2012 9:24 pm

fsmithred wrote:... and you want to update-grub from a live boot, you have to do it in chroot, and you have to pick the right partition to chroot.

Yea, the more I think about it the worse it sounds.


ukbrian wrote:...it doesn't include ... the partition your running it on in the grub it writes.

That is odd, I would think grub (if using os-prober) would write out anything it finds. Maybe because of the way grubDr works the system that is running it gets overlooked.

ukbrian wrote:...the label field...makes it so much easier to ID the partitions.

I like that idea although I have never been much on labels in the past. Maybe instead of hostname use lsb_release or even something from -etc-*version or even something from grub or os-prober.

Re: install grub to partition

Fri Oct 19, 2012 12:51 pm

I think I'll include grub-doctor in the next (wheezy) release of refracta. It makes sense to include it as one of the many repair and recovery utilities. Might make it run from within the script, too. Need to read through the code a little more closely to make sure there are no conflicts.

Anyone know if there's a .deb file for grub-doctor alone? I found a link to salineos-utils, but that won't install in refracta because of missing dependencies. I unpacked the deb and copied out the script to see if it works. Only ran it up to the first list of devices, then exited. Maybe can do more extensive testing this weekend.

Re: install grub to partition

Fri Oct 19, 2012 3:28 pm

I thought it only needed Yad.

I'm a bit busy helping a casualty of the mental health system(quacks) at the moment and thinking.

Check out http://salinelinux.proboards.com/index.cgi?board=software&action=display&thread=740

might be relevant

Re: install grub to partition

Sat Oct 20, 2012 1:59 am

The version of grub-doctor that I got is from salineos-utils-1.5, and it uses zenity.

Re: install grub to partition

Sat Oct 20, 2012 3:42 am

I grabbed from https://github.com/SalineOS/SalineOS

I think one version there uses zenity and one verion uses yad.


I can build some debs if you want them, jus lemme kno

Re: install grub to partition

Sat Oct 20, 2012 6:59 am

That would be a huge favour/service to the community
I already have a video of using it, do you like the partition labels?, what a daft question, sorry.

Re: install grub to partition

Sat Oct 20, 2012 10:33 am

I did manage to get the zenity version into a deb file. If you do it, please edit the .desktop file first, and change remsu to gksu in the Exec line.

Re: install grub to partition

Sun Oct 21, 2012 1:24 am

Here is a deb of the yad version of grubDr
http://linkfam.holeinthewallhosting.net/salinetools/


threw yad (from getdeb site) in the same folder, just cause
Last edited by meandean on Sun Oct 21, 2012 1:51 am, edited 1 time in total.

Re: install grub to partition

Sun Oct 21, 2012 1:42 am

Where'd you find the version number?
Post a reply