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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
04-08-2005, 06:24 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2004
Distribution: FC1,redhat9.-0,mandrake9.0
Posts: 10
Rep:
|
sorry guys.. grub problems bad superblock
getting grub error ; bad superblock ( post #1)
i am sorry ... actually i made a mistake in previous post.....
it is "
root (hd0,7) "
i wrote it as root (hdo,7)
hello friends
i am using fedora core 1 as host system and LFS5.1.1
i have completed implementing LFS but i cannot configure grub. my lfs in imlemented on /dev/hdc8. i just have single hard disk and one cdrom.
when i am trying to configure grub i used command
root (hd0,7)
but it gives me error "specified device not found "
then i changed the fedora core's menu.lst file so that i can boot into my base system
on rebooting i was successfull entering the base system but after init was invoked i received the following error
"
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
"
i tried this command but it gives me bad magic number......
please help me how should i proceed further ...... do i have any other option rather then starting whole base system development from scratch?????????????? ( actually i dont have enough time to start the whole implementation again )
thank you in advance
linuxbh
|
|
|
|
04-09-2005, 04:19 AM
|
#2
|
|
Member
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734
Rep:
|
Re: sorry guys.. grub problems bad superblock
Quote:
Originally posted by linuxbh
getting grub error ; bad superblock ( post #1)
i am sorry ... actually i made a mistake in previous post.....
it is "
root (hd0,7) "
i wrote it as root (hdo,7)
hello friends
i am using fedora core 1 as host system and LFS5.1.1
i have completed implementing LFS but i cannot configure grub. my lfs in imlemented on /dev/hdc8. i just have single hard disk and one cdrom.
when i am trying to configure grub i used command
root (hd0,7)
but it gives me error "specified device not found "
then i changed the fedora core's menu.lst file so that i can boot into my base system
on rebooting i was successfull entering the base system but after init was invoked i received the following error
"
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
"
i tried this command but it gives me bad magic number......
please help me how should i proceed further ...... do i have any other option rather then starting whole base system development from scratch?????????????? ( actually i dont have enough time to start the whole implementation again )
thank you in advance
linuxbh
|
Is this system on the changed GRUB config now?
EDIT: There's a GRUB howto here at LQ.org > http://wiki.linuxquestions.org/wiki/GRUB
Last edited by t3gah; 04-09-2005 at 04:25 AM.
|
|
|
|
04-12-2005, 10:12 AM
|
#3
|
|
LQ Newbie
Registered: Sep 2004
Distribution: Linux from Scratch 6.0, ClarkConnect server/gateway
Posts: 21
Rep:
|
From what I can see, simple error:
hdc8 is referred to as hd2,7 by grub. hd0,7 means hda8.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 02:33 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|