LinuxQuestions.org
Visit Jeremy's Blog.
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


Closed Thread
  Search this Thread
Old 04-08-2005, 03:48 AM   #1
linuxbh
LQ Newbie
 
Registered: Aug 2004
Distribution: FC1,redhat9.-0,mandrake9.0
Posts: 10

Rep: Reputation: 0
getting grub error ; bad superblock


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 (hdo,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-08-2005, 05:58 AM   #2
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
Hi
The command should be hd0,7, you've an 'o'. If that was just a typo then you could just use your existing bootloader (if you have one) to boot the kernel. I didn't bother with grub at all since i already had it installed on a different partition.
 
Old 04-08-2005, 03:27 PM   #3
darkRoom
Member
 
Registered: Mar 2004
Location: Valencia, espaņa
Distribution: Slack, Gentoo, Custom
Posts: 162

Rep: Reputation: 30
Does the lfs partition have a ext2 filesystem? perhaps its ext3 and the kernel doesn't have ext3 support compiled in ?

Also there was no reason to start an identical thread.
 
Old 04-09-2005, 08:40 AM   #4
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 475Reputation: 475Reputation: 475Reputation: 475Reputation: 475
As per request, this thread is closed. In future, if you make a mistake in your thread just hit "edit" and change the details.
 
  


Closed Thread


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
ERROR AT MOUNTING USB :mount: wrong fs type, bad option, bad superblock on /dev/sda1, saiket Linux - Hardware 3 04-12-2008 12:07 AM
sorry guys.. grub problems bad superblock linuxbh Linux From Scratch 2 04-12-2005 10:12 AM
mount: wrong fs type, bad option, bad superblock on /dev/cdrom, Adil_uk Linux - Hardware 9 02-16-2005 05:50 PM
trouble mounting drive, bad superblock error mattuc Linux - Hardware 3 05-27-2004 10:05 AM
Upon booting error message about bad superblock on ext2 device sharpie Linux - Newbie 10 01-30-2004 02:11 AM

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

All times are GMT -5. The time now is 05:32 AM.

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