Re: New Alpharelease - Narrowing down Installation errors, Fixing Mime

Jonas Neumann <[email protected]>
Newsgroups gmane.linux.distributions.gobo.general
Message-ID <CAOOES9x5T35+7+JLcfO3YKprykBdQDqSJPMa_3zgM293pq5gig@mail.gmail.com>
Hi.
After install:
grub-mkconfig
/usr/sbin/grub-probe: error: cannot find a device for / (is /dev mounted??).


ln-s /M/GoboLinux/S/K/D /dev

Won't fix it.

[reboot]

mount --bin /M/Gobolinux /

grub-mkconfig
zsh: command not found: grub-mkconfig
The program 'grub' is not currently installed.
[...]

SP grub

grub-mkconfig
/S/L/E/grub-mkconfig: line 49: /usr/share/grub/grub-mkconfig_lib: no such
file or direcotry

ls /usr/share/grub/
ls: cannot access [...] No such file or directory.

I should really work out starting sshd on that livecd - using vnc over a
386KB/s mobile connection is not too much fun :/
I will look further into it tomorrow or next week :)

---MIME---
update-mime-database /usr/share/mime is enough, one does not have to
recompile a thing.
Executing it right before the xserver results in nice icons :)
The Files in /usr/share/mime are set to ../../../P/...
That does not look too good; they should be set to /P/... by default.



On Thu, Jan 30, 2014 at 5:53 PM, Lucas C. Villa Real
<[email protected]>wrote:

> On Thu, Jan 30, 2014 at 9:26 AM, Jonas Neumann <[email protected]>wrote:
>
>> Hello List.
>>
>> Hope this helps. It is not tidy but i got to hurry away so I got to leave
>> it like this. For fixing mime check the end of this mail.
>>
>>
> Hi Jonas! This is very valuable information. Thank you so much for looking
> into the problems.
>
>
>> Running Installer: Permission denied. #I later found out: It is not set
>> as executable. chmod +x fixes the Problem :)
>>
>>
> I forgot to set the svn:executable attribute of that file -- that's just
> been fixed, thanks.
>
>
>> Running "GobolinuxInstaller" from /P/Installer/C/bin
>> does work.
>>
>> The installer formats the disc.
>>
>> [Typed of the screen, sorry for mistakes. Paths are shortend by me]
>> => Generating GRUB "grub.cfg" file...
>> Warning: Unable to open /S/K/D/sr0 read-write (R-o filesystem).
>> /S/K/D/sr0 has been opened r-o.
>> Error: Invalid partition table - recursive partition on /S/K/D/sr0.
>>
>> And now it hangs.
>>
>>
> Yup. That has to do with /dev/sr0 being "reachable" by grub. If you rename
> that to /dev/_sr0 then grub will not complain. But if you do rename it,
> then I also believe that /dev/root will have to be updated to point to the
> new name.
>
>
>> Installing from installer.
>> cd /P/Installer/C/bin
>> chmod +x Installer
>> Installer
>>
>> => Generating GRUB "grub.cfg" file...
>> /usr/bin/dev2grub.sh: line 1: grub-mkdevicemap: command not found
>> cat: /S/K/B/grub/device.map: No such file or directory
>>
>
> Yeah, that is another problem related to grub that I forgot to mention in
> the original email. We were originally parsing the list of disks to create
> the grub menu that's spawn on boot. We were using grub-mkdevicemap for
> that, but that script is no longer shipped by grub. I think that we can
> just use whatever grub-mkconfig produces and then GrepReplace known strings
> in the config file to produce better names for the operating systems
> discovered.
>
> Having said that, if you want to debug the problems with grub you can use
> these two simple commands:
> $ grub-mkconfig
> $ grub-install
>
> Once grub-install executes with no errors we are all set to make the
> changes to Installer and ConfigTools.
>
>
>> BTW: "Installer" is way slower then "GobolinuxInstaller" - though I did
>> not look into it as I don't really care :D
>>
>>
> Yes -- 'GoboLinuxInstaller', by default, will execute in dry-run mode. You
> will want to run 'GoboLinuxInstaller install' to  let it actually do things.
>
>
>>
>> Mime:
>> Errors are still there.
>> To Compile one still needs to edit /etc/passwd ; change gobo to root
>>
>> Compile shared-mime-info
>>
>> cd /usr/share
>> update-mime-database mime
>>
>> Fixes the Problem. I did not have the time to check if it is enough to
>> just execute update-mime-database mime
>>
>>
> That is interesting. Do you see any hardcoded "root" entries in
> shared-mime-info sources?
>
>
>> Interesstingly enough:
>> update-mime-database /usr/share/mime did not work for me :)
>>
>>
>>
> Thanks again!
> Lucas
>
> _______________________________________________
> gobolinux-users mailing list
> [email protected]
> http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
>
>

_______________________________________________
gobolinux-users mailing list
[email protected]
http://lists.gobolinux.org/mailman/listinfo/gobolinux-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.