LFS Installation disk creation

2009-11-25 Thread mathan kumar
Hello there

I've build my LFS system and i want distribute to my friends. Someone help
me how can i do that. What are the possible ways to obtain this.


Science is nothing but logic...

My PGP Key ID : 0x1828F6A9
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS Installation disk creation

2009-11-25 Thread Jan-Christoph Bornschlegel
mathan kumar schrieb:
 I've build my LFS system and i want distribute to my friends. Someone
 help me how can i do that. What are the possible ways to obtain this.

You should be able to just copy the partition.

BUT:
Your friends probably have different hardware. Therefore you'll run into
trouble at some steps.
- if you used compiler optimisations which are cpu specific the code
might not work on another or older one
- if the architecture is different, forget it -- different binaries
- if you tailored the kernel speciffically for your hardware (mainboard,
controllers etc.) it won't have the correct drivers for another board
- the boot setup is different depending on what kind of harddisks (and
controllers) and how many of them you had and your friends have

... and maybe some more problems I don't see right now.

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


Re: boot problem LFS 6.5

2009-11-25 Thread Simon Geard
On Tue, 2009-11-24 at 04:23 -0500, stosss wrote:
 IDE this is 5 or 6 year old hardware that still runs fine. I do have
 newer hardware in another box with SATA drives that will get LFS at
 some point.

Not sure I'd have the patience to run an LFS build on something that
old. I mean, I've been using LFS on my desktop machines since that
machine was an old Pentium II, but I think knowing that there's better
hardware available makes it more frustrating to wait for build times.

My current machine is a couple of years old and good for a few more, but
I just know I'd be happier with a new quad-core box... :)

Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: UDEV - Not Leaving Well Enough Alone

2009-11-25 Thread Simon Geard
On Tue, 2009-11-24 at 20:29 -0600, al...@verizon.net wrote:
 Speaking of USB, I do have my own slide off topic.
 I've been wondering why people still prefer/use _internal_
 opticals when USB, modern, versatile, sophisticated
 (like Blu-Ray) drives are so convenient, easy to share
 (especially with expensive burners), and easy to replace
 when, the next day after you got one, there's a new
 cheaper and better model hitting the market.  
 Let alone mitigating the power woes of the machine.
 True, some are not dirt cheap yet.

Because an external DVD writer costs on average three times what an
internal one does, and offers roughly half the read and write speeds. It
also adds clutter to my desk, and adds to the mess of cabling down the
back of the desk, not to mention the inevitable bulky AC/DC adapter
taking up several wall sockets.


Simon.


signature.asc
Description: This is a digitally signed message part
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: boot problem LFS 6.5

2009-11-25 Thread stosss
On Wed, Nov 25, 2009 at 5:06 AM, Simon Geard delga...@ihug.co.nz wrote:
 On Tue, 2009-11-24 at 04:23 -0500, stosss wrote:
 IDE this is 5 or 6 year old hardware that still runs fine. I do have
 newer hardware in another box with SATA drives that will get LFS at
 some point.

 Not sure I'd have the patience to run an LFS build on something that
 old. I mean, I've been using LFS on my desktop machines since that
 machine was an old Pentium II, but I think knowing that there's better
 hardware available makes it more frustrating to wait for build times.

The entire build from start to finish and that includes booting into
the new system was about 4 or 5 hours. I did not keep time by exact
measure. Just noted about when I started and about when I finished.
One of the big reasons it did not take longer is because I created a
lot of shell scripts and ran them one after the other. Making sure my
shell scripts were right took a lot longer.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: grub problem

2009-11-25 Thread su.sinnes
1) grub's kernel/linux line, the root=/dev/[is_incorrect] parameter
2) fstab's:  [is_incorrect] / root line

Kernel may panic if it can't find its system in (1)
Kernel may find (1), but (2) is wrong

(1) and (2) can even be different if the kernel can use it.

okay is there any other 64 bit boot loader that i can use instead of 
grub2?
i have tried:
installed kernel with every single thing with a *
changing my device map to  (sd0) /dev/sda
rebooted = error kernel panic
reverted to snapshot.

tried changing fstab in every variation i could think of.
rebooted every time
error kernel panic
reverted to snapshot.

changed the /boot/grub/grub.cfg and the fstab with every variation i 
could think of.
rebooted every time
error kernel panic
reverted to snapshot.

it must be grub2 that is the problem.

is there anything i can do? Or do i have to wait until the LFS book for 
64 bit with grub2 gets out?

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


Re: grub problem

2009-11-25 Thread linux fan
On 11/25/09, su.sinnes wrote:

 is there anything i can do?


We've all been down this road before ... whatever we do, grub doesn't
seem to work ...

You have gotten grub to load a kernel ... that is getting close.

The key marked PrtScr SysRq can stop the display from scrolling
while booting -- you have to be quick.
 / CTRL-Q resume scolling

Can you get with pencil and paper the messages that happen just before the pan
ic.


Does kernel config include CONFIG_EXT3_FS=y
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: UDEV - Not Leaving Well Enough Alone

2009-11-25 Thread Richard Melville
Bruce Dubbs wrote:-


 That works for you, but for most people, it's far easier to use a usb
 thumb drive with capacities in GB to do the same thing.

 Some very old systems do not have usb connections, but many, if not
 most, newer systems do not have a floppy drive.  Parallel printer
 connections have gone away too.

   -- Bruce


 Bruce, i have to say that I agree, but I'm not sure who is using those old
systems (that) do not have usb connections.

When all we had in the way of removable media was floppy disks then there
was no choice.  However, they were unreliable then just as they are today.
I remember buying packets of floppy disks only to find that when I started
to use them some were faulty.  Today we have a whole array of removable
media from which to choose.  It seems churlish, therefore, to select
something that is built on outdated and unreliable technology.

If I had my way I would round up all the floppy disks in the world and burn
them, thus doing everybody a favour.  And while I was at it I would throw
all those clunky old fax machines onto the same fire.

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


Re: grub problem

2009-11-25 Thread su.sinnes
The key marked PrtScr SysRq can stop the display from scrolling
while booting -- you have to be quick.
 / CTRL-Q resume scolling

Can you get with pencil and paper the messages that happen just 
before the panic.

it did not work i think it's because im on a laptop and i need to hold 
down the fn key to use prt sc and sysrq, and it is not supported.
neither did ctrl + s

Does kernel config include CONFIG_EXT3_FS=y

vim /boot/config-2.6.31.6
CONFIG_EXT3_FS=y
its on.
also CONFIG_ETX2_FS=y
CONFIG_ETX4_FS=y

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


5.5. GCC-4.4.1 - Pass 1

2009-11-25 Thread knothead00
Greetings: I am the 5.5. GCC-4.4.1 - Pass 1 section in LFS 6.5 book
using livecd.

I run the command: ln -vs libgcc.a `$LFS_TGT-gcc
-print-libgcc-file-name | sed 's/libgcc/_eh/'`

and  the results return: ( I ran it a couple of times)


lfs:/mnt/lfs/sources/gcc-build$ ln -vs libgcc.a `$LFS_TGT-gcc
-print-libgcc-file-name | sed 's/libgcc/_eh/'`
bash: i686-lfs-linux-gnu-gcc: command not found
ln: creating symbolic link `./libgcc.a': File exists


I am missing some library that needs to run previously?

Thanks.

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


Re: 5.5. GCC-4.4.1 - Pass 1

2009-11-25 Thread William Immendorf
On Wed, Nov 25, 2009 at 9:30 AM,  knothea...@gmail.com wrote:
 lfs:/mnt/lfs/sources/gcc-build$ ln -vs libgcc.a `$LFS_TGT-gcc
 -print-libgcc-file-name | sed 's/libgcc/_eh/'`
 bash: i686-lfs-linux-gnu-gcc: command not found
 ln: creating symbolic link `./libgcc.a': File exists
You messed up when building Binutils/GCC. Rebuild both packages,
following the book exactly.

-- 
William Immendorf
The ultimate in free computing.
Messages in plain text, please, no HTML.

--

Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: grub problem

