LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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
  Search this Thread
Old 01-28-2007, 03:53 PM   #16
raskin
Senior Member
 
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900

Rep: Reputation: 69

Not that I really know that much about many possible situations (only about few I had myself or helped to sort out) or about internals, but I pretend to know where to look to get lots of info. Mystical not found files are strace's job, not human brain's one. And yes, I know what people with solved difficult problems end up posting, so I propose to post it earlier rather than later (though 16 messages is already not so early to do it).
 
Old 01-29-2007, 09:52 AM   #17
pannet1
Member
 
Registered: May 2005
Location: India
Distribution: Fedora Core 7
Posts: 47

Original Poster
Rep: Reputation: 15
Dear Sweet Daws + Raskin,

My RHCE man who was doing this for me for quite a while got frustrated and gone for a vacation. This is stalled for some time. I will post the outcome after trying what you (Raskin) have suggested. I cant ask for more than your guesses. I am thankful for your time.

We will post our queries again to LFS and other forums. Either way will inform you all about the outcome at the end of this chain.

best personal regards
 
Old 03-19-2007, 01:01 AM   #18
zalmaygul
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Red face lfs partition grub>root(hd0,4)--->says file system unknown partition type 0xb

Respected lfs-6.2 experience members
please help me as I am in final stage of lfs-6.2
I have followed the lfs-6.2 book by all means and installed all the modules of lfs-6.2
Now at grub prompt
when I issue
grub>root (hd0,4) that is hda5 my lfs partition it says
filesystem unknown partition type 0xb
I have Redhat 9(2.6.8) as host system on hda7
And swap on hda8
And windows on hda1
please help me why my lfs partition filesystem is unknown wy not it is ext3
I am a newbe and have no idea what to do and how to tackle this problem
zalmay

Last edited by zalmaygul; 04-04-2007 at 01:22 AM.
 
Old 03-24-2007, 02:47 PM   #19
pannet1
Member
 
Registered: May 2005
Location: India
Distribution: Fedora Core 7
Posts: 47

Original Poster
Rep: Reputation: 15
unable to boot from lfs 6.2 after kernel compilation

Dear Daws + Raskin,

Good News !

We have finally succeeded the booting into the LFS kernel. I would like to attribute this success to partimage. partimage helped us to save our work before doing crucial things or things that may go wrong. we have taken an image

1. before booting into the kernel
2. after booting into the kernel
3. after xfree86
4. after xfce
5. after gdm + xfce

our host was fc3.

alternatively, we have were trying to build LFS at home, which had a fc4 as host system. we have taken two images

1. after xfree86
2. after lfs kernel boot

we copied the xfree86 image into the new host system at office but it never worked as expected. hence we took the second image (after lfs kernel boot) and started whole blfs process again.

we succeeded !

Bad News
---------
We were unable to find why we were not able to boot from the lfs kernel. till date the pc which we used as a host could not boot the lfs. we even attached a working lfs hard disk from a different hardware of the same configuration.

sorry for abling to give solution the problem for which we initially started this thread.

ps: thanks for your guys, specially daws and raskin for all the help. we have seen the god (godess and she is beautiful).

regards
 
Old 03-25-2007, 04:16 AM   #20
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
I'm glad to hear you got it working and thank you for following up. Far too many members do not do so.

Best wishes for the future.
 
Old 03-30-2007, 02:00 AM   #21
zalmaygul
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Dear pannet1

You succeded with the grub problem but how you did it it is not mentioned on the forum. will you please share yoour experience with me cause I am having the same problem of booting from my lfs-6.2
I have installed my lfs-6.2 with Redhat Linux(2.6.8) as host system and lfs partition is hda5.
When I apply the command from the grub menue as
grub> root (hd0,4)
it give me error as
the specified disk does not exist
I don't know what to do
I will be glade if you may help me by sharing your experience of grub with me
thanks
 
