Ask your questions here.
Post a reply
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: Using dd to usb

Thu Mar 12, 2015 2:18 am

Yes, this only happens when running from a USB and installing to a bare metal install
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: Using dd to usb

Thu Mar 12, 2015 3:49 am

Here is an install and error message regarding the grub install
This image shows that /usr/sbin/grub-install is there and the actual error message from /var/log/refractainstaller_error.log
It appears as if this actual pop up error is random... I had used the same USB installer 5 times but have only reproduce this error 2 times and jedi has never seen it
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: Using dd to usb

Thu Mar 12, 2015 4:34 am

This keeps getting weirder and weirder...
Here is an install where there was not any 'failed grub install' warning
Notice that it says Installing GRUB bootloader ... command not found
BUT this install succeeded ... the only change I made was instead of installing root (/) to sda1 and grub MBR to sda as I had been doing I made a switch and installed root (/) to sdb1 and grub MBR to sda
I then noticed a final tally in the /var/log/refractainstaller_error.log seen in this image
Installing the boot loader...
And it booted just fine
I am at a loss...
fsmithred

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

## Re: Using dd to usb

Thu Mar 12, 2015 11:55 am

You get "command not found" at line 1392 after you edited the script to change "$DIALOG" to "yad"? I think that was on line 1391 before. Check any edits you made.
I'd like to see the full debug log. With fstab getting wrong values, there should be some traces of a problem in the log. Not necessarily error messages, but some evidence, like maybe a variable not getting set correctly.
Boot flag is not needed. I never use it (except on live-usb with fat32 parttition.)
OK, maybe we're in the twilight zone, and some of your grub installs got left behind at the factory - I think I did a couple of installs recently where grub got installed twice. And I mean really ran through grub-install twice, not just sending the message "Installing the boot loader" twice, which is normal (once from the installer script and once from grub-install itself. Guess I should change the wording on my message.)
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: Using dd to usb

Thu Mar 12, 2015 1:32 pm

Sorry fsmithred for whatever reasons I missed your earlier comment about line 1392
I will install later to the same sda1 and recreate the log and send it
I do believe this is some kind of twilight zone also
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: Using dd to usb

Fri Mar 13, 2015 2:49 am

Here is a link to the refractainstaller_error.log
https://drive.google.com/file/d/0B4gKMu ... sp=sharing
This was on sda1 telling the installer to install grub to the MBR on sda
I was greeting with a grub rescue prompt specifically saying that 'grub/i386-pc/normal.mod could not be found
I am now going to do the same install on sda2 telling the installer to install grub to the MBR on sda and will attach the results and file to this thread
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: Using dd to usb

Fri Mar 13, 2015 3:04 am

Second install successful to sda2 with MBR on selected sda
The grub also picks up the first install on sda1
Here is the link to the log file for this install
https://drive.google.com/file/d/0B4gKMu ... sp=sharing
fsmithred

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

## Re: Using dd to usb

Fri Mar 13, 2015 4:03 am

OK, here's what I know. It's not a solution, and it raises more questions, but here it is.
The "command not found" error will go away if you change $DIALOG to yad on line 1392. It's not related to grub-install except that it's the progress window that pops up when grub-install runs.
According to both error logs, grub-install completed successfully. Most of the important system commands are followed by the check_exit function, which will exit the script and give you an error message if the system command doesn't work. What I can't explain is why "Installing the boot loader..." appears after the final cleanup.
What about your fstab? Is it being created correctly?
To get a more complete error log, run the installer with the -d option, or go into the config file and set debug="yes". Then it will show everything the script does.
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: Using dd to usb

Fri Mar 13, 2015 1:32 pm

I will have all of these answers sometime today... pressing jobs needing to get done first..
vsido

- vsido
- Posts: 90
- Joined: Fri Jan 30, 2015 3:38 pm

## Re: Using dd to usb

Fri Mar 13, 2015 11:38 pm

I had another user install with the same ISO I am using and the same scenario... He was successful
I am fairly sure my issue is hw related... jedi's I am not sure of, could be syntax related...
I will continue to test on my machine and get the complete verbose debug logs you want to see
Gonna start on that now
I am considering this a non issue or if you prefer a twilight zone issue...
Post a reply
Jump to:

Powered by phpBB © phpBB Group.

phpBB Mobile / SEO by Artodia.