2009-11-25 Thread Ken Moffat
2009/11/25 su.sinnes su.sin...@mail.com:
 1) grub's kernel/linux line, the root=/dev/[is_incorrect] parameter
 2) fstab's:  [is_incorrect] / root line
 
 Kernel may panic if it can't find its system in (1)
 Kernel may find (1), but (2) is wrong

 (1) and (2) can even be different if the kernel can use it.

 okay is there any other 64 bit boot loader that i can use instead of
 grub2?

 Well, you could use lilo (which needs bin86) - see the clfs
x86_64-64 book.  But I don't think it will be an efficient way
for you to proceed.

 If you get a kernel panic, that comes from linux - the
bootloader has done it's job.

 In the parameters you give the bootloader, there
is a line root=/dev/XYZ : you said you were using
a SATA drive, sothe root would normally be on e.g.
/dev/sda5.

 After that, it's down to the kernel's .config.

 Earlier, I think you said you were using vmware ?
This is probably the key to the problem - I'm guessing
it needs a specific disk driver, and perhaps that is
not part of the linux kernel (because vmware is a
proprietary product).  Maybe there is a vmware
support list or forum where you can ask for help ?

ĸen
-- 
After tragedy, and farce, OMG poneys!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: 5.5. GCC-4.4.1 - Pass 1

