Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HI,
this is my first thread so forgive me for my mistakes ,
i was copying file on the boot directory , it says
The path to the kernel image may vary depending on the platform being used. The following command assumes an
x86 architecture:
What guide/book are you using? Link please! Also as I understand you are trying to do a custom kernel compilation? What distro are you using and why you need the custom kernel? Also what does that LFS 6.3 mean? And finally WHY are you dealing with 2.6.22 kernel, that is a VERY old kernel, first it is 2.6 series (we have 3.7 already) and second, the most current 2.6 series is 2.6.39 if I remember correctly and even that is more than a year old.
@dpak.verma.maa@gmail.com: Depending on your architecture (32/i386 or 64/x86_64) the kernel image is either created in arch/i386/boot/ or arch/x86_64/boot/ for this kernel (things have changed for the new 3.x kernels ).
BTW: wigry is correct in stating that all this is very old. Why didn't you build the current stable LFS?
PS: I've asked a moderator to move this thread to the LFS sub-forum.
LFS is quite interesting choice for a apparently relatively new Linux user. Too many ways to get your fingers burned but provides massive amount of experience and unfortunately frustration and disappointment but eventually pays off I guess.
Thank you every one for the reply,
Can we skip the following command before starting GRUB
dd if=/boot/grub/stage1 of=/dev/fd0 bs=512 count=1
dd if=/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1
GRUB uses its own naming structure for drives and partitions in the form of (hdn,m)
i have 2 partition e.g sda1 which is swap and sda2 is lfs partition
> is this command "root (hd0,1) " correct ?
Moved: This thread is more suitable in Linux From Scratch forum and has been moved accordingly to help your thread/question get the exposure it deserves.
Can we skip the following command before starting GRUB
dd if=/boot/grub/stage1 of=/dev/fd0 bs=512 count=1
dd if=/boot/grub/stage2 of=/dev/fd0 bs=512 seek=1
where dose this come from
sorry found it that command is for making a bootable floppy disc
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.