Re: linux from scratch

2021-07-16 Thread Stephen Partington via PLUG-discuss
Cfdisk or fdisk also work. On Fri, Jul 16, 2021, 12:35 PM Michael via PLUG-discuss < plug-discuss@lists.phxlinux.org> wrote: > nevermind I just remembered how I did it before I used gparted > > On Fri, Jul 16, 2021 at 3:10 PM Michael wrote: > > > > Let's give it another whirl > > > >

Re: linux from scratch

2021-07-16 Thread Michael via PLUG-discuss
nevermind I just remembered how I did it before I used gparted On Fri, Jul 16, 2021 at 3:10 PM Michael wrote: > > Let's give it another whirl > > to begin with (I'm going to build this on a usb drive) (/dev/sdc) I would: > fdisk /dev/sdc > > but how do you create the pacific partition

linux from scratch

2021-07-16 Thread Michael via PLUG-discuss
Let's give it another whirl to begin with (I'm going to build this on a usb drive) (/dev/sdc) I would: fdisk /dev/sdc but how do you create the pacific partitions and labels and such? the man page does not say. is that a mistake? I remember '-n' for new partition and '-L' for label or am I mi

Re: Linux from scratch

2021-07-15 Thread Michael via PLUG-discuss
Does anyone know what happened to ET? He was helping me with this when I was trying to do it about 10 years ago. On Thu, Jul 15, 2021 at 2:30 PM Michael wrote: > > I know google is my friend! I looked it up and it is possible. > Sorry I didn't thonk of that before I asked. > > On Thu, Jul 15,

Re: Linux from scratch

2021-07-15 Thread Michael via PLUG-discuss
I know google is my friend! I looked it up and it is possible. Sorry I didn't thonk of that before I asked. On Thu, Jul 15, 2021 at 2:18 PM Michael wrote: > > I'm wanting to build a custom linux build but I don't have another > computer and don't want to buy one. Can I build a live distro wit

Linux from scratch

2021-07-15 Thread Michael via PLUG-discuss
I'm wanting to build a custom linux build but I don't have another computer and don't want to buy one. Can I build a live distro with LFS? -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or

Re: Linux from scratch partition.

2015-08-26 Thread Brian Cluff
If you are using GRUB, it doesn't matter if the boot flag is set or not, GRUB doesn't use it at all. If you are running an older version of windows and using MS's boot loader, then it would come into play, but otherwise, you can set or not set it to your hearts content and it won't make a differ

Re: Linux from scratch partition.

2015-08-26 Thread kitepilot
Mike, any partition can have the boot flag ON/OFF. The boot loader (GRUB) will choose what partition to boot from, and at that point, the boot flag *MIGHT* become an issue. With that said, the reason why you build LFS on it's own partition is because, if you don't, you'll have to move it after

Re: Linux from scratch partition.

2015-08-25 Thread Michael Havens
but wait! NameFlags Part Type FS Type [Label]Size (MB) -- Primary Free Space 1.05* sda1BootPrimary swap 999.30*

Re: Linux from scratch partition.

2015-08-25 Thread Michael Havens
I did google it and the advice was to do it but if I were to do it I would have two partitions with the boot flag. On Tue, Aug 25, 2015 at 10:15 PM, Michael Havens wrote: > Here is something I never considered before. I am creating the partition > for LFS should I set the boot flag on it? >

Linux from scratch partition.

2015-08-25 Thread Michael Havens
Here is something I never considered before. I am creating the partition for LFS should I set the boot flag on it? -- :-)~MIKE~(-: --- PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.org To subscribe, unsubscribe, or to change your mail

Re: Linux from scratch section 8.3

2014-09-05 Thread Michael Havens
thanks You inspired me to read the instructions again and it says to "Install the modules, if the kernel configuration uses them". Well, as I suspected I don't have any modules so that is why I'm getting the error. :-)~MIKE~(-: On Fri, Sep 5, 2014 at 11:47 AM, Michael Butash wrote: > You

Re: Linux from scratch section 8.3

2014-09-05 Thread Michael Butash
You need modules unless compiling everything static, which usually is good in theory, but bad in practice unless a very embedded, specific hardware use. Is that what you're doing? If so, maybe lfs wants/expects modular kernels for its build tools. Seems like those are likely dependent on som

Linux from scratch section 8.3

2014-09-05 Thread Michael Havens
I'm almost done with the base LFS system. The error I am getting now is: Makefile:1024: recipe for target 'modules_install' failed I'm thinking that it is because I'm not installing any modules This is what I entered to get to that point: make>>make.fail 2>&1 make modules_install>>install.fail

Re: linux from scratch

2014-08-26 Thread Michael Havens
em? > The last time I rolled my own minimal system was when I needed to have a > system to load linux onto machine from an image. This was the days before > most machines had CDROM drives, so I needed a version of liux that fit on a > floppy. It was also long before the Linux from scrat

Re: linux from scratch

2014-08-25 Thread Brian Cluff
loppy. It was also long before the Linux from scratch project existed so it was quite fun finding everything that I needed to make it work... which it did in the end. Since then I haven't really needed to create a system from scratch, other than creating a few net boot systems, which isn&#

Linux from scratch 7.2.2

2014-08-25 Thread Michael Havens
the book says: The following command creates a sample file for the *eth0* device with a static IP address: cd /etc/sysconfig/ cat > ifconfig.eth0 << "EOF" ONBOOT=yes IFACE=eth0 SERVICE=ipv4-static IP=192.168.1.1 GATEWAY=192.168.1.2 PREFIX=24 BROADCAST=192.168.1.255

Re: linux from scratch

2014-08-25 Thread Nathan England
Congrats Mike! I'm glad you are sticking with it! I haven't done an LFS build in a while myself, and you have encouraged me to do the 7.5-systemd version ewww, I hate systemd. Rock on! On Monday, August 25, 2014 07:20:11 PM Michael Havens wrote: > I have been trying to

linux from scratch

2014-08-25 Thread Michael Havens
I have been trying to do Linux from Scratch for 2 years now (I created about 8 virtual machines to do so) and have NEVER progressed beyond chapter five. Well, I got a computer to dedicate to my LFS build and it took me two weeks to get to chapter 7. This is so cool! :-)~MIKE

Re: linux from scratch 6.6

2014-08-12 Thread Michael Havens
On Tue, Aug 12, 2014 at 4:14 PM, Michael Havens wrote: > bmike1@CQ57-1:~$ ssh mike@192.168.0.14 > ssh_exchange_identification: read: Connection reset by peer > bmike1@CQ57-1:~$ ssh root@192.168.0.14 > ssh_exchange_identification: read: Connection reset by peer > bmike1@CQ57-1:~$ > > > Never mind.

Re: linux from scratch 6.6

2014-08-12 Thread Michael Havens
On Mon, Aug 11, 2014 at 6:45 PM, Michael Havens wrote: > I started over. I am now at the section where we remove the 'I have no > name!' prompt. The instructions are to start a new shell. Well I guess > that is okay but the way I am doing this is: > I have two computers. One I am building LFS

Fwd: linux from scratch 6.6

2014-08-11 Thread Michael Havens
I started over. I am now at the section where we remove the 'I have no name!' prompt. The instructions are to start a new shell. Well I guess that is okay but the way I am doing this is: I have two computers. One I am building LFS on and the other I am building LFS from via ssh. SO I start a ne

Re: Linux from scratch

2014-08-04 Thread Michael Havens
Thanks Paul. I'll do that later. Boy do I feel silly! I should have known that. :-)~MIKE~(-: On Mon, Aug 4, 2014 at 2:16 PM, Paul Mooring wrote: > It's been a while since I did an LFS install, but I assume you have a > partition mounted on `/mnt/lfs`. If that's the case the easiest thing is >

Re: Linux from scratch

2014-08-04 Thread Paul Mooring
It's been a while since I did an LFS install, but I assume you have a partition mounted on `/mnt/lfs`. If that's the case the easiest thing is to recreate the filesystem. Imagine mount shows something like: /dev/sdb1 on /mnt/lfs type ext4 (rw) You would un mount the filesystem: umount /mnt

Linux from scratch

2014-08-04 Thread Michael Havens
I am confused. I need to start over. SO to do so I need to know what to delete. I think it is as easy as exiting back to the host system shell then: cd /mnt/lfs; rm -rf * and then I just need to start over from the point after I mkdir /mnt/lfs. Is this correct? :-)~MIKE~(-:

Re: I successfully built the linux from scratch temp toolchain

2014-07-29 Thread Michael Havens
t;> On Tue, Jul 29, 2014 at 5:43 PM, Stephen Partington > > wrote: >> >>> Ok, so during the install yes follow the LFS book. you are not yet 100% >>> done. >>> >>> >>> >>> On Tue, Jul 29, 2014 at 3:36 PM, Michael Havens >>>

Re: I successfully built the linux from scratch temp toolchain

2014-07-29 Thread Michael Havens
Tue, Jul 29, 2014 at 3:36 PM, Michael Havens wrote: >> >>> it is best practice but the linux from scratch book says that: >>> >>> >>> The commands in the remainder of this book must be performed while >>> logged in as user root and no longer

Re: I successfully built the linux from scratch temp toolchain

2014-07-29 Thread Michael Havens
wrote: > >> it is best practice but the linux from scratch book says that: >> >> >> The commands in the remainder of this book must be performed while >> logged in as user root and no longer as user lfs. >> >> so I am thinking I should su to root but

Re: I successfully built the linux from scratch temp toolchain

2014-07-29 Thread Stephen Partington
Ok, so during the install yes follow the LFS book. you are not yet 100% done. On Tue, Jul 29, 2014 at 3:36 PM, Michael Havens wrote: > it is best practice but the linux from scratch book says that: > > > The commands in the remainder of this book must be performed while >

Re: I successfully built the linux from scratch temp toolchain

2014-07-29 Thread Michael Havens
it is best practice but the linux from scratch book says that: The commands in the remainder of this book must be performed while logged in as user root and no longer as user lfs. so I am thinking I should su to root but am unsure :-)~MIKE~(-: On Tue, Jul 29, 2014 at 3:29 PM, Stephen

Re: I successfully built the linux from scratch temp toolchain

2014-07-29 Thread Stephen Partington
BEst practices rely on the use of SU and Sudo/SUdoers to perform any of the elevated tasks. This prevents any unrecognized code from getting away from you. this includes root not being able to log in under most circumstances and especially via ssh. This is what i would stick with, there is likely a

I successfully built the linux from scratch temp toolchain

2014-07-29 Thread Michael Havens
Now they say: (section 5.36) Note The commands in the remainder of this book must be performed while logged in as user root and no longer as user lfs. The problem is that I do not know how they want me to become root (or if it matters). To become root I can either 'su' or 'exit' my current

Re: linux from scratch

2014-07-27 Thread Michael Havens
ns >>> wrote: >>> >>>> well I installed gmp the way it instructed and then I did a search for >>>> mpfr on the same website and installed it as well, but couldn't find >>>> gibc >>>> or mpc. I was going to do a search for the miss

Re: linux from scratch

2014-07-24 Thread Michael Havens
going to do a search for the missing files but figured I >>> would run version-check first to ensure I wasn't just spinning my wheels. >>> It appears the two files were not installed correctly enough for LInux >>> from >>> Scratch. >>> gmp >>&g

Re: linux from scratch

2014-07-24 Thread kitepilot
led it as well, but couldn't find gibc or mpc. I was going to do a search for the missing files but figured I would run version-check first to ensure I wasn't just spinning my wheels. It appears the two files were not installed correctly enough for LInux from Scratch. gmp ~$ bash version-c

Re: linux from scratch

2014-07-23 Thread Michael Havens
it as well, but couldn't find gibc >> or mpc. I was going to do a search for the missing files but figured I >> would run version-check first to ensure I wasn't just spinning my wheels. >> It appears the two files were not installed correctly enough for LInux from >>

Re: linux from scratch

2014-07-23 Thread Michael Havens
n-check first to ensure I wasn't just spinning my wheels. > It appears the two files were not installed correctly enough for LInux from > Scratch. > > ~$ bash version-check.sh > ---truncate--- > version-check.sh: line 32: glibc: command not found > g++ compilation OK >

Re: linux from scratch

2014-07-22 Thread Michael Havens
wheels. It appears the two files were not installed correctly enough for LInux from Scratch. ~$ bash version-check.sh ---truncate--- version-check.sh: line 32: glibc: command not found g++ compilation OK libgmp.la: found libmpfr.la: found libmpc.la: not found :-)~MIKE~(-: On Tue, Jul 22, 2014 a

Re: linux from scratch

2014-07-22 Thread Stephen Partington
this is what it is after: GNU Multiple Precision Arithmetic Library The GNU Multiple Precision Arithmetic Library is a free library for arbitrary-precision arithmetic, operating on signed integers, rational numbers, and floating point numbers. http://petio.org/tools/gmp.html has some nice refrence

Re: linux from scratch

2014-07-22 Thread Michael Havens
I have no idea why the programs libgmp.la libmpfr.la libmpc.la and glibc are needed. All I know is that linux from scratch says it needs it. This has nothing to do with modifying grub. That was a separate issue in that I need to make it so the machine doesn't go to sleep. :-)~MIKE~(-: O

Re: linux from scratch

2014-07-22 Thread Mark Phillips
Michael, Which package(s) require the files libmpfr.la and libmpc.la? How do you know you need these files? Same for the glibc file? And what does all of this have to do with modifying grub??? The debian package manager is very robust and is designed to keep one from shooting themselves in the fo

Re: linux from scratch

2014-07-22 Thread kitepilot
Do: find /lib /*/lib -name libgmp.la Here is an idea I could scp the program from a computer with the programs. Here is another idea: Grab a gun and shoot yourself in the foot...:) ET Michael Havens writes: oops I was inspecting version-check.sh script and notice that in li

Re: linux from scratch

2014-07-22 Thread Michael Havens
that's what I wanted to know. thanks! Unfortunately libgmp.la (the full name of the needed file) tuned up the package lib32gmp-dev But apt-get responded that it was unable to locate the package. The search for libmpfr.la said that search gave no results. The search for libmpc.la also says no

Re: linux from scratch

2014-07-21 Thread Mark Phillips
Michael, You need the correct name of the package for the installer to find it. When you need to find correct package names, go to https://www.debian.org/distrib/packages#search_packages on the Debian web site. Search for package names, or names of files that are in packages. It will give you a l

Re: linux from scratch

2014-07-21 Thread Michael Havens
oops I was inspecting version-check.sh script and notice that in line 33 what it said was 'glibc' all of the other checked programs were ' --version |head -n1' so I made it like that and the output said I did not have that program either. So I googled for it and as with libgmp.la libmpfr.la li

Re: linux from scratch

2014-07-21 Thread Michael Havens
it found mpc. but, unfortunately, version-check.sh doesn't say it installed libmpc.la . :-)~MIKE~(-: On Mon, Jul 21, 2014 at 8:37 PM, Michael Havens wrote: > I ran the version-check script and some packages were installed and some > not. I installed most of them but there were some that would

Re: linux from scratch

2014-07-21 Thread Michael Havens
I ran the version-check script and some packages were installed and some not. I installed most of them but there were some that would not install. Google didn't help so I must ask here what package do I need to install to get these libraries? root@debian:~# apt-get install libgmp libmpfr.la libmpc

linux from scratch

2014-07-21 Thread Michael Havens
hello plug. well you helped me get ssh to work across networks so that now I can build an LFS OS on another computer as opposed to on another partition or onto a virtual machine. I installed Debian as the host OS to build LFS on. All is well except it falls asleep after five minutes and I can't com

Re: I'm building linux from scratch in a virtual machine

2014-04-03 Thread Michael Havens
goofy me! can access the file. sorry for the clutter. :-)~MIKE~(-: On Thu, Apr 3, 2014 at 3:47 PM, Michael Havens wrote: > okay. here is the deal. I'm trying to download the packages to > $LFS/sources. the problem I am having is that I can't create the directory > as . If I create it as

Re: I'm building linux from scratch in a virtual machine

2014-04-03 Thread Michael Havens
okay. here is the deal. I'm trying to download the packages to $LFS/sources. the problem I am having is that I can't create the directory as . If I create it as root I won't be able to access the directory as . Do I create the directory as root and then chown ? :-)~MIKE~(-: On Thu, Apr 3, 2

Re: I'm building linux from scratch in a virtual machine

2014-04-03 Thread kitepilot
it's cool... I figured it out! Coming from you, this is a rather scary statement... ;-) ET :-)~MIKE~(-: On Thu, Apr 3, 2014 at 1:35 AM, wrote: Please describe what you mean by: 'how I inserted the wget-list or the md5sums list into the virtual.' Once you open a terminal to the 'vi

Re: I'm building linux from scratch in a virtual machine

2014-04-03 Thread Michael Havens
it's cool... I figured it out! :-)~MIKE~(-: On Thu, Apr 3, 2014 at 1:35 AM, wrote: > Please describe what you mean by: > 'how I inserted the wget-list or the md5sums list into the virtual.' > Once you open a terminal to the 'virtual', there is no 'virtual' anymore. > It is just a terminal... >

Re: I'm building linux from scratch in a virtual machine

2014-04-03 Thread Matt Graham
Michael Havens wrote: I tried ipconfig. Command not found. Lisa Kachold wrote: This sounds like a path/permissions issue in your terminal shell. Michael Havens wrote: the problem was that I wasn't running it as root. I come to find it doesn't give a permission denied error. Stephen Parting

Re: I'm building linux from scratch in a virtual machine

2014-04-03 Thread Stephen Partington
If the permissions are set the command is not even visible. With certain commands that is ideal because it is harder to manipulate a file you cannot even see. On Wed, Apr 2, 2014 at 10:20 PM, Michael Havens wrote: > the problem was that I wasn't running it as root. I come to find it > doesn't g

Re: I'm building linux from scratch in a virtual machine

2014-04-03 Thread kitepilot
Please describe what you mean by: 'how I inserted the wget-list or the md5sums list into the virtual.' Once you open a terminal to the 'virtual', there is no 'virtual' anymore. It is just a terminal... ET Michael Havens writes: Yes, I remembered that much.Myu problem is that I can't rem

Re: I'm building linux from scratch in a virtual machine

2014-04-03 Thread Michael Havens
Yes, I remembered that much.Myu problem is that I can't remember how I inserted the wget-list or the md5sums list into the virtual. unless. let me try something. I remembered! I used pico. It was weird. It wasn't accepting when I tried to save it with the '$LFS/sources' Could it be because I w

Re: I'm building linux from scratch in a virtual machine

2014-04-02 Thread kitepilot
Mike, on the virtual as root: passwd (I mostly use vv) apt-get install ssh when done, from the host: ssh root@${VIRTUAL} Now you work from 'your box' over an SSH shell. YMMV... ET PS: This will only work if the interface is 'bridged', the virtual 'NAT(s)' by default. Michael Havens w

Re: I'm building linux from scratch in a virtual machine

2014-04-02 Thread Michael Havens
its all fine except getting the wget and md5sum lists into the virtual machine :-)~MIKE~(-: On Wed, Apr 2, 2014 at 10:20 PM, Michael Havens wrote: > the problem was that I wasn't running it as root. I come to find it > doesn't give a permission denied error. it's fine now! thanks:) > > :-)~MIK

Re: I'm building linux from scratch in a virtual machine

2014-04-02 Thread Michael Havens
the problem was that I wasn't running it as root. I come to find it doesn't give a permission denied error. it's fine now! thanks:) :-)~MIKE~(-: On Wed, Apr 2, 2014 at 10:04 PM, Lisa Kachold wrote: > Michael, > > This sounds like a path/permissions issue in your terminal shell. > > $ sudo locat

Re: I'm building linux from scratch in a virtual machine

2014-04-02 Thread Lisa Kachold
Michael, This sounds like a path/permissions issue in your terminal shell. $ sudo locate ifconfig $ sudo ifconfig $ sudo su - $ su - Call me to discuss. On Wed, Apr 2, 2014 at 8:09 PM, Michael Havens wrote: > I need to find the ip of the virtual debian machine. I tried ipconfig. > Command no

Re: I'm building linux from scratch in a virtual machine

2014-04-02 Thread Michael Havens
I'm at the section where I wget the packages but I'm kinda stuck because I'm not sure how to get that list into the virtual. :-)~MIKE~(-: On Wed, Apr 2, 2014 at 9:38 PM, Michael Havens wrote: > it doesn't even give a permission denied error? bizzare! > > :-)~MIKE~(-: > > > On Wed, Apr 2, 2014

Re: I'm building linux from scratch in a virtual machine

2014-04-02 Thread Michael Havens
it doesn't even give a permission denied error? bizzare! :-)~MIKE~(-: On Wed, Apr 2, 2014 at 9:23 PM, Stephen Partington wrote: > IP addr but also if config usually needs to be run as root. So a normal > user won't have the command. > > > On Wednesday, April 2, 2014, Michael Havens wrote: > >>

Re: I'm building linux from scratch in a virtual machine

2014-04-02 Thread Stephen Partington
IP addr but also if config usually needs to be run as root. So a normal user won't have the command. On Wednesday, April 2, 2014, Michael Havens wrote: > I need to find the ip of the virtual debian machine. I tried ipconfig. > Command not found. I tried ifconfig. Command not found. Well I though

Re: I'm building linux from scratch in a virtual machine

2014-04-02 Thread Michael Havens
that was it! Thanks. :-)~MIKE~(-: On Wed, Apr 2, 2014 at 8:25 PM, Douglas Jerome wrote: > On 04/02/14 20:09, Michael Havens wrote: > >> I need to find the ip of the virtual debian machine. I tried ipconfig. >> Command not found. I tried ifconfig. Command not found. Well I thought >> one of tho

Re: I'm building linux from scratch in a virtual machine

2014-04-02 Thread Douglas Jerome
On 04/02/14 20:09, Michael Havens wrote: I need to find the ip of the virtual debian machine. I tried ipconfig. Command not found. I tried ifconfig. Command not found. Well I thought one of those commands was right! Then I tried apt-get: unable to locate package. I remember there was another com

I'm building linux from scratch in a virtual machine

2014-04-02 Thread Michael Havens
I need to find the ip of the virtual debian machine. I tried ipconfig. Command not found. I tried ifconfig. Command not found. Well I thought one of those commands was right! Then I tried apt-get: unable to locate package. I remember there was another command that would give me the info I want. Pl

Re: This is why I love Linux From Scratch... :(

2013-12-16 Thread Matt Graham
On 2013-12-16 13:19, kitepi...@kitepilot.com wrote: I need to install Postfix and courier-smtp in Debian. If I install Postfix, Debian removes courier-smtp. If I install courier-smtp, Debian removes Postfix. Does anybody know how to explain to the F$#%ING package manager that I want to install

Re: This is why I love Linux From Scratch... :(

2013-12-16 Thread Sesso
Should probably be installing Postfix with dovecot. They play together nicely. On Dec 16, 2013, at 1:19 PM, kitepi...@kitepilot.com wrote: > I need to install Postfix and courier-smtp in Debian. > No... > If I install Postfix, Debian removes courier-smtp. > If I install courier-smtp, Debian rem

This is why I love Linux From Scratch... :(

2013-12-16 Thread kitepilot
I need to install Postfix and courier-smtp in Debian. No... If I install Postfix, Debian removes courier-smtp. If I install courier-smtp, Debian removes Postfix. #$%@&! Does anybody know how to explain the F$#%ING package manager that I want to install both... :( ET -

Re: linux from scratch

2013-09-01 Thread Paul Mooring
3 at 2:38 PM, Michael Havens wrote: > I'm doing another Linux from scratch install and was wondering > something.. The kernel in the book is 3.8.1 but the most recent stable > is 3.11.?. Will I have a problem compiling and installing the more recent > stable kernel? I don&#x

Re: linux from scratch

2013-08-31 Thread Michael Havens
; Your best (and probably only) bet is: > F-O-L-L-OW T-H-E B-O-O-K. > ET > > Michael Havens writes: > >> I'm doing another Linux from scratch install and was wondering >> something.. The kernel in the book is 3.8.1 but the most recent stable >> is 3.11.?. Will I h

Re: linux from scratch

2013-08-31 Thread kitepilot
Michael, you already have a boatload of cards stacked against. Your best (and probably only) bet is: F-O-L-L-OW T-H-E B-O-O-K. ET Michael Havens writes: I'm doing another Linux from scratch install and was wondering something.. The kernel in the book is 3.8.1 but the most recent s

linux from scratch

2013-08-31 Thread Michael Havens
I'm doing another Linux from scratch install and was wondering something.. The kernel in the book is 3.8.1 but the most recent stable is 3.11.?. Will I have a problem compiling and installing the more recent stable kernel? I don't think I will but hey, what do I know