[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
Hey /g/ Watch as I fail to install Gentoo on a Raspberry Pi.
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 65
Thread images: 15
File: 20160619_224622.jpg (3 MB, 5312x2988) Image search: [Google]
20160619_224622.jpg
3 MB, 5312x2988
Hey /g/
Watch as I fail to install Gentoo on a Raspberry Pi.

https://wiki.gentoo.org/wiki/Raspberry_Pi
>>
watching
>>
>>55161269
doesnt seem that hard tbqh
>>
First step is partitioning the SD card...
>>
>>55161430
wut, go faster
>>
I have no idea what size the boot partition should be so I'll just put 1000 MiB.
>>
And the rest will be the root partition, also fat32.
>>
Does this look good?
Looks good to me.
>>
>>55161518
is fat32 bait? not bad.
>>
>>55161551
Would ext4 be better?
>>
>>55161541
>1000
>not 1024
it shouldn't piss me off but it does
>>
>>55161565
of course. anything is better than ext4.
Also: you dont need 1gig for boot. I guess 200mb is enough. Think of dividing the root into root and home.
>>
I'll be finding and downloading these while you people tell me all that's wrong with my partitioning. Then I'll fix it.
>>
>>55161565
Should be ext4.
>>
>>55161614
you boot partition should be ext2, the other one ext4.
>>
>>55161625
The wiki says specifically to make it fat32.
>>
File: dafuq.jpg (21 KB, 236x329) Image search: [Google]
dafuq.jpg
21 KB, 236x329
Nigga, did you just make a 1GB boot partition?
>>
I've made the boot partition 200mb and fat32
The root partition is the rest and ext4
No separate home partition.
>>
$ sudo mkdir /mnt/gentoo_rpi
$ sudo mkdir /mnt/gentoo_rpi/boot
$ sudo mount /dev/sdb1 /mnt/gentoo_rpi/boot
$ cp bootcode.bin fixup.dat start.elf /mnt/gentoo_rpi/boot/


Now what the hell should I put into cmdline.txt?
>>
>>55161950
>Now what the hell should I put into cmdline.txt?
Meh, just use the example.
>>
>>55161992
I have no idea what any of it means, but alright.
>>
Downloading Stage 3...

By the way, I've never installed Gentoo before.
>>
i came here expecting to have a laugh, it make me sad instead
>>
$ wget http://distfiles.gentoo.org/releases/arm/autobuilds/current-stage3-armv6j_hardfp/stage3-armv6j_hardfp-20160326.tar.bz2
$ sudo mkdir /mnt/gentoo_rpi/root
$ sudo mount /dev/sdb2 /mnt/gentoo_rpi/root/
$ sudo tar xpjf stage3-armv6j_hardfp-20160326.tar.bz2 -C /mnt/gentoo_rpi/root/


Looks like nobody cares about my thread. But I've already started so I can't stop.
>>
>>55162245
I care anon

I care
>>
I'm watching
>>
>source based distro
>on RPI
hahaha wow
>>
Keep going, might try this myself
>>
This is pretty easy.

>>55162264
>>55162284
>>55162308
>>55162316
At least four people care. <3

make.conf
>>
>>55162284
Only watching? I have lubed up my dick. I am ready to go.
>>
Still lurking, post progress
>>
>>55162329
Forgot screenshot.
>>
Should I do something with fstab?
>>
>>55162387
well that depends on how you set shit up
>>
Yeah of course I should. Something like this?
>>
It's not as hard as on a normal computer, because the kernel and the whole OS actually, all come in one .tar.xz I believe, then you just extract onto the SD card.

Tbh, it's not worth using unless you have another system where you can offload compilation with distcc. I use arch on my raspberry pi now.
>>
I probably should have added a swap partition, shouldn't I? Eh, whatever.
>>
Alright. I think this should work for fstab.

/dev/mmcblk0p1          /boot           fat32           noauto,noatime  1 2
/dev/mmcblk0p2 / ext4 noatime 0 1
>>
>>55162606
You seem to be doing fine, OP.
>>
Now I just need to think of a good root password...
>>
>>55162635
your bank password
>>
How big is your swapspace?
>>
I'll just use 1234
That's safe, right?

/etc/shadow
root:$1$llM37GO7$YqPWn10w2GYZFjSOBIwkS1:10770:0:::::
>>
>>55162697
There is no swap.
>>
>>55162724
you'll probably need one on a RPI
>>
>>55162707
Doesn't really matter, just change it later on when you're able to ssh.
>>
>>55162731
nah it'll be aight.
>>
>>55162724
I'm shit at gentoo, why no swap? Because there's so little RAM?
>>
>>55162742
Because I didn't think of it and because I'm doing this just for fun and it won't have any real use.
>>
>>55162764
Fair enough. Keep posting pics!
>>
>>55162742
It should have swap because there's so little RAM
>>
Are you doing this because someone with trips in the other thread suggested it?
>>
>>55162799
Yes.
>>
>>55162811
Very nice.
Here is a certified (you) for going with it.
>>
Next is installing portage...

$ wget http://distfiles.gentoo.org/snapshots/portage-latest.tar.bz2
$ sudo tar xjvpf portage-latest.tar.bz2 -C /mnt/gentoo_rpi/root/usr/
tar: Cannot mkdir: No space left on device


Well then.
>>
I guess I'll have to umount everything, resize partitions, and try again.

$ df -ih
...
/dev/sdb2 224K 224K 0 100% /mnt/gentoo_rpi/root

Need more inodes.
>>
lol, nice try anyways.118
>>
Reducing boot as much as it lets me and growing root. If after that it still doesn't work, that'll be the end. If not probably crosscompiling the kernel will be the end because I don't think I can easily do that if I'm not already running Gentoo.
>>
>>55161647
The wiki was written by dumb neckbeards.
>>
Well. It's not letting me resize boot. So I guess that's it.

This is where I failed, at copying files. I'll be leaving this threat to drift towards its inevitable 404.
>>
Didn't have to do any of this shit, its literally unpacking a stage3 to a directory and building a kernel with genkernel, you edit one init file to tell busybox to switch_root to the right root directory.

tl;dr you could have just installed Gentoo into a directory on your current fs.
>>
>>55163114
Boot should always be vfat/fat32 for efi compatibility.
>>
>Using 4 GB micro sd card
>2016
>>
Also you don't have enough disk space or ram to work with portage so you may as well give up unless you want to do this on USB storage.
>>
>>55163253
>>55163263
>>55163292
Fuck off you stupid pedophile
Thread replies: 65
Thread images: 15

banner
banner
[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y] [Home]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.