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.

Re: install grub to partition

Postby 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.
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Re: install grub to partition

Postby 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.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: install grub to partition

Postby 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
User avatar
ukbrian
 
Posts: 109
Joined: Mon Jul 25, 2011 8:22 am
Location: Cheltenham, UK

Re: install grub to partition

Postby 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.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: install grub to partition

Postby 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
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Re: install grub to partition

Postby 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.
User avatar
ukbrian
 
Posts: 109
Joined: Mon Jul 25, 2011 8:22 am
Location: Cheltenham, UK

Re: install grub to partition

Postby 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.
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Re: install grub to partition

Postby 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.
User avatar
meandean
 
Posts: 392
Joined: Wed Mar 09, 2011 5:16 am

Re: install grub to partition

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

Where'd you find the version number?
User avatar
fsmithred
 
Posts: 2101
Joined: Wed Mar 09, 2011 9:13 pm

Previous

Return to Discuss

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred