Re: Failure to boot
When booting my lfs installation, I get the following errors: swapon: cannot stat dev/sda3: no such file or directory fsck.ext3: No such file or directory while trying to open /dev/sda4 I suspect this is due to my grub configuration. Rather than installing grub, I added these lines to menu.lst on my host system: title LFS 6.3 root (hd0,3) kernel /boot/lfskernel-2.6.22.5 root=/dev/hda4 I'm assuming that the grub menu.lst that you edited on your host system is on sda2 (Ubuntu). If these are the files that you are using to boot LFS then your LFS entry on the second line should read root (hd0,1), *not* root (hda0,3). As far as I know grub only recognises the hd disk nomenclature, so even if the kernel sees your disks as sd grub will still see them as hd, so the above is correct. Richard -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Re: Failure to boot
Hi David, On Mon, Aug 11, at 08:25 David Goss wrote: Tobias Gasser wrote: I just double checked with gparted to make sure lfs is indeed on sda4, and it is. I also checked my kernel configuration and I did indeed rebuild it with the proper modules. Drivers that are essential to boot procedure, (you) have to compile (them) into the kernel and not as modules. -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: Failure to boot
On Mon, Aug 11, 2008 at 5:25 PM, David Goss [EMAIL PROTECTED] wrote: I recompiled the kernel, but the problem persists. This is the exact error: Root-FFS: No NFS server available, giving up VFS: Unable to mount root fs via NFS, trying floppy VFS: Cannot open root device sda4 or unknown-block(2,0) Please append a correct root= boot option; here are the available partitions 0300 156290904 hda driver: ide-disk 0301 102398278 hda1 0302 29294527 hda2 0303 979965 hda3 0304 23615550 hda4 1600 4194302 hdc driver: ide-cdrom Kernel panic -not syncing: VFS: Unable to mount root fs on unknown-block(2,0) Since the block device is hda, this would indicate that the kernel is using the IDE driver. So, you can boot with root=/dev/hda4 fine (should be able to, anyway). Is your disk SATA? If you want, you can use the PATA drivers that come with libata. Then you'll get /dev/sd* devices just like on Ubuntu. It all depends how you configure your kernel. I explained the CONFIG options needed in a recent thread. Maybe it's the other one that was mentioned. See here: http://linuxfromscratch.org/pipermail/lfs-support/2008-July/034644.html http://linuxfromscratch.org/pipermail/lfs-support/2008-July/034648.html -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
Re: lfs-support Digest, Vol 1515, Issue 2
I am using the lfs 6.3 book with the lfs liveCD as my installation medium and when trying to compile it exits with the error given below //ERROR gcc -B/tools/bin/ ../sysdeps/unix/sysv/linux/signal.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -mpreferred-stack-boundary=2 -I../include -I/mnt/lfs/tools/glibc-build/signal -I/mnt/lfs/tools/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/include -isystem /tools/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /mnt/lfs/tools/glibc-build/signal/signal.o -MD -MP -MF /mnt/lfs/tools/glibc-build/signal/signal.o.dt -MT /mnt/lfs/tools/glibc-build/signal/signal.o gcc -B/tools/bin/ ../nptl/sysdeps/unix/sysv/linux/raise.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -mpreferred-stack-boundary=2 -I../include -I/mnt/lfs/tools/glibc-build/signal -I/mnt/lfs/tools/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/include -isystem /tools/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /mnt/lfs/tools/glibc-build/signal/raise.o -MD -MP -MF /mnt/lfs/tools/glibc-build/signal/raise.o.dt -MT /mnt/lfs/tools/glibc-build/signal/raise.o gcc -B/tools/bin/ ../sysdeps/posix/killpg.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -mpreferred-stack-boundary=2 -I../include -I/mnt/lfs/tools/glibc-build/signal -I/mnt/lfs/tools/glibc-build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I.. -I../libio -I. -nostdinc -isystem /mnt/lfs/tools/bin/../lib/gcc/i686-pc-linux-gnu/4.1.2/include -isystem /tools/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -o /mnt/lfs/tools/glibc-build/signal/killpg.o -MD -MP -MF /mnt/lfs/tools/glibc-build/signal/killpg.o.dt -MT /mnt/lfs/tools/glibc-build/signal/killpg.o gcc -B/tools/bin/ ../sysdeps/unix/sysv/linux/i386/sigaction.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -g -Wstrict-prototypes -mpreferred-stack-boundary=2 -DWRAPPER_INCLUDE='nptl/sigaction.c' -I../include
CD writer support
Hi. I have a CD/DVD writer on my new computer which seems to be not quite compatible. Let's see : nico [ ~ ]$ cdrecord -scanbus Cdrecord-ProDVD-ProBD-Clone 2.01.01a42 (i686-pc-linux-gnu) Copyright (C) 1995-2008 Jörg Schilling Linux sg driver version: 3.5.27 Using libscg version 'schily-0.9'. scsibus1001: 1001,0,0 100100) * 1001,1,0 100101) 'HL-DT-ST' 'DVD-RAM GSA-H55N' '1.04' Removable CD-ROM 1001,2,0 100102) * 1001,3,0 100103) * 1001,4,0 100104) * 1001,5,0 100105) * 1001,6,0 100106) * 1001,7,0 100107) * With K3b, I can burn DVDs, but no CD (neither R or RW). Can you help me trace the problem ? \bye -- Nicolas FRANCOIS | /\ http://nicolas.francois.free.fr | |__| X--/\\ We are the Micro$oft. _\_V Resistance is futile. You will be assimilated. darthvader penguin -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page