Tiny Core Linux

General TC => General TC Talk => Topic started by: halma on August 18, 2014, 04:24:54 AM

Title: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: halma on August 18, 2014, 04:24:54 AM
Hi all

if i try to boot TC (latest version/64bit) with a custom Kernel but while booting it stops in the bootprocess with the message:

"EXT4-fs (sda1): mounted filesystem with ordered data mode. Opts: (null)"

i have "showapps syslog"  as bootcodes .. but at this point it doesnt help me to locate the error, cause i cant do anything there at this stage,
so anyone has an idea which bootcode i can add to show more what can be the error or what can i do to see more?

best regards
Halma
Title: Re: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: curaga on August 18, 2014, 04:37:35 AM
I assume it works with our kernel? You'll need to add some echos to tce-setup to find how far it gets.
Title: Re: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: halma on August 18, 2014, 05:54:37 AM
hi curaga

i added onto the third line into the "/usr/bin/tc-setup.sh" "set -x" for more output ... i attached 2 screenshot the first is the mount and the second where it stops.

best regards
Title: Re: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: halma on August 18, 2014, 10:55:26 AM
the problem is not the kernel, it has something todo with the rootfs .>corepure64.gz ... atm , i dont know what is the problem but i think i replay if i found it .

is there any command to set the correct/right permissions for all folders inside the rootfs (included the modules folder) , after the corepure64.gz folder has been extracted with "zcat corepure64.gz | sudo cpio -i -H newc -d" ?


best regards
Halma
Title: Re: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: gerald_clark on August 18, 2014, 12:02:08 PM
You only need -H with the -c option.
Why do you think you need to "correct" any permissions?
Title: Re: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: halma on August 18, 2014, 12:08:10 PM
not sure that the permissions are right with my build script cause i was running time ago in some similiar permissions problem.
Title: Re: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: gerald_clark on August 18, 2014, 12:14:10 PM
Then start with a fresh corepure64.gz ( which will have the correct permissions )  and fix your build scripts.
Title: Re: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: curaga on August 18, 2014, 12:58:28 PM
It's not tce-setup according to your pics. So either su fails, or something in tce-load.
Title: Re: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: halma on August 18, 2014, 01:31:11 PM
maybe i forgot one important thing.

i do this on a second harddrive as "/dev/sdb" as a whole ext4 partition.
after i did "mount /dev/sdb/mnt/sdb"
i changed with "sudo chown -R tc:staff /dev/sdb" the whole drive.

after i went back to the main harddrive "sda1" and run my build script all went done :)

best regards
Title: Re: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: halma on August 18, 2014, 01:59:34 PM
thank you rich

http://forum.tinycorelinux.net/index.php/topic,14643.msg83180.html#msg83180

properly i forgot chmod 775 /DIR  :-X
Title: Re: EXT4-fs (sda1): mounted filesystem ...system holds while booting
Post by: halma on August 18, 2014, 04:42:26 PM
...but same error again after running my script ...