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

"Lucas C. Villa Real" <[email protected]>
Newsgroups gmane.linux.distributions.gobo.general
Message-ID <CAAvzgtaAk_0CcsV=ka4a_0=1n1+L2WWYZNK=ZZPzOHPfrneyVg@mail.gmail.com>
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
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.