Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Filesystem error
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
sktrdie
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 153

PostPosted: Thu May 19, 2005 9:58 pm    Post subject: Filesystem error Reply with quote

ok so im having some troubles... i managed to intsall yaboot.. hope i did right..
anyway i reboot and i get the boot thing with yaboot it says:
hd:3,/boot/kerne-2.6.10: filsystem corrupted.. and it cant open..something like that.
to run the kernel i need to write in boot:
hd:4,/boot/kernel-2.6.10
running fromt he hd:4 (which is my root) linux starts... but as soon as is Checking root filesystem i get the real error:
Code:
fsck.ext3: Bad magic number in super-block while trying to open /dev/hda3
/dev/hda3:
The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains 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 8193 <device>

* Filesystem couldn't be fixed :(

if anybody can help thnx.
Back to top
View user's profile Send private message
azlan
Guru
Guru


Joined: 11 Nov 2002
Posts: 381
Location: Seattle WA USA

PostPosted: Fri May 20, 2005 3:49 am    Post subject: Reply with quote

so you are using an ext2 filesystem???
_________________
there is no crazy, only violet and non violet..
Back to top
View user's profile Send private message
sktrdie
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 153

PostPosted: Fri May 20, 2005 6:33 am    Post subject: Reply with quote

how do i read and fix my partition scheme from the Live cd?
and what do i need to fix..
thnx
Back to top
View user's profile Send private message
sktrdie
Apprentice
Apprentice


Joined: 13 Mar 2005
Posts: 153

PostPosted: Fri May 20, 2005 6:54 am    Post subject: Reply with quote

its wierd cuz it boot from hd:3
while my kernel is situated in hd:4 (which is my root)
i also changed everything in yaboot.conf
still nothing.
Back to top
View user's profile Send private message
DrZoidberg
Tux's lil' helper
Tux's lil' helper


Joined: 03 May 2003
Posts: 119
Location: New Port Richey, Florida

PostPosted: Fri May 20, 2005 2:29 pm    Post subject: Reply with quote

Could you post some details of how you are trying to set up your partitions?
I am dual booting OS X/gentoo on an 80GB disk.

You did create a root filesystem after your partitioned, right?
See the gentoo handbook on creating filesystems[url]
http://www.gentoo.org/doc/en/handbook/handbook-ppc.xml?part=1&chap=4
[/url]
btw, I don't know why it says you can't resize HFS+ with the journal turned off. It worked fine twice for me. Were you successful in repartitioning?

As an example, here is my working partition table as reported by parted and my /etc/yaboot.conf

Partition Table:
Code:

(parted) print
Disk geometry for /dev/hda: 0.000-76351.570 megabytes
Disk label type: mac
Minor    Start       End               Filesystem        Name                  Flags
1          0.000       0.031                                     Apple
5          0.031       0.812               hfs                 bootstrap                   boot
3        128.031     56351.562     hfs+        Apple_HFS_Untitled_2
2      57351.562  57863.562      linux-swap    untitled
4      57864.562  76351.570      ext3               untitled


yaboot.conf:

Code:

boot=/dev/hda5
device=/pci@f4000000/ata-6@d/disk@0:
partition=4
root=/dev/hda4
timeout=30
install=/usr/lib/yaboot/yaboot
magicboot=/usr/lib/yaboot/ofboot

image=/boot/kernel-2.6.11
        label=Linux
        read-only

macosx=hd:3
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