LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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

Reply
 
LinkBack Search this Thread
Old 11-02-2012, 02:53 AM   #1
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Rep: Reputation: Disabled
Question 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!

Last edited by Forget-Me-Not; 11-02-2012 at 02:54 AM.
 
Old 11-02-2012, 03:21 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Forget-Me-Not View Post
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!
You mention you finished building LFS, which means you are able to boot into LFS (are you?).

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?
 
Old 11-02-2012, 03:57 AM   #3
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I don't know how to boot into LFS !
I'm thinking it is a command-line to login into LFS environment.

Last edited by Forget-Me-Not; 11-02-2012 at 04:00 AM.
 
Old 11-02-2012, 04:09 AM   #4
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Forget-Me-Not View Post
I don't know how to boot into LFS !
You mentioned you finished building LFS, which means you either have done chapter 8.4 ( Using GRUB to Set Up the Boot Process) or edited the bootloader that came with your host to add LFS. In both cases you should have an extra option during your boot process which reflects LFS. You need to choose that one to boot into LFS.

Quote:
I'm thinking it is a command-line to login into LFS environment.
After you finish LFS you have an extra OS, which is completely independent from your host. You need to boot into LFS before you can login as a user.
 
Old 11-02-2012, 04:46 AM   #5
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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?

Last edited by Forget-Me-Not; 11-02-2012 at 06:22 AM.
 
Old 11-02-2012, 06:27 AM   #6
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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'
 
Old 11-02-2012, 06:57 AM   #7
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
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:
This section is not required to boot your LFS system. You may just want to modify your current boot loader, e.g. Grub-Legacy, GRUB2, or LILO.
My question to you: Do you need to install grub or can you use the bootloader that came with your host?
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:
Originally Posted by Forget-Me-Not View Post
Here is it:
Writing to 'stdio:grub-img.iso' completed successfully.
.
.
This is part of 8.4.1, which creates an emergency disk. This isn't needed if you have a working bootloader or have a liveCD (any liveCD). The point here is that you have a means to access your system if something goes wrong and it will not boot any more. A liveCD is all you need to do so.

Quote:
Originally Posted by Forget-Me-Not View Post
How about SupperGrubDisk, druuna? Might you show me use SupperGrubDisk?
I don't have any experience with SupperGrubDisk and cannot help you with that.

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!).
 
Old 11-02-2012, 07:37 AM   #8
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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?

Last edited by Forget-Me-Not; 11-02-2012 at 07:40 AM.
 
Old 11-02-2012, 08:06 AM   #9
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371Reputation: 2371
Quote:
Originally Posted by Forget-Me-Not View Post
I need the bootloader that come with my host.
The LFS book only describes how to install grub(2), editing the bootloader that comes with your host is not part of LFS.

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?
 
Old 11-02-2012, 08:17 AM   #10
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,877
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
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:
...

However, it is important to take time to familiarise
yourself with the bootloader that you plan to use.
Check out the homepages for the bootloader (lilo's is not very
impressive):

[18]Grub

[19]Lilo

And the various HOWTO's, not all will be relevant for you:

[20]The Lilo mini-HOWTO

...
 
Old 11-02-2012, 08:20 AM   #11
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
When I rebooted Slackware, It had a message press <Tab> LILO prompt...
And then I press <Tab>. It is a terminal with

boot:
 
Old 11-02-2012, 08:26 AM   #12
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,877
Blog Entries: 2

Rep: Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805Reputation: 3805
Please READ the documentation!!!
 
Old 11-02-2012, 09:11 AM   #13
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
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!!!

Last edited by Forget-Me-Not; 11-03-2012 at 03:50 AM.
 
Old 11-03-2012, 04:08 AM   #14
Forget-Me-Not
Member
 
Registered: Oct 2012
Posts: 55
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I'm sorry! I don't know how to remind you thus I added this thread!
 
Old 11-03-2012, 03:52 PM   #15
stoat
Member
 
Registered: May 2007
Distribution: LFS
Posts: 394

Rep: Reputation: 124Reputation: 124
Quote:
Originally Posted by druuna in post #7

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!).
Quote:
Originally Posted by Forget-Me-Not in post #8

I need the bootloader that come with my host.
That right there makes me think that you want to keep your Slackware boot loader in place and add the LFS system to the Slackware boot menu. I've used Slackware, but in the distant past. And I used LILO even further in the past. So I, for one, am in no position to tell you to do anything to your Slackware boot loader. Maybe somebody else is willing. Unless they come along soon, I recommend that you seek help in the Slackware sub-forum about adding a new system to the Slackware LILO boot loader. I just don't see an LFS question here now.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to start blfs once lfs is finished bhismnarayan Linux From Scratch 5 03-14-2011 11:22 AM
Finished on LFS But how to continue in BLFS MajesticX Linux From Scratch 5 09-17-2008 07:12 AM
Doubleprompt in LFS-6.3 system after starting BLFS....?? andrew.sharp3 Linux - Software 0 01-15-2008 08:29 PM
GIMP Compile Problem, LFS 6.0 & BLFS 5.1 drowbot Linux From Scratch 2 12-10-2004 01:37 PM
Lfs & Blfs safrout Linux From Scratch 4 07-05-2002 07:27 AM


All times are GMT -5. The time now is 02:35 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration