[lfs-support] Unsubscribe
Please unsubscribe me Sent from ProtonMail Mobile On Sat, Apr 25, 2020 at 8:47 AM, Furkan İnciroğlu wrote: > Hi there, > > When I have done LFS on Virtualbox, I could export my OS as a img > and ova file. When I want to deploy my OS into several device, I > should deploy it manually. For example; open ubuntu live and run dd > command, and copy my OS img to device disks. > > My question is, how can I automate this process? I thought, it's the > better idea to look some installer such as > https://github.com/linuxmint/live-installer. But I really wonder here, > first, should I convert my OS img to ISO file? > > Best Regards, > -- > http://lists.linuxfromscratch.org/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > > Do not top post on this list. > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > http://en.wikipedia.org/wiki/Posting_style-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] boot partition advice
Unsubscribe Sent from ProtonMail mobile Original Message On Oct 19, 2019, 1:13 PM, Pierre Labastie wrote: > On 19/10/2019 18:52, hazel debian wrote: > >> On Sat, Oct 19, 2019 at 5:39 PM Pierre Labastie >> wrote: >> >>> On 19/10/2019 17:07, Trent wrote: >>> On 10/17/19 6:26 AM, hazel debian wrote: > You should not mount the "BIOS boot" partition at /boot or anywhere else. > In fact you don't even need to have a filesystem on it. GRUB installs > its second part on that empty partition, and the first part (which is in > the dummy MBR) should locate it by its physical address. > > I think you may be confusing this with the "boot partition" mentioned in > the book, which is actually something quite different. It is a normal > partition with a filesystem on it that is used to contain kernels when > you are multibooting LFS with other Linuxes. The team recommend having > this common boot partition for all your systems and mounting it on /boot > in each of them. I finished the rebuild on a single partition, with the "bios_grub" flag set. >>> >>> Hmm, it's not what Hazel has written. On a GPT partition system, >>> you need at least two partitions (OK not mandatory, but easiest): one which >>> is the "bios boot" >>> (flag bios_grub in parted), which can be very small (1MB), and another one >>> for the system. >>> Of course, you may have more partitions if you want separate partitions for >>> /boot, /home, or /usr. >>> Do not format the "bios boot" partition, do not try to mount it. Mount the >>> second partition on /mnt/lfs instead. Build your system on it, then you can >>> install grub. >>> >>> Pierre >>> -- >> >> I've always dual-booted LFS with other LInuxen and I've never actually >> needed to use a separate /boot partition. But maybe that's because I always >> used lilo (and more recently elilo) as my bootloader and not grub as >> recommended. > > Actually, I do not have a separate boot partition anymore. Usually, > I have one major distro + one or more LFS on my systems. I use > the /boot/grub/grub.cfg of the distro to boot everything, and even, > I now use "update-grub" to update the config for the lfs systems. > It generates a pretty correct config _if_ I have a /boot/grub/grub.cfg > file on each lfs partition for the corresponding lfs system. That works > pretty well with debian ubuntu suse (not tried fedora). > > Pierre-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] boot partition advice
Unsubscribe Sent from ProtonMail mobile Original Message On Oct 19, 2019, 2:03 PM, Ed Batalha wrote: > Trent wrote: >> >> On my first try with LFS, I did version 8.4 systemd on an SSD with all >> files in one partition. >> >> It boots just fine. >> >> I just did version 9.0 systemd on another SSD, all in one partition also. >> >> >> However, in Chapter 8.4.3 Setting Up the Configuration, I ran into an >> issue with this different SSD >> >> (grub-install /dev/sda) >> >> http://www.linuxfromscratch.org/lfs/view/stable-systemd/chapter08/grub.html >> >> Since I would not be booting with UEFI, I picked the "|--target i386-pc."| >> >> |What I got in return from this, unlike the previous SSD:| >> >> | >> | >> >> |Installing for i386-pc platform. >> grub-install: warning: this GPT partition label contains no BIOS Boot >> Partition; embedding won't be possible. >> grub-install: warning: Embedding is not possible. GRUB can only be >> installed in this setup by using blocklists. However, blocklists are >> UNRELIABLE and their use is discouraged.. >> grub-install: error: will not proceed with blocklists.| >> >> |Doing some research, I see would need to create a boot partition.| >> >> |Using gparted, I reduced the size of the single partition, and moved >> it away from the start of the drive. I then made an ext2 partition, >> and marked it with a flag of bios_grub as what I read I should do. >> However, now it is being labeled as sdX2, if that makes any difference. >> | >> >> | >> | >> >> |I then when and remounted the LFS partition, and also the new boot >> partition. I reran the grub command ||and returned:| >> >> |Installing for i386-pc platform. >> Installation finished. No error reported.| >> >> |This was the same result as the previous SSD on a single partition, >> but now got the boot partition.| >> >> | >> | >> >> |I then set up fstab again with the following:| >> >> | >> | >> >> |# Begin /etc/fstab >> # file system mount-point type options dump fsck >> # order >> | >> >> |/dev/sda2 /boot ext2 defaults 0 2 >> /dev/sda1 / ext4 defaults 1 1 >> | >> >> | #/dev/ swap swap pri=1 0 0 (no swap) >> # End /etc/fstab >> EOF >> | >> >> | >> | >> >> | >> | >> >> |I then copied all the files from /mnt/lfs/boot to the now mounted >> boot partition I have verified they are in the boot partition.| >> >> |I then stuck the drive in the system I want to boot.| >> >> |All I am getting on screen is:| >> >> |"GRUB _ <-(blinking cursor)"| >> >> |Any advice on what I did wrong?| >> >> | >> | >> >> |Thanks! >> | >> > Hi, > > This article explains really well the way that Grub2 works and why it > works the way it does. > > http://moi.vonos.net/linux/Booting_Linux_on_x86_with_Grub2/ > > I hope you're able to find the answers you need here. > > Regards, > Ed Batalha > -- > http://lists.linuxfromscratch.org/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > > Do not top post on this list. > > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing? > A: Top-posting. > Q: What is the most annoying thing in e-mail? > > http://en.wikipedia.org/wiki/Posting_style-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] tclInt.h error in Expect-5.45.4
Received this error message when running ./config for Expect-5.45.4 in LFS Stable 8.4: "checking for Tcl private include files... configure: error: Cannot find private header tclInt.h in /mnt/lfs/sources/tcl8.6.9" I looked in the tcl8.6.9 file and the only reference to tclInt.h is in the second line of the file but it is in the initial comment section. How can I get the tclInt.h error fixed. Thanks Sent with [ProtonMail](https://protonmail.com) Secure Email.-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style