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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
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.
|
|
|
All times are GMT -5. The time now is 06:40 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
|
|