View previous topic :: View next topic |
Author |
Message |
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Sat Jan 30, 2021 5:30 am Post subject: Gentoo Raspberry Pi Help ? |
|
|
Guys im trying to follow the Gentoo Rasberry Pi Handbook and i dont have a bloody clue what im doing.
Its so confusing
Make sure you sd card is mounted to boot
emerge --ask sys-boot/raspberrypi-firmware
emerge pi image
Quote: | The firmware ebuild created a file called cmdline.txt which specifies any necessary kernel parameters. Make sure you adjust your root partition, if necessary. For example change the root parameter to:
FILE /mnt/raspberrypiroot/boot/cmdline.txt
root=/dev/mmcblk0p2 rootdelay=2 |
h
Mine did nalt create this and how is the root of the card mounted to /mnt/rasberrypi blah blah ?
this guide is very confusing to follow |
|
Back to top |
|
|
psycho Guru
Joined: 22 Jun 2007 Posts: 544 Location: New Zealand
|
Posted: Sat Jan 30, 2021 6:38 am Post subject: |
|
|
For the file you're missing, it looks like you might be able to copy it straight across from /var/db/repos/gentoo/sys-boot/raspberrypi-firmware/files/rasberrypi-firmware-1.20201022-cmdline.txt...although if that was meant to happen and didn't, there could be other problems by now. Still, if you're out of ideas, maybe try copying it from there and continuing through the guide.
By the way, you've written above "Make sure you sd card is mounted to boot", but the guide I'm looking at says "The boot partition of the sd card should be mounted on /boot" (so mount the FAT32 partition described earlier in the guide...listed as sdb1 on that setup, though it could be different on yours if you have more disks). |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Sat Jan 30, 2021 6:49 am Post subject: |
|
|
Althought im missing that file i dont understand the handbook at all for this its not explained at all do i need to mount to this it doesnt state at all |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Sat Jan 30, 2021 6:52 am Post subject: |
|
|
the guide said make sure sd card is mounted at boot |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54641 Location: 56N 3W
|
Posted: Sat Jan 30, 2021 9:47 am Post subject: |
|
|
Gentobobbyuk,
A link to the guide would be good as there are several on the Wiki. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54641 Location: 56N 3W
|
Posted: Sat Jan 30, 2021 9:48 am Post subject: |
|
|
Moved from Kernel & Hardware to Gentoo on ARM.
it's one of these _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
flysideways Guru
Joined: 29 Jan 2005 Posts: 498
|
Posted: Sun Jan 31, 2021 3:28 pm Post subject: |
|
|
The Raspberry Pi is so inexpensive and ubiquitous now, and intended to be a device that introduces people to computing, you'd think there would be enough interest to create docs to help mere users. |
|
Back to top |
|
|
ShorTie Tux's lil' helper
Joined: 12 Feb 2006 Posts: 101
|
Posted: Sun Jan 31, 2021 3:29 pm Post subject: |
|
|
If your doing this on a sdcard it is going to be a long slow process.
A ssd is best, or at least a usb stick helps.
I can offer up a Image creator if you wish a gz image that can be written to some thing.
https://github.com/ShorTie8/Gentoo-imager
It has a growpart routine in it to expand the root partition on 1st boot.
It also uses dphys-swapfile for a swap file instead of a partition.
A couple of the overlays I have made up.
Can be run on either Debian or Gentoo.
If nothing else, it will give you another guide on the steps needed.
Have A Great Day
ShorTie |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Sun Jan 31, 2021 11:35 pm Post subject: |
|
|
I tried to follow this
https://wiki.gentoo.org/wiki/Raspberry_Pi
yes please point me in the direction of the setup thanks
I no its going to be long dont worry |
|
Back to top |
|
|
Gentobobbyuk Apprentice
Joined: 23 May 2020 Posts: 196
|
Posted: Sun Jan 31, 2021 11:44 pm Post subject: |
|
|
found a better guide sorry .
For some reason i was not able to find this the other night ,
Il get back to you with my ptogress |
|
Back to top |
|
|
|