Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error : failed copying 'chain.c32' #36

Open
mohit000001 opened this issue May 21, 2022 · 4 comments
Open

Error : failed copying 'chain.c32' #36

mohit000001 opened this issue May 21, 2022 · 4 comments

Comments

@mohit000001
Copy link

I have created and complied all the lfs things using their book (lfs 11.01). Now i was using 03-mkiso of yours script to create an iso image for my lfs system but getting following error.

:: Preparing isolinux files...
cp: cannot stat '/mnt/lfs/usr/share/syslinux/chain.c32': No such file or directory
ERROR: failed copying 'chain.c32'

Please provide solution for this.

@emmett1
Copy link
Owner

emmett1 commented May 21, 2022

Do you install grub into your lfs?

@mohit000001
Copy link
Author

mohit000001 commented May 21, 2022

@emmett1 yes , used following as per the lfs book.
"grub-install /dev/sda "

cat > /boot/grub/grub.cfg << "EOF"
set default=0
set timeout=5
insmod ext2
set root=(hd0,msdos3)
menuentry "GNU/Linux, Linux 5.16.9-lfs-11.1" {
linux /boot/vmlinuz-5.16.9-lfs-11.1 root=/dev/sda3 ro
}
EOF

@emmett1
Copy link
Owner

emmett1 commented May 22, 2022

No, i mean do you install grub into your lfs system? Not generate grub config.

@mohit000001
Copy link
Author

Yes I do install grub package. It is in list of lfs packages of chapter 8. chapter 8.59 - GRUB-2.06. I have installed that in lfs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants