Forum
« Renaming grub doctor »

Welcome Guest. Please Login or Register.
May 25, 2013, 4:40pm



Return to or visit the SalineOS webpage

Forum :: General :: Testing and Development :: Renaming grub doctor
« Page 2 of 3 » Jump to page   Go    [Search This Thread] [Share Topic] [Print]
 AuthorTopic: Renaming grub doctor (Read 703 times)
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,339
 Re: Renaming grub doctor
« Reply #15 on Apr 4, 2012, 1:13pm »

Sorry the task list isn't going away anytime soon. And, you can already make your desktop look like a speed dial. Just change the desktop icons to size 100 or so and font size to 18ish. This just isn't going to be a part of SalineOS, well ever. The desktop might be the first thing you see, but most people have windows covering it at least some of the time, this is why the panels are used for quick access to applications and not the desktop.
« Last Edit: Apr 4, 2012, 1:14pm by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,339
 Re: Renaming grub doctor
« Reply #16 on Apr 6, 2012, 3:32pm »

Grub Doctor has more commits in git. The dialogs have been polished up all pretty.
Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 285
 Re: Renaming grub doctor
« Reply #17 on Apr 7, 2012, 5:17am »

I LIKE
I done a git pull and tried out backup as well but i'm going to do a fresh install of saline so i'm only using you code and I'll run things a few times to get a proper feel for things.

Well done that man! a huge improvement for end users.
« Last Edit: Apr 7, 2012, 12:40pm by ukbrian »Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 285
 Re: Renaming grub doctor
« Reply #18 on Apr 8, 2012, 12:52pm »

Grub Doctor, no problems
Saline backup, no problems
Saline installer, problems

I did a git pull for the latest, copied the files from backup, grub-doctor and installer to the relevant folders. good folder structure, I tried to put a script in the root of grub-doctor
Code:
sudo cp /home/user/SalineOS/GrubDoctor/usr/bin/grub-doctor /usr/bin/
etc
But it didn't work, maybe because the files existed.

I created and burnt an iso with remastersys and when running the live dvd I could use the browser with an internet connection(hard wired) and gigolo saw my network but when I ran saline-installer it failed to see the internet connection.

After the install and running on a HDD I found that my user folder had not been copied, I only had a default user folder.

I've tried several times by using excludes for my symbolic links
Code:
/home/user/500-data
/home/user/aries-nas
/home/user/Dropbox
/home/user/.gvfs
/home/user/.config/autostart/dropbox
and by breaking the connections before creating the iso but no difference.
Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,339
 Re: Renaming grub doctor
« Reply #19 on Apr 8, 2012, 3:40pm »

First your cp command needs the -f switch for force, this is a commonly used command line switch around Linux. Also, it can be a dangerous one, so use care when evoking it. The user folder is only saved if you do backup mode, dist mode removes your username completely and uses Debian Live to create whatever user account you tell it to. In your case "user", since that is what I put in the config file :)
Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 285
 Re: Renaming grub doctor
« Reply #20 on Apr 8, 2012, 5:08pm »


Quote:
First your cp command needs the -f switch for force
Thank you

I always use the backup mode and never dist mode and this has never happened before.
I've been very methodical about this and I don't think it's me.
Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,339
 Re: Renaming grub doctor
« Reply #21 on Apr 8, 2012, 11:41pm »

Forgot to mention, the reason the installer doesn't see the internet connection is you are missing the package httping. I should also mention that the new installer does not support installing Remastersys backup disks, only dist mode.

Doesn't much matter though, support for installing restricted codecs and language packages are not yet implemented. These are the features that require an active internet connection.
« Last Edit: Apr 8, 2012, 11:41pm by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 285
 Re: Renaming grub doctor
« Reply #22 on Jul 5, 2012, 10:16am »

I've thought for a long time that something odd or not expected happened occasionally for me with grub-doctor and today I managed to track it down.

This is my machine
sda is a win boot and a data partition
sdb is an SSD
sdc is a caddy/tray thing that I swap HDD's around in
I boot from sdb using the sdb1 partition.
[image]

If I boot into sdc3 and do a sudo update-grub and then do a grub-doctor on
partition sdb1
HDD sdb

When I reboot the grub menu from sdb will lack the sdc3 boot option.

I changed the bios to boot from sdc and replicated the behaviour.

If you run grub-doctor and select a boot partition on a second drive and write the mbr to the second drive the grub menu will not include the OS that grub-doctor's running on.

If you select the partition you're running on but write the mbr to a different drive it writes it correctly.

Grub Doctor is a superb tool and has helped me out many times it's just I've got funny work habits that showed up this small matter.
Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,339
 Re: Renaming grub doctor
« Reply #23 on Jul 6, 2012, 6:42am »

Sadly this behavior isn't grub-doctor not working properly, it's grub or the utility it uses to determine whats on certain partitions (os-prober I believe?). I would like to look into it a bit more and see why it is the way it is, but I have other priorities at the moment.
Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 285
 Re: Renaming grub doctor
« Reply #24 on Jul 6, 2012, 8:22am »


Quote:
Sadly this behaviour isn't grub-doctor not working properly
That's somehow pleasing to know as I have great respect for your coding.

I just ended up in a situation where it occurred and I could push it in different ways until I could see exactly what was going on and report it accurately, I was pleased to finally put a handle on what was occasionally happening to me.

There is no urgency about it, I don't think most folk will ever encounter it and it's easily remedied.

Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 285
 Re: Renaming grub doctor
« Reply #25 on Aug 28, 2012, 10:01am »

Pointing at a partition on a USB 3 HDD and writing the MBR there I get this error.
[image]
Just reporting it, I think my motherboard is having a bit of a funny so I don't think the problem is to do with grub-doctor.

edit
the terminal displayed this
Code:
Cannot umount ""

Cannot umount ""

umount: /dev/sdc1: not mounted
umount: /dev/sdc1: not mounted
« Last Edit: Aug 28, 2012, 10:08am by ukbrian »Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,339
 Re: Renaming grub doctor
« Reply #26 on Aug 28, 2012, 12:36pm »

Thanks for pointing out that I need to fix that dialog. You cannot use Grub Doctor to restore the bootloader of a 64 bit system from a 32 bit system or vice versa. Grub doctor checks if this is the case and is suppose to tell you, but obviously the dialog is a bit off.


Edit: Those umount errors can safely be ignored, they don't mean anything.
« Last Edit: Aug 28, 2012, 12:39pm by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
Anthony Nordquist
Administrator
*****
member is offline




[homepage]

Joined: Dec 2010
Gender: Male
Posts: 1,339
 Re: Renaming grub doctor
« Reply #27 on Aug 28, 2012, 12:49pm »

After reviewing my code and running a test, I have come to the conclusion in order for you to even get that screenshot, something horrible is happening with your hardware. You should by all means be getting this:

[image]

I would run memtest and a file system check on your hard disk. To enable memtest run this line: sudo chmod +x /etc/grub.d/20_memtest86+ && sudo update-grub

Or, just use the live disk.
« Last Edit: Aug 28, 2012, 12:50pm by Anthony Nordquist »Link to Post - Back to Top  IP: Logged
ukbrian
Senior Member
****
member is offline





Joined: Aug 2011
Gender: Male
Posts: 285
 Re: Renaming grub doctor
« Reply #28 on Aug 28, 2012, 2:29pm »

I think it's something to do with USB 3.
I did a clone partition from a sata HDD to the USB 3 hub putting the MBR on the USB drive, booted into sda and updated grub and then rebooted into the clone no problem.

I then moved the HDD from the USB in to one of these http://www.cclonline.com/product/54784/I....-Rack/ HDD0516/
rebooted into sda and update-grub or grub-doctor didn't see the drive then I started getting loads of errors and a failure to boot.

I then removed the drive. rebooted, did an update-grub, shut down, put the drive into the hard drive rack and it rebooted OK so I did a fresh and successful partition clone into the drive.

I've had problems before that I couldn't understand when using the drive before so I stopped using it, now I think if I had done a clone from the usb drive to the caddy that would have worked but not moving the drive like I did.

I was setting up my workspace to start doing the menu iso for Richard when I discovered this but I'm making a bit of sense out of the USB 3 hub problems which I can work around.

I'm planning on having the OS I'm working on in the caddy and making regular clone partitions to a 500 GB drive in the USB hub so that later I can step through any of the stages to record a video.

I notice you are using /etc/webapps to store stuff well I've tried putting them all over the place and found when they were on my data partition all the xfce Os's on my machine could use the same files, a huge advantage.

The ISO won't have a data partition so I've put them(webapps) in my /home/user/ folder but with a sym link to /home/ for the launcher to point at for the menu file and the path to the images.

I found that working with a data partition was easier when I had links from the data partition to home and then another from home into my home/user folder, it made it a lot easier to work on.

First time I've used sym links and to me it's like discovering the select statement or functions and adding a powerful tool to your toolbox, it's taken me a time to think about all the posibilities putting this ISO together for Richard, thank you friend Richard, it's taken 18 months for me to get a nibble after I posted videos on the mint forums and here, the big gain is they are reusable so it's worth spending time putting them together but also you can offer a selection of menus to users so office man has a document/printer based menu, a python dev has python based menu, a child has an eduction one.

I will also be sending both the ISO's I'm producing to Ken Stark (HeliOS Project)http://www.fixedbylinux.com/, his feedback could be valuable as he's focus is similar to mine, he's focused on the most in need, I want to get a UK based franchise off the ground and I think everything I need is in place.

In regard to minimum installs and adding apps like libreoffice, gimp etc afterwards.
Quote:
Ikey Doherty12:18
Well we'll see in a bit :)
Regarding the post-install option I'd love to do something like that.
However.. most Debian packages are only compressed using GZIP.
Some bz2. Very rarely you now find them using XZ internally, this is invariably the source package only.
So the thing that concerns me is mammoth sized downloads for
people with slow interwebz. The ISO is already big enough :)
Also to get it down to a CD size is virtually impossible. Debian stuffs all of their il8n files inside the packages, so for instance all of the gnome packages contain all of the translations. This means that a good 300 or 400MB of disk space is already occupied by translations before the user has done anything. Ubuntu have language-packs which essentially have the il8n files of the gnome packages inside
them, which is how they still achieve CD size with GNOME components.
@Petrek
If you fancy, have time, want to I need a database full of the contents of /usr/share/applications so the menu files and .desktop files can be modified/created in a GUI, Bacon looks a good bet a guy over at Ikeys place uses it but importing the data comes first. ;D

Sorry if I went on a bit, I've got my workspace together and my head needed a rest.
[image]
« Last Edit: Aug 28, 2012, 2:49pm by ukbrian »Link to Post - Back to Top  IP: Logged
ava
New Member
*
member is offline





Joined: Oct 2012
Gender: Male
Posts: 22
 Re: Renaming grub doctor
« Reply #29 on Oct 12, 2012, 3:00pm »

I intend to separately post general feedback regarding SalineOS v2 dev, but this existing thread seems like a good place to mention:

grub-doctor
The author made a RIDICULOUS decision in choosing an icon from the "Simple-Fork" iconset.
This dependency adds 2106 files (@22.9Mb)

Did I miss something? Is there ANYTHING else in the distro which utilizes "Simple-Fork" iconset?
Link to Post - Back to Top  IP: Logged
« Page 2 of 3 » Jump to page   Go    [Search This Thread] [Share Topic] [Print]



Anthony Nordquist, on behalf of the SalineOS project, is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com. As such, if you click the above banner and then make any purchase including digital downloads, a small percentage will be paid to the SalineOS project.
Click Here To Make This Board Ad-Free


This Board Hosted For FREE By ProBoards
Get Your Own Free Message Boards & Free Forums!
Terms of Service | Privacy Policy | Notice | FTC Disclosure | Report Abuse | Mobile