Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo Raspberry Pi Help ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sat Jan 30, 2021 5:30 am    Post subject: Gentoo Raspberry Pi Help ? Reply with quote

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
View user's profile Send private message
psycho
Guru
Guru


Joined: 22 Jun 2007
Posts: 544
Location: New Zealand

PostPosted: Sat Jan 30, 2021 6:38 am    Post subject: Reply with quote

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
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sat Jan 30, 2021 6:49 am    Post subject: Reply with quote

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
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sat Jan 30, 2021 6:52 am    Post subject: Reply with quote

the guide said make sure sd card is mounted at boot
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54642
Location: 56N 3W

PostPosted: Sat Jan 30, 2021 9:47 am    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54642
Location: 56N 3W

PostPosted: Sat Jan 30, 2021 9:48 am    Post subject: Reply with quote

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
View user's profile Send private message
flysideways
Guru
Guru


Joined: 29 Jan 2005
Posts: 499

PostPosted: Sun Jan 31, 2021 3:28 pm    Post subject: Reply with quote

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
View user's profile Send private message
ShorTie
Tux's lil' helper
Tux's lil' helper


Joined: 12 Feb 2006
Posts: 101

PostPosted: Sun Jan 31, 2021 3:29 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sun Jan 31, 2021 11:35 pm    Post subject: Reply with quote

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
View user's profile Send private message
Gentobobbyuk
Apprentice
Apprentice


Joined: 23 May 2020
Posts: 196

PostPosted: Sun Jan 31, 2021 11:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum