Help with Root File System

Discussion for GC-Linux on Gamecube & Wii
Post Reply
NathanP
Posts: 2
Joined: Mon Aug 26, 2019 5:34 pm

Help with Root File System

Post by NathanP » Mon Aug 26, 2019 5:42 pm

Hi I am new to the board,

I have been trying to get gc-linux running on my GameCube for a few weeks now. Using this https://www.gc-forever.com/wiki/index.p ... otFS_on_SD guide by _Nold_, I was able to get the kernel to boot.

However, I cannot get it to find my init script in the root file system. I keep getting the error "kernel panic: no init found. Try passing init= option to kernel"
I have tried renaming the rootfs and making it on a 32bit system rather than a 64bit system. I just think I am doing something that should be simple, wrong. Maybe it needs to be named or compressed a certain way.Image

Here is the init script Image
User avatar
emu_kidid
Site Admin
Posts: 4575
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: Help with Root File System

Post by emu_kidid » Tue Aug 27, 2019 12:17 am

I believe the SDHC vs SD(SC) builds Nold was pushing out were limited to one type of SD card or the other, make sure you've tried the correct type of SD card.
Image
nold360
Posts: 1
Joined: Tue Aug 27, 2019 5:16 am

Re: Help with Root File System

Post by nold360 » Tue Aug 27, 2019 5:24 am

Hi,

man it's been a while.. couldn't even remember my password.. ayy..

The SDHC Patch is dirty af but it should work with both, SD and SDHC. No SDXC or whatever ofc. So, this should be working.. make sure the file is executable: chmod +x init
Did you create the devices correctly? "ls -l dev" should give some information about that.

Aside from that i don't really know what's wrong, haven't used it in ages after all..
NathanP
Posts: 2
Joined: Mon Aug 26, 2019 5:34 pm

Re: Help with Root File System

Post by NathanP » Thu Sep 05, 2019 2:09 am

Thanks so much for creating another account just to help!

So I don't think I had my init as executable, but after making it executable I get the same exact error. Then I tried using port A (and switched everything to A), same exact error.
I forgot to mention the "attempt to access beyond end of my device". I don't understand why it is doing that. My vfat is 300 MB and my ext3 is 1.6 G (it's a 2G card)

Image


Here is the dev folder
Image
Post Reply