Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install fails #208

Closed
kaihendry opened this issue Dec 5, 2014 · 6 comments
Closed

Install fails #208

kaihendry opened this issue Dec 5, 2014 · 6 comments
Assignees
Labels

Comments

@kaihendry
Copy link
Member

With http://eu.download.webconverger.com/jessie.iso

>> partionioning /dev/SDA
>> verifying partions on /dev/SDA
>> building filesystem on /dev/sda1
>> mounting /dev/SDA1 on /mnt/root
>> enabling swap on /mnt/root/swap
>> copying files to /mnt/root
>> installing MBR to /dev/sda

    INSTALL FAILED

Here's some log output that may help

>> mounting /dev/SDA1 on /mnt/root
>> enabling swap on /mnt/root/swap
256+0 records in
256+0 records out
268435456 bytes (256 MB) copied, 1.05665 s, 254 MB/s
Setting up swapspace version 1, size = 262148 KiB
no label, UUID 6756d642-db90-4f6d-bce7-940d15fd555d
swapon: /mnt/root/swap: insecure permissions 0644, 0600 suggested
>> copy files to /mnt/root
>> installing MBR to /dev/sda
>> press enter to start over...

I can't seem to access the install.log to see what's going wrong. Even after passing debug. Must be some tty issue too.

@kaihendry
Copy link
Member Author

Fix is updating the mbr to /usr/lib/EXTLINUX/mbr.bin

@matthijskooijman
Copy link
Member

Ah, sneaky, they changed the casing of the filename? For some reason the stderr output of dd is redirected to /dev/null, which masked this error...

@kaihendry
Copy link
Member Author

Probably need a tty-force instead of an inherit here https://github.com/Webconverger/webc/blob/master/lib/systemd/system/install.service#L26

I am going to move our service files to /etc/systemd/system where they belong I think.

@kaihendry
Copy link
Member Author

Tried some systemd tty options, but no dice. I think dd just doesn't have a good error message. Would be nicer if the log could show the error return code?

@matthijskooijman
Copy link
Member

Removing the 2> /dev/null doesn't help?

@kaihendry
Copy link
Member Author

oh, somehow I missed that. 😭

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants