Re: [lfs-support] What Is "The" LFS Partition?

2012-11-07 Thread William Harrington
On Nov 5, 2012, at 10:04 AM, Feuerbacher, Alan wrote: I don't understand this at all. Later we mount the various partitions. Is that what you're referring to? Alan Let's get this thread back on topic, It's clear that you need to learn more about partitioning and creating filesystems wit

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-07 Thread Bruce Dubbs
Feuerbacher, Alan wrote: > Bruce wrote: >>> So what would you suggest for a machine that would ultimately be home >> to several distros, LFS and Windows, using GPT? Perhaps something like >> this (following the names from my own GPT installation)? >>> . . . >> >> I'd change /usr to /home, > > Is t

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-07 Thread Feuerbacher, Alan
Bruce wrote: > > Can you suggest any technical resources where I might learn the gory > details of this? > > Read the source: Look in GRUB ./grub-core/boot/i386/pc/boot.S Ok. > Every directory is written in the inode structure of it's parent. This > is implemented using hard links. To learn

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-07 Thread Scott
Perhaps this small example will clarify. /dev/sdc1 is my camera's sd card which I inserted in a usb slot, and I am in my home directory: [0 ~]$ mkdir duck [0 ~]$ echo "Hello World" >duck/test.txt [0 ~]$ ls duck test.txt [0 ~]$ sudo mount /dev/sdc1 duck [0 ~]$ ls duck dcim/ misc/ [0 ~]$ sudo umoun

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-07 Thread Thomas de Roo
  -Oorspronkelijk bericht- Van: Bruce Dubbs Verzonden: wo 07-11-2012 00:25 Onderwerp: Re: [lfs-support] What Is "The" LFS Partition? Aan: LFS Support List ; Ken Moffat wrote: > On Tue, Nov 06, 2012 at 03:43:57PM -0600, Bruce Dubbs wrote: >> >> I'd change /u

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Bruce Dubbs
Ken Moffat wrote: > On Tue, Nov 06, 2012 at 03:43:57PM -0600, Bruce Dubbs wrote: >> >> I'd change /usr to /home, otherwise it's OK. > > I'm _dubious_ about separating /opt : I tried that when I first set > aside an old machine for LFS, but it seems to me that almost > everything built in /opt wil

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Ken Moffat
On Tue, Nov 06, 2012 at 11:00:49PM +, Ken Moffat wrote: > On Tue, Nov 06, 2012 at 03:43:57PM -0600, Bruce Dubbs wrote: > > > > I'd change /usr to /home, otherwise it's OK. > > I'm _dubious_ about separating /opt : I tried that when I first set > aside an old machine for LFS, but it seems to

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Ken Moffat
On Tue, Nov 06, 2012 at 03:43:57PM -0600, Bruce Dubbs wrote: > > I'd change /usr to /home, otherwise it's OK. I'm _dubious_ about separating /opt : I tried that when I first set aside an old machine for LFS, but it seems to me that almost everything built in /opt will link to files in /usr/lib.

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Bruce Dubbs
Chris Staub wrote: > On 11/06/2012 03:21 PM, Feuerbacher, Alan wrote: >> Bruce wrote: >> Why does one have to create a directory with that name before executing the "mount" command? >>> >>> The system has to know where to attach the data structures in the file >>> tree. You could create

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Bruce Dubbs
Feuerbacher, Alan wrote: > Bruce wrote: > From other recent reading I now understand that this whole scheme is a kludge, and that's why it's not straightforward to understand. I always wondered why there was a limit of four primary partitions, and why there was even the notion

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Feuerbacher, Alan
> > Specifically, if you want to do "mount /dev/sda5 /mnt/lfs", but you > have to create the directory "/mnt/lfs" BEFORE you do the mount, then > where does the inode information about "/mnt/lfs" get written? I'm sure > I'm missing some details. > > > In the beginning, you just have the root filesy

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Henrik /KaarPoSoft
On 11/06/12 21:21, Feuerbacher, Alan wrote: > Ok, so mounting IS a lot more than just a way of looking at things. It's > doing something *physically*. That clears up a lot. > >>> Why does one have to create a directory with that name before >>> executing the "mount" command? >> The system has to

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Chris Staub
On 11/06/2012 03:21 PM, Feuerbacher, Alan wrote: > Bruce wrote: > >>> Why does one have to create a directory with that name before >>> executing the "mount" command? >> >> The system has to know where to attach the data structures in the file >> tree. You could create a script to do a 'mkdir -p ;

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Feuerbacher, Alan
Bruce wrote: > >> From other recent reading I now understand that this whole scheme is > >> a kludge, and that's why it's not straightforward to understand. > >> I always wondered why there was a limit of four primary partitions, > >> and why there was even the notion of primary partitions, as opp

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Henrik /KaarPoSoft
On 11/06/12 19:59, Feuerbacher, Alan wrote: > Seriously, this is among the most useful articles -- and I do mean > "article" -- that I've read about this topic. Thank you! Thank you for the nice words, I just hope it can help you... >> Suggestion: Stick to MBR for now! >> When you have learned ho

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Bruce Dubbs
Feuerbacher, Alan wrote: >> For historical reasons, the MBR scheme only allowed four >> partitions. And (using e.g. fdisk) you can create exactly four >> PRIMARY partitions. So, if you need four partitions or less, that's >> fine. But if you need more, one of the four partitions (usually the >> la

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Feuerbacher, Alan
Hi Henrik, > For your grandmother (-: I'll be sure to forward your email to her. ;-) Seriously, this is among the most useful articles -- and I do mean "article" -- that I've read about this topic. Thank you! > Suggestion: Stick to MBR for now! > When you have learned how it works, you may try

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Glendon Blount
t; --- Em ter, 6/11/12, Fernando de Oliveira escreveu: > > > De: Fernando de Oliveira > > Assunto: Re: [lfs-support] What Is "The" LFS Partition? > > Para: "LFS Support List" > > Data: Terça-feira, 6 de Novembro de 2012, 14:47 > > I have got tw

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Fernando de Oliveira
--- Em ter, 6/11/12, Fernando de Oliveira escreveu: > De: Fernando de Oliveira > Assunto: Re: [lfs-support] What Is "The" LFS Partition? > Para: "LFS Support List" > Data: Terça-feira, 6 de Novembro de 2012, 14:47 > I have got two ssd's burned, one,

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Bruce Dubbs
Henrik /KaarPoSoft wrote: > My suggestion - and really not more than just a suggestion trying to be > helpful: > > Do *not* try to play around with LVM before you understand the basics! > > FIRST: > Partition the disk with fdisk (or use GPT if you so prefer), and set > aside ONE partition for all

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Fernando de Oliveira
I have got two ssd's burned, one, when tried to resize partitions. []s, Fernando -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Henrik /KaarPoSoft
On 11/06/12 16:35, Feuerbacher, Alan wrote: > Bruce wrote: > >>> sda2 is not really a partition. It contains the extended partitions. >>> In your case, sda5 and sda6. >> Actually an extended partition is a partition, but it has sub- >> partitions. All this stuff is avoided with a GUID Partition Ta

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Baho Utot
On 11/06/2012 12:29 PM, Henrik /KaarPoSoft wrote: > On 11/05/12 17:12, Bruce Dubbs wrote: >> For an SSD drive, I suggest getting gptdisk (fdisk syntax) or gparted >> (challenging syntax) and partitioning the drive as a gpt drive. > I have been building on an old 32bit box with rotating disks. > I a

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Henrik /KaarPoSoft
On 11/05/12 17:12, Bruce Dubbs wrote: > For an SSD drive, I suggest getting gptdisk (fdisk syntax) or gparted > (challenging syntax) and partitioning the drive as a gpt drive. I have been building on an old 32bit box with rotating disks. I am considering buying a new 64bit box with SSD. So I wo

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Henrik /KaarPoSoft
On 11/05/12 14:24, Alan Feuerbacher wrote: > Howdy, > > I've done a major reset by giving up on installing an LFS system on my > old 32-bit computer, and am now installing it on a new 64-bit system. > The new system now has Fedora as the host system. It's installed on > /dev/sdb and I want to put L

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Bruce Dubbs
Simon Geard wrote: > On Mon, 2012-11-05 at 16:31 +, Feuerbacher, Alan wrote: >> Bruce wrote: >> >>> For an SSD drive, I suggest getting gptdisk (fdisk syntax) or gparted >>> (challenging syntax) and partitioning the drive as a gpt drive. The >>> first partition should be at sector 2048 or 1 MB

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Feuerbacher, Alan
Bruce wrote: > > sda2 is not really a partition. It contains the extended partitions. > > In your case, sda5 and sda6. > > Actually an extended partition is a partition, but it has sub- > partitions. All this stuff is avoided with a GUID Partition Table > (GPT) which is a lot more sane in the wo

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Simon Geard
On Mon, 2012-11-05 at 22:11 +, Feuerbacher, Alan wrote: > Ok. So is swap not considered a filesystem by convention, or for some other > reason? As the name suggests, the most important attribute of a filesystem is files. Whereas swap is a trick for using disk storage as if it were extra (albe

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Simon Geard
On Mon, 2012-11-05 at 16:31 +, Feuerbacher, Alan wrote: > Bruce wrote: > > > For an SSD drive, I suggest getting gptdisk (fdisk syntax) or gparted > > (challenging syntax) and partitioning the drive as a gpt drive. The > > first partition should be at sector 2048 or 1 MB. Make /boot 1 M, swa

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-06 Thread Simon Geard
On Mon, 2012-11-05 at 20:32 +, dennisjperk...@comcast.net wrote: > Partitions and filesystems are not identical on Linux/Unix systems. > You carve a drive up into partitions, and you are free to format each > partition with whatever filesystem you want. Every other operating > system I am awar

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Ken Moffat
On Mon, Nov 05, 2012 at 10:11:15PM +, Feuerbacher, Alan wrote: > Philippe Delavalade wrote: > > > > > sda is too big ; you are obliged to make a partition on it. > > Too big? The drive I'm going to use here is a new 3TB one I bought on sale a > few days ago. The SSD I was using until now is

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread dennisjperkins
12 1:49:20 PM Subject: Re: [lfs-support] What Is "The" LFS Partition? dennisjperk...@comcast.net wrote: > Partitions and filesystems are not identical on Linux/Unix systems. > You carve a drive up into partitions, and you are free to format each > partition with whatever filesys

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Philippe Delavalade wrote: > > Set up the partitions like this, using an ext4 filesystem: > > > > /dev/sda1 /boot 100M > > /dev/sda2 Extended Linux partition ~100G > > /dev/sda5 Linux swap 2G > > /dev/sda6 / ~98G > This see

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Philippe Delavalade
Le lundi 05 novembre à 21:11, Feuerbacher, Alan a écrit : > Thank you all very much for your advice! > > Here's what I propose to do now, given your inputs: > > Don't put LFS on the SSD -- use a regular hard drive. > > Set up the partitions like this, using an ext4 filesystem: > > /dev/sda1

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Bruce Dubbs
dennisjperk...@comcast.net wrote: > Partitions and filesystems are not identical on Linux/Unix systems. > You carve a drive up into partitions, and you are free to format each > partition with whatever filesystem you want. Every other operating > system I am aware of does not make this distinction.

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
dennisjperk...@comcast.net wrote: > ... > sda refers to the drive, not to the partitions that you have on the drive.  > You can make a partition the same size as the drive, but it is the partition > that contains the filesystem, not the drive. Thank you! That clears up a lot. Alan -- http://l

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread dennisjperkins
. - Original Message - From: "Alan Feuerbacher" To: "LFS Support List" Sent: Monday, November 5, 2012 1:11:04 PM Subject: Re: [lfs-support] What Is "The" LFS Partition? Thank you all very much for your advice! Here's what I propose to do now, given your inputs:

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Thank you all very much for your advice! Here's what I propose to do now, given your inputs: Don't put LFS on the SSD -- use a regular hard drive. Set up the partitions like this, using an ext4 filesystem: /dev/sda1 /boot 100M /dev/sda2 Extended Linux partition ~1

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Ken Moffat
On Mon, Nov 05, 2012 at 04:47:48PM +, Feuerbacher, Alan wrote: > > Why would I NOT use mke2fs immediately to make filesystems on sda1, sda2 and > sda5? I want to know enough to really understand what is going on > sufficiently that I could teach it to my grandmother. :-) If you are using ex

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Bruce Dubbs
Feuerbacher, Alan wrote: > Philippe Delavalade wrote: > >>> I read the man page for mke2fs and it's as clear as mud. And the >>> LFS book is completely unclear about exactly what is going on. >> >> The book suppose that you have some knowledge about linux and >> partitions :-) > > Well I do have *s

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Glendon Blount
I might suggest trying gentoo linux or at least look at the installation instructions. Using mke2fs does not remove your partitions it formats them to the desired file system and as for using a ssd drive up it might be better to use a standard drive for now until you can setup an environment that a

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Philippe Delavalade
Le lundi 05 novembre à 17:47, Feuerbacher, Alan a écrit : > Philippe Delavalade wrote: > > > > I read the man page for mke2fs and it's as clear as mud. And the LFS > > > book is completely unclear about exactly what is going on. > > > > The book suppose that you have some knowledge about linux an

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Ken Moffat
On Mon, Nov 05, 2012 at 08:24:32AM -0500, Alan Feuerbacher wrote: > Howdy, > > I've done a major reset by giving up on installing an LFS system on my > old 32-bit computer, and am now installing it on a new 64-bit system. > The new system now has Fedora as the host system. It's installed on > /

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Bruce wrote: > > One of the problems with learning the nuts and bolts of Linux is, as > > Richard Stallman wrote back in the 1990s, that the documentation is > > sparse at best. > > That's not true today. Ok, then, in addition to beating myself up with LFS, can you suggest any reading material

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Philippe Delavalade wrote: > > I read the man page for mke2fs and it's as clear as mud. And the LFS > > book is completely unclear about exactly what is going on. > > The book suppose that you have some knowledge about linux and > partitions > :-) Well I do have *some* knowledge. It's just a mat

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Bruce Dubbs
Feuerbacher, Alan wrote: > One of the problems with learning the nuts and bolts of Linux is, as > Richard Stallman wrote back in the 1990s, that the documentation is > sparse at best. That's not true today. -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Bruce wrote: > For an SSD drive, I suggest getting gptdisk (fdisk syntax) or gparted > (challenging syntax) and partitioning the drive as a gpt drive. The > first partition should be at sector 2048 or 1 MB. Make /boot 1 M, swap > 2G, / 20G, and /home as desired. I like to leave some space. I a

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Bruce wrote: > > But I still don't understand what I'm doing. > > I get the feeling that you are not ready for LFS. Use a standard > distro for a while. Perhaps you don't know how persistent I am. :-) Seriously, I've used Unix and Linux as a plain user for 33 years. Now I want to learn the nu

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Philippe Delavalade
Le lundi 05 novembre à 17:04, Feuerbacher, Alan a écrit : > Thank you! > > But I still don't understand what I'm doing. How do I know which of the > various devices (/dev/sdaN) is supposed to be used with mke2fs? > > I read the man page for mke2fs and it's as clear as mud. And the LFS book > is

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Bruce Dubbs
Feuerbacher, Alan wrote: > But I still don't understand what I'm doing. I get the feeling that you are not ready for LFS. Use a standard distro for a while. http://shop.oreilly.com/product/9780596007607.do -- Bruce -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://ww

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Bruce Dubbs
Philippe Delavalade wrote: > Le lundi 05 novembre à 14:24, Alan Feuerbacher a écrit : >> Howdy, >> >> I've done a major reset by giving up on installing an LFS system on my >> old 32-bit computer, and am now installing it on a new 64-bit system. >> The new system now has Fedora as the host system.

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Feuerbacher, Alan
Philippe Delavalade wrote: > > When I go to section 2.3 to create a file system "on the partition", > > the book says: > > > > > > To create an ext3 file system on the LFS partition, run the > following: > > > > mke2fs -jv /dev/ > > > > Replace with the name of the LFS partition

Re: [lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Philippe Delavalade
Le lundi 05 novembre à 14:24, Alan Feuerbacher a écrit : > Howdy, > > I've done a major reset by giving up on installing an LFS system on my > old 32-bit computer, and am now installing it on a new 64-bit system. > The new system now has Fedora as the host system. It's installed on > /dev/sdb a

[lfs-support] What Is "The" LFS Partition?

2012-11-05 Thread Alan Feuerbacher
Howdy, I've done a major reset by giving up on installing an LFS system on my old 32-bit computer, and am now installing it on a new 64-bit system. The new system now has Fedora as the host system. It's installed on /dev/sdb and I want to put LFS on a blank 256G SSD -- /dev/sda. In trying to f