# 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!

## Using dd to usb

Ask your questions here.
Post a reply
27 posts • Page 2 of 3 • 1, 2, 3

### Re: Using dd to usb

by vsido » Thu Mar 12, 2015 2:18 am

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

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

Top

### Re: Using dd to usb

by vsido » 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
I Dev VSIDO

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

Top

### Re: Using dd to usb

by vsido » 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...
I Dev VSIDO

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

Top

### Re: Using dd to usb

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

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

Top

### Re: Using dd to usb

by vsido » 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
I Dev VSIDO

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

Top

### Re: Using dd to usb

by vsido » 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
I Dev VSIDO

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

Top

### Re: Using dd to usb

by vsido » 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
I Dev VSIDO

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

Top

### Re: Using dd to usb

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

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

Top

### Re: Using dd to usb

by vsido » Fri Mar 13, 2015 1:32 pm

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

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

Top

### Re: Using dd to usb

by vsido » 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...
I Dev VSIDO

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

Top

Previous Next Display posts from previous:
Sort by

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

Return to Help

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