Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Start up problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
ueulo
n00b
n00b


Joined: 13 Jul 2006
Posts: 15

PostPosted: Sun Jul 16, 2006 11:05 am    Post subject: Start up problem Reply with quote

Hello,when i boot into system i get this error

Code:
fsck.ext2:bad magic number in super-block while trying to open /dev/hda1
/dev/hda1:
the super block could not be read or does not describe a correct ext2 filesystem
if the device is valid and it really conatains an ext2 filesystem(and not swap or ufs
or something else)then the superblock is corrupt and you might try running e2fsck with
an alternative superblock:
e2fsck -b 8192 (device)


Please,can someone help me
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jul 16, 2006 1:53 pm    Post subject: Reply with quote

It looks like you didn't edit your fstab.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ueulo
n00b
n00b


Joined: 13 Jul 2006
Posts: 15

PostPosted: Sun Jul 16, 2006 6:04 pm    Post subject: Reply with quote

My fstab ,i add hda1 to defaults and still the same error


Code:
/dev/hda1        /boot         ext2     defaults   1 2
         /dev/hda6       /                ext3     noatime   0 1
         /dev/hda5       none          swap   sw           0 0
cdroms/cdrom0  /mnt/gentoo iso9660  noauto,user  00


I also have problem to mount cd - when i type mount /mnt/cdrom get this
Code:
mount:/dev/cdroms/cdrom0 does not exist
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Sun Jul 16, 2006 7:11 pm    Post subject: Reply with quote

As the handbook suggests, you *do not* need a /boot partition, the Bootstrap is *not* a boot partition. Finally, hda1 is your partition table, you shouldn't be trying to mount this anyway.

Does /dev/cdroms/cdrom0 exist? I'd expect it to be /dev/cdrom instead.
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
ueulo
n00b
n00b


Joined: 13 Jul 2006
Posts: 15

PostPosted: Tue Jul 18, 2006 6:21 pm    Post subject: Re: Start up problem Reply with quote

ueulo wrote:
Hello,when i boot into system i get this error

Code:
fsck.ext2:bad magic number in super-block while trying to open /dev/hda1
/dev/hda1:
the super block could not be read or does not describe a correct ext2 filesystem
if the device is valid and it really conatains an ext2 filesystem(and not swap or ufs
or something else)then the superblock is corrupt and you might try running e2fsck with
an alternative superblock:
e2fsck -b 8192 (device)


Please,can someone help me


I still have this error

Heres my kernel.config http://givemesomefood.org/macmini-kernel-2.6.15-r5.config

and my fstab

Code:
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/p$

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/hda1               /boot           ext2            noatime         1 2
/dev/hda6               /               ext3            noatime         0 1
/dev/hda5               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      iso9660         noauto,user,ro  0 0


# NOTE: The next line is critical for boot!
proc                    /proc           proc            defaults        0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec    $
Back to top
View user's profile Send private message
corsair
Retired Dev
Retired Dev


Joined: 06 Oct 2003
Posts: 451
Location: Aachen, Germany

PostPosted: Tue Jul 18, 2006 8:15 pm    Post subject: Reply with quote

maybe a language problem. I'll rephrase what JoseJX said: delete the line beginning with /dev/hda1 in your fstab. it is not possible to mount the partition table.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum