# refracta.freeforums.org

place to talk about refracta

Skip to content

Welcome
Welcome to refracta You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

## install grub to partition

Refracta Development, Scripts, etc.
Post a reply
29 posts • Page 3 of 3 • 1, 2, 3

### Re: install grub to partition

by meandean » 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.

meandean
  Posts: 392
  Joined: Wed Mar 09, 2011 5:16 am

Top

### Re: install grub to partition

by fsmithred » 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.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: install grub to partition

by ukbrian » 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

ukbrian
  Posts: 109
  Joined: Mon Jul 25, 2011 8:22 am
  Location: Cheltenham, UK

Top

### Re: install grub to partition

by fsmithred » 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.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: install grub to partition

by meandean » 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

meandean
  Posts: 392
  Joined: Wed Mar 09, 2011 5:16 am

Top

### Re: install grub to partition

by ukbrian » 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.

ukbrian
  Posts: 109
  Joined: Mon Jul 25, 2011 8:22 am
  Location: Cheltenham, UK

Top

### Re: install grub to partition

by fsmithred » 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.

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

### Re: install grub to partition

by meandean » 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.

meandean
  Posts: 392
  Joined: Wed Mar 09, 2011 5:16 am

Top

### Re: install grub to partition

by fsmithred » Sun Oct 21, 2012 1:42 am

Where'd you find the version number?

fsmithred
  Posts: 2101
  Joined: Wed Mar 09, 2011 9:13 pm

Top

Previous Display posts from previous:
Sort by

Post a reply
29 posts • Page 3 of 3 • 1, 2, 3

Return to Discuss

Jump to:

### Who is online

Users browsing this forum: No registered users and 0 guests

Donate Now
ProNight Style by ModphpBB3
Hosted by © 2017 FreeForums.org | Create a free forum | Powered by phpBB
A Member of the Crowdgather Forum Community
About FreeForums | Legal | Advertise Here | Investors | Contact FreeForums.org
Report Violation
suspicion-preferred