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
Converting to NOOBS format #13
Comments
The default password is supposed to be |
One thought - on Gentoo under OpenRC, the file |
I'm using a standard procedure to convert the image to NOOBS format. It works on countless other OSes, so I just need to identify which bits are different for gentoo.
When it boots, autoexpand.... fails to set the default passwords and fails to add xdm, so I am stuck at the login prompt where the default root/demouser logins of raspberrypi64 do not work at all. (The updated script works if I simply apply it to the default image). So I use my fork of NOOBS (PINN) to change the password of gentoo and reboot into it. Now I can login, but I find the rootfs is r/o, whcih is why the autoexpand script is failing. So something has gone wrong earlier. Thanks for the above pointers. I will investigate those ideas to see why it is r/o. (I couldn't do |
I have merged your PR, thanks, it'll be on the next release (which I am working on at the moment). |
I finally managed to log in again, without it immediately requesting me to reset my password. The fstab looks fine to me. I only replaced mmcblk0p2 with mmcblk0p7 for root, and similarly for boot.
The only thing I spotted in dmesg was: |
|
|
Looks OK but something may be at issue elsewhere - what does |
Maybe it's the way I created the rootfs partition? |
Looks OK. Must be a filesystem issue then, since the kernel is unchanged. Possibly you have run out of inodes? Gentoo requires more than most distros because of the from-source nature. Try running mkfs.ext4 -i 8192 -t ext4 /dev/mmcblk0p7 to create a filesystem with a higher inode count. Also try leaving off the huge_file option, at least initially. The partition label should not matter. |
/ has IUse%=22% |
OK, not that then, but must be something to do with the root filesystem - the kernel is the booting OK and I assume there is nothing weird going on in config.txt, and the full (
is definitely indicating something is wrong with root. Perhaps if you try making One last thing you could try is, when the ro system comes up and you are logged in, to try to manually remount the pi64 ~ # mount -v -o remount,rw / Sorry this is chewing up so much of your time! If you still can't get it to start after this then if you can send me an image of your boot and root filesystems ( PS I assume you have rebuilt the container image since the original-sentinel version of ROOTDRIVE="/dev/mmcblk0"
ROOTPART="${ROOTDRIVE}p2" and then it attempts to (given the original sentinel setup): sfdisk --no-reread -N 2 <<<", +" "${ROOTDRIVE}" and then resize2fs -f "${ROOTPART}" either of which is going to have a potentially nasty effect on |
I already tried without Huge file - no difference. I also tried mounting root manually (with -n instead of -v) but with the same error. I will try again with -v. Actually I'm sorry this is taking up so much of YOUR time. This is normally a straightforward process. In fact I have a script to do it all for me for 16 or so different OSes. I must be missing something obvious. Rest assured I started with a clean image with SENTINEL3 setfor PR, so none of the resizing happened. I do have to keep restarting from scratch, but the installation only takes 10 mins or so. It's if I have to change my tar files from the original image that it takes the time. I appreciate the offer of looking at my images. It may come to that, but I have another couple of tricks to try first. I'll let you know how they go. (Why is my return key not working..... ;-). |
I tried -v and it still comes up with the same error. I've still got to try -i 8192 plus some other things.... Assuming I do get this to install properly, I could do with a logo for Gentoo (40x40 pixel png file) plus a few images (about 2-4 png files of size ~384x288 pixels) to be shown as a slideshow during installation, illustrating the main features/benefits of Gentoo. 😄 |
OK I'll see what I can put together... |
No rush, especially as I am still struggling. I even extracted the rootfs partition from your image and DD'd it directly to /dev/mmcblk0p7 to eliminate any changes to the format / partitioning, and it was STILL r/o. I will prepare an image for you so you can have a look at it. |
Finally some good news - I managed to get PINN to boot gentoo64! |
And now it works on partitions 6&7 as well. |
Good news - well done. |
Are there examples of the slideshow images for other O/S installs I could take a quick look at to see the kind of thing you're after? |
You can have a look here for a list of OSes. |
Hi - haven't forgotten about this, but have been busy putting the 1.1.0 release out, which has a number of significant improvements (inclusion of packages like libreoffice thunderbird & gimp, binary kernel package support, easier updating etc.) Would you mind trying to see if the new image works for your installer? I have migrated your PR #14 into an OpenRC service on the image (visible here) but the logic remains the same - you should be able to use Now I have some bandwidth, I'll put some slides together for you over the next few days, with screenshots from the new image. Thanks! |
Hey, no worries! I've been busy myself. Will try the new version shortly. Hopefully it will be easier than last time :) thanks. |
OK I have posted six first-cut png files here; is that the sort of thing you need? I can make the background white easily if that works better. (PS the benchmarks quoted are from these results). |
Looking good. Thanks! |
Hi - v.1.1.1 is out now. Things to look at that might possibly cause breakage on your side:
Please let me know if you encounter any issues trying to get the image prepared for your installer, or if there is anything else that you need. thanks! |
Thanks. Downloading now. |
interim report Just had a chance to test the v1.1.1 PINN installation. |
OK, thanks. Strange about the r/o thing. I have added explicit One other thing you could try - because the Pi has no RTC, the image uses Gentoo's So, you could try touching the file |
I still haven't quite got to the bottom of why it goes read-only, but I think it is something to do with the timestamps of modified files, as you suggested. If PINN is installing gentoo offline, it may not have a sense of the time either, so it uses a similar fake clock which will again be different (maybe in the past or future relative to the last real gentoo fs access time.) This maybe giving different results from when PINN is connected to a network with the real time. However, I managed to hand-hold the installation through, and with a few manual tweaks, PINN managed to load Gentoo64 v1.1.1, from a USB boot (not SD card), complete with a nice icon and shiny slideshow! I'm going to have to take a break from this for a while, but I'll do some more testing and make my scripts more robust to avoid this read-only problem. Then I hope to release it in a week or so (time permitting) 😄 BTW, the cursor no longer disappears when the screen blanks. I guess this is an artefact of the use of the new software cursor? |
Nearly done with this now, had a few package update issues over the last few days. But should have 1.1.3 images to upload shortly. Incidentally, I've added demouser@pi64 ~ $ sudo emaint sync --repo=rpi3
demouser@pi64 ~ $ sudo emerge -v app-accessibility/onboard Binary packages are uploaded so it shouldn't take long to install. Start it with Applications→Accessories→Onboard If it works OK for you (my loaner touchscreen has gone back, unfortunately) I'll add it into the release. Thanks! |
Ok I might give it a go but will need to reinstall gentoo again first. Maybe tomight or tomorrow.
I could do with an onscreen keyboard in PINN too for touchscreen and CEC but it would need to work with Qt in buildroot.
…Sent from my Samsung device
-------- Original message --------
From: sakaki <notifications@github.com>
Date: 13/09/2017 01:18 (GMT+00:00)
To: sakaki-/gentoo-on-rpi3-64bit <gentoo-on-rpi3-64bit@noreply.github.com>
Cc: procount <kevin@procount.co.uk>, Author <author@noreply.github.com>
Subject: Re: [sakaki-/gentoo-on-rpi3-64bit] Converting to NOOBS format (#13)
Nearly done with this now, had a few package update issues over the last few days. But should have 1.1.3 images to upload shortly.
Incidentally, I've added onboard to the repo as a simple onscreen keyboard for use with the touchscreen. If you'd like to try it out (on the current image), just do:
demouser@pi64 ~ $ sudo emaint sync --repo=rpi3
demouser@pi64 ~ $ sudo emerge -v app-accessibility/onboard
Binary packages are uploaded so it shouldn't take long to install. Start it with Applications→Accessories→Onboard
If it works OK for you (my loaner touchscreen has gone back, unfortunately) I'll add it into the release. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/sakaki-/gentoo-on-rpi3-64bit","title":"sakaki-/gentoo-on-rpi3-64bit","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/sakaki-/gentoo-on-rpi3-64bit"}},"updates":{"snippets":[{"icon":"PERSON","message":"@sakaki- in #13: Nearly done with this now, had a few package update issues over the last few days. But should have 1.1.3 images to upload shortly.\r\n\r\nIncidentally, I've added `onboard` to the repo as a simple onscreen keyboard for use with the touchscreen. If you'd like to try it out (on the current image), just do:\r\n```console\r\ndemouser@pi64 ~ $ sudo emaint sync --repo=rpi3\r\ndemouser@pi64 ~ $ sudo emerge -v app-accessibility/onboard\r\n```\r\nBinary packages are uploaded so it shouldn't take long to install. Start it with \u003ckbd\u003eApplications\u003c/kbd\u003e\u0026rarr;\u003ckbd\u003eAccessories\u003c/kbd\u003e\u0026rarr;\u003ckbd\u003eOnboard\u003c/kbd\u003e\r\n\r\nIf it works OK for you (my loaner touchscreen has gone back, unfortunately) I'll add it into the release. Thanks!"}],"action":{"name":"View Issue","url":"https://github.com/sakaki-/gentoo-on-rpi3-64bit/issues/13#issuecomment-329020855"}}}
|
The 1.1.3 releases are up now. kodi, clementine and openJDK v8 ('icedtea') are now bundled, as is onboard. twofing is also present and active by default. And the NetworkManager fix of course! Thanks! sakaki |
Cool! I've just been updating all my OSes and added the network manager fix to gentoo64 1.1.2 myself as a test. But I'll download 1.1.3 now and have a play. |
Downloaded, converted and installed with PINN. It all seems to work, although my touchscreen mouse was very unreliable, often clicking in the wrong place. How can I disable/enable TwoFing for testing? |
You should just be able to disable it via Applications→Settings→Session and Startup→Application Autostart tab; untick the "Start twofing gesture daemon" entry and reboot. Strange though, it didn't seem to have a accuracy problem for me, but perhaps something has changed due to the latest release fixes. I'll see if I can get the loaner system back and retest here over the next few days. Are you running with the screen rotated ( |
Thanks. |
When I tried it, I did have |
It seems to work fine tonight. Maybe it was a bad connection or something. 🤷♂️ |
Great, looks like we're dangerously close to closing this issue ^-^ Sorry it's eaten up so many of your cycles getting the image available on PINN! (but Gentoo tends to... do that) One last thought: it might be an idea to post an announcement about the installer on the sticky Gentoo forums thread for this project, since there are (obviously) quite a few potential users there (who might like to try some of your other rpi3 images too)? |
I'm just finishing updating the other 20ish OSes in between testing my next version of PINN and updating the docs. Then I'll release and announce. Thanks for the ride and your support along the way. It's been fun and I know a little bit more about gentoo now too! |
Finally uploaded all 28 OSes. Just got to check them all now....
|
Looks good! If posting to the Gentoo forums, you might add a link (usual bb-code |
Saw your Gentoo forums post, looks great. Just one thing:
I'm a she not a he (but I'll take it as a compliment ^-^) |
Oops! Sorry, I'll fix it. Or would you prefer 'their' to be gender neutral? I guess your avatar is more life-like than I had assumed. It took me a while because I thought I was already registered. So, many failed logins later I registered again, activated my email and immediately got banned! It seems my email address was caught in their spam filter so I had to jump through a few hoops to get unbanned. |
No worries - "she/her" is fine by me. |
Already done 😄 Neddy suggested I move my bit about PINN to a separate topic and link back to your thread, so I may do some adjustments. I think he is concerned about any PINN chat filling up your thread... BTW, I'm nearly ready to release the next version of PINN. Most testing is complete now. I just have to figure out how I can simulate a mouse press on another desktop application so I can improve my HDMI CEC interaction.... |
Closing now. I'll put a reference to PINN on the main page for those who might prefer to use it rather than writing the image directly. Best, sakaki |
Hi, a v1.2.0 of the image has just been released. This is in response to Gentoo changing their 'profile' (global build settings) to have |
Ok. I'll find some time to update it. Thanks. |
Perfect, many thanks. |
Done! |
Wow that was fast! Thanks ^-^ |
For these new images, did you by any chance pull the files from |
No. I wasn't aware of that url. Did you create them yourself or are they copies of mine? |
Thanks, that's great. Just noticed that the old files were up there when doing a clean-up of the web server, thought I might have sent the URL to you at some point. But if you are creating the images directly from the release tarballs, then no problem. If I could ask for one minor tweak: the version number has rolled from 1.1.x (the 13.0 profile releases) to 1.2.x (the 17.0 profile releases), and this affects the first slide of the marketing deck. As this might confuse people (given the accompanying release notes, forum posts etc.), would it be possible to upload the new |
Yes, no problem. |
Slides should be updated now. |
Many thanks for that. |
I am trying to convert your image to be installable by NOOBS/PINN.
If I remove the
/boot/autoexpand_root_partition
sentinel file as recommended then the raspberrypi64 password does not get set. In this case what is the default password for root to login?As a workaround, I was modifying the
etc/local.d/autoexpand_root_partition.start
so that the password and graphical login would be set without partition resizing. But for some reason my root partition always ends up being r/o so that the script will not be effective. I'm still investigating that, but any ideas why this partition should end up readonly would be welcome.The text was updated successfully, but these errors were encountered: