From dhorton@megsinet.net Sun May 11 21:49:39 2003 From: dhorton@megsinet.net (David Horton) Date: Sun, 11 May 2003 15:49:39 -0500 Subject: [pocket-linux] New diskette images on the support site Message-ID: <3EBEB763.4000802@megsinet.net> Hi, I have uploaded new diskette images for chapter 2's bootdisk and rootdisk. There is also one for chapter 3's compressed rootdisk. If anybody is getting stuck on these chapters, you can use the diskette images to get things going. The address is: http://my.core.com/~dhorton/linux/pocket/ Dave From dhorton@megsinet.net Wed May 14 03:29:22 2003 From: dhorton@megsinet.net (David Horton) Date: Tue, 13 May 2003 21:29:22 -0500 Subject: [pocket-linux] New diskette image and bug hunt Message-ID: <3EC1AA02.6080501@megsinet.net> Hi, I have posted a diskette image for chapter 6 on the support site if anyone needs it. I have found a number of bugs and typos while building the diskette images. So I put together a list of things to fix for version 1.1 and posted it on the support site. If anyone finds something that is not on my list, please post it to the mailing list. Hopefully we can catch all the bugs in 1.0 and get 1.1 ready to release soon. All of the stuff mentioned above can be found at: http://my.core.com/~dhorton/linux/pocket/index.html Dave From Manuel-corral-valero@enscp.jussieu.fr Wed May 14 16:55:44 2003 From: Manuel-corral-valero@enscp.jussieu.fr (Corral Valero Manuel) Date: Wed, 14 May 2003 17:55:44 +0200 Subject: [pocket-linux] Bootable disks Message-ID: would it be possible to create something like an "universal" linux bootable disk? Something capable to boot a computer and run some of the software on the hard drive, like old DOS bootable disks? Thank you Manuel From HendeDav@dor.state.fl.us Fri May 16 17:12:17 2003 From: HendeDav@dor.state.fl.us (Dave Henderson) Date: Fri, 16 May 2003 12:12:17 -0400 Subject: [pocket-linux] Reverse the diskette image process Message-ID: --=_7E2188E0.DBBAF7E6 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit I see that you have the image files for download off of a website. I was wondering if there was to reverse the proceedure and take the image files that I download and convert them back to an editable file structure I can modify on my hard drive because I am having problems with the images that I create. Thanks, Dave Henderson --=_7E2188E0.DBBAF7E6 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
I see that you have the image files for download off of a website.  I was wondering if there was to reverse the proceedure and take the image files that I download and convert them back to an editable file structure I can modify on my hard drive because I am having problems with the images that I create.
 
Thanks,
Dave Henderson
--=_7E2188E0.DBBAF7E6-- From dhorton@megsinet.net Fri May 16 20:00:12 2003 From: dhorton@megsinet.net (David Horton) Date: Fri, 16 May 2003 15:00:12 -0400 Subject: [pocket-linux] Reverse the diskette image process Message-ID: <200305161900.h4GJ0Igs059762@mail0.mx.voyager.net> > I see that you have the image files for download off of a website. I > was wondering if there was to reverse the proceedure and take the image > files that I download and convert them back to an editable file > structure I can modify on my hard drive because I am having problems > with the images that I create. > > Thanks, > Dave Henderson > Dave, Here's how you can do it. 1 Download the image file to your Linux system. 2 If it has a .gz extension, gunzip it. 3 Extract the image to an unused ramdisk like this: dd if=imagefile of=/dev/ram7 bs=1k 4 Then mount the ramdisk like this: mount /dev/ram7 /mnt 5 Now you can access all the files from the image. For a detailed explanation of this procedure look ahead to Appendix A. Also, if you are running into difficulty when building images you might want to check out the preview of version 1.1 of the guide. Since I upgraded my Linux box to Slackware 8 I noticed somethings were not working quite right when I worked through the guide again to build the diskete images. Hopefully these bugs are worked out in 1.1. There's a link to the 1.1 preview on the support site (http://my.core.com/~dhorton/linux/pocket). Thanks for joining the mailing list and good luck building. Dave From daniel_s@aon.at Fri May 16 20:50:51 2003 From: daniel_s@aon.at (Daniel Schranz) Date: Fri, 16 May 2003 21:50:51 +0200 Subject: [pocket-linux] Reverse the diskette image process References: <200305161900.h4GJ0Igs059762@mail0.mx.voyager.net> Message-ID: <009001c31be4$74cc5ef0$0200a8c0@miniray> > 3 Extract the image to an unused ramdisk like this: > dd if=imagefile of=/dev/ram7 bs=1k > 4 Then mount the ramdisk like this: > mount /dev/ram7 /mnt As an alternative to these two steps you can: mount -o loop /mnt This is the way i mostly work on my image-files MfG Daniel From pocket-linux@ufo.chicago.il.us Mon May 19 20:09:00 2003 From: pocket-linux@ufo.chicago.il.us (Dave Henderson) Date: Mon, 19 May 2003 15:09:00 -0400 Subject: [pocket-linux] Mounting Hard Drives Message-ID: --=_7D2287C9.492865BE Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Does anyone know how to mount hard drives using pocket linux. I am trying to mount a Microsoft formatted hard drive, but everytime I try it gives me the error message: kmod: failed to exec /sbin/modprobe -s -k vfat, errno = 2 mount: fs type vfat not supported by kernel I looked in the /dev directory only to find that there are no hda and hda1 nodes. Even if I create them, I still get this error message. Any help would be greatly appreciated. Thanks, Dave Henderson --=_7D2287C9.492865BE Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Does anyone know how to mount hard drives using pocket linux.  I am trying to mount a Microsoft formatted hard drive, but everytime I try it gives me the error message:
 
kmod: failed to exec /sbin/modprobe -s -k vfat, errno = 2
mount: fs type vfat not supported by kernel
 
I looked in the /dev directory only to find that there are no hda and hda1 nodes.  Even if I create them, I still get this error message.  Any help would be greatly appreciated.
 
Thanks,
Dave Henderson
--=_7D2287C9.492865BE-- From pocket-linux@ufo.chicago.il.us Thu May 22 01:43:18 2003 From: pocket-linux@ufo.chicago.il.us (David Horton) Date: Wed, 21 May 2003 19:43:18 -0500 Subject: [pocket-linux] Mounting Hard Drives In-Reply-To: References: Message-ID: <3ECC1D26.1020900@megsinet.net> Dave Henderson wrote: > Does anyone know how to mount hard drives using pocket linux. I am > trying to mount a Microsoft formatted hard drive, but everytime I try it > gives me the error message: > > kmod: failed to exec /sbin/modprobe -s -k vfat, errno = 2 > mount: fs type vfat not supported by kernel > > I looked in the /dev directory only to find that there are no hda and > hda1 nodes. Even if I create them, I still get this error message. Any > help would be greatly appreciated. > > Thanks, > Dave Henderson Dave, From the error message it looks like Windows vfat is not supported by the kernel or was built as a module. You'll have to recompile with vfat as a built-in option and then it should work. Dave From pocket-linux@ufo.chicago.il.us Thu May 22 19:48:49 2003 From: pocket-linux@ufo.chicago.il.us (David Horton) Date: Thu, 22 May 2003 14:48:49 -0400 Subject: [pocket-linux] New version available Message-ID: <200305221848.h4MImnei046237@mail3.mx.voyager.net> Pocket Linux version 1.1 has been released and is available from The Linux Documentation Project web site at: http://www.tldp.org/guides.html. This version fixes several bugs and typos. From pocket-linux@ufo.chicago.il.us Tue May 27 22:29:31 2003 From: pocket-linux@ufo.chicago.il.us (David Horton) Date: Tue, 27 May 2003 16:29:31 -0500 Subject: [pocket-linux] [Fwd: Pocket Linux on a Hard disk] Message-ID: <3ED3D8BB.3090207@megsinet.net> This gentleman is looking to use the pocket linux guide a starting point=20 for building a hard-disk-based system. Is there anyone who has tried=20 this or who is interested in pursuing this? --Dave -------- Original Message -------- Subject: Pocket Linux on a Hard disk Date: Mon, 26 May 2003 01:33:38 -0700 From: Daniel Vargas To: Hello, my name is Daniel Noji : ) I have been using Linux for quite some time, but I am not knowledge about how Linux works =93under the hood=94 nor how to build a Linux syste= m from scratch. I=92ve been reading/following your guide on building Pocket Linux systems and found it much more successful than Linux From Scratch. But if I wanted to extend Pocket Linux by moving it to a more spacious hard disk, how would I do that? Would I have to install an empty hard disk into the host system? And aside from the Linux kernel, file utilities, device files, and configurations, are there any other essentials that are required for the most minimal foundation to build a full-fledged Linux system upon? I=92d appreciate any insight you could give me, thanks :D -Daniel From pocket-linux@ufo.chicago.il.us Wed May 28 22:07:11 2003 From: pocket-linux@ufo.chicago.il.us (David Horton) Date: Wed, 28 May 2003 16:07:11 -0500 Subject: [pocket-linux] Some tools for taking poket linux to a hard drive... In-Reply-To: <3ED3D8BB.3090207@megsinet.net> References: <3ED3D8BB.3090207@megsinet.net> Message-ID: <3ED524FF.8060109@megsinet.net> A couple days ago Daniel Noji asked if it was possible to use pocket linux to create a hard drive based install. I have done this, but it is not well documented at all. If anyone is interested in doing this, here are some things that I found helpful: 1. Use FHS (http://www.pathname.com/FHS) as your guide for deciding what to install. Just like in the pocket linux guide, you can look at FHS to find the commands you need in the root fs then search for them on ibiblio, sourceforge or whatever. 2. For a more comprehensive list of files and utilities, look at the Linux Standard Base specification (http://www.linuxbase.org). This has a lot of heavy information in it and I would suggest getting through the programs in FHS first. 3. When installing, try to make everything go into locations specified by FHS. This keeps the root fs nice and tight. Many programs will just spit all the files into /bin, /sbin or whatever. Personally I think if it's not in the FHS document under /bin (/sbin) then it doesn't belong there. 4. Write a script to automate the building process for a particular package. This will save a lot of time in typing if you have to build it again. I have several of the scripts I used that can be found at http://my.core.com/~dhorton/linux/recipes. The main file is called "chef" and it is responsible for setting variables and stuff and then calling one of the other "recipe" files. Double-check these before using them so as not to hose your system. They worked on my Slackware box, but I have not tried building on any other distros. Please let me know if this info is useful to anyone and if you're interested in more stuff like this. Dave From pocket-linux@ufo.chicago.il.us Wed May 28 23:02:28 2003 From: pocket-linux@ufo.chicago.il.us (pocket-linux@ufo.chicago.il.us) Date: Thu, 29 May 2003 00:02:28 +0200 (DFT) Subject: [pocket-linux] [Fwd: Pocket Linux on a Hard disk] In-Reply-To: <3ED3D8BB.3090207@megsinet.net> References: <3ED3D8BB.3090207@megsinet.net> Message-ID: <1054159348.3ed531f480711@webmail.jet2web.at> I haven't built a hard-disk-based system yet, but I'm working on it. The only problem i have is that the university takes too much of my spare time at the moment :) > I've been reading/following your guide on building Pocket > Linux systems and found it much more successful than Linux From Scratch. I agree completely ;) Although the LFS-guide is a good general guideline which things you need to get an autonomous system. > Would I have to install an empty hard disk into the host system? AFAIK should any empty partition do the trick And aside from the Linux kernel, file utilities, device files, and configurations, are there any other essentials that are required for the most minimal foundation to build a full-fledged Linux system upon? My idea of building such a system is: adapt the pocket-linux-guide to get a system running from harddisk (good references what you need / what you should have are at: http://www.pathname.com/fhs/ and http://www.linuxbase.org/) Get gcc running and make an internet-connection (an autonomous system should be able to download and compile everything under itself) After reaching this level everything should be possible to build without the need of another system. > I'd appreciate any insight you could give me, thanks :D Me too, I'm thankful for any suggestion/idea I haven't considered Greetz Daniel ------------------------------------------- Versendet durch AonWebmail (webmail.aon.at) From pocket-linux@ufo.chicago.il.us Thu May 29 01:50:50 2003 From: pocket-linux@ufo.chicago.il.us (David Horton) Date: Wed, 28 May 2003 19:50:50 -0500 Subject: [pocket-linux] [Fwd: Pocket Linux on a Hard disk] In-Reply-To: <1054159348.3ed531f480711@webmail.jet2web.at> References: <3ED3D8BB.3090207@megsinet.net> <1054159348.3ed531f480711@webmail.jet2web.at> Message-ID: <3ED5596A.9060901@megsinet.net> daniel_s@aon.at wrote: > I haven't built a hard-disk-based system yet, but I'm working on it. The only problem i have is that the university takes too much of my spare time at the moment :) > > >>I've been reading/following your guide on building Pocket >>Linux systems and found it much more successful than Linux From Scratch. > > > I agree completely ;) Although the LFS-guide is a good general guideline which things you need to get an autonomous system. > > >>Would I have to install an empty hard disk into the host system? > > > AFAIK should any empty partition do the trick > > And aside from the Linux kernel, file utilities, device files, and configurations, are there any other essentials that are required for the most minimal foundation to build a > full-fledged Linux system upon? > > My idea of building such a system is: > adapt the pocket-linux-guide to get a system running from harddisk (good references what you need / what you should have are at: http://www.pathname.com/fhs/ and http://www.linuxbase.org/) > > Get gcc running and make an internet-connection (an autonomous system should be able to download and compile everything under itself) > > After reaching this level everything should be possible to build without the need of another system. > > >>I'd appreciate any insight you could give me, thanks :D > > > Me too, I'm thankful for any suggestion/idea I haven't considered > > Greetz Daniel > I found some more "recipe" scripts to help with configuring and building packages like ftp, glibc, gcc and others that Daniel mentioned are needed to have an autonomous system. There are about fifty total scripts. These are older "recipes" and do not work with the "chef" wrapper-script. They're in the directory: http://my.core.com/~dhorton/linux/recipes/old_no_chef/ Be careful and read the script first before running it. Otherwise stuff might end up where you didn't expect it. I hope the recipes are helpful for anyone wanting to do a whole system on a hard drive. Let me know if you guys would like to pursue this full-system idea. --Dave From pocket-linux@ufo.chicago.il.us Fri May 30 13:33:14 2003 From: pocket-linux@ufo.chicago.il.us (pocket-linux@ufo.chicago.il.us) Date: Fri, 30 May 2003 14:33:14 +0200 (DFT) Subject: [pocket-linux] root double mounted? In-Reply-To: <1054159348.3ed531f480711@webmail.jet2web.at> References: <3ED3D8BB.3090207@megsinet.net> <1054159348.3ed531f480711@webmail.jet2web.at> Message-ID: <1054297994.3ed74f8a09d5e@webmail.jet2web.at> I've done chapter 4 and when testing it I have rootfs and /dev/root mounted on / does anyone know why this is? My mtab tells me: rootfs / rootfs rw ... /dev/root / ext2 ro ... after running the script local_fs (which remounts / as rw) i have: rootfs / rootfs rw ... /dev/root / ext2 rw ... also df shows me both mounts for / (of course with the same values for size and free disk space) In a newsgroup i found -snip- Is your /etc/mtab a symlink to /proc/mounts ? That is generally thought not to be a good idea. -snip- could that be the reason? - Daniel ------------------------------------------- Versendet durch AonWebmail (webmail.aon.at) From pocket-linux@ufo.chicago.il.us Fri May 30 15:47:49 2003 From: pocket-linux@ufo.chicago.il.us (David Horton) Date: Fri, 30 May 2003 10:47:49 -0400 Subject: [pocket-linux] root double mounted? Message-ID: <200305301447.h4UElgqt081645@mail5.mx.voyager.net> > I've done chapter 4 and when testing it I have rootfs and /dev/root mounted on / does anyone know why this is? > > My mtab tells me: > rootfs / rootfs rw ... > /dev/root / ext2 ro ... > > after running the script local_fs (which remounts / as rw) i have: > rootfs / rootfs rw ... > /dev/root / ext2 rw ... > > also df shows me both mounts for / (of course with the same values for size and free disk space) > In a newsgroup i found > -snip- > Is your /etc/mtab a symlink to /proc/mounts ? That is generally > thought not to be a good idea. > -snip- > could that be the reason? > > - Daniel > The /etc/mtab symlink to /proc/mounts probably is the reason this is happening although I have not seen it before. You might try altering the "local_fs" script to say "mount -n -o remount,rw /" instead of " mount -o remount,rw /". The "-n" option should stop mount from writing an entry to /etc/mtab (which is actually /proc/mounts) when the rootfs is remounted as read-write. Maybe this will stop the double-mount confusion. Dave From pocket-linux@ufo.chicago.il.us Fri May 30 17:32:34 2003 From: pocket-linux@ufo.chicago.il.us (David Horton) Date: Fri, 30 May 2003 12:32:34 -0400 Subject: [pocket-linux] root double mounted? Message-ID: <200305301632.h4UGWYoI049670@mail5.mx.voyager.net> > I've done chapter 4 and when testing it I have rootfs and /dev/root mounted on / does anyone know why this is? > > My mtab tells me: > rootfs / rootfs rw ... > /dev/root / ext2 ro ... > > after running the script local_fs (which remounts / as rw) i have: > rootfs / rootfs rw ... > /dev/root / ext2 rw ... > > also df shows me both mounts for / (of course with the same values for size and free disk space) > In a newsgroup i found > -snip- > Is your /etc/mtab a symlink to /proc/mounts ? That is generally > thought not to be a good idea. > -snip- > could that be the reason? > > - Daniel > I did some googling and found a discussion about the pros and cons of the /proc/mounts symlink on the LFS mailing list archives. The maintainer of util-linux (mount is part of util-linux) had written in and said: "If the symlink is not necessary for the setup as used by LFS, the instruction should be removed or be made optional." Here's the link: http://archive.linuxfromscratch.org/mail-archives/lfs-dev/2003/01/0093.html So, in the 2.0 version of the pocket linux guide the instructions will be changed to use the old-style /etc/mtab file without a symlink. Thanks for the tip, Daniel. Dave P.S. I've started a list of proposed changes for version 2.0 that is available on the resource site at: http://my.core.com/~dhorton/linux/pocket From pocket-linux@ufo.chicago.il.us Fri May 30 22:26:04 2003 From: pocket-linux@ufo.chicago.il.us (Dave Henderson) Date: Fri, 30 May 2003 17:26:04 -0400 Subject: [pocket-linux] compiling modules Message-ID: --=_2E71CA63.E283CCC9 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hi all, I am working with the pocket-linux project and are trying to allow it to have hard drive support. I have version 2.4.20 of the kernel, but only have 2.2.20 for the nls. I have tried to compile the new modules for the 2.4.20 kernel, but none will compile except nls_base.c. Can someone take a look at this and let me know what I am doing wrong. I just typed 'make' at the command prompt in that directory (~/linux-2.4.20/fs/nls). Thanks, Dave Henderson --=_2E71CA63.E283CCC9 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Content-Description: HTML
Hi all,
 
    I am working with the pocket-linux project and are trying to allow it to have hard drive support.  I have version 2.4.20 of the kernel, but only have 2.2.20 for the nls.  I have tried to compile the new modules for the 2.4.20 kernel, but none will compile except nls_base.c.  Can someone take a look at this and let me know what I am doing wrong.  I just typed 'make' at the command prompt in that directory (~/linux-2.4.20/fs/nls).
 
Thanks,
Dave Henderson
--=_2E71CA63.E283CCC9-- From pocket-linux@ufo.chicago.il.us Sat May 31 15:27:01 2003 From: pocket-linux@ufo.chicago.il.us (David Horton) Date: Sat, 31 May 2003 09:27:01 -0500 Subject: [pocket-linux] Preview of version 1.2 Message-ID: <3ED8BBB5.2060002@megsinet.net> There is an error in chapter 3 of version 1.1 where the "strip -o" library commands are. If anyone is troubled by this and would like to work from the 1.2 preview version it is available here: http://my.core.com/~dhorton/linux/pocket/html/1.2/index.html Dave From pocket-linux@ufo.chicago.il.us Sat May 31 19:34:35 2003 From: pocket-linux@ufo.chicago.il.us (pocket-linux@ufo.chicago.il.us) Date: Sat, 31 May 2003 20:34:35 +0200 (DFT) Subject: [pocket-linux] compiling modules In-Reply-To: References: Message-ID: <1054406075.3ed8f5bb8fdd6@webmail.jet2web.at> I am working with the pocket-linux project and are trying to allow it to have hard drive support. I have version 2.4.20 of the kernel, but only have 2.2.20 for the nls. I have tried to compile the new modules for the 2.4.20 kernel, but none will compile except nls_base.c. Can someone take a look at this and let me know what I am doing wrong. I just typed 'make' at the command prompt in that directory (~/linux-2.4.20/fs/nls). Hi Dave I have 2.4.19 and tried to 'make' in the directory you mentioned ('fs/nls') but there nothing compiles (not even nls_base) but I have nls_base.o, nls_iso8859-15.o and a nls.o in this directory which comes from compiling it into the kernel before (with the normal make in the top-level-directory of the kernel-sources) Have you enabled nls-support in the kernel-config? What is the output when you do 'make' in the 'fs/nls'-directory? - Daniel ------------------------------------------- Versendet durch AonWebmail (webmail.aon.at)