starting BLFS when finished LFS in Slackware & Please help me!
I use Slackware 13.37 to install LFS in partition sda2 # ext3
I finished LFS http://www.linuxfromscratch.org/lfs/...09/reboot.html I know BLFS will start with chapter 3 http://www.linuxfromscratch.org/blfs...b-release.html But I don't know how will be able to start environment working of BLFS. P/S: Somebody told me no chroot environment.Then I logined Slackware, I didn't know how could login into my partition sda2(LFS). This one has taken me a lot of time. Please help me! Thank you very much! |
Quote:
The newly build LFS, although minimal, is the perfect environment to start building the parts from BLFS you want/need. There's no need any more for your host system at this point. Can you elaborate a bit more about your actual problem? |
I don't know how to boot into LFS !
I'm thinking it is a command-line to login into LFS environment. |
Quote:
Quote:
|
I have the problem with GRUB2
http://www.linuxfromscratch.org/lfs/...er08/grub.html Here is it: Writing to 'stdio:grub-img.iso' completed successfully. xorriso 1.2.4 : RockRidge filesystem manipulator, libburnia project. libburn : SORRY : Cannot open busy device '/dev/sr0' : Device or resource busy libburn : FAILURE : Cannot access '/dev/sr0' as SG_IO CDROM drive xorriso : FAILURE : Cannot aquire drive '/dev/sr0' xorriso : FAILURE : -as cdrecord: Job could not be performed properly. xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE' How about SupperGrubDisk, druuna? Might you show me use SupperGrubDisk? |
By the way
Writing to 'stdio:grub-img.iso' completed successfully. It means that Grub's okey And the problem is "burn CD out" libburn : FAILURE : Cannot access '/dev/sr0' as SG_IO CDROM drive xorriso : aborting : -abort_on 'FAILURE' encountered 'FAILURE' |
First of all: Do not edit (completely remove and write something else) your posts.
Post #5 originally indicated that you would inform us at a later stage, you removed that statement and posted about what you encountered instead. I and probably most of the people that are actively helping do not re-read post. We are alerted automatically if a new post is made and only then I return to a thread. If you wouldn't have made post #6 I wouldn't have known you completely changed a previous post you made. About your problem: As stated in the beginning of the chapter: Quote:
If a bootloader is already present I would advise you to use that one instead. Why replace an already existing bootloader (unless you want to remove your host at a later stage, in that case you do need to install grub). Quote:
Quote:
The first thing you need to do is to decide what you want/need to do: 1) Use the bootloader that came with your host, 2) Install grub as described in the LFS book (which will remove your original bootloader!). |
Apoligize!
I need the bootloader that come with my host. I followed instruction in the book http://www.linuxfromscratch.org/lfs/...ble/index.html I couldn't find where did they talk about the bootloader in the book? |
Quote:
There are 3 bootloaders that are generally used with Linux: Lilo, grub or grub2. Which one is used by Slackware nowadays, do they still use lilo? |
Slackware is still using Lilo, yes, and you can read up in Slackware's documentation (the Slackbook has a chapter about that) how to set it up.
When I see your posts here it comes to my mind that you have used LFS as an excercise on copy&paste, not for learning how Linux actually works, and that you have not read the recommended texts mentioned on the Prerequisite page of LFS, where the page with the hints explicitly states: Quote:
|
When I rebooted Slackware, It had a message press <Tab> LILO prompt...
And then I press <Tab>. It is a terminal with boot: |
Please READ the documentation!!!
|
cd /boot
In my boot directory, It has not second kernel with ext3 support root@localhost:/boot# ls README.initrd@ config@ map System.map@ config-generic-2.6.37.6 slack.bmp System.map-generic-2.6.37.6 config-generic-smp-2.6.37.6-smp vmlinuz@ System.map-generic-smp-2.6.37.6-smp config-huge-2.6.37.6 vmlinuz-generic-2.6.37.6 System.map-huge-2.6.37.6 config-huge-smp-2.6.37.6-smp vmlinuz-generic-smp-2.6.37.6-smp System.map-huge-smp-2.6.37.6-smp diag1.img vmlinuz-huge-2.6.37.6 boot.0800 diag2.img vmlinuz-huge-smp-2.6.37.6-smp boot_message.txt initrd-tree/ I didn't uninstall LILO. I don't understand when will LILO be uninstalled? I didn't interact at boot time. I think "interact at boot time" will be done at the final step. I don't know how to add second kernel with ext3. Please help me!!! Thank you very much!!! |
I'm sorry! I don't know how to remind you thus I added this thread! :cry:
|
Quote:
Quote:
|
I posted "adding a new system to the Slackware LILO boot loader" on Slackware-SubForum as you suggest
http://www.linuxquestions.org/questi...me-4175435521/ While waiting Slackware-SubForum's help. I'm worrying that will take a long time for giving the answer. Might I do it with SupperGrub2Disk? http://www.supergrubdisk.org/super-grub2-disk/ I mean I will uninstall LILO of Slackware and install SupperGrub2Disk on the LFS. However I will research about SupperGrub2Disk, I don't know how to use it before. Hope you help me! Thank you very much! |
Quote:
Quote:
|
Like(facebook). :D
|
Okay. So I saw your post in the Slackware forum. It's trying to boot now. I don't want to post over there. But I recommend against that guy's idea to create an initial ramdisk for drivers. That is possible (there is a hint article about it), but the classic LFS way to handle that is by building in things that the kernel needs to boot. And today one guy over there referred you to the v6.5 LFS book as the newest version. Uh, maybe we should continue on here until you need Slackware boot loader help again.
The kernel is loading and starting its message spew, then stops very early. I recommend that you review your kernel config for file system and storage device support at this point. And it should be built in (* or =y), not modules (M or =m). That is the kind of stuff that can stop it from booting early. Another common error these days (I made it, too) is to forget to build in support for devtmpfs. Your LFS system will not boot without that. Not everything has to be built in. I have lots of modules, too. But this stuff needed for booting has to be built in. Here, only as an example of what I mean, are some snippets from my kernel menuconfig notes regarding these kinds of filesystem and storage device things. I don't mean for you to mindlessly copy this stuff. Just review yours and make sure it accommodates your filesystem and hardware. A good idea for the hardware stuff is to examine the drivers in use by your host system, then see to it that the ones needed before the filesystem is mounted are built in to your LFS kernel... Code:
| P.S.: No promises for any of this. You may have a lot more work to do. But that stuff you're getting in the Slackware forum today will just have you wandering off into the tall weeds. I promise you that. |
Thank you so much stoat!
|
All times are GMT -5. The time now is 03:54 PM. |