Date: Tue, 5 May 2015 11:08:49 +0200 From: bruno <br1.rdgz@...il.com> To: sabotage@...ts.openwall.com Subject: Introduction and some (little) problems (already solved :P ) Hello!! My name is Bruno, and I got information about this distro thanks to suckless.org... And I liked the idea, so I started installing it in a VM (to check if I could do the same to bare metal). Yes, I know I could have used an image, use the staged stuff or whatever... But the idea was starting from scratch. My first problem was finding a suitable live-cd-dvd-usb-something with a somehow useful gcc version able to compile a stage0. Finally I'm using knoppix DVD, because of: a) It's the only one I found with a usable git, gcc, and some more stuff (screen, sshd), b) it's got i686 and x86_64 kernels/libs and c) starting it with "knoppix 2" or "knoppix64 2" in single user mode is fast enough My second problem: the "butch install core" part didn't work, because of libressl. The errors (sorry, I didn't keep the logs) were a bunch of undefined references to stuff, like this undefined reference to `__stack_chk_fail_local' I know, this is a well known problem with " -fstack-protection-all " option and linking to the SSP library. So, even if there is a patch for that in gcc474, I had to add -lssp_nonshared to CFLAGS in the pkg file. After that it worked CFLAGS="-lssp_nonshared $optcflags" I also had a little problem with git installation, the LDFLAGS there should be set to: LDFLAGS="$optldflags -static-libgcc" BTW, I changed the package file to install git 2.4.0, is there anybody interested in "new packages" ? I normally use arch linux, and I love AUR, but I also know it requires resources, a community and lots of effort. Finally, the default kernel configuration is not that cool when it comes about having a filesystem in ext4. It looks like a normal mkfs.ext4 sets the option huge_files to the filesystem, and that needs the option "Enable the block layer ---> Support for large (2TB+) block devices and files" activated in the kernel. I read something about that here: http://kuttler.eu/post/filesystem-with-huge-files-cannot-be-mounted-read-write-without-config_lbdaf/ So I had to boot again chrooting from knoppix and execute that tune2fs -O ^huge_file /dev/sda2; fsck /dev/sda2 And after that everything booted OK. If you are reading this and you think this message was sort of "a noob saying s*it", I'm sorry, but since a gentoo from stage 0 and an LFS (following the guide step by step), installing a distribution from scratch is something I'm not doing every day. Thank you !!! Content of type "text/html" skipped
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.