Re: setting up file system

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
+ (text/plain)
Delete this message
Reply to this message
Author: Michael Butash
Date:  
To: plug-discuss
Subject: Re: setting up file system
Don't make your bootable an extended (I don't think this will work if I
remember right), and why is swap first?

Do yourself a favor, and unless dealing with windoze, just make your
bootable the first partiton. Give it 250mb, make it /boot, done. Get
jiggy with it any other way from there. That'll support raid, crypto,
lvm, btrfs, zfs, or whatever else you want to do as long as there's
always a clean /boot first and modules are hooked in your initrd.

-mb


On 07/25/2014 02:59 PM, Michael Havens wrote:
> Cool... it seems a more recent version of cfdisk will create
> filesystems but the version of cfdisk on the host system won't. How
> can I get that version? I tried to apt-get (thinking it was a more
> recent version) it but it couldn't find cfdisk and the package it
> comes in is already the most recent version. Could I download and
> compile it? or do you think cfdisk was modified by the distribution
> (mx14) it came on?
>
> :-)~MIKE~(-:
>
>
> On Fri, Jul 25, 2014 at 1:54 PM, Michael Havens <
> <mailto:bmike1@gmail.com>> wrote:
>
>     I was so excited! I installed the debian syatem but when I tried
>     to mount the LFS partition it said

>
>     "mount: wrong fs type, bad option, bad superblock on /dev/sda9,
>            missing codepage or helper program, or other error
>            In some cases useful info is found in syslog - try
>            dmesg | tail  or so"

>
>     then as I was trying to investigate the LFS partitions cfdisk
>     wouldn't even start and fdisk kept saying

>
>     "Warning: invalid flag 0x0000 of partition table 4 will be
>     corrected by w(rite)"

>
>     Writing didn't correct the problem so instead of bugging you I
>     figured that this might have something to do with the fact that I
>     set the  LFS partitions up when I installed debian. So I
>     reinstalled debian w/o setting up the LFS partitions and now now
>     cfdisk starts and I set the partitions up. But it won't let me
>     create the file system. this is what happens:

>
>     root@debian:~# mkfs -v -t ext4 /dev/sda6
>     mke2fs 1.42.5 (29-Jul-2012)
>     Could not stat /dev/sda6 --- No such file or directory
>     The device apparently does not exist; did you specify it correctly?

>
>     root@debian:~# fdisk /dev/sda
>     Command (m for help): p
>     Disk /dev/sda: 250.0 GB, 250000000000 bytes
>     255 heads, 63 sectors/track, 30394 cylinders, total 488281250 sectors
>     Units = sectors of 1 * 512 = 512 bytes
>     Sector size (logical/physical): 512 bytes / 512 bytes
>     I/O size (minimum/optimal): 512 bytes / 512 bytes
>     Disk identifier: 0x0007bc26
>        Device Boot      Start         End      Blocks Id  System
>     /dev/sda1            2048     7813119     3905536 82  Linux swap /
>     Solaris
>     /dev/sda2         7815166   488281249   240233042 5  Extended
>     /dev/sda5   *     7815168   105469951    48827392 83  Linux
>     /dev/sda6       437499848   476569864    19535008+ 83  Linux
>     /dev/sda7       476569928   488281249     5855661 82  Linux swap /
>     Solaris

>
>     as you can see the device does exist. sda1 is swap for the debian
>     system which is in sda5. sda6 is going to be the LFS system and
>     sda7 is going to be the swap for LFS when I get done.

>
>     Please, what did I do wrong or else what is the problem?

>
>     :-)~MIKE~(-:

>
>
>     On Thu, Jul 24, 2014 at 6:11 AM, Michael Havens <
>     <mailto:bmike1@gmail.com>> wrote:

>
>         well..... I just  realized that there must be a reason that
>         the glibc line was commented out in the LFS book so I'm not
>         going to worry about it. regarding your line I did enter it
>         and it  returned nothing. then I re-read the the text
>         concerning that and it finally dawned on me..... I want all of
>         them or none of them and if I only had 1 or two of them it is
>         okay to delete the ones that are there. I get there.... even
>         if it does take me a little longer. I wish this wasn't the
>         case but at least I can blame the head injury for the
>         difficulties. I'll start working on it when I get home from
>         work tonight.

>
>         :-)~MIKE~(-:

>
>
>         On Thu, Jul 24, 2014 at 5:27 AM, <
>         <mailto:kitepilot@kitepilot.com>> wrote:

>
>             Michael, have you even looked at what is in line 32 of
>             your version-check.sh?
>             Among other things, because 'glibc' is more than a program
>             (it is more like the whole engine running under the hood),
>             and your system would not even boot up is you don't have
>             'glibc' (which is a whole lot system)
>             You'll learn that as you read LFS.
>             Did you ever try:
>             find /lib/ /*/lib/ -name lib${X}.la
>             ET

>
>             Michael Havens writes:

>
>                 well, I didn't have a problem getting these files with
>                 a standard
>                 installation of debian; it was only after I tried with
>                 a net install of
>                 debia. So right now I'm downloading a current dvd iso
>                 of debian and after
>                 the install I'll see if that helps.
>                 :-)~MIKE~(-:

>
>                 On Tue, Jul 22, 2014 at 12:49 PM, Michael Havens
>                 < <mailto:bmike1@gmail.com>> 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 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-check.sh
>                     ---truncate---
>                     version-check.sh: line 32: glibc: command not found
>                     g++ compilation OK
>                     libgmp.la <http://libgmp.la>: found
>                     libmpfr.la <http://libmpfr.la>: found
>                     libmpc.la <http://libmpc.la>: not found

>
>                     :-)~MIKE~(-:

>
>                     On Tue, Jul 22, 2014 at 11:25 AM, Stephen
>                     Partington <
>                     <mailto:cryptworks@gmail.com>
>                     > wrote:

>
>                         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 material as well.
>                         *Snip*
>                         --
>                         A mouse trap, placed on top of your alarm
>                         clock, will prevent you from
>                         rolling over and going back to sleep after you
>                         hit the snooze button.
>                         Stephen

>
>                         ---------------------------------------------------
>                         PLUG-discuss mailing list -
>                         
>                         <mailto:PLUG-discuss@lists.phxlinux.org>
>                         To subscribe, unsubscribe, or to change your
>                         mail settings:
>                         http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>
>
>
>
>             ---------------------------------------------------
>             PLUG-discuss mailing list -
>             
>             <mailto:PLUG-discuss@lists.phxlinux.org>
>             To subscribe, unsubscribe, or to change your mail settings:
>             http://lists.phxlinux.org/mailman/listinfo/plug-discuss

>
>
>
>
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change your mail settings:
> http://lists.phxlinux.org/mailman/listinfo/plug-discuss


---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss