>What do you suggest? I think 
>to create two partitions (physical hard disk partitions!) and install 
>my distribution on a partition and a LFS system on the other.

I suggest 4 primary partitions.
1. Boot partition.  Always like a boot partition first.  You could get creative 
with something like ttylinux or Tom's RooTBooT and create a stanza & initrd 
that would boot into a tiny rescue system.
2. Any other system
3. A swap partition.
4. Your LFS partition
And you could swap 2 & 4 if you please.


Paul Rogers  ([EMAIL PROTECTED])
http://www.xprt.net/~pgrogers/
Rogers' Second Law: "Everything you do communicates."
(I do not personally endorse any additions after this line. TANSTAAFL :-)


-- [EMAIL PROTECTED] wrote:
Send lfs-support mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://linuxfromscratch.org/mailman/listinfo/lfs-support
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of lfs-support digest..."


Today's Topics:

   1. R: Re: problem with my host system ([EMAIL PROTECTED])
   2. Re: R: Re: problem with my host system ( Ars?ne Derni?re )
   3. Re: R: Re: problem with my host system (Alan Lord)
   4. R: Re: R: Re: problem with my host system ([EMAIL PROTECTED])
   5. Re: R: Re: problem with my host system (Dan Nicholson)
   6. Re: R: Re: problem with my host system (Alan Lord)


----------------------------------------------------------------------

Message: 1
Date: Wed, 3 Oct 2007 10:49:08 +0100 (GMT+01:00)
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: R: Re: problem with my host system
To: <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;charset="UTF-8"

Acc! My Fedora system is really crashed. The rescue CD don't find my 
sistem. I'll install a new distribution.

Didn't 
you?

Thanks 

Massimo

----Messaggio originale----
Da: 
[EMAIL PROTECTED]
Data: 2-ott-2007 10.33 AM
A: <lfs-
[EMAIL PROTECTED]>
Ogg: Re: problem with my host system

[EMAIL PROTECTED] wrote:
> Hi, my name is Massimo, I'm going to install a 
LFS system next my host 
> system, a Fedora core 4 distribution.
> I 
followed the instructions by 
> LFS-book and the 
'lfs_next_to_existing_system.txt', creating a 
> directory in 
/home/LINUX_FROM_SCRATCH, mount --bind etc.
> I compiled and 
> 
installed succesfully binutils, then i unpackaged gcc and when it 
> 
finished to extract all files, exactly when it finished, a message of 
> system sayd Nautilus closed and all Desktop became empty. The system 
> was locked and I could close it only with the case's button. When I 
> restarted the PC, the boot message is:
> 
> Filesystem type is 
ext2fs, 
> partition type 0x83
> Kernel /vmlinuz-2.6.11-1.1369_FC4 ro 
> root=/dev/VolGroup00/LogVol00 rhgb quiet [Linux-bzImage, 
setup=0x1e00, 
> size=0x18e473]
> Initrd /initrd-2.6.11-1.1369_FC4.img 
[Linux-initrd @ 
> 0x13e3f000, 0x1a0f24 bytes]
> Uncompressing Linux... 
Ok, booting the 
> kernel.
> ACPI:BIOS age (1999) fails cutoff (2001), 
acpi=force is 
> required to enable ACPI
> Reading all physical 
volumes. This may take a 
> while...
> Incorrect metadata area header 
checksum
> Incorrect metadata 
> area header checksum
> Incorrect 
metadata area header checksum
> Unable to 
> find volume group 
"VolGroup00"
> ERROR: /bin/lvm exited abnormally with 
> value 5 ! (pid 
335)
> Mount: error 6 mounting ext3
> ERROR opening 
> 
/dev/console!!!!: 2
> Error dup2`ing fd of 0 to 0
> Error dup2`ing fd 
of 0 
> to 1
> Error dup2`ing fd of 0 to 2
> Switchroot: mount failed: 
22
> Kernel 
> panic - not syncing: Attempted to kill init!
> 
> and 
it's locked.
> What's 
> happened?
> 
> Thank you!
> 
> Massimo

Ooooops - from the messages, I'd guess that the fedora host was using 
LVM rather than direct hard disk partitions. You *might* have just 
crashed your whole fedora system... If I were you, I'd get a rescue CD 
from somewhere (maybe the fedora one?) that supports LVM, boot from 
that 
and see what the damage is... (The LFS LiveCD is a great host 
for 
building LFS and makes a good rescue CD but I don't know if it 
supports 
LVM directly).

Your problem *could* be pretty messy to fix. 
This is one reason why I 
have never used LVM - if something goes wrong 
"underneath" the LVM layer 
(and without it's knowledge), your entire 
disk system can be toasted!

If you don't know what LVM is or what I am 
talking about, google is your 
friend.

LVM allows Linux systems to 
manage disk partitions purely in a software 
sense. You can create, 
move, resize, merge, delete partitions without 
having to touch the 
physical hard disk partition table at all. In theory 
it is a nice idea 
and lots of people use it - especially in servers 
where disk space 
needs to be managed more efficiently. But, there are 
downsides to LVM 
too:

Performance - I don't think this has ever really been proven but 
it 
seems to me if there is a software layer abstracting the hardware, 
it 
*must* use some cpu cycles over and above direct hardware access.

Reliability - if you have a failure on your hardware (disks) and your 
LVM partitions span multiple disks, just one disk failure can bring 
the 
whole thing tumbling down.

Good Luck.

Alan
-- 
The way out is 
open!
http://www.theopensourcerer.com

-- 
http://linuxfromscratch.
org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.
org/lfs/faq.html
Unsubscribe: See the above information page





------------------------------

Message: 2
Date: Wed, 3 Oct 2007 12:17:24 +0200
From: " Ars?ne Derni?re " <[EMAIL PROTECTED]>
Subject: Re: R: Re: problem with my host system
To: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>,    "LFS Support List"
        <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

I think that's the best solution: having different partitions for
multiple distros, and you're always able to mount an other partition
as /home for all of them.
By the way, I read somewhere that Fedora core 4 wasn't a good choice
as a host. So check for a later version.

AD


-- 
Eat meat!


------------------------------

Message: 3
Date: Wed, 03 Oct 2007 11:34:05 +0100
From: Alan Lord <[EMAIL PROTECTED]>
Subject: Re: R: Re: problem with my host system
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

[EMAIL PROTECTED] wrote:
> Acc! My Fedora system is really crashed. The rescue CD don't find my 
> sistem. I'll install a new distribution.
> What do you suggest? I think 
> to create two partitions (physical hard disk partitions!) and install 
> my distribution on a partition and a LFS system on the other.
> Didn't you?

Hi Massimo,

Sorry to hear about your host system. Although I thought that was 
probably what had happened.

First, I'd make sure you are going to use an up-to-date host (Fedora 4 
is quite old). At the beginning of the LFS book here, 
http://www.linuxfromscratch.org/lfs/view/stable/prologue/hostreqs.html, 
it describes the minimum versions of various applications and libraries 
that you will need in order to successfully build LFS-6.3.

The alternative to a regular distro is to use LFS's own LiveCD, here: 
http://www.linuxfromscratch.org/livecd/. This is a great tool and will 
provide you with a host system, the software, and the book all on the 
CD. You can even install it to Hard Disk and use it from there.

Next, decide how to partition your hard disk(s). DO NOT USE lvm ;-). If 
you use a "normal" linux distro, I would create three partitions as a 
very minimum:

/dev/hda1: for your host environment.
/dev/hda2: swap space. At least the same size as your RAM if not double.
/dev/hda3: for lfs. I'd recommend about 10G but 5 or 6G is enough IIRC.

It is advisable to actually create more partitions than this. Personally 
I always have a separate partition for /home, so you can change your 
host system without losing your personal data.

I also tend to partition out /boot, /var, /srv, /usr and /opt. But 
that's my preference and not really necessary.

Hope this helps you to get started.

Oh yes, please don't "top post" your replies. It upsets some of the 
community. You can read the LFS FAQ on netiquette here: 
http://www.linuxfromscratch.org/faq/#netiquette

Cheers

Alan
-- 
The way out is open!
http://www.theopensourcerer.com



------------------------------

Message: 4
Date: Wed, 3 Oct 2007 13:08:27 +0100 (GMT+01:00)
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
Subject: R: Re: R: Re: problem with my host system
To: <[email protected]>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;charset="UTF-8"



>----Messaggio originale----
>Da: [EMAIL PROTECTED]
>Data: 3-ott-
2007 12.34 PM
>A: <[email protected]>
>Ogg: Re: R: Re: 
problem with my host system
>
>[EMAIL PROTECTED] wrote:
>> Acc! My Fedora 
system is really crashed. The rescue CD don't find my 
>> sistem. I'll 
install a new distribution.
>> What do you suggest? I think 
>> to 
create two partitions (physical hard disk partitions!) and install 
>> 
my distribution on a partition and a LFS system on the other.
>> Didn't 
you?
>
>Hi Massimo,
>
>Sorry to hear about your host system. Although I 
thought that was 
>probably what had happened.
>
>First, I'd make sure 
you are going to use an up-to-date host (Fedora 4 
>is quite old). At 
the beginning of the LFS book here, 
>http://www.linuxfromscratch.
org/lfs/view/stable/prologue/hostreqs.html, 
>it describes the minimum 
versions of various applications and libraries 
>that you will need in 
order to successfully build LFS-6.3.
>
>The alternative to a regular 
distro is to use LFS's own LiveCD, here: 
>http://www.linuxfromscratch.
org/livecd/. This is a great tool and will 
>provide you with a host 
system, the software, and the book all on the 
>CD. You can even 
install it to Hard Disk and use it from there.
>
>Next, decide how to 
partition your hard disk(s). DO NOT USE lvm ;-). If 
>you use a 
"normal" linux distro, I would create three partitions as a 
>very 
minimum:
>
>/dev/hda1: for your host environment.
>/dev/hda2: swap 
space. At least the same size as your RAM if not double.
>/dev/hda3: 
for lfs. I'd recommend about 10G but 5 or 6G is enough IIRC.
>
>It is 
advisable to actually create more partitions than this. Personally 
>I 
always have a separate partition for /home, so you can change your 
>host system without losing your personal data.
>
>I also tend to 
partition out /boot, /var, /srv, /usr and /opt. But 
>that's my 
preference and not really necessary.
>
>Hope this helps you to get 
started.
>
>Oh yes, please don't "top post" your replies. It upsets 
some of the 
>community. You can read the LFS FAQ on netiquette here: 
>http://www.linuxfromscratch.org/faq/#netiquette
>
>Cheers
>
>Alan
>-- 
>The way out is open!
>http://www.theopensourcerer.com
>
>-- 
>http:
//linuxfromscratch.org/mailman/listinfo/lfs-support
>FAQ: http://www.
linuxfromscratch.org/lfs/faq.html
>Unsubscribe: See the above 
information page
>

I think to take the suggest about LiveCD, and 
install e newer distro.
Thanks all

Massimo


------------------------------

Message: 5
Date: Wed, 3 Oct 2007 06:08:12 -0700
From: "Dan Nicholson" <[EMAIL PROTECTED]>
Subject: Re: R: Re: problem with my host system
To: "LFS Support List" <[email protected]>
Message-ID:
        <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

On 10/3/07, Alan Lord <[EMAIL PROTECTED]> wrote:
>
> Next, decide how to partition your hard disk(s). DO NOT USE lvm ;-). If
> you use a "normal" linux distro, I would create three partitions as a
> very minimum:

FWIW, Alexander uses LVM for everything (I think), and the LFS server
(setup by Gerard) is on an LVM raid. So, it can't be that bad. But, I
agree that if you don't know how LVM works, it's a lot easier to use
real partitions. Alternatively, he can create two partitions and let
Fedora use LVM in one with LFS in the other. Using LVM on a root
partition in LFS is a no go unless you start using Bryan Kadzban's
initramfs tools and build all the userspace tools.

--
Dan


------------------------------

Message: 6
Date: Wed, 03 Oct 2007 14:52:48 +0100
From: Alan Lord <[EMAIL PROTECTED]>
Subject: Re: R: Re: problem with my host system
To: [email protected]
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Dan Nicholson wrote:
  > FWIW, Alexander uses LVM for everything (I think), and the LFS server
> (setup by Gerard) is on an LVM raid. So, it can't be that bad. But, I
> agree that if you don't know how LVM works, it's a lot easier to use
> real partitions. Alternatively, he can create two partitions and let
> Fedora use LVM in one with LFS in the other. Using LVM on a root
> partition in LFS is a no go unless you start using Bryan Kadzban's
> initramfs tools and build all the userspace tools.
> 
> --
> Dan

Hi Dan,

I agree with your comments. My reply was really just for the OP who 
managed to completely hose his fedora system by (I guess) bind mounting 
/dev and an LFS partition under, or around, fedora's LVM.

I kind of see the benefits of LVM, but don't really get why it is so 
popular. If you span multiple discs with a volume group you basically 
double the risk of catastrophic failure with each disk added - just like 
raid 0 :-)

Alan
-- 
The way out is open!
http://www.theopensourcerer.com



------------------------------

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


End of lfs-support Digest, Vol 1302, Issue 1
********************************************


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to