Old 04-04-2007, 01:26 AM   #22
zalmaygul
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Dear Daws + Raskin
please help me as I am in final stage of lfs-6.2
I have followed the lfs-6.2 book by all means and installed all the modules of lfs-6.2
Now at grub prompt
when I issue
grub>root (hd0,4) that is hda5 my lfs partition it says
filesystem unknown partition type 0xb
I have Redhat 9(2.6.8) as host system on hda7
And swap on hda8
And windows on hda1
please help me why my lfs partition filesystem is unknown wy not it is ext3
I am a newbe and have no idea what to do and how to tackle this problem
zalmay
 
Old 04-04-2007, 11:29 AM   #23
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
zalmaygul, I think your question would be better suited in its own thread.

Anyway,

Quote:
filesystem unknown partition type 0xb
I am not sure but I think 0xb is a partition type used by Windows (FAT32 maybe?).

Could you post the infomation provided by "cfdisk /dev/hda" (don't change anything yet)

I think that the partition type needs to be changed to 0x83, and you can certainly do that in cfdisk, but I don't know whether doing that will screw up the existing filesystem.
 
Old 04-05-2007, 03:23 AM   #24
zalmaygul
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Red face filesystem unknown partition type 0xb

Dear Daws
thank you for being there for my help
When a newbe trape in a problem and helpless to proceed he some time perform this kind of mistake by jumping into wrong thread
Sorry for being in a wrong thread.

I have redhat 9 when I apply cfdisk /dev/hda it says command not found
Then I used fdisk command and its contents are given bellow

fdisk -l

Disk /dev/hda: 30.0 GB, 30020272128 bytes
255 heads, 63 sectors/track, 3649 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 893 7172991 b Win95 FAT32
/dev/hda2 894 3649 22137570 f Win95 Ext'd (LBA)
/dev/hda5 1787 2679 7172991 b Win95 FAT32
/dev/hda6 2680 3649 7791493+ b Win95 FAT32
/dev/hda7 894 1709 6554457 83 Linux
/dev/hda8 1710 1774 522081 82 Linux swap

Partition table entries are not in disk order

Please help wheather I can make the change to partition type with fdisk command or not
thank you very much for your continuous help
zalmay
 
Old 04-05-2007, 08:18 AM   #25
Daws
Member
 
Registered: May 2006
Location: UK
Distribution: Debian
Posts: 447

Rep: Reputation: 39
cfdisk is in the util-linux package if you want to use it. fdisk can change the partition type for you. Once you have started "fdisk /dev/hda" you want the t option, and hex code 83. But as I said before, I don't know what this will do to the existing ext3 filesystem, it might destroy it.
 
Old 04-05-2007, 11:21 PM   #26
zalmaygul
LQ Newbie
 
Registered: Feb 2007
Posts: 13

Rep: Reputation: 0
Dear Daws
thank you very much for your help
Your specified method helped me and I did changed the partition type accordingly and it worked without any damage
I am so really thankfull to you for your help And I guess without it I would'n't have proceeded.
I booted from my new LFS-6.2 with grub and it add alot to my happiness.
Dear friend one more question that I want to ask you where we can find the technical flow of various packages of LFS-6.2 such as Binutils, gcc, glibc etc
I want to learn obout there internals and get to know these from programmar persfective.
thanks
Zalmay

Last edited by zalmaygul; 04-05-2007 at 11:26 PM.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Unable to boot kernel erpe Debian 3 07-13-2006 04:58 PM
Unable to boot any kernel after compile BobNutfield Slackware 13 03-14-2006 01:08 PM
ncurses compilation problem in LFS 5.1.1 lik Linux From Scratch 2 01-14-2005 09:25 PM
kernel problem unable to boot jwijesundra Linux - General 1 01-08-2005 02:10 AM
kernel won't boot after compilation dbzdeath Linux - Software 2 05-06-2003 10:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:41 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration