LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 04-08-2005, 06:24 AM   #1
linuxbh
LQ Newbie
 
Registered: Aug 2004
Distribution: FC1,redhat9.-0,mandrake9.0
Posts: 10

Rep: Reputation: 0
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
 
Old 04-09-2005, 04:19 AM   #2
t3gah
Member
 
Registered: Dec 2004
Distribution: SuSE, RedHat, ubuntu, Debian
Posts: 734

Rep: Reputation: 30
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.
 
Old 04-12-2005, 10:12 AM   #3
BNI
LQ Newbie
 
Registered: Sep 2004
Distribution: Linux from Scratch 6.0, ClarkConnect server/gateway
Posts: 21

Rep: Reputation: 15
From what I can see, simple error:

hdc8 is referred to as hd2,7 by grub. hd0,7 means hda8.
 
  


Reply



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
mount: wrong fs type, bad option, bad superblock on /dev/hdc3 Lordandmaker Linux - Hardware 15 06-05-2011 08:55 AM
getting grub error ; bad superblock linuxbh Linux From Scratch 3 04-09-2005 08:40 AM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 05:50 PM
problems mounting a cdrom in redhat (from rockscluster.org OS install) >>> bad superblock akay Linux - Hardware 6 12-01-2004 12:04 PM
mount: wrong fs type, bad option, bad superblock on /dev/sdb1 pmoreira Linux - Hardware 5 02-26-2004 10:31 AM

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

All times are GMT -5. The time now is 12:30 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