2009-11-25 Thread Ken Moffat
2009/11/25 William Immendorf will.immend...@gmail.com:
 On Wed, Nov 25, 2009 at 9:30 AM,  knothea...@gmail.com wrote:
 lfs:/mnt/lfs/sources/gcc-build$ ln -vs libgcc.a `$LFS_TGT-gcc
 -print-libgcc-file-name | sed 's/libgcc/_eh/'`
 bash: i686-lfs-linux-gnu-gcc: command not found
 ln: creating symbolic link `./libgcc.a': File exists
 You messed up when building Binutils/GCC. Rebuild both packages,
 following the book exactly.


Alternatively, maybe a problem with $PATH
(section 4.4).

Failing that, did you fail to run 'make install'
in section 5.5.1 ?

ĸen
-- 
After tragedy, and farce, OMG poneys!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: grub problem

2009-11-25 Thread linux fan
On 11/25/09, su.sinnes wrote:
 The key marked PrtScr SysRq can stop the display from scrolling
 it did not work i think it's because im on a laptop and i need to hold
 down the fn key to use prt sc and sysrq, and it is not supported.
 neither did ctrl + s

OOPS, I might have typed before I had my coffee ...

I might have meant the Pause Break key ... let me try that.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: grub problem

2009-11-25 Thread Bruce Dubbs
Ken Moffat wrote:

  Earlier, I think you said you were using vmware ?
 This is probably the key to the problem - I'm guessing
 it needs a specific disk driver, and perhaps that is
 not part of the linux kernel (because vmware is a
 proprietary product).  Maybe there is a vmware
 support list or forum where you can ask for help ?

I did a vmware build a while ago (looks like 2 years ago) -- LFS 6.3.  I 
didn't have any problems there.  I don't recall anything special, but 
all the IDE configs are on and also CONFIG_SCSI_BUSLOGIC.  The cdrom is 
/dev/hdc and I had configured it for two drives so I have sda and sdb.

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


Re: invalid conversion from 'const char*' to 'char*'

2009-11-25 Thread Fernando Oliveira
--- Em qua, 30/9/09, William Immendorf will.immend...@gmail.com escreveu:

 De: William Immendorf will.immend...@gmail.com
 Assunto: Re: invalid conversion from 'const char*' to 'char*'
 Para: BLFS Support List blfs-supp...@linuxfromscratch.org
 Data: Quarta-feira, 30 de Setembro de 2009, 21:04
 On Wed, Sep 30, 2009 at 6:52 PM,
 Fernando Oliveira fam...@yahoo.com.br
 wrote:
  Yesterday, I have installed gnome-games-2.18.2.1.

...

 What version of LFS and BLFS are you using? Gnome Games is
 not updated
 yet in SVN, I recommend you try a new version.
 
 William
 -- 


Sorry for taking so long, but I got stuck. First, I appreciate very much your 
response.

After your post, I have tried the then newest version: gnome-games-2.28.0, then 
the version used in Ubuntu 9.05, gnome-games-2.26.3. After several  
dependencies met, the set of games has been built, and I could not do better, 
chess and sudoku did not work, so I reverted to the BLFS version 
gnome-games-2.18.2.1, with just blackjack missing.

Afterwards I decided to star relearning C-language, hoping to change the 
programs every time a invalid conversion from 'const char*' to 'char* error 
appears, which it does quite frequently. It is taking too long to finish this, 
and I was postponing to reply after that, so my apologies again.

[]s,
Fernando Oliveira
Natal, RN, BRAZIL


  

Veja quais são os assuntos do momento no Yahoo! +Buscados
http://br.maisbuscados.yahoo.com
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: grub problem

2009-11-25 Thread linux fan
On 11/23/09, su.sinnes su.sin...@mail.com wrote:
 Hi im stuck with grub, as soon as i restart i get into the grub shell

I reserve the right to be wrong, but ...
While you can't compile the old grub under 64bit, you could still use
the old grub ... can't you?
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: UDEV - Not Leaving Well Enough Alone

2009-11-25 Thread Mike McCarty
Simon Geard wrote:
 On Mon, 2009-11-23 at 18:29 -0600, al...@verizon.net wrote:
 The last thing is to start a flame here;  I still see a
 need for floppies on Linux due to the relatively small
 sizes of files in need to be quickly sneakered among
 machines.
 
 Is this a machine predating USB? I can't imagine any other reason not to
 use flash drives for that purpose these days - dirt cheap, fit in a
 pocket, and I've honestly no idea where I could buy a new floppy disk
 these days...

Well, you don't use my machines, and on my machines, my rules
hold. When I bought a machine a few years ago, one of the first
things I did was put a floppy drive on it.

Remember the motto for LFS? My Machine, My Rules

Personally, I find arguing well you shouldn't be doing that
in cases like this to be non responsive to the OP's needs.

Whether you would chose to put a floppy drive on your machine is
irrelevant to the question. I use 'em. His question related to
why those extra devices were created, and that's what the
responses should address.

I have several machines I use which don't even HAVE USB interfaces,
nor a BIOS which could recognize them.

This is all IMO, of course.

Mike
-- 
p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: UDEV - Not Leaving Well Enough Alone

2009-11-25 Thread Mike McCarty
Bruce Dubbs wrote:
 
 That works for you, but for most people, it's far easier to use a usb 
 thumb drive with capacities in GB to do the same thing.

ISTM, this whole sub thread is plainly, and simply, OFF TOPIC.
 
 Some very old systems do not have usb connections, but many, if not 
 most, newer systems do not have a floppy drive.  Parallel printer 
 connections have gone away too.

Mike
-- 
p=p=%c%s%c;main(){printf(p,34,p,34);};main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: UDEV - Not Leaving Well Enough Alone

2009-11-25 Thread Jan-Christoph Bornschlegel
Good morning,

Am Mittwoch 25 November 2009 21:54:10 schrieb Mike McCarty:
 Simon Geard wrote:
 [...], and I've honestly no idea where I could buy a new floppy disk
  these days...

http://www.floppydisk.com/

SCNR :)

 Well, you don't use my machines, and on my machines, my rules
 hold. When I bought a machine a few years ago, one of the first
 things I did was put a floppy drive on it.
 [...]
 I have several machines I use which don't even HAVE USB interfaces,
 nor a BIOS which could recognize them.

I also own a rather old machine that serves as subversion repo and file server 
that can't boot from USB.

To get a little more offtopic here, there are fears among some scientists that 
our modern age will end up as one of the worst documented ever. You can't read 
some old data disks if you don't have a respective device anymore, and there's 
a lot of knowledge available in the online world which is not conserved in 
printed form. Some documents printed on supermarket terminals fade away even 
faster than you need to keep them for warranty, there are even recommendations 
to take a photocopy for legal reasons (this might be a special thing due to  
German bureaucracy, though).

IMHO the debade wether having a floppy drive or not are not only offtopic, but 
even completely meaningless.

As long as you compile the driver for FDD controllers into the kernel... ;